Subj : gdb back-trace - This crashes sbbs horribly
To : Digital Man
From : Echto
Date : Sun Nov 06 2011 05:08 am
Re: gdb back-trace - This crashes sbbs horribly
By: Digital Man to Echto on Sat Nov 05 2011 21:01:34
> Re: gdb back-trace - This crashes sbbs horribly
> By: Echto to Digital Man on Sat Nov 05 2011 12:10 pm
>
> > Re: This crashes sbbs horribly
> > By: Echto to Digital Man on Fri Nov 04 2011 09:55 am
> >
> > > > So I thought I would check for a string length of zero and then if
> > false,
> > > > continue on to the MAIL_SEND function and if true, abort. ...but
> > this do es
> > > > work. What I have added crashes sbbs when the mail_send function i
> > call ed.
> > > > do enter a correct username at the "Send mail to who? " prompt.
> > >
> > > I am using 3.15b (64) for linux.
> >
> > (gdb) bt
> > #0 0x00007ffff5ba6455 in raise () from /lib64/libc.so.6
> > #1 0x00007ffff5ba7870 in abort () from /lib64/libc.so.6
> > #2 0x00007ffff5be199b in ?? () from /lib64/libc.so.6
> > #3 0x00007ffff5be6f66 in ?? () from /lib64/libc.so.6
> > #4 0x00007ffff5bebcfc in free () from /lib64/libc.so.6
> > #5 0x00007ffff5bd7465 in fclose () from /lib64/libc.so.6
> > #6 0x00007ffff721d878 in sbbs_t::qwk_route (this=0x74d4f0,
> > inaddr=0x7fffeb7d2a
>
> Thanks, that back-trace made it a quick and simple fix. Do you think you can
> provide a bt for your other crash with MAIL_SEND too? :-)
Uhm... that was the back-trace from the MAIL_SEND crash. :) If I comment out
the MAIL_SEND command in the code sbbs does not crash.