[asterisk-bugs] [JIRA] (ASTERISK-26830) SEGV in stasis_message_router_publish_sync
Badalian Vyacheslav (JIRA)
noreply at issues.asterisk.org
Wed Mar 1 17:05:10 CST 2017
[ https://issues.asterisk.org/jira/browse/ASTERISK-26830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235510#comment-235510 ]
Badalian Vyacheslav commented on ASTERISK-26830:
------------------------------------------------
Very rare story. It appears on the test machine. It is running in a circle of 20 bots to call each other.
> SEGV in stasis_message_router_publish_sync
> ------------------------------------------
>
> Key: ASTERISK-26830
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-26830
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 13.14.0
> Reporter: Badalian Vyacheslav
> Assignee: Badalian Vyacheslav
> Severity: Minor
>
> SEGV was caught ...
> {code}
> ==108030==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc 0x00000075a578 bp 0x7f68d5de80d0 sp 0x7f68d5de7f90 T103516)
> #0 0x75a577 in publish_msg .../asterisk-13.14.0/main/stasis.c:830
> #1 0x774f86 in stasis_message_router_publish_sync .../asterisk-13.14.0/main/stasis_message_router.c:288
> #2 0x7f692ef51610 in cdr_write .../asterisk-13.14.0/funcs/func_cdr.c:568
> #3 0x6f182c in ast_func_write .../asterisk-13.14.0/main/pbx_functions.c:711
> #4 0x6facde in pbx_builtin_setvar_helper .../asterisk-13.14.0/main/pbx_variables.c:1036
> #5 0x6faec7 in pbx_builtin_setvar .../asterisk-13.14.0/main/pbx_variables.c:1104
> #6 0x6e97a4 in pbx_exec .../asterisk-13.14.0/main/pbx_app.c:485
> #7 0x6d65c4 in pbx_extension_helper .../asterisk-13.14.0/main/pbx.c:2884
> #8 0x6d9bda in ast_spawn_extension .../asterisk-13.14.0/main/pbx.c:4110
> #9 0x7f693eebaea9 in gosub_run .../asterisk-13.14.0/apps/app_stack.c:1057
> #10 0x45b8d9 in ast_app_exec_sub .../asterisk-13.14.0/main/app.c:435
> #11 0x6f2339 in ast_pbx_hangup_handler_run .../asterisk-13.14.0/main/pbx_hangup_handler.c:88
> #12 0x6db656 in __ast_pbx_run .../asterisk-13.14.0/main/pbx.c:4504
> #13 0x6dcbd3 in ast_pbx_run_args .../asterisk-13.14.0/main/pbx.c:4653
> #14 0x6dcbd3 in ast_pbx_run .../asterisk-13.14.0/main/pbx.c:4662
> #15 0x6dcbd3 in pbx_outgoing_exec .../asterisk-13.14.0/main/pbx.c:7504
> #16 0x7b2cbf in dummy_start .../asterisk-13.14.0/main/utils.c:1235
> #17 0x7f6961492dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
> #18 0x7f696083773c in clone (/lib64/libc.so.6+0xf773c)
> SUMMARY: AddressSanitizer: SEGV .../asterisk-13.14.0/main/stasis.c:830 in publish_msg
> Thread T103516 created by T103515 here:
> #0 0x7f696376c4a8 in pthread_create (/lib64/libasan.so.3+0x314a8)
> #1 0x7bceb4 in ast_pthread_create_stack .../asterisk-13.14.0/main/utils.c:1288
> #2 0x7bd150 in ast_pthread_create_detached_stack .../asterisk-13.14.0/main/utils.c:1308
> #3 0x6ca5c9 in pbx_outgoing_attempt .../asterisk-13.14.0/main/pbx.c:7698
> #4 0x6e41b3 in ast_pbx_outgoing_exten .../asterisk-13.14.0/main/pbx.c:7766
> #5 0x692fff in fast_originate .../asterisk-13.14.0/main/manager.c:5104
> #6 0x7b2cbf in dummy_start .../asterisk-13.14.0/main/utils.c:1235
> #7 0x7f6961492dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
> Thread T103515 created by T22932 here:
> #0 0x7f696376c4a8 in pthread_create (/lib64/libasan.so.3+0x314a8)
> #1 0x7bceb4 in ast_pthread_create_stack .../asterisk-13.14.0/main/utils.c:1288
> #2 0x7bd150 in ast_pthread_create_detached_stack .../asterisk-13.14.0/main/utils.c:1308
> #3 0x690050 in action_originate .../asterisk-13.14.0/main/manager.c:5568
> #4 0x67ba84 in process_message .../asterisk-13.14.0/main/manager.c:6322
> #5 0x68309d in do_message .../asterisk-13.14.0/main/manager.c:6535
> #6 0x68309d in session_do .../asterisk-13.14.0/main/manager.c:6656
> #7 0x793e1f in handle_tcptls_connection .../asterisk-13.14.0/main/tcptls.c:742
> #8 0x7b2cbf in dummy_start .../asterisk-13.14.0/main/utils.c:1235
> #9 0x7f6961492dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
> Thread T22932 created by T23 here:
> #0 0x7f696376c4a8 in pthread_create (/lib64/libasan.so.3+0x314a8)
> #1 0x7bceb4 in ast_pthread_create_stack .../asterisk-13.14.0/main/utils.c:1288
> #2 0x7bd150 in ast_pthread_create_detached_stack .../asterisk-13.14.0/main/utils.c:1308
> #3 0x793455 in ast_tcptls_server_root .../asterisk-13.14.0/main/tcptls.c:793
> #4 0x7b2cbf in dummy_start .../asterisk-13.14.0/main/utils.c:1235
> #5 0x7f6961492dc4 in start_thread (/lib64/libpthread.so.0+0x7dc4)
> Thread T23 created by T0 here:
> #0 0x7f696376c4a8 in pthread_create (/lib64/libasan.so.3+0x314a8)
> #1 0x7bceb4 in ast_pthread_create_stack .../asterisk-13.14.0/main/utils.c:1288
> #2 0x7923b6 in ast_tcptls_server_start .../asterisk-13.14.0/main/tcptls.c:1190
> #3 0x6960f7 in __init_manager .../asterisk-13.14.0/main/manager.c:9295
> #4 0x4387f1 in asterisk_daemon .../asterisk-13.14.0/main/asterisk.c:4686
> #5 0x4387f1 in main .../asterisk-13.14.0/main/asterisk.c:4446
> #6 0x7f6960761b34 in __libc_start_main (/lib64/libc.so.6+0x21b34)
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list