#7361: Segmentation fault on 5f37e0c71ff4af8539c5aebc739b006b4f0c6ebf ------------------------------+--------------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Component: Compiler Version: | Keywords: Os: Unknown/Multiple | Architecture: Unknown/Multiple Failure: Runtime crash | Testcase: Blockedby: | Blocking: Related: | ------------------------------+---------------------------------------------
Comment(by bgamari): After playing around a bit with various build options and ensuring object and interface files were cleaned up, I managed to get some reasonable output from gdb (with -dcore-lint -debug). The backtrace is, {{{ Program received signal SIGSEGV, Segmentation fault. 0x00007fffec554b6c in LOOKS_LIKE_INFO_PTR_NOT_NULL (p=12002426983225102154) at includes/rts/storage/ClosureMacros.h:248 248 return info->type != INVALID_OBJECT && info->type < N_CLOSURE_TYPES; Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.5.x86_64 gmp-4.3.1-7.el6_2.2.x86_64 (gdb) bt #0 0x00007fffec554b6c in LOOKS_LIKE_INFO_PTR_NOT_NULL (p=12002426983225102154) at includes/rts/storage/ClosureMacros.h:248 #1 0x00007fffec554bb7 in LOOKS_LIKE_INFO_PTR (p=12002426983225102154) at includes/rts/storage/ClosureMacros.h:253 #2 0x00007fffec554bec in LOOKS_LIKE_CLOSURE_PTR (p=0x7fffe624a418) at includes/rts/storage/ClosureMacros.h:258 #3 0x00007fffec55532e in evacuate (p=0x7fffe629a028) at rts/sm/Evac.c:371 #4 0x00007fffec55d049 in scavenge_mut_arr_ptrs (a=0x7fffe629a000) at rts/sm/Scav.c:125 #5 0x00007fffec55de28 in scavenge_block (bd=0x7fffe6202680) at rts/sm/Scav.c:617 #6 0x00007fffec55faae in scavenge_find_work () at rts/sm/Scav.c:1791 #7 0x00007fffec55fba9 in scavenge_loop () at rts/sm/Scav.c:1867 #8 0x00007fffec557db2 in scavenge_until_all_done () at rts/sm/GC.c:999 #9 0x00007fffec556c7e in GarbageCollect (collect_gen=1, do_heap_census=rtsFalse, gc_type=0, cap=0x7fffec791100) at rts/sm/GC.c:392 #10 0x00007fffec544289 in scheduleDoGC (pcap=0x7fffffffdff0, task=0x63fce0, force_major=rtsFalse) at rts/Schedule.c:1667 #11 0x00007fffec5437dc in schedule (initialCapability=0x7fffec791100, task=0x63fce0) at rts/Schedule.c:582 #12 0x00007fffec544bf3 in scheduleWaitThread (tso=0x7fffe6305390, ret=0x0, pcap=0x7fffffffe0d0) at rts/Schedule.c:2368 #13 0x00007fffec53e62a in rts_evalLazyIO (cap=0x7fffffffe0d0, p=0x624730, ret=0x0) at rts/RtsAPI.c:497 #14 0x00007fffec5412ff in real_main () at rts/RtsMain.c:63 #15 0x00007fffec5413f4 in hs_main (argc=1, argv=0x7fffffffe248, main_closure=0x624730, rts_config=...) at rts/RtsMain.c:114 #16 0x00000000004231ef in main (argc=1, argv=0x7fffffffe248) at /tmp/ghc9240_0/ghc9240_0.c:7 }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7361#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs