[Devel] Coredump when register.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Jul 5 09:49:57 CEST 2006


Hi,

just for list information - this crash was fixed on CVS, thanks to Ray's 
effort in testing and providing useful information.

regards,
bogdan

Bogdan-Andrei Iancu wrote:

> Hi Ray,
>
> thanks for your report. Can you reproduce in a deterministic way this 
> crash? Could you send me (privately) the core file and the binaries 
> (openser + all modules) in a tarball file? I will try to dig more into 
> this to find the problem.
>
> are there any previous errors in the log regarding usrloc?
>
> Thanks and regards,
> Bogdan
>
> Raymond Chen wrote:
>
>> BTW,  this only happens when I use the path module to t_replicate 
>> registration to other proxies.
>>
>>
>>                 if (src_ip== xxx.xxx.xxx.xxx) {
>>                         save("location");
>>                         exit();
>>                 }
>>
>>                 if (!www_authorize("", "subscriber")) {
>>                         www_challenge("", "0");
>>                         exit();
>>                 };
>>
>>                 save("location");
>>
>>                 if (isflagset(10)) {
>>                         if (!(src_ip==xxx.xxx.xxx.xxx)) {
>>                                 add_path_received();
>>                                 append_branch("sip:xxx.xxx.xxx.xxx:80");
>>                                 t_replicate("sip:yyy.yyy.yyy.yyy:5060");
>>                         }
>>                 } else {
>>                         if (!(src_ip==xxx.xxx.xxx.xxx)) {
>>                                 add_path();
>>                                 append_branch("sip:xxx.xxx.xxx.xxx:80");
>>                                 t_replicate("sip:yyy.yyy.yyy.yyy:5060");
>>                         }
>>                 }
>>
>>
>> Raymond Chen wrote:
>>
>>> Hi all,
>>>
>>> I have encountered another core dump with CVS HEAD, I use the 
>>> Write-Through mode .
>>>
>>> #0  0xf6e50d73 in mem_insert_ucontact (_r=0xf4f77b80, _c=0x0, 
>>> _ci=0x0) at urecord.c:149
>>> 149                             ptr = ptr->next;
>>> (gdb) bt
>>> #0  0xf6e50d73 in mem_insert_ucontact (_r=0xf4f77b80, _c=0x0, 
>>> _ci=0x0) at urecord.c:149
>>> #1  0xf6e518cd in insert_ucontact (_r=0xf4f77b80, _contact=0x0, 
>>> _ci=0x0, _c=0xfef927a0) at urecord.c:424
>>> #2  0xf6e3c4e6 in update_contacts (_m=0x814c0a0, _r=0xf4f77b80, 
>>> _c=0x814b650) at save.c:635
>>> #3  0xf6e3cf4f in save_real (_m=0x814c0a0, _t=0xf4f70be0, doreply=1) 
>>> at save.c:735
>>> #4  0x08050c94 in do_action (a=0x8132e78, msg=0x814c0a0) at 
>>> action.c:701
>>> #5  0x080520e9 in do_action (a=0x8132ed8, msg=0x814c0a0) at action.c:89
>>> #6  0x080520e9 in do_action (a=0x8134528, msg=0x814c0a0) at action.c:89
>>> #7  0x08052361 in run_top_route (a=0x812e640, msg=0x814c0a0) at 
>>> action.c:89
>>> #8  0x080771a8 in receive_msg (
>>>    buf=0x80f44a0 "REGISTER sip:sss.ibluesun.net:80 SIP/2.0\r\nVia: 
>>> SIP/2.0/UDP 218.16.125.96:80;branch=z9hG4bK65b5.6ba2f9a2.0\r\nVia: 
>>> SIP/2.0/UDP 
>>> 192.168.1.244:38177;rport=53589;received=218.20.53.192;branch=z9hG4bK-ae8f01"..., 
>>> len=914, rcv_info=0xfef930f0)
>>>    at receive.c:155
>>> #9  0x0809670c in udp_rcv_loop () at udp_server.c:465
>>> #10 0x08066336 in main_loop () at main.c:923
>>> #11 0x08066b25 in main (argc=1, argv=0xfef932d4) at main.c:1475
>>>
>>>
>>> thanks
>>>
>>> Ray
>>
>>
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>




More information about the Devel mailing list