[GHC] #12230: Non-deterministic ghc-iserv terminated error

GHC ghc-devs at haskell.org
Sat Jun 25 21:12:42 UTC 2016


#12230: Non-deterministic ghc-iserv terminated error
-------------------------------------+-------------------------------------
        Reporter:  ezyang            |                Owner:  simonmar
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  GHCi              |              Version:  8.1
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by ezyang):

 Here is the most common trace I get:

 {{{
 [Current thread is 1 (Thread 0x2b203c5129c0 (LWP 3558))]
 (gdb) bt
 #0  0x0000000000000000 in ?? ()
 #1  0x0000000000000000 in ?? ()
 }}}

 However, I got lucky on one run and here is a more useful trace (I've
 posted it here http://hs01.scs.stanford.edu/ ):

 {{{
 #0  0x00002ab6bffd82a8 in raise () from /usr/lib/libc.so.6
 [Current thread is 1 (Thread 0x2ab6c0b49700 (LWP 7518))]
 (gdb) bt
 #0  0x00002ab6bffd82a8 in raise () from /usr/lib/libc.so.6
 #1  0x00002ab6bffd972a in abort () from /usr/lib/libc.so.6
 #2  0x0000000000c98303 in rtsFatalInternalErrorFn (s=0xd2b456 "invalid
 closure, info=%p", ap=0x2ab6c0b48a28) at rts/RtsMessages.c:182
 #3  0x0000000000c97f35 in barf (s=0xd2b456 "invalid closure, info=%p") at
 rts/RtsMessages.c:46
 #4  0x0000000000ccfb33 in evacuate1 (p=0x41919558) at rts/sm/Evac.c:416
 #5  0x0000000000cca042 in scavenge_large_srt_bitmap (large_srt=0x41916068)
 at rts/sm/Scav.c:308
 #6  0x0000000000cca08c in scavenge_srt (srt=0x41916068,
 srt_bitmap=4294967295) at rts/sm/Scav.c:330
 #7  0x0000000000cca172 in scavenge_fun_srt (info=0x406da200) at
 rts/sm/Scav.c:390
 #8  0x0000000000ccc0f6 in scavenge_static () at rts/sm/Scav.c:1747
 #9  0x0000000000ccc770 in scavenge_loop1 () at rts/sm/Scav.c:2081
 #10 0x0000000000ca8ad5 in scavenge_until_all_done () at rts/sm/GC.c:968
 #11 0x0000000000ca7810 in GarbageCollect (collect_gen=1,
 do_heap_census=rtsFalse, gc_type=2, cap=0x103fa00 <MainCapability>) at
 rts/sm/GC.c:403
 #12 0x0000000000c962c8 in scheduleDoGC (pcap=0x2ab6c0b48ea8,
 task=0x278b5c0, force_major=rtsTrue) at rts/Schedule.c:1804
 #13 0x0000000000c94f80 in scheduleDetectDeadlock (pcap=0x2ab6c0b48ea8,
 task=0x278b5c0) at rts/Schedule.c:931
 #14 0x0000000000c93f4b in schedule (initialCapability=0x103fa00
 <MainCapability>, task=0x278b5c0) at rts/Schedule.c:277
 #15 0x0000000000c973d4 in scheduleWorker (cap=0x103fa00 <MainCapability>,
 task=0x278b5c0) at rts/Schedule.c:2516
 #16 0x0000000000c9abea in workerStart (task=0x278b5c0) at rts/Task.c:443
 #17 0x00002ab6bf812424 in start_thread () from /usr/lib/libpthread.so.0
 #18 0x00002ab6c008ccbd in clone () from /usr/lib/libc.so.6
 }}}

 Here's another one I got:

 {{{
 Program terminated with signal SIGILL, Illegal instruction.
 #0  0x0000000040ed7710 in ?? ()
 [Current thread is 1 (Thread 0x2b2f3a3c09c0 (LWP 30537))]
 (gdb) bt
 #0  0x0000000040ed7710 in ?? ()
 #1  0x0000000000000000 in ?? ()
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12230#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list