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

--- Comment #24 from peien luo <coollpe at hotmail dot com> ---
(In reply to Dmitry Vyukov from comment #23)
> Please provide disassembly of the function that contains the PC
> (__gnu_cxx::__normal_iterator...).
> Did we fix any bugs that lead to missed __tsan_func_exit callbacks?
> 
> Before we go any deeper, I would suggest to retest with the latest gcc.
> There might have been bugs, and they may be fixed now. Even if a fix will be
> backported to 4.8 branch, you will still need to update the compiler.

I tried 4.9.4 today, and there seems to be a different error in gdb.

   0x00007fe763ba774e <+0>:     push   %rbp
   0x00007fe763ba774f <+1>:     mov    %rsp,%rbp
   0x00007fe763ba7752 <+4>:     push   %r14
   0x00007fe763ba7754 <+6>:     push   %r13
   0x00007fe763ba7756 <+8>:     push   %r12
   0x00007fe763ba7758 <+10>:    push   %rbx
   0x00007fe763ba7759 <+11>:    sub    $0x1000f0,%rsp
=> 0x00007fe763ba7760 <+18>:    mov    %rdi,-0x1000e8(%rbp)
   0x00007fe763ba7767 <+25>:    mov    %rsi,-0x1000f0(%rbp)
   0x00007fe763ba776e <+32>:    mov    %rdx,-0x1000f8(%rbp)
   0x00007fe763ba7775 <+39>:    mov    %rcx,-0x100100(%rbp)
   0x00007fe763ba777c <+46>:    mov    %r8,-0x100108(%rbp)
   0x00007fe763ba7783 <+53>:    mov    %r9d,-0x10010c(%rbp)
   0x00007fe763ba778a <+60>:    mov    0x8(%rbp),%rax
   0x00007fe763ba778e <+64>:    mov    %rax,%rdi
   0x00007fe763ba7791 <+67>:    callq  0x7fe763871660
<__tsan_func_entry(void*)>

Reply via email to