#2546: Reliable crash in scheduleCheckBlackHoles
-------------------------+--------------------------------------------------
Reporter: nogin | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.8.2
Severity: critical | Resolution:
Keywords: crash | Testcase:
Architecture: x86 | Os: Linux
-------------------------+--------------------------------------------------
Comment (by nogin):
By adding the {{{-debug -dppr-debug}}} flags to the compilation command
line, I was able to get a much better {{{gdb}}} backtrace:
{{{
(gdb) run 4000 +RTS -N3 -A10m -sstderr
Starting program: XXX 4000 +RTS -N3 -A10m -sstderr
[Thread debugging using libthread_db enabled]
XXX 4000 +RTS -N3 -A10m -sstderr
[New Thread 1118336 (LWP 21542)]
[New Thread 25070480 (LWP 21576)]
[New Thread 113068944 (LWP 21577)]
[New Thread 85584784 (LWP 21578)]
[New Thread 131009424 (LWP 21579)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 131009424 (LWP 21579)]
0x0808c25c in checkBlackHoles (cap=0x8daf278) at Schedule.c:2952
2952 Schedule.c: Нет такого файла или каталога.
in Schedule.c
(gdb) bt
#0 0x0808c25c in checkBlackHoles (cap=0x8daf278) at Schedule.c:2952
#1 0x0808a5b5 in scheduleCheckBlackHoles (cap=0x8daf278) at
Schedule.c:941
#2 0x0808983a in schedule (initialCapability=0x8daf278, task=0x8dc4268)
at Schedule.c:458
#3 0x0808b957 in workerStart (task=0x8dc4268) at Schedule.c:2528
#4 0x00d5f46b in start_thread () from /lib/libpthread.so.0
#5 0x00cb6dbe in clone () from /lib/libc.so.6
(gdb) run 4000 +RTS -N3 -A10m -sstderr
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: XXX 4000 +RTS -N3 -A10m -sstderr
[Thread debugging using libthread_db enabled]
XXX 4000 +RTS -N3 -A10m -sstderr
[New Thread 1118336 (LWP 21588)]
[New Thread 25312144 (LWP 21620)]
[New Thread 62921616 (LWP 21621)]
[New Thread 103971728 (LWP 21622)]
[New Thread 73411472 (LWP 21623)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 25312144 (LWP 21620)]
0x0808c25c in checkBlackHoles (cap=0x8787278) at Schedule.c:2952
2952 in Schedule.c
(gdb) bt
#0 0x0808c25c in checkBlackHoles (cap=0x8787278) at Schedule.c:2952
#1 0x0808a5b5 in scheduleCheckBlackHoles (cap=0x8787278) at
Schedule.c:941
#2 0x0808983a in schedule (initialCapability=0x8787278, task=0x8793578)
at Schedule.c:458
#3 0x0808b957 in workerStart (task=0x8793578) at Schedule.c:2528
#4 0x00d5f46b in start_thread () from /lib/libpthread.so.0
#5 0x00cb6dbe in clone () from /lib/libc.so.6
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2546#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs