[OpenSIPS-Devel] segfault at acc.so

samuel samu60 at gmail.com
Fri Oct 4 12:51:56 CEST 2013


The problem still persist and I don't know whether the Req-URI, which can
be seen in th following output might cause a problem because of its length:

Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_msg:  method:
<BYE>
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_msg:  uri:     <
sip:sam at testintern.domain.com
;gr=urn:uuid:d63b1c4f-d7dc-4f4e-87f1-948123266dc0>
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_msg:  version:
<SIP/2.0>
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_headers: flags=2
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 72),
called from parser/msg_parser.c: parse_headers(315)
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 72),
returns address 0x7f79a2cb9bb0 frag. 0x7f79a2cb9b80 (size=72) on 1 -th hit
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 240),
called from parser/msg_parser.c: get_hdr_field(112)
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 240),
returns address 0x7f79a2cb9da0 frag. 0x7f79a2cb9d70 (size=240) on 1 -th hit
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 64),
called from parser/parse_via.c: parse_via(1990)
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 64),
returns address 0x7f79a2cb9ef0 frag. 0x7f79a2cb9ec0 (size=64) on 1 -th hit
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_via_param: found
param type 232, <branch> = <z9hG4bK1a2e.62bd9e41.0>; state=16
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_via: end of
header reached, state=5
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_headers: via
found, flags=2
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:parse_headers: this is
the first via
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 22),
called from parser/msg_parser.c: set_dst_uri(757)
Oct  4 12:43:27 opensips1 kernel: [786526.971515] opensips[14504]: segfault
at 0 ip 00007f799ffc675f sp 00007fff7555e9a0 error 4 in
acc.so[7f799ffad000+21000]
Oct  4 12:43:27 opensips1 opensips[14504]: params (0x7f79a2c4b010, 24),
returns address 0x7f79a2cb9f90 frag. 0x7f79a2cb9f60 (size=24) on 1 -th hit
Oct  4 12:43:27 opensips1 opensips[14504]: DBG:core:comp_scriptvar: str 20
: upstream
Oct  4 12:43:27 opensips1 opensips[14520]: CRITICAL:core:receive_fd: EOF on
14
Oct  4 12:43:27 opensips1 opensips[14520]: DBG:core:handle_ser_child: dead
child 1, pid 14504 (shutting down?)


Can anyone provide information about how to solve this issue?

Best regards,
Samuel.


On 27 September 2013 17:22, samuel <samu60 at gmail.com> wrote:

> Hi all,
>
> One opensips installation is continuously failing due to a segfault when
> the server (version 1.11.0dev-tls) receives a dlg_end_dlg command via the
> mi interface.
>
> The backtrace shows some problem in the file acc_logic.c (line 213)
>         int table_len = strlen(table);
>
> Case it's necessary, I can provide information about the core full
> backtrace or the memory debug.
>
> The following lines shows some lines of the syslog output:
>
> Sep 27 15:08:51 opensips1 opensips[10133]: DBG:core:parse_headers: this is
> the first via
> Sep 27 15:08:51 opensips1 opensips[10133]: params (0x7f6552a62010, 22),
> called from parser/msg_parser.c: set_dst_uri(757)
> Sep 27 15:08:51 opensips1 opensips[10133]: params (0x7f6552a62010, 24),
> returns address 0x7f6552ad0f90 frag. 0x7f6552ad0f60 (size=24) on 1 -th hit
> Sep 27 15:08:51 opensips1 opensips[10133]: DBG:core:comp_scriptvar: str 20
> : upstream
> Sep 27 15:08:51 opensips1 kernel: [190451.760768] opensips[10133]:
> segfault at 0 ip 00007f654fddd75f sp 00007fffd0eda7d0 error 4 in
> acc.so[7f654fdc4000+21000]
> Sep 27 15:08:52 opensips1 opensips[10149]: CRITICAL:core:receive_fd: EOF
> on 14
> Sep 27 15:08:52 opensips1 opensips[10149]: DBG:core:handle_ser_child: dead
> child 1, pid 10133 (shutting down?)
> Sep 27 15:08:52 opensips1 opensips[10149]: DBG:core:io_watch_del:
> io_watch_del op on index -1 14 (0x7ee640, 14, -1, 0x0,0x1) fd_no=24 called
> Sep 27 15:08:52 opensips1 opensips[10132]: DBG:core:handle_sigs: status =
> 139
>
> Can anyone help us how to debug and solve the issue?
>
> Best regards,
> Samuel.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20131004/ea845e34/attachment.htm>


More information about the Devel mailing list