[GHC] #11746: I encountered an: internal error: evacuate: strange closure type 803645000

GHC ghc-devs at haskell.org
Wed Mar 23 18:48:14 UTC 2016


#11746: I encountered an: internal error: evacuate: strange closure type 803645000
-------------------------------+--------------------------------------
        Reporter:  hkBst       |                Owner:
            Type:  bug         |               Status:  new
        Priority:  high        |            Milestone:  8.0.1
       Component:  Compiler    |              Version:  7.10.3
      Resolution:              |             Keywords:
Operating System:  Linux       |         Architecture:  x86_64 (amd64)
 Type of failure:  GHCi crash  |            Test Case:
      Blocked By:              |             Blocking:
 Related Tickets:              |  Differential Rev(s):
       Wiki Page:              |
-------------------------------+--------------------------------------

Comment (by bgamari):

 Reproducing in gdb reveals this,

 {{{
 (gdb) bt
 #0  0x00007fffecd46507 in __GI_raise (sig=sig at entry=6) at
 ../sysdeps/unix/sysv/linux/raise.c:55
 #1  0x00007fffecd478da in __GI_abort () at abort.c:89
 #2  0x00007fffed2f4302 in rtsFatalInternalErrorFn (s=<optimized out>,
 ap=0x7fffeb38dba8) at rts/RtsMessages.c:182
 #3  0x00007fffed2f4460 in barf (s=s at entry=0x7fffed31ab80 "evacuate:
 strange closure type %d") at rts/RtsMessages.c:46
 #4  0x00007fffed2df88e in evacuate (p=p at entry=0x204ed00a8) at
 rts/dist/build/sm/Evac_thr.c:740
 #5  0x00007fffed2fe711 in tidyWeakList (gen=<optimized out>) at
 rts/sm/MarkWeak.c:270
 #6  0x00007fffed2fea08 in traverseWeakPtrList () at rts/sm/MarkWeak.c:130
 #7  0x00007fffed300332 in GarbageCollect (collect_gen=collect_gen at entry=1,
 do_heap_census=do_heap_census at entry=rtsFalse, gc_type=gc_type at entry=2,
 cap=cap at entry=0x7fffed52ad00 <MainCapability>) at rts/sm/GC.c:409
 #8  0x00007fffed2f1d51 in scheduleDoGC (pcap=pcap at entry=0x7fffeb38deb0,
 task=task at entry=0x7af4f0, force_major=force_major at entry=rtsFalse) at
 rts/Schedule.c:1652
 #9  0x00007fffed2f294e in schedule (initialCapability=<optimized out>,
 task=task at entry=0x7af4f0) at rts/Schedule.c:551
 #10 0x00007fffed2f3a5c in scheduleWorker (cap=<optimized out>,
 task=0x7af4f0) at rts/Schedule.c:2378
 #11 0x00007ffff738c284 in start_thread (arg=0x7fffeb38e700) at
 pthread_create.c:333
 #12 0x00007fffecdfba4d in clone () at
 ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
 }}}

 It appears this is weak-pointer related.

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


More information about the ghc-tickets mailing list