Thread: SLiM core dumps
View Single Post
  #7   (View Single Post)  
Old 28th October 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

To capture a console session use script(1) in combination with col(1). e.g.:
$ script
Script started, output file is typescript
$ gdb /usr/local/bin/slim /slim.core
GNU gdb 6.3
Copyright...
.
.
.
(gdb) quit
$ exit
Script done, output file is typescript
$ col -b < typescript > my.console.log
Looking through your painstakingly hand-crafted gdb output, here is what I see:
  1. The abort of the application was caused by the attempt to release some memory that was already released. (#2 in the back trace).
  2. X11 services are heavily involved. The last obvious call in use was for _X11TransFreeConnInfo, which is in libX11, after coming from _XDisconnectDisplay.
  3. I do not see any symbols that refer to individual source code lines in your SLiM executable, and I see many lines that say "No symbol table info available." This tells me there is a problem with symbols, but where, I cannot tell from the abbreviated content you were able to capture by hand.
I downloaded your tarball, but it contains only the .core file, and that is useless to me, for all the reasons I stated in my first post: I need to have an exact matching OS release/flavor/architecture, and I must have the executable. But, seeing as how the executable does not appear to have the appropriate/complete symbols within it, I don't know if it would be of any help.
Reply With Quote