[GHC] #15544: Non-deterministic segmentation fault in cryptohash-sha256 testsuite

GHC ghc-devs at haskell.org
Wed Sep 12 08:38:34 UTC 2018


#15544: Non-deterministic segmentation fault in cryptohash-sha256 testsuite
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  patch
        Priority:  highest           |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):  Phab:D5145
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by osa1):

 I also managed to get a panic in the GC (non-debug runtime):

 {{{
 Thread 5 (Thread 0x7fffeffff700 (LWP 26724)):
 #0  __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
 #1  0x00007ffff69cc801 in __GI_abort () at abort.c:79
 #2  0x0000000000d9a175 in rtsFatalInternalErrorFn (s=0xe02de8 "evacuate:
 strange closure type %d", ap=0x7fffefffeaf8) at rts/RtsMessages.c:186
 #3  0x0000000000d9a2bd in barf (s=s at entry=0xe02de8 "evacuate: strange
 closure type %d") at rts/RtsMessages.c:48
 #4  0x000000000040a259 in evacuate1 (p=p at entry=0xe2c500) at
 rts/sm/Evac.c:862
 #5  0x0000000000dc84f8 in scavenge_static () at rts/sm/Scav.c:1690
 #6  scavenge_loop1 () at rts/sm/Scav.c:2085
 #7  0x0000000000dad542 in scavenge_until_all_done () at rts/sm/GC.c:1085
 #8  0x0000000000dade65 in GarbageCollect (collect_gen=collect_gen at entry=1,
 do_heap_census=do_heap_census at entry=false, gc_type=gc_type at entry=2,
 cap=0x1000240 <MainCapability>, cap at entry=0x1019f10,
 idle_cap=idle_cap at entry=0x7fffe4000d80) at rts/sm/GC.c:416
 #9  0x0000000000d9c012 in scheduleDoGC (pcap=pcap at entry=0x7fffefffee70,
 task=task at entry=0x7fffe8000b70, force_major=force_major at entry=false)
 at rts/Schedule.c:1797
 #10 0x0000000000d9c9ea in schedule
 (initialCapability=initialCapability at entry=0x1000240 <MainCapability>,
 task=task at entry=0x7fffe8000b70) at
 rts/Schedule.c:545
 #11 0x0000000000d9df4c in scheduleWorker (cap=cap at entry=0x1000240
 <MainCapability>, task=task at entry=0x7fffe8000b70) at rts/Schedule.c:2550
 #12 0x0000000000da4e07 in workerStart (task=0x7fffe8000b70) at
 rts/Task.c:444
 #13 0x00007ffff72106db in start_thread (arg=0x7fffeffff700) at
 pthread_create.c:463
 #14 0x00007ffff6aad88f in clone () at
 ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
 }}}

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


More information about the ghc-tickets mailing list