[asterisk-bugs] [JIRA] (ASTERISK-23339) Segfault in __ao2_find at astobj2.c, in find_interface at format.c
Matt Jordan (JIRA)
noreply at issues.asterisk.org
Mon Feb 24 12:46:04 CST 2014
[ https://issues.asterisk.org/jira/browse/ASTERISK-23339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215606#comment-215606 ]
Matt Jordan commented on ASTERISK-23339:
----------------------------------------
Yup. We're setting the {{interfaces}} container to NULL after cleaning it up, and not checking for its existence elsewhere.
Cleaning things up on exit is nice, but boy have there been ripple effects to busy systems on shut down :-P
> Segfault in __ao2_find at astobj2.c, in find_interface at format.c
> ------------------------------------------------------------------
>
> Key: ASTERISK-23339
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-23339
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: 11.6.0, 11.7.0
> Environment: centos 5.9 64bit
> Reporter: David Brillert
> Assignee: David Brillert
> Severity: Critical
> Attachments: backtrace unoptimized feb 20 2014.txt, backtrace unoptimized feb 24 2014(1).txt, backtrace unoptimized feb 24 2014.txt
>
>
> Segfault. Backtrace attached.
> Asterisk was compiled with DONT_OPTIMIZE and BETTER_BACKTRACES
> {noformat}
> Program terminated with signal 11, Segmentation fault.
> #0 0x000000000044f52a in __ao2_find (c=0x0, arg=0x2b7d71548120, flags=OBJ_POINTER) at astobj2.c:1237
> 1237 astobj2.c: No such file or directory.
> in astobj2.c
> (gdb) bt
> #0 0x000000000044f52a in __ao2_find (c=0x0, arg=0x2b7d71548120, flags=OBJ_POINTER) at astobj2.c:1237
> #1 0x00000000004ec739 in find_interface (format=0x191fb94c) at format.c:107
> #2 0x00000000004ed086 in format_cmp_helper (format1=0x191fb94c, format2=0x193abb18) at format.c:314
> #3 0x00000000004ed1a0 in ast_format_cmp (format1=0x191fb94c, format2=0x193abb18) at format.c:339
> #4 0x00000000004f0c4d in cmp_cb (obj=0x193abb18, arg=0x191fb94c, flags=8) at format_cap.c:56
> #5 0x000000000044ef42 in internal_ao2_callback (c=0x19668558, flags=OBJ_POINTER, cb_fn=0x4f0c1d, arg=0x191fb94c, data=0x0,
> type=DEFAULT, tag=0x0, file=0x0, line=0, func=0x0) at astobj2.c:1101
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list