https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88791

--- Comment #13 from dominik.stras...@onespin-solutions.com ---
The crash is not 100% reproducible. Looks like it is a race.

I'll check whether I can give you access to a system on our side.

I also encountered a differnt crash:
[Switching to Thread 0x7fffb920b700 (LWP 45227)]
0x00007ffff7357d76 in __asan::AsanThread::isUnwinding (this=0x7fffb9944000) at
../../../../gcc-git/libsanitizer/asan/asan_thread.h:126
126       bool isUnwinding() const { return unwinding_; }
(gdb) p unwinding_
Cannot access memory at address 0x7fffb9951e80
(gdb) up
#1  0x00007ffff74a19ad in __asan::GetStackTrace (fast=true, context=0x0,
bp=140736299312784, pc=140737342216507, max_depth=100, stack=0x7fffb9209e00)
    at ../../../../gcc-git/libsanitizer/asan/asan_stack.h:40
40          if ((t = GetCurrentThread()) && !t->isUnwinding()) {

#0  0x00007ffff7357d76 in __asan::AsanThread::isUnwinding (this=0x7fffb92f9000)
at ../../../../gcc-git/libsanitizer/asan/asan_thread.h:126
#1  0x00007ffff74a19ad in __asan::GetStackTrace (fast=true, context=0x0,
bp=140736316278416, pc=140737342216507, max_depth=100, stack=0x7fffba237e00)
    at ../../../../gcc-git/libsanitizer/asan/asan_stack.h:40
#2  operator new (size=32) at
../../../../gcc-git/libsanitizer/asan/asan_new_delete.cc:104
#3  0x00000000004f11b5 in
__gnu_cxx::new_allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > >::allocate
(this=0x7fffba238928, __n=1)
    at /local/strasser/gcc-git/include/c++/9.0.0/ext/new_allocator.h:114
#4  0x00000000004ebf38 in
std::allocator_traits<std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >::allocate (__a=..., __n=1)
    at /local/strasser/gcc-git/include/c++/9.0.0/bits/alloc_traits.h:444
#5  0x00000000004e4978 in std::_Vector_base<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >::_M_allocate (this=0x7fffba238928, __n=1) at
/local/strasser/gcc-git/include/c++/9.0.0/bits/stl_vector.h:343
#6  0x00000000005b61e3 in std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >
>::_M_allocate_and_copy<__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const*,
std::vector<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > > > (this=0x7fffba238928,
__n=1, __first="SATEQC", 
    __last=<error: Cannot access memory at address 0x400000500000503>) at
/local/strasser/gcc-git/include/c++/9.0.0/bits/stl_vector.h:1472
#7  0x00000000005b3a5b in std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > >::operator= (this=0x7fffba238928, __x=std::vector of
length 1, capacity 1 = {...}) at
/local/strasser/gcc-git/include/c++/9.0.0/bits/vector.tcc:227
...

Reply via email to