[SR-Users] Kamailio Crash when modifying username of Request Uri

Timo Klecker klecker at decoit.de
Thu Dec 4 17:13:52 CET 2014


Hi Daniel,

 

gdb /path/to/kamailio /path/to/corefile 

sent me into interactive mode. Typing 

bt full 

now sent me into something like "more" so I had to copy everything by hand,
like 46k lines. 

 

So I searched the web for a non interactive method and came up with this. If
it is not ok, please tell me how to get the "bt full" string out of this
interactive gdb shell. 

 

I will provide you with the output of gdb itself, I missed that in the last
mail.

 

Greetings 

Timo



 

 

Von: Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
Gesendet: Donnerstag, 4. Dezember 2014 16:47
An: Timo Klecker; 'Kamailio (SER) - Users Mailing List'
Betreff: Re: AW: AW: AW: [SR-Users] Kamailio Crash when modifying username
of Request Uri

 

Hello,

wondering why not simply sending what I asked for, respectively output for:

gdb /path/to/kamailio /path/to/corefile
bt full

I guess I wanted to get some useful information out of those commands...

Cheers,
Daniel


On 04/12/14 16:41, Timo Klecker wrote:

Hi Daniel,

 

sorry for sending the core files, I now sent the output of:

 

gdb --batch --quiet -ex "thread apply all bt full" -ex "quit" /sbin/kamailio
/core.8933 

 

Hope this is what you are looking for. 

 

Kind regards, 

Timo






 

Von: Daniel-Constantin Mierla [mailto:miconda at gmail.com] 
Gesendet: Donnerstag, 4. Dezember 2014 16:16
An: Timo Klecker; 'Kamailio (SER) - Users Mailing List'
Betreff: Re: AW: AW: [SR-Users] Kamailio Crash when modifying username of
Request Uri

 

Hello,

corefiles themselves are useless. I need the backtrace from them,
respectively the output of:

gdb /path/to/kamailio /path/to/corefile
bt full

Cheers,
Daniel

On 04/12/14 15:56, Timo Klecker wrote:

Hello Daniel,

 

yes, with the production config I still get a core, not with the testing
config, though. The last line in log with testing config is:

 

Dec  4 13:28:06 lvm-centos-kamailio1 /sbin/kamailio[8045]: ERROR: <core>
[action.c:1572]: run_actions(): WARNING: too many recursive routing table
lookups (101) giving up!

Dec  4 13:28:06 lvm-centos-kamailio1 /sbin/kamailio[8045]: WARNING: <core>
[receive.c:214]: receive_msg(): WARNING: receive_msg: error while trying
script

 

But I have 2 cores, each 52M in size from production config. I will bzip
them and send them via email. 

 

 

Kind regards,

Timo Klecker 






-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda>  -
http://www.linkedin.com/in/miconda





-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141204/e250df6c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4704 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141204/e250df6c/attachment.bin>


More information about the sr-users mailing list