[asterisk-bugs] [JIRA] (ASTERISK-25779) pjproject: Data race in pj_time
Joshua Colp (JIRA)
noreply at issues.asterisk.org
Mon Feb 15 11:35:32 CST 2016
[ https://issues.asterisk.org/jira/browse/ASTERISK-25779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua Colp updated ASTERISK-25779:
-----------------------------------
Severity: Minor (was: Major)
> pjproject: 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
> Components: pjproject/pjsip
> Affects Versions: 13.7.2
> 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
> Severity: Minor
>
> {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