staticanalysis / data-race-test

Automatically exported from code.google.com/p/data-race-test
0 stars 0 forks source link

State flushing for llvm/gcc front-ends #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run chrome with gcc front-end.
2. Wait for long enough.

What is the expected output?
The program continues to run.

What do you see instead?
The program crashes.

Here is the stack:

Program terminated with signal 6, Aborted.
#0  0x00007feba0c67a75 in raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) where
#0  0x00007feba0c67a75 in raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007feba0c6b5c0 in abort () at abort.c:92
#2  0x00007feba0c60941 in __assert_fail (assertion=0x531f561 "n_segments_ < 
kMaxSID", file=<value optimized out>, line=1714, 
    function=0x5f7fea0 "static void Segment::AllocateFreshSegments(size_t, SID*)") at assert.c:81
#3  0x0000000005282da7 in AllocateFreshSegments (this=<value optimized out>, 
thr=0x84, addr=<value optimized out>, mop=<value optimized out>, 
has_expensive_flags=32, need_locking=81)
    at ../../tsan/thread_sanitizer.cc:1714
#4  GetSomeFreshSids (this=<value optimized out>, thr=0x84, addr=<value 
optimized out>, mop=<value optimized out>, has_expensive_flags=32, 
need_locking=81)
    at ../../tsan/thread_sanitizer.cc:5214
#5  Detector::HandleMemoryAccessSlowLocked (this=<value optimized out>, 
thr=0x84, addr=<value optimized out>, mop=<value optimized out>, 
has_expensive_flags=32, need_locking=81)
    at ../../tsan/thread_sanitizer.cc:7257
#6  0x000000000524cd8d in HandleMemoryAccessInternal (thr=0x8588b70, mop=..., 
addr=1478298496) at ../../tsan/thread_sanitizer.cc:7376
#7  HandleTraceLoop (thr=0x8588b70, mop=..., addr=1478298496) at 
../../tsan/thread_sanitizer.cc:6135
#8  HandleTrace (thr=0x8588b70, mop=..., addr=1478298496) at 
../../tsan/thread_sanitizer.cc:6159
#9  ThreadSanitizerHandleOneMemoryAccess (thr=0x8588b70, mop=..., 
addr=1478298496) at ../../tsan/thread_sanitizer.cc:8478
#10 0x00000000052860db in tsan_rtl_mop (addr=0x6, flags=<value optimized out>) 
at tsan_rtl.cc:3062
#11 0x0000000001b99b28 in SkBitmapOperations::DownsampleByTwo (bitmap=...) at 
ui/gfx/skbitmap_operations.cc:655

Original issue reported on code.google.com by dvyu...@google.com on 20 Apr 2011 at 7:10