[asterisk-bugs] [JIRA] (ASTERISK-25779) data race in pj_time

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Feb 11 23:07:33 CST 2016


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

Asterisk Team commented on ASTERISK-25779:
------------------------------------------

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 in pj_time
> --------------------
>
>                 Key: ASTERISK-25779
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25779
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 13.7.2
>            Reporter: Badalian Vyacheslav
>
> {code}
> ==================
> WARNING: ThreadSanitizer: data race (pid=11900)
>   Write of size 8 at 0x7d0400031e10 by main thread (mutexes: write M1263):
>     #0 free <null> (libtsan.so.0+0x000000025da9)
>     #1 tzset_internal <null> (libc.so.6+0x0000000ae8d8)
>     #2 pj_time_decode ../src/pj/os_time_common.c:35 (libpj.so.2+0x000000016570)
>     #3 <null> <null> (res_pjsip_mwi.so+0x00000000689d)
>     #4 start_resource /root/asterisk/main/loader.c:1015 (asterisk+0x0000004ff12f)
>     #5 load_resource_list /root/asterisk/main/loader.c:1213 (asterisk+0x000000500c7c)
>     #6 load_modules /root/asterisk/main/loader.c:1366 (asterisk+0x000000501ade)
>     #7 asterisk_daemon /root/asterisk/main/asterisk.c:4659 (asterisk+0x0000002d6e5d)
>     #8 main /root/asterisk/main/asterisk.c:4230 (asterisk+0x0000002d5cfd)
>   Previous write of size 8 at 0x7d0400031e10 by thread T44:
>     #0 malloc <null> (libtsan.so.0+0x000000025a33)
>     #1 __strdup <null> (libc.so.6+0x000000085fe9)
>     #2 pj_time_decode ../src/pj/os_time_common.c:35 (libpj.so.2+0x000000016570)
>     #3 thread_main ../src/pj/os_core_unix.c:541 (libpj.so.2+0x00000000f5f9)
>   Mutex M1263 (0x7f49768a9230) created at:
>     #0 pthread_mutex_lock <null> (libtsan.so.0+0x000000037816)
>     #1 __ast_pthread_mutex_lock /root/asterisk/main/lock.c:313 (asterisk+0x000000503d01)
>     #2 load_modules /root/asterisk/main/loader.c:1260 (asterisk+0x000000500eab)
>     #3 asterisk_daemon /root/asterisk/main/asterisk.c:4544 (asterisk+0x0000002d6a6d)
>     #4 main /root/asterisk/main/asterisk.c:4230 (asterisk+0x0000002d5cfd)
>   Thread T44 (tid=12425, running) created by main thread at:
>     #0 pthread_create <null> (libtsan.so.0+0x000000027b07)
>     #1 pj_thread_create ../src/pj/os_core_unix.c:634 (libpj.so.2+0x00000000f448)
>     #2 start_resource /root/asterisk/main/loader.c:1015 (asterisk+0x0000004ff12f)
>     #3 load_resource_list /root/asterisk/main/loader.c:1213 (asterisk+0x000000500c7c)
>     #4 load_modules /root/asterisk/main/loader.c:1366 (asterisk+0x000000501ade)
>     #5 asterisk_daemon /root/asterisk/main/asterisk.c:4659 (asterisk+0x0000002d6e5d)
>     #6 main /root/asterisk/main/asterisk.c:4230 (asterisk+0x0000002d5cfd)
> SUMMARY: ThreadSanitizer: data race ??:0 free
> ==================
> {code}



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



More information about the asterisk-bugs mailing list