[Serusers] child process exited when fix_contact()

Alexey Gavrilov alex at metalinkltd.com
Wed May 26 14:15:02 CEST 2004


Ezequiel, thank you for the hint but how did you manage to compile
mysql.so -- you mentioned
it didn't compile for you and I faced the same issue?
I appreciate your help.

Regards,
Alex

----- Original Message -----
From: "Ezequiel Colombo" <ecolombo at arcotel.net>
To: "Alexey Gavrilov" <alex at metalinkltd.com>; "Jan Janak" <jan at iptel.org>
Cc: <serusers at lists.iptel.org>
Sent: Wednesday, May 26, 2004 3:38 PM
Subject: Re: [Serusers] child process exited when fix_contact()


I solve the problem only using the mediaproxy module with the last CVS
source code compiled of SER.
Working with the stable 0.8.12 version the mediaproxy module dont work fine.

----- Original Message -----
From: "Alexey Gavrilov" <alex at metalinkltd.com>
To: "Jan Janak" <jan at iptel.org>
Cc: <serusers at lists.iptel.org>
Sent: Wednesday, May 26, 2004 12:49 AM
Subject: Re: [Serusers] child process exited when fix_contact()


> Hello,
>
> I think I have a similar problem.
> Ser crashes when calling use_media_proxy() from mediaproxy module. I'm
using
> stable ser 0.8.12 and mediaproxy from CVS.
> Here is back trace:
>
> (gdb) bt
> #0  0x0804f6e6 in del_lump (list=0x80cf240, offset=525, len=13, type=0) at
> data_lump.c:275
> #1  0x40180a64 in replaceElement (msg=0x80cf240, oldElem=0xbfffe098,
> newElem=0xbfffe7c0) at mediaproxy.c:768
> #2  0x4017e4e3 in UseMediaProxy (msg=0x80cf240, str1=0x0, str2=0x0) at
> mediaproxy.c:1305
> #3  0x0804e7fb in do_action (a=0x80cb4c0, msg=0x80cf240) at action.c:602
> #4  0x0804eaed in run_actions (a=0x80cb480, msg=0x80cf240) at action.c:673
> #5  0x0804e78e in do_action (a=0x80cb538, msg=0x80cf240) at action.c:592
> #6  0x0804eaed in run_actions (a=0x80cb230, msg=0x80cf240) at action.c:673
> #7  0x0804e78e in do_action (a=0x80cb560, msg=0x80cf240) at action.c:592
> #8  0x0804eaed in run_actions (a=0x80ca7f8, msg=0x80cf240) at action.c:673
> #9  0x0804e78e in do_action (a=0x80cb588, msg=0x80cf240) at action.c:592
> #10 0x0804eaed in run_actions (a=0x80ca358, msg=0x80cf240) at action.c:673

> #11 0x080682c3 in receive_msg (
>     buf=0x80b64c0 "INVITE sip:alex at 192.168.0.1 SIP/2.0\r\nVia: SIP/2.0/UDP
>
82.140.98.214:5060;rport;branch=z9hG4bK4196B0EA14274F08809C9B9E19B3157B\r\nF
> rom: alexey <sip:alexey at 192.168.0.1>;tag=2668200757\r\nTo: <sip:t"...,
> len=675,
>     rcv_info=0xbffff270) at receive.c:138
> #12 0x08075807 in udp_rcv_loop () at udp_server.c:355
> #13 0x08057c47 in main_loop () at main.c:851
> #14 0x0805a478 in main (argc=3, argv=0xbffff564) at main.c:1779
> #15 0x42015574 in __libc_start_main () from /lib/tls/libc.so.6
>
> and this is end of server log:
>
>  0(13510) parse_headers: flags=33554432
>  2(13514) ERROR: fifo_server fgets failed: Success
>  2(13514) INFO: signal 15 received
>  2(13514) Memory status (pkg):
>  2(13514) fm_status (0x80c9540):
>  2(13514)  heap size= 1047440
>  2(13514) dumping free list:
>  2(13514) hash =   1 fragments no.:    12,
>                  bucket size:         8 -         8 (first         8)
>  2(13514) hash =   2 fragments no.:     2,
>                  bucket size:        16 -        16 (first        16)
>  2(13514) hash =   3 fragments no.:     1,
>                  bucket size:        24 -        24 (first        24)
>  2(13514) hash =   4 fragments no.:   110,
>                  bucket size:        32 -        32 (first        32)
>  2(13514) hash =   6 fragments no.:     2,
>                  bucket size:        48 -        48 (first        48)
>  2(13514) hash =   8 fragments no.:    39,
>                  bucket size:        64 -        64 (first        64)
>  2(13514) hash =   9 fragments no.:     1,
>                  bucket size:        72 -        72 (first        72)
>  2(13514) hash =  18 fragments no.:     3,
>                  bucket size:       144 -       144 (first       144)
>  2(13514) hash = 265 fragments no.:     1,
>                  bucket size:    524288 -   1048576 (first   1025272)
>  2(13514) TOTAL:    171 free fragments = 1032040 free bytes
>  2(13514) -----------------------------
> Segmentation fault (core dumped)
>
>
> Hope this would help to identify the problem.
>
> Regards,
> Alex
>
>
> ----- Original Message -----
> From: "Jan Janak" <jan at iptel.org>
> To: "Ezequiel Colombo" <ecolombo at arcotel.net>
> Cc: <serusers at lists.iptel.org>
> Sent: Saturday, May 22, 2004 5:03 AM
> Subject: Re: [Serusers] child process exited when fix_contact()
>
>
> Did you compile ser from sources ? If so, then recompile the whole ser
> in debugging mode:
> make clean
> make all mode=debug
>
> then enable core generation using ulimit -c unlimited and try to
> reproduce the crash. SER should generate a coredump. If you know how to
> use gdb then try to display the backtrace.
>
>    Jan.
>
>
> On 20-05 18:59, Ezequiel Colombo wrote:
> > After replace my nathelper by the mediaproxy.so module and implement de
> mediaproxy service my SER crash after receiving a REGISTER message and do
> the fix_contact() command. The problem like to be the BUG: tcp_main_loop
but
> i dont see what is the reason.
> > Any can help me with this ?
> > My mediaproxy.so module be compiled with the src files of the SER 0.8.12
> (rpm). I have tried to compile with the last CVS version but the mysql.so
> module dont compile.
> >
> >  2(28514) SIP Request:
> >  2(28514)  method:  <REGISTER>
> >  2(28514)  uri:     <sip:arcotel.net>
> >  2(28514)  version: <SIP/2.0>
> >  2(28514) parse_headers: flags=1
> >  2(28514) end of header reached, state=5
> >  2(28514) parse_headers: Via found, flags=1
> >  2(28514) parse_headers: this is the first via
> >  2(28514) After parse_msg...
> >  2(28514) preparing to run routing scripts...
> >  2(28514) parse_headers: flags=8
> >  2(28514) DEBUG: add_param: tag=2207940617
> >  2(28514) end of header reached, state=29
> >  2(28514) DEBUG : is_maxfwd_present: searching for max_forwards header
> >  2(28514) parse_headers: flags=128
> >  2(28514) end of header reached, state=9
> >  2(28514) DEBUG: get_hdr_field: <To> [39];
uri=[sip:ecolombo at arcotel.net]
> >  2(28514) DEBUG: to body [1152321660 <sip:ecolombo at arcotel.net>]
> >  2(28514) get_hdr_field: cseq <CSeq>: <1> <REGISTER>
> >  2(28514) DEBUG: get_hdr_body : content_length=0
> >  2(28514) found end of header
> >  2(28514) DEBUG: is_maxfwd_present: max_forwards header not found!
> >  2(28514) ROUTE_0: Fixing Contact 2(28514) parse_headers: flags=64
> >  2(28514) parse_headers: flags=33554432
> > 11(28562) BUG: tcp_main_loop: dead child 2
> >  0(28511) child process 28514 exited by a signal 11
> >  0(28511) core was not generated
> >  0(28511) INFO: terminating due to SIGCHLD
> >  1(28513) INFO: signal 15 received
> >
> >
> > Thanks
> > Ezequiel Colombo
> > ARCOTEL S.A.
> > Av. Córdoba 3016
> > (C1187AAR) C.A.B.A.
> > Cel: 15 44063002
> > Tel/Fax: (5411) 49643002/3332
>
> > _______________________________________________
> > Serusers mailing list
> > serusers at lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>




More information about the sr-users mailing list