Closed GoogleCodeExporter closed 9 years ago
Does the program segfault only under TSan? It looks like "note" is NULL.
Original comment by samso...@chromium.org
on 5 Mar 2015 at 6:25
Original comment by samso...@google.com
on 5 Mar 2015 at 6:25
> __tsan_read4 (addr=0x28c)
The program accesses address 0x28c. It is intended to crash.
If the program does not crash without tsan, it can be caused by usage of a
different compiler. Do you use the same compiler with the same optimization
level for both tsan and non-tsan build? If not, try to run with tsan compiler
but w/o -fsanitize=thread. Also you can as well just debug tsan build with gdb
and figure out where the 0x28c came from. Or run with asan/msan/ubsan.
Original comment by dvyu...@google.com
on 6 Mar 2015 at 7:16
Yeah, I was eager to open issue without proper investigation. It is true that
program works without tsan, but this code does some hacky things. Sorry.
Original comment by marko@kevac.org
on 6 Mar 2015 at 8:38
Adding Project:ThreadSanitizer as part of GitHub migration.
Original comment by gli...@google.com
on 30 Jul 2015 at 9:21
Original issue reported on code.google.com by
marko@kevac.org
on 5 Mar 2015 at 6:10