[Bug sanitizer/77538] segmentation fault: thread sanitizer shadow stack overflow
coollpe at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Oct 30 06:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77538
--- Comment #11 from peien luo <coollpe at hotmail dot com> ---
Sorry for the previous comment regarding running in gdb. the result seems to be
random:
Sometimes it can runs fine
Sometimes it gets a SEGFAULT in calling to a function, gdb says:
0x00007ff0fa19b466 <+22>: lea -0x100060(%rbp),%rbx
0x00007ff0fa19b46d <+29>: sub $0x1000d8,%rsp
=> 0x00007ff0fa19b474 <+36>: mov %rdi,-0x1000d8(%rbp)
0x00007ff0fa19b47b <+43>: mov 0x8(%rbp),%rdi
0x00007ff0fa19b47f <+47>: mov %rdx,-0x1000e0(%rbp)
0x00007ff0fa19b486 <+54>: mov %rcx,-0x1000f0(%rbp)
0x00007ff0fa19b48d <+61>: mov %r8,-0x1000e8(%rbp)
0x00007ff0fa19b494 <+68>: callq 0x7ff0f9e12e00
<__tsan_func_entry(void*)>
0x00007ff0fa19b499 <+73>: mov %r15,%rax
0x00007ff0fa19b49c <+76>: add $0x30,%rax
0x00007ff0fa19b4a0 <+80>: mov %rax,%rdi
0x00007ff0fa19b4a3 <+83>: mov %rax,-0x1000c8(%rbp)
0x00007ff0fa19b4aa <+90>: callq 0x7ff0f9e1c7e0
<__interceptor_pthread_mutex_lock(void*)>
0x00007ff0fa19b4af <+95>: mov %rbx,%rdi
0x00007ff0fa19b4b2 <+98>: callq 0x7ff0f9e12020
<__tsan_vptr_update(void**, void*)>
More information about the Gcc-bugs
mailing list