[asterisk-bugs] [JIRA] (ASTERISK-26456) format.c SEGV in tests/pbx/call_file_retries_alwaysdelete test

Asterisk Team (JIRA) noreply at issues.asterisk.org
Mon Oct 10 12:55:01 CDT 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=232627#comment-232627 ] 

Asterisk Team commented on ASTERISK-26456:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> format.c SEGV in tests/pbx/call_file_retries_alwaysdelete test
> --------------------------------------------------------------
>
>                 Key: ASTERISK-26456
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26456
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>            Reporter: Badalian Vyacheslav
>
> Branch GIT-13-f809850
> [Oct 10 16:39:34] WARNING[831]: asterisk:243 errReceived: Asterisk 127.0.0.1 received error: FRACK!, Failed assertion format != NULL (0) at line 213 in __ast_format_cap_append of format_cap.c
> =================================================================
> ==836==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x000000635961 bp 0x7f68b88ba660 sp 0x7f68b88ba650 T75)
>     #0 0x635960 in ast_format_get_codec_id /usr/src/asterisk/main/format.c:365
>     #1 0x63cb56 in format_cap_framed_init /usr/src/asterisk/main/format_cap.c:172
>     #2 0x63d4e7 in __ast_format_cap_append /usr/src/asterisk/main/format_cap.c:225
>     #3 0x7f688e0d702e in new_outgoing /usr/src/asterisk/pbx/pbx_spool.c:161
>     #4 0x7f688e0dc56e in scan_service /usr/src/asterisk/pbx/pbx_spool.c:451
>     #5 0x7f688e0dd295 in queue_file /usr/src/asterisk/pbx/pbx_spool.c:558
>     #6 0x7f688e0de979 in scan_thread /usr/src/asterisk/pbx/pbx_spool.c:801
>     #7 0x806794 in dummy_start /usr/src/asterisk/main/utils.c:1235
>     #8 0x7f68d41c90a3 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x80a3)
>     #9 0x7f68d320362c in clone (/lib/x86_64-linux-gnu/libc.so.6+0xe862c)
> AddressSanitizer can not provide additional info.
> SUMMARY: AddressSanitizer: SEGV /usr/src/asterisk/main/format.c:365 in ast_format_get_codec_id
> Thread T75 created by T0 here:
>     #0 0x7f68d5d2cdd9 in __interceptor_pthread_create (/usr/local/lib64/libasan.so.3+0x30dd9)
>     #1 0x806b9d in ast_pthread_create_stack /usr/src/asterisk/main/utils.c:1288
>     #2 0x806d0a in ast_pthread_create_detached_stack /usr/src/asterisk/main/utils.c:1308
>     #3 0x7f688e0dec21 in load_module /usr/src/asterisk/pbx/pbx_spool.c:920
>     #4 0x67441c in start_resource /usr/src/asterisk/main/loader.c:1026
>     #5 0x676574 in load_resource_list /usr/src/asterisk/main/loader.c:1290
>     #6 0x677523 in load_modules /usr/src/asterisk/main/loader.c:1451
>     #7 0x49444a in asterisk_daemon /usr/src/asterisk/main/asterisk.c:4615
>     #8 0x493794 in main /usr/src/asterisk/main/asterisk.c:4372
>     #9 0x7f68d313cb44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
> ==836==ABORTING



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list