From: Diederik de G. <dk...@ta...> - 2011-02-27 12:00:55
|
Hi Konrad I see you ran gdb on that coredump. Could you give us a little bit more, using "bt full". The function sccp_channel_updateChannelCapability is called a lot in our sources, so we need to know where it was called from. after the bt_full please also enter: print channel print c Regards, Diederik On Sun, 2011-02-27 at 11:16 +0000, Konrad Okon wrote: > Hi Diederik, > > > My astersik seg faul some time with following dump. > > > I use V3 RC3. > > > Was this reported already? > > > Core was generated by `/usr/sbin/asterisk -f -U asterisk -G asterisk > -vvvg -c'. > Program terminated with signal 11, Segmentation fault. > [New process 31684] > [New process 31671] > [New process 25368] > [New process 25345] > [New process 25344] > [New process 25343] > [New process 25338] > [New process 25337] > [New process 25336] > [New process 25335] > [New process 25334] > [New process 25333] > [New process 25332] > [New process 25331] > [New process 25330] > [New process 25329] > [New process 25328] > [New process 25327] > [New process 25326] > [New process 25325] > [New process 25324] > [New process 25317] > [New process 25316] > [New process 25314] > [New process 25313] > [New process 25307] > [New process 25306] > [New process 25305] > [New process 25302] > #0 0x00d30918 in sccp_channel_updateChannelCapability () > from /usr/lib/asterisk/modules/chan_sccp.so > > > On 26 Feb 2011, at 18:24, Diederik de Groot wrote: > > > > Hi Adam, > > > > We you first will need a core dump. Can you check if you can find a > > coredump either in the root directory or /tmp or /var/log/asterisk, > > depending on your installation. If not, you have to turn on core > > dumping in /etc/asterisk/asterisk.conf (set dumpcore=yes), and wait > > for the event to happen. > > > > To be able to use the coredump, you need to compile chan-sccp-b with > > the following configure options: > > ./configure --disable-optimization --enable-debug > > and install asterisk-dbg or asterisk-symbols (again depending on the > > os your are using. > > > > Once the event happens and you have a core dump. You need to run > > gdb /usr/sbin/asterisk /tmp/core > > if your asterisk binary is in /usr/sbin and the coredump is in tmp > > (change paths appropriatly > > > > gdb will start and read the binary + the symbol files and come to a > > stop telling you the problem that caused the segmentation fault or > > coredump. > > at the prompt type: > > bt full > > > > And send the resulting lines to us, we might than be able to figure > > out what went wrong exactly. > > > > asterisk stopping after a significant up time are notoriously > > difficult to find and fix, so let's hope for the best. > > > > You can also fing this information in the documantion in section : > > 12_Reporting_Issues_Problems > > Regards, > > > > Diederik > > > > On Sat, 2011-02-26 at 12:29 -0500, Adam Mattina wrote: > > > > > Hello Diederik, > > > > > > I have recently updated the latest trunk version and chan_sccp is > > > still crashing asterisk after an unspecified period of time. Is > > > there any way we can trace what caused the crash? Nothing > > > interesting is showing in cli before the crash. > > > > > > Regards, > > > > > > Adam Mattina > > > > > > > > > ------------------------------------------------------------------------------ > > > Free Software Download: Index, Search & Analyze Logs and other IT data in > > > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > > > generated by your applications, servers and devices whether physical, virtual > > > or in the cloud. Deliver compliance at lower cost and gain new business > > > insights. http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ Chan-sccp-b-discussion mailing list Cha...@li... https://lists.sourceforge.net/lists/listinfo/chan-sccp-b-discussion > > > > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze Logs and other IT > > data in > > Real-Time with Splunk. Collect, index and harness all the fast > > moving IT data > > generated by your applications, servers and devices whether > > physical, virtual > > or in the cloud. Deliver compliance at lower cost and gain new > > business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Chan-sccp-b-discussion mailing list > > Cha...@li... > > https://lists.sourceforge.net/lists/listinfo/chan-sccp-b-discussion > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ Chan-sccp-b-discussion mailing list Cha...@li... https://lists.sourceforge.net/lists/listinfo/chan-sccp-b-discussion |