http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58465

--- Comment #5 from Oleg Smolsky <oleg at smolsky dot net> ---
BTW, I get an identical deadlock with ASan:

#0  0x00007fe631504ae9 in syscall () from /lib64/libc.so.6
#1  0x00007fe63363ddc0 in __sanitizer::internal_sched_yield ()
     at 
../../../../gcc48-google/libsanitizer/sanitizer_common/sanitizer_linux.cc:138
#2  0x00007fe63362d521 in __sanitizer::StaticSpinMutex::LockSlow 
(this=this@entry=0x7fe635bb29c0 <__sanitizer::depot>)
     at 
../../../../gcc48-google/libsanitizer/sanitizer_common/sanitizer_mutex.h:49
#3  0x00007fe63363fef4 in Lock (this=0x7fe635bb29c0 <__sanitizer::depot>)
     at 
../../../../gcc48-google/libsanitizer/sanitizer_common/sanitizer_mutex.h:30
#4  GenericScopedLock (mu=0x7fe635bb29c0 <__sanitizer::depot>, 
this=<synthetic pointer>)
     at 
../../../../gcc48-google/libsanitizer/sanitizer_common/sanitizer_mutex.h:83
#5  allocDesc (size=2) at 
../../../../gcc48-google/libsanitizer/sanitizer_common/sanitizer_stackdepot.cc:90
#6  __sanitizer::StackDepotPut (stack=stack@entry=0x7fff79d77100, size=2)
     at 
../../../../gcc48-google/libsanitizer/sanitizer_common/sanitizer_stackdepot.cc:169
#7  0x00007fe63362c3c0 in __asan::Allocate (size=size@entry=49, 
alignment=<optimized out>, alignment@entry=8,
     stack=stack@entry=0x7fff79d770f0, 
alloc_type=alloc_type@entry=__asan::FROM_MALLOC)
     at ../../../../gcc48-google/libsanitizer/asan/asan_allocator2.cc:386
#8  0x00007fe63362cf02 in __asan::asan_malloc (size=size@entry=49, 
stack=stack@entry=0x7fff79d770f0)
     at ../../../../gcc48-google/libsanitizer/asan/asan_allocator2.cc:599
#9  0x00007fe633638fa3 in __interceptor_malloc (size=49)
     at ../../../../gcc48-google/libsanitizer/asan/asan_malloc_linux.cc:72
#10 0x00007fe63144fdb9 in _nl_make_l10nflist () from /lib64/libc.so.6
#11 0x00007fe63144e0c5 in _nl_find_domain () from /lib64/libc.so.6
#12 0x00007fe63144d9b0 in __dcigettext () from /lib64/libc.so.6
#13 0x00007fe6314a0a38 in strerror_r () from /lib64/libc.so.6
#14 0x00007fe6314a093e in strerror () from /lib64/libc.so.6
#15 0x00007fe63362ef42 in __interceptor_strerror (errnum=<optimized out>)

Reply via email to