On Wed, 2001-11-28 at 21:26, Sean 'Shaleh' Perry wrote:
> > 
> > mrowe@jamaro:~$ bbkeys:  signal 11 caught
> > shutting down
> > aborting... dumping core
> > 
> > though I can't find any files as a result. This is with bbkeys version
> > 0.8.2 from bbkeys_0.8.2-2_i386.deb I'm assuming it's reproducible, as
> > bbkeys has been dying on me at work too, but I hadn't pinned down the
> > cause until tonight.
> > 
> > Is there anything I can do to provide more details (or locate the core
> > file if it was actually produced)?
> > 
> 
> ulimit -c unlimited will let cores get saved.  Then run gdb on it.

Right. That got me a core file. Wasn't sure what to do next, as I've
only used gdb once before (a year or so ago), but doing this
mrowe@jamaro:~$ gdb bbkeys core
GNU gdb 5.0.90-cvs (MI_OUT)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-linux"...(no debugging symbols
found)...
Core was generated by `bbkeys -t -w'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/X11R6/lib/libSM.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/lib/libstdc++-libc6.2-2.so.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/libstdc++-libc6.2-2.so.3
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x401ba911 in kill () from /lib/libc.so.6
(gdb) run
Starting program: /usr/local/bin/bbkeys 
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x08055d3b in XInstallColormap ()
(gdb) quit

That doesn't look to useful to me - time to build from source with
debugging enabled ?

Regards, Martin
-- 
[EMAIL PROTECTED]  [EMAIL PROTECTED]  http://www.dbg400.net       
/"\
DBG/400 - DataBase Generation utilities - AS/400 / iSeries Open        \
/
Source free test environment tools and others (file/spool/misc)        
X
[this space for hire]  ASCII Ribbon Campaign against HTML mail & news  /
\

Reply via email to