[asterisk-bugs] [JIRA] (ASTERISK-25788) data race then "sip reload"

Asterisk Team (JIRA) noreply at issues.asterisk.org
Fri Feb 12 12:57:33 CST 2016


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

Asterisk Team commented on ASTERISK-25788:
------------------------------------------

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].

> data race then "sip reload"
> ---------------------------
>
>                 Key: ASTERISK-25788
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25788
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>         Environment: [root at vm-asterisk04t asterisk]# git branch -v
> * master a394865 Merge "Resources/res_phoneprov: fix memory leak and heap-use-after-free"
>            Reporter: Badalian Vyacheslav
>
> {code}
> *CLI> sip reload
> *CLI> ==================
> WARNING: ThreadSanitizer: data race (pid=22885)
>   Write of size 4 at 0x7f7f462f0fc0 by thread T64:
>     #0 <null> <null> (chan_sip.so+0x0000000f16bd) = /root/asterisk/channels/chan_sip.c:31442 reload_config
>     #1 <null> <null> (chan_sip.so+0x0000000fe2ba) = /root/asterisk/channels/chan_sip.c:33216 sip_do_reload
>     #2 <null> <null> (chan_sip.so+0x0000000d36da) = /root/asterisk/channels/chan_sip.c:28936 do_monitor
>     #3 dummy_start /root/asterisk/main/utils.c:1232 (asterisk+0x00000031efb1)
>     #4 <null> <null> (libtsan.so.0+0x000000023659)
>   Previous read of size 4 at 0x7f7f462f0fc0 by main thread:
>     #0 <null> <null> (chan_sip.so+0x0000000dfc06) = /root/asterisk/channels/chan_sip.c:30343 set_peer_defaults
>     #1 <null> <null> (chan_sip.so+0x0000000e391f) = /root/asterisk/channels/chan_sip.c:30428 temp_peer 
>     #2 <null> <null> (chan_sip.so+0x0000000fe6c4) = /root/asterisk/channels/chan_sip.c:33272 sip_reload 
>     #3 ast_cli_command_full /root/asterisk/main/cli.c:2717 (asterisk+0x00000014dd3b)
>     #4 consolehandler /root/asterisk/main/asterisk.c:2230 (asterisk+0x00000007df36)
>     #5 asterisk_daemon /root/asterisk/main/asterisk.c:4743 (asterisk+0x000000088d6c)
>     #6 main /root/asterisk/main/asterisk.c:4230 (asterisk+0x000000087707)
>   Location is global '<null>' of size 0 at 0x000000000000 (chan_sip.so+0x000000348fc0)
>   Thread T64 (tid=23437, running) created by main thread at:
>     #0 pthread_create <null> (libtsan.so.0+0x000000027b07)
>     #1 ast_pthread_create_stack /root/asterisk/main/utils.c:1285 (asterisk+0x00000031f25f)
>     #2 <null> <null> (chan_sip.so+0x0000000d3cc1) = /root/asterisk/channels/chan_sip.c:29013 restart_monitor 
>     #3 <null> <null> (chan_sip.so+0x00000010167a) = /root/asterisk/channels/chan_sip.c:34695 load_module 
>     #4 start_resource /root/asterisk/main/loader.c:1015 (asterisk+0x0000001f0d33)
>     #5 load_resource_list /root/asterisk/main/loader.c:1213 (asterisk+0x0000001f1d15)
>     #6 load_modules /root/asterisk/main/loader.c:1366 (asterisk+0x0000001f26da)
>     #7 asterisk_daemon /root/asterisk/main/asterisk.c:4659 (asterisk+0x00000008880d)
>     #8 main /root/asterisk/main/asterisk.c:4230 (asterisk+0x000000087707)
> SUMMARY: ThreadSanitizer: data race ??:0 ??
> ==================
> {code}



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



More information about the asterisk-bugs mailing list