put the core file into gdb, backtrace it and then we'll have some useful information: # gdb asterisk corefile and issue bt on gdb console
or run asterisk directly into gdb : # gdb --args asterisk -vvvgc play with it and when it seg faults, issue a 'bt' command matteo. Il lun, 2003-12-01 alle 08:20, Kerker Staffan ha scritto: > I have an interesting problem now. I use asterisk to connect > to both FWD and a sip provider here in sweden. suddenly, (i know > my provider upgraded from a unknown SIP proxy to SER) Asterisk crashes when I try > to make a call using this provider. FWD still works fine, and I can call directly > towards the GW to POTS without any problems. But, as I call using my providers > SER, Asterisk crashes. > > When I debug sip I get a "noisy feedback" from SER, and then asterisk crashes. the > only debug information asterisk is leaving is "segmentation fault, dumping core". > > anyone got a clue? i'm not running the latest CVS so maybe i should upgrade first... > > rgds, > /staffan kerker > > > -----Ursprungligt meddelande----- > Från: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Skickat: den 30 november 2003 20:04 > Till: [EMAIL PROTECTED] > Ämne: Re: [Asterisk-Users] asterisk server crashing > > > From the console, I see where the call comes in and I can see where the > party from the outside hangs up. The next thing that is said is as > follows: > "libgcc_s.so.1 must be installed for pthread_cancel to work". > > Now I've taken a look on my system and I do in fact have the libgcc_s.so.1 > on my system. The location is as follows: > /lib/libgcc_s.so.1 > It is part of the libgcc-3.2.2-5 package that I have installed on my > system. > > I'm not a programmer, just a novice so I'm not quite sure how to run a > backtrace or where the core file would be located. Thanks for your help so > far. > AJ > > > On Sun, 30 Nov 2003, Roy Sigurd Karlsbakk wrote: > > > - What's the console output after the crash when starting asterisk with > > -gvvvc? > > - After the crash, run a backtrace of the core file and send the output > > here > > > > ...perhaps this should be on the FAQ? > > ...and perhaps the FAQ should be linked to from asterisk.org? > > > > roy > > > > On Sunday, Nov 30, 2003, at 14:14 Europe/Oslo, > > [EMAIL PROTECTED] wrote: > > > > > I deleted all the asterisk related directories and their subdirectories > > > from /usr/src/ and did a brand new check out of zaptel, zapata, libpri, > > > asterisk-addons and asterisk. > > > AJ > > > > > > > > > On Sat, 29 Nov 2003, Tilghman Lesher wrote: > > > > > >> On Saturday 29 November 2003 20:36, [EMAIL PROTECTED] > > >> wrote: > > >>> Quoting [EMAIL PROTECTED]: > > >>>> In the zaptel zapata and libpri directories I executed a make clean > > >>>> and did a cvs update and then ran make install. In the asterisk > > >>>> directory I did a make clean, a cvs update and a make upgrade. So > > >>>> I guess the answer to your question is yes I did take care of the > > >>>> other things as well. At least as far as I can see and as far as I > > >>>> know. > > >>>> AJ > > >>> > > >>> I don't know if your situation is the same as mine but I have been > > >>> burned in the past by assuming that cvs update will provide all the > > >>> lastest files. It only updates files that have previously been > > >>> downloaded, soooooo, if you do not have a file that is now part of > > >>> zaptel for instance, you will still not have that file. Do a fresh > > >>> checkout to make sure you have all of the needed files. By the way, > > >>> zapata is no longer needed. It has been incorporated into one of the > > >>> others. > > >> > > >> Perhaps you mean subdirectories? True, 'cvs update' will not > > >> typically > > >> create new subdirectories, so you can do a 'cvs update -d' to have the > > >> update create new subdirectories, as 'cvs checkout' does, but 'cvs > > >> update' should create new files (in existing directories) just fine. > > >> > > >> -Tilghman > > >> > > >> _______________________________________________ > > >> Asterisk-Users mailing list > > >> [EMAIL PROTECTED] > > >> http://lists.digium.com/mailman/listinfo/asterisk-users > > >> > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > [EMAIL PROTECTED] > > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > > Asterisk-Users mailing list > > [EMAIL PROTECTED] > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ > Asterisk-Users mailing list > [EMAIL PROTECTED] > http://lists.digium.com/mailman/listinfo/asterisk-users -- Brancaleoni Matteo <[EMAIL PROTECTED]> Espia - Emmegi Srl _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users