#2231: GHC RTS Segfault
-------------------------------+--------------------------------------------
    Reporter:  guest           |        Owner:       
        Type:  bug             |       Status:  new  
    Priority:  normal          |    Milestone:       
   Component:  Runtime System  |      Version:  6.8.2
    Severity:  normal          |   Resolution:       
    Keywords:                  |     Testcase:       
Architecture:  x86_64 (amd64)  |           Os:  Linux
-------------------------------+--------------------------------------------
Changes (by guest):

 * cc: Matthew, Sackman (removed)
 * cc: "Matthew, Sackman" (added)

Comment:

 And now with +RTS -DS -C0 -V0:

 {{{
 Starting program: /usr/local/lib/ghc-6.8.2/ghc-6.8.2
 -B/usr/local/lib/ghc-6.8.2 --interactive +RTS -DS -C0 -V0 -RTS
 Control/Concurrent/Session/Queens.hs
 [Thread debugging using libthread_db enabled]
 [New Thread 0x2b5545f39490 (LWP 11372)]
 [New Thread 0x40800950 (LWP 11375)]
 [New Thread 0x41001950 (LWP 11376)]
 GHCi, version 6.8.2: http://www.haskell.org/ghc/  :? for help
 Warning: Freeing non-allocated memory at 0x1ba9850
 Warning: Freeing non-allocated memory at 0x1ba7820
 Loading package base ... linking ... done.
 [ 1 of 12] Compiling Control.Concurrent.Session.Bool (
 Control/Concurrent/Session/Bool.hs, interpreted )
 [ 2 of 12] Compiling Control.Concurrent.Session.Number (
 Control/Concurrent/Session/Number.hs, interpreted )
 [ 3 of 12] Compiling Control.Concurrent.Session.List (
 Control/Concurrent/Session/List.hs, interpreted )
 [ 4 of 12] Compiling Control.Concurrent.Session.Map (
 Control/Concurrent/Session/Map.hs, interpreted )
 [ 5 of 12] Compiling Control.Concurrent.Session.SessionType (
 Control/Concurrent/Session/SessionType.hs, interpreted )
 [ 6 of 12] Compiling Control.Concurrent.Session.SMonad (
 Control/Concurrent/Session/SMonad.hs, interpreted )
 [ 7 of 12] Compiling Control.Concurrent.Session.Runtime (
 Control/Concurrent/Session/Runtime.hs, interpreted )
 [ 8 of 12] Compiling Control.Concurrent.Session.Pid (
 Control/Concurrent/Session/Pid.hs, interpreted )
 [ 9 of 12] Compiling Control.Concurrent.Session.Interleaving (
 Control/Concurrent/Session/Interleaving.hs, interpreted )
 [10 of 12] Compiling Control.Concurrent.Session.SessionTypeMonad (
 Control/Concurrent/Session/SessionTypeMonad.hs, interpreted )
 [11 of 12] Compiling Control.Concurrent.Session (
 Control/Concurrent/Session.hs, interpreted )
 [12 of 12] Compiling Control.Concurrent.Session.Queens (
 Control/Concurrent/Session/Queens.hs, interpreted )
 Ok, modules loaded: Control.Concurrent.Session,
 Control.Concurrent.Session.SessionTypeMonad,
 Control.Concurrent.Session.Queens, Control.Concurrent.Session.SMonad,
 Control.Concurrent.Session.SessionType, Control.Concurrent.Session.Number,
 Control.Concurrent.Session.Bool, Control.Concurrent.Session.List,
 Control.Concurrent.Session.Interleaving, Control.Concurrent.Session.Pid,
 Control.Concurrent.Session.Runtime, Control.Concurrent.Session.Map.
 *Control.Concurrent.Session.Queens> main
 Loading package mtl-1.1.0.0 ... linking ... done.
 Loading package array-0.1.0.0 ... linking ... done.
 Loading package containers-0.1.0.1 ... linking ... done.
 <interactive>: internal error: ASSERTION FAILED: file Schedule.c, line 674

     (GHC version 6.8.2 for x86_64_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

 Program received signal SIGABRT, Aborted.
 [Switching to Thread 0x41001950 (LWP 11376)]
 0x00002b5545c211d5 in raise () from /lib/libc.so.6
 (gdb) bt
 #0  0x00002b5545c211d5 in raise () from /lib/libc.so.6
 #1  0x00002b5545c22680 in abort () from /lib/libc.so.6
 #2  0x0000000001684308 in rtsFatalInternalErrorFn (s=0x179d658 "ASSERTION
 FAILED: file %s, line %u\n", ap=0x41000fa0) at RtsMessages.c:164
 #3  0x0000000001683ecc in barf (s=0x179d658 "ASSERTION FAILED: file %s,
 line %u\n") at RtsMessages.c:40
 #4  0x0000000001683f26 in _assertFail (filename=0x179df4b "Schedule.c",
 linenum=674) at RtsMessages.c:55
 #5  0x0000000001687a52 in schedule (initialCapability=0x1ba6120,
 task=0x1bc3550) at Schedule.c:674
 #6  0x0000000001689901 in workerStart (task=0x1bc3550) at Schedule.c:2528
 #7  0x00002b55459db017 in start_thread () from /lib/libpthread.so.0
 #8  0x00002b5545cb55bd in clone () from /lib/libc.so.6
 #9  0x0000000000000000 in ?? ()
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2231#comment:4>
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

Reply via email to