Btw, you need to install dbg symbols package, in case you installed from some deb/rpm.

Daniel

On 04/12/14 17:22, Daniel-Constantin Mierla wrote:
Hello,

I need the output of the 'bt full' -- I guess it will require a few 'more' paginations, because it is printing the values for local variables which are important to troubleshoot.

Cheers,
daniel

On 04/12/14 17:13, Timo Klecker wrote:

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@gmail.com]
Gesendet: Donnerstag, 4. Dezember 2014 16:47
An: Timo Klecker; 'Kamail
io (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@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://www.linkedin.com/in/miconda



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

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

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