Summary:ASTERISK-00400: [patch] gastman segfaults
Reporter:capouch (capouch)Labels:
Date Opened:2003-10-19 04:07:34Date Closed:2004-09-25 02:55:01
Versions:Frequency of
Environment:Attachments:( 0) gastman__bugfix__20031021.diff
Description:Latest CVS version of gastman segfaults when a variety of circumstances occur.


gdb reports the following:

Program received signal SIGSEGV, Segmentation fault.
0x08052e7e in gui_object_set_tooltip (obj=0x0,
   tip=0xbfffe970 "Caller: \"Inbound 800\" <2192538181>\n") at gui.c:665
665 gtk_tooltips_set_tip(tips, obj->widget, tip, NULL);
Comments:By: John Todd (jtodd) 2003-10-19 13:31:25

Can you be more specific about the "variety of circumstances"?  How about  also including Linux version/release, asterisk "show version", and also perhaps make a connection to the manager socket and watch things when they crash and include the output here.

By: Tilghman Lesher (tilghman) 2003-10-21 23:35:15

I'm not quite sure why obj is NULL in this case, but this patch should prevent the NULL from causing a SEGFAULT.

By: capouch (capouch) 2003-10-21 23:46:20

Applied the patch, and indeed it now seems to run without segfaulting through the same situations that formerly caused such.

By: Tilghman Lesher (tilghman) 2003-10-22 00:25:11

Could you describe what you were doing when the bug caused a segfault?  I'd like to get into the root cause of the problem, instead of only fixing a symptom.

By: capouch (capouch) 2003-10-22 00:29:38

I'll need to unpatch it again and try to generate some traffic.

Off the top of my head, it seemed that the crash was being caused by many different sort of channel bridging events getting reported.  I could call voicemail and things were fine.  But when a call came in, for instance, using IAX from another asterisk server I run, it was instant crash.

From what I could see really only checking voicemail *wouldn't* cause a crash.

I'm heading out of town and will play with this and report back as soon as I return.

By: Brian West (bkw918) 2004-01-07 00:02:37.000-0600

Any more input on this?

By: Tilghman Lesher (tilghman) 2004-01-25 21:20:59.000-0600

No, there's no more input.  Resolve this, already.

By: jrollyson (jrollyson) 2004-01-25 23:40:03.000-0600

applied to cvs by markster