[asterisk-bugs] [JIRA] (ASTERISK-25764) TSAN: low potencial data race in sig_flags
Badalian Vyacheslav (JIRA)
noreply at issues.asterisk.org
Tue Feb 9 19:24:33 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Badalian Vyacheslav closed ASTERISK-25764.
------------------------------------------
Resolution: Duplicate
ASTERISK-25765
> TSAN: low potencial data race in sig_flags
> ------------------------------------------
>
> Key: ASTERISK-25764
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25764
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Affects Versions: 11.13.0
> Reporter: Badalian Vyacheslav
> Severity: Trivial
>
> {code}
> ==================
> WARNING: ThreadSanitizer: data race (pid=22242)
> Read of size 1 at 0x7f094d207860 by thread T75:
> #0 monitor_sig_flags /root/asterisk-13.7.0/main/asterisk.c:3772 (asterisk+0x0000002c5ba9)
> #1 dummy_start /root/asterisk-13.7.0/main/utils.c:1237 (asterisk+0x00000067e255)
> #2 <null> <null> (libtsan.so.0+0x000000023659)
> Previous write of size 1 at 0x7f094d207860 by main thread:
> #0 __quit_handler /root/asterisk-13.7.0/main/asterisk.c:2158 (asterisk+0x0000002bb8f4)
> #1 <null> <null> (libtsan.so.0+0x000000023783)
> #2 ast_el_read_char /root/asterisk-13.7.0/main/asterisk.c:2754 (asterisk+0x0000002bddb3)
> #3 el_getc /root/asterisk-13.7.0/main/editline/read.c:350 (asterisk+0x0000006bc045)
> #4 read_getcmd /root/asterisk-13.7.0/main/editline/read.c:243 (asterisk+0x0000006c0400)
> #5 el_gets /root/asterisk-13.7.0/main/editline/read.c:446 (asterisk+0x0000006c0400)
> #6 asterisk_daemon /root/asterisk-13.7.0/main/asterisk.c:4741 (asterisk+0x0000002ca874)
> #7 main /root/asterisk-13.7.0/main/asterisk.c:4282 (asterisk+0x0000002c93ad)
> Location is global 'sig_flags' of size 4 at 0x7f094d207860 (asterisk+0x000000c87860)
> Thread T75 (tid=22798, running) created by main thread at:
> #0 pthread_create <null> (libtsan.so.0+0x000000027b07)
> #1 ast_pthread_create_stack /root/asterisk-13.7.0/main/utils.c:1290 (asterisk+0x00000067e69e)
> #2 ast_pthread_create_detached_stack /root/asterisk-13.7.0/main/utils.c:1310 (asterisk+0x00000067e862)
> #3 asterisk_daemon /root/asterisk-13.7.0/main/asterisk.c:4728 (asterisk+0x0000002ca76f)
> #4 main /root/asterisk-13.7.0/main/asterisk.c:4282 (asterisk+0x0000002c93ad)
> SUMMARY: ThreadSanitizer: data race /root/asterisk-13.7.0/main/asterisk.c:3772 monitor_sig_flags
> ==================
> {code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list