[OpenSIPS-Users] OpenSIPS 1.4.4 crashes When making call
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon Mar 9 12:38:26 CET 2009
Hi Khan,
Once you have the core file, do:
gdb opensips core
(for opensips and core, be sure you have the correct path to the files)
Then, do the "bt" in the command line of gdb.
Regards,
Bogdan
Khan wrote:
> Bogdan,
>
> Thanks for your quick response, being rookie, I had no idea how to bt
> so I had to do a little googling. Please do tell me if i did it wrong,
> following is the entire output from my box...
>
>
> root at rookie:/# gdb opensips
>
> GNU gdb 6.8-debian
>
> Copyright (C) 2008 Free Software Foundation, Inc.
>
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>
> This is free software: you are free to change and redistribute it.
>
> There is NO WARRANTY, to the extent permitted by law. Type "show copying"
>
> and "show warranty" for details.
>
> This GDB was configured as "x86_64-linux-gnu"...
>
> (gdb) bt
>
> No stack.
>
> (gdb) break fpc_raiseexception
>
> Function "fpc_raiseexception" not defined.
>
> Make breakpoint pending on future shared library load? (y or [n]) y
>
> Breakpoint 1 (fpc_raiseexception) pending.
>
> (gdb) run opensips
>
> Starting program: /usr/local/sbin/opensips opensips
>
> Mar 5 23:32:30 [15184] DBG:core:yyparse: loading module
> /usr/local/lib64/opensips/modules/db_mysql.so
>
> [Thread debugging using libthread_db enabled]
>
> Error while reading shared library symbols:
>
> Cannot find new threads: generic error
>
> Cannot find new threads: generic error
>
> (gdb) bt
>
> #0 0x00007ff8ccbba10e in ?? () from /lib64/ld-linux-x86-64.so.2
>
> #1 0x00007ff8ccbb5df6 in ?? () from /lib64/ld-linux-x86-64.so.2
>
> #2 0x00007ff8ccbb991b in ?? () from /lib64/ld-linux-x86-64.so.2
>
> #3 0x00007ff8cc9a4f8b in ?? () from /lib/libdl.so.2
>
> #4 0x00007ff8ccbb5df6 in ?? () from /lib64/ld-linux-x86-64.so.2
>
> #5 0x00007ff8cc9a54ed in ?? () from /lib/libdl.so.2
>
> #6 0x00007ff8cc9a4ef1 in dlopen () from /lib/libdl.so.2
>
> #7 0x000000000046e967 in sr_load_module (path=0x0) at sr_module.c:225
>
> #8 0x00000000004eb5c2 in yyparse () at cfg.y:1051
>
> #9 0x00000000004277bb in main (argc=2, argv=0x7fffd4dc42a8) at main.c:1124
>
>
> Please guide me with this process...
>
>
> Khan
>
>
>
>
>
> On Thu, Mar 5, 2009 at 2:43 AM, Bogdan-Andrei Iancu
> <bogdan at voice-system.ro> wrote:
>
>> Hi Khan,
>>
>> There is segmentation fault in OpenSIPS :
>>
>> Mar 5 00:24:05 [14421] INFO:core:handle_sigs: child process 14424 exited by
>> a signal 11
>> Mar 5 00:24:05 [14421] INFO:core:handle_sigs: core was generated
>>
>>
>> You have the core file, so please try to extract the backtrace with gdb.
>>
>> Regards,
>> Bogdan
>>
>> Khan wrote:
>>
>>> Hi everyone,
>>>
>>> I just moved all my stuff from old box to new Xeon box. When i
>>> finished installing everything and applying rtpproxy on my sip proxy I
>>> get it crashed. I simply dialed one UAC to another UAC within the
>>> network. The call kept ringing on the other end even though i hung-up
>>> from my end. I answered the call from other end and had engage tone,
>>> secondly it wouldnt hangup.
>>>
>>> I looked at my log and i see my sip server crashed during this test.
>>> Following is the output at pastebin.
>>>
>>> http://pastebin.com/m7d97b0bd
>>>
>>> Please help and let me know what did i do wrong, should i go back to 1.4.2
>>> ?
>>>
>>>
>>> Khan
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>>
>>
>
>
More information about the Users
mailing list