[Kamailio-Users] Nethelper Causes Kamailio to Crash

Carlos A. Alvarez carlos.alvarez at commxinc.com
Mon Apr 6 16:43:50 CEST 2009


This is what I get with debug enabled.

DBG:carrierroute:rewrite_on_rule: searching for matching routing rules
[847853.158339] kamailio[10357]: segfault at 18 ip b7a06d17 sp bf9a8a10 error 4 in nathelper.so[b79f0000+1b000]
[10357]: DBG:carrierroute:hash_func: hash: 304942355 % 1000 = 355
[10357]: INFO:carrierroute:cr_do_route: uri 5555555555 was rewritten to sip:5555555555 at ip_address, carrier 1, domain 9
[10357]: cr_route("1", "ip_address", "5555555555", "5555555555", "call_id","");
[10357]: DBG:core:parse_headers: flags=ffffffffffffffff
[10370]: CRITICAL:core:receive_fd: EOF on 7
[10370]: DBG:core:handle_ser_child: dead child 2, pid 10357 (shutting down?)
[10355]: INFO:core:handle_sigs: child process 10357 exited by a signal 11
[10355]: INFO:core:handle_sigs: core was not generated
[10355]: INFO:core:handle_sigs: terminating due to SIGCHLD
[10362]: INFO:core:sig_usr: signal 15 received
[10360]: INFO:core:sig_usr: signal 15 received
[10362]: Memory status (pkg):
[10360]: Memory status (pkg):
[10362]: fm_status (0x8143cc0):
[10360]: fm_status (0x8143cc0):
[10362]:  heap size= 4194304
[10360]:  heap size= 4194304
[10362]:  used= 125968, used+overhead=154096, free=4040208
[10360]:  used= 125968, used+overhead=154088, free=4040216
[10362]:  max used (+overhead)= 154104
[10364]: INFO:core:sig_usr: signal 15 received
[10364]: Memory status (pkg):
[10364]: fm_status (0x8143cc0):
[10364]:  heap size= 4194304
[10364]:  used= 183040, used+overhead=211072, free=3983232
[10364]:  max used (+overhead)= 211072
[10364]: dumping free list:
[10364]: hash =   1 fragments no.:     3, unused:     0#012#011#011 bucket size:         8 -         8 (first         8)
[10364]: hash = 2056 fragments no.:     1, unused:     0#012#011#011 bucket size:   2097152 -   4194304 (first   3983448)
[10364]: TOTAL:      4 free fragments = 3983472 free bytes
[10364]: -----------------------------





-----Original Message-----
From: Juha Heinanen [mailto:jh at tutpro.com] 
Sent: Monday, April 06, 2009 8:38 AM
To: Carlos A. Alvarez
Cc: users at lists.kamailio.org
Subject: RE: [Kamailio-Users] Nethelper Causes Kamailio to Crash

Carlos A. Alvarez writes:

 > I tried the latest from svn and I still have the same problem. Any
 > other ideas?

get core dump and check with gdb 'where' command where the crash takes
place.

-- juha




No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.285 / Virus Database: 270.11.40/2039 - Release Date: 04/06/09 06:22:00




More information about the sr-users mailing list