Ticket #2563: debug

File debug, 1.6 KB (added by TomMD, 7 years ago)

An example crash

Line 
1(gdb) run
2Starting program: /home/tom/dev/Test/exMVar-threaded +RTS -N4 -RTS 200MB 200MB 200MB 200MB
3[Thread debugging using libthread_db enabled]
4[New Thread 0x7fc3f16726f0 (LWP 7932)]
5[New Thread 0x42637950 (LWP 7933)]
6[New Thread 0x42e38950 (LWP 7934)]
7[New Thread 0x41975950 (LWP 7935)]
8[New Thread 0x43639950 (LWP 7936)]
9[New Thread 0x43e3a950 (LWP 7937)]
10200MB: eda9a9889837ac4bc81d6387d92c1bec
11200MB: eda9a9889837ac4bc81d6387d92c1bec
12200MB: eda9a9889837ac4bc81d6387d92c1bec
13200MB: eda9a9889837ac4bc81d6387d92c1bec
14
15Program exited normally.
16(gdb) run
17Starting program: /home/tom/dev/Test/exMVar-threaded +RTS -N4 -RTS 200MB 200MB 200MB 200MB
18[Thread debugging using libthread_db enabled]
19[New Thread 0x7f8026bea6f0 (LWP 7945)]
20[New Thread 0x4269c950 (LWP 7946)]
21[New Thread 0x42e9d950 (LWP 7947)]
22[New Thread 0x4369e950 (LWP 7948)]
23[New Thread 0x43e9f950 (LWP 7949)]
24[New Thread 0x4119a950 (LWP 7950)]
25200MB: eda9a9889837ac4bc81d6387d92c1bec
26200MB: eda9a9889837ac4bc81d6387d92c1bec
27200MB: eda9a9889837ac4bc81d6387d92c1bec
28200MB: eda9a9889837ac4bc81d6387d92c1bec
29[Thread 0x42e9d950 (LWP 7947) exited]
30[Thread 0x4269c950 (LWP 7946) exited]
31[Thread 0x43e9f950 (LWP 7949) exited]
32[Thread 0x4119a950 (LWP 7950) exited]
33*** glibc detected *** /home/tom/dev/Test/exMVar-threaded: double free or corruption (top): 0x000000000282b9d0 ***
34exMVar-threaded: internal error: RELEASE_LOCK: I do not own this lock: Task.c 269
35    (GHC version 6.8.2 for x86_64_unknown_linux)
36    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
37
38Program received signal SIGABRT, Aborted.
39[Switching to Thread 0x4369e950 (LWP 7948)]
400x00007f8025bdd0c5 in raise () from /lib/libc.so.6
41