[JDEV] core dump with 1.0.1 on redhat 6.2 -- back trace

Benjamin Kahn xkahn at cybersites.com
Wed Sep 6 12:47:56 CDT 2000


	When giving a backtrace with gdb, you MUST use this order to
getting it:

$ gdb jserver
(gdb) handle SIGUSR1 nostop noprint
(gdb) run -D
:
.
***crash***
(gdb) bt

	If you skip the handle command, all your backtraces will look like
the message below.  That's because Jabber uses PTH which uses SIGUSR1 to
handle tread switches and GDB flags that as an interesting event.  (The
other way is to just "cont" until you get a real crash.)

On Wed, 6 Sep 2000, Cheng-Wei Cheng wrote:

> Date: Wed, 6 Sep 2000 10:33:09 -0700 
> From: Cheng-Wei Cheng <CCheng at gluecode.com>
> Reply-To: jdev at jabber.org
> To: "'jdev at jabber.org'" <jdev at jabber.org>
> Subject: RE: [JDEV] core dump with 1.0.1 on redhat 6.2 -- back trace
> 
> (gdb) run 
> Starting program: /usr/local/jabber/bin/jserver 
> 
> Program received signal SIGUSR1, User defined signal 1.
> 0x400afdeb in __sigsuspend (set=0xbffff79c) at
> ../sysdeps/unix/sysv/linux/sigsuspend.c:48
> 48      ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory.
> (gdb) bt
> #0  0x400afdeb in __sigsuspend (set=0xbffff79c) at
> ../sysdeps/unix/sysv/linux/sigsuspend.c:48
> #1  0x40060ff6 in __pth_mctx_set () from /usr/local/lib/libpth.so.13
> #2  0x0 in ?? ()
> 
> -----Original Message-----
> From: Thomas Muldowney [mailto:temas at box5.net]
> Sent: Wednesday, September 06, 2000 10:28 AM
> To: jdev at jabber.org
> Subject: Re: [JDEV] core dump with 1.0.1 on redhat 6.2
> 
> 
> Could you supply a backtrace?  This information isn't enough to give a good
> diagnostic of what is happening.
> 
> --temas
> 
> On Tue, Sep 05, 2000 at 06:59:05PM -0700, Cheng-Wei Cheng wrote:
> > Here is the complete documentation step by step on what I have done
> > please help
> > 
> > jabber(latest ver 1.0.1)
> > 
> >   source
> >   - www.jabber.com
> >   - www.jabbercentral.org
> >   - www.jabber.org
> > 
> > 
> >   Requirement
> >   - libetherx
> >   - libxode
> >   - libjabber
> >   - GNU-pth - portable thread lib
> >   - GNU-adns - advance dns client
> > 
> > 
> >   server
> >     NOTE: Installation in the order of the dependency
> > 
> >     install (libxode)
> >     - CC="gcc -O6 " ./configure
> >     - make
> >     - make install
> > 
> >     install (libjabber)
> >     - CC="gcc -O6 " ./configure \
> >       --with-libxode-includes=/usr/local/include \
> >       --with-libxode-libs=/usr/local/libs \
> >       --with-libxode
> >     - make
> >     - make install
> > 
> >     install (GNU-pth)
> >     - CC="gcc -O6 " CFLAGS=-O2 LIBS=-lposix ./configure \
> >     --enable-optimize \
> >     - make
> >     - make test
> >     - make install
> > 
> >     install (GNU-adns)
> >     - CC="gcc -O6 " ./configure --disable-dynamic
> >     - make
> >     - make install
> > 
> >     install (libetherx)
> >     - CC="gcc -O6 "  ./configure --disable-rate-limits \
> >       --with-libxode-includes=/usr/local/include \
> >       --with-libxode-libs=/usr/local/libs \
> >       --with-libxode
> >     - make
> >     - make install
> > 
> >     install (jabber-transport)
> >     - CC="gcc -O6 -L/usr/local/lib -I/usr/local/include -L/usr/lib
> > -I/usr/local/include -I. -L. " LIBS=-lposix ./configure \
> >     --sysconfdir=/etc \
> >     --mandir=/usr/man \
> >     --prefix=/usr/local/jabber \
> >     --with-libxode-includes=/usr/local/include \
> >     --with-libxode-libs=/usr/local/lib \
> >     --with-libxode \
> >     --with-jabber-includes=/usr/local/include \
> >     --with-jabber-libs=/usr/local/lib \
> >     --with-jabber \
> >     --with-etherx-includes=/usr/local/include \
> >     --with-etherx-libs=/usr/local/lib \
> >     --with-etherx \
> >     --with-svc-client \
> >     --with-svc-hell \
> >     --with-svc-irc \
> >     --with-svc-telnet \
> >     --with-xdb-file \
> >     --enable-all-static \
> > 
> >     ?--with-svc-http experimental
> >     ?--enable-dso-modules='dso list'
> >     ?--enable-static-modules='static list'
> > 
> >     - make
> >     - make install
> > 
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> > 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 

						-Ben

------------------------------------ |\      _,,,--,,_  ,) ----------
Benjamin Kahn                        /,`.-'`'   -,  ;-;;'
(212) 924 - 2220 ext 201            |,4-  ) )-,_ ) /\
ben at cybersites.com --------------- '---''(_/--' (_/-' ---------------
   I just want to make the world a better place for me to live in.
			-Lucy in a Peanuts comic





More information about the JDev mailing list