[Serdev] SER crashes

Jorge Crichigno jcrichigno at conexion.com.py
Tue Jun 28 00:35:21 UTC 2005


Hi all,

   I have a problem with SER 0.9.0. I'm running it with 2 little
modifications:

    1- I add a parser for Reason Header (for supporting RFC 3326.
Although it is very simple, I can give it to who wants it). When parsing
this header, I just use the body field of hdr_field structure (hf.h)
(the field parsed is not used).

    2- I add an int field and and array field of fixed length to the
struct sip_msg (just as a test). 

  With these modifications, I run SER, and sometimes it crashes for a
reason that I didn't determine. The log showed was: 

--------LOG------------------------------------------------------------
get_hdr_field: cseq <CSeq>: <2> <REGISTER>
19(25002) DEBUG: get_hdr_body : content_length=0
19(25002) DEBUG:maxfwd:is_maxfwd_present: value = 70
19(25002) DBG:maxfwd:process_maxfwd_header: value 70 decreased to 16
19(25002) parse_headers: flags=64
19(25002) check_via_address(172.16.8.4, 127.0.0.1, 0)
19(25002) parse_headers: flags=64
19(25002) parse_headers: flags=33554432
19(25002) check_nonce(): comparing
[42bf88149e98cc74554446ac771e93b75a65feea] and
[42bf88149e98cc74554446ac771e93b75a65feea]
19(25002) save_rpid(): rpid value is ''
19(25002) parse_headers: flags=-1
19(25002) found end of header
19(25002) check_via_address(172.16.8.4, 127.0.0.1, 0)
19(25002) DEBUG:destroy_avp_list: destroying list (nil)
19(25002) receive_msg: cleaning up
 0(24968) 43(25050) child process 25007 exited by a signal 11
 0(24968) core was generated
 0(24968) INFO: terminating due to SIGCHLD
43(25050) INFO: signal 15 received
43(25050) Memory status (pkg):
43(25050) qm_status (0x100f22d0):
43(25050)  heap size= 1027648
43(25050)  used= 24208, used+overhead=52544, free=975104
43(25050)  max used (+overhead)= 60224
43(25050) dumping all alloc'ed. fragments:
43(25050)       0. N  address=0x100f7478 frag=0x100f7470 size=128 used=1
43(25050)       1. N  address=0x100f7508 frag=0x100f7500 size=32 used=1
43(25050)       2. N  address=0x100f7538 frag=0x100f7530 size=16 used=1
43(25050)       3. N  address=0x100f7558 frag=0x100f7550 size=16 used=1
.
.
.
------------------------------------------------------------------------
It seems that SER crashed when the sip_msg structure was being released.
Can someone give me a hand?


Thanks in advance!!!


                             Jorge
 




More information about the Serdev mailing list