#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): When compiling with -dcore-lint -debug -O, I see the following output from the compiler, {{{ *** Core Lint warnings : in result of Desugar (after optimization) *** {-# LINE 26 "BayesStack/Models/Topic/Types.hs #-}: Warning: [RHS of $c/=_a1cN :: BayesStack.Models.Topic.Types.Edge -> BayesStack.Models.Topic.Types.Edge -> GHC.Types.Bool] INLINE binder is (non-rule) loop breaker: $c/=_a1cN }}} gdb also gives me a slightly different stack trace, {{{ Program received signal SIGSEGV, Segmentation fault. 0x00007fffec55f136 in scavenge_mutable_list (bd=0x7fffe6202880, gen=0x6379e8) at rts/sm/Scav.c:1353 1353 switch (get_itbl((StgClosure *)p)->type) { 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 0x00007fffec55f136 in scavenge_mutable_list (bd=0x7fffe6202880, gen=0x6379e8) at rts/sm/Scav.c:1353 #1 0x00007fffec55f328 in scavenge_capability_mut_lists (cap=0x7fffec791100) at rts/sm/Scav.c:1427 #2 0x00007fffec556acb in GarbageCollect (collect_gen=0, do_heap_census=rtsFalse, gc_type=0, cap=0x7fffec791100) at rts/sm/GC.c:343 #3 0x00007fffec544289 in scheduleDoGC (pcap=0x7fffffffdff0, task=0x645ce0, force_major=rtsFalse) at rts/Schedule.c:1667 #4 0x00007fffec5437dc in schedule (initialCapability=0x7fffec791100, task=0x645ce0) at rts/Schedule.c:582 #5 0x00007fffec544bf3 in scheduleWaitThread (tso=0x7fffe6305390, ret=0x0, pcap=0x7fffffffe0d0) at rts/Schedule.c:2368 #6 0x00007fffec53e62a in rts_evalLazyIO (cap=0x7fffffffe0d0, p=0x62c260, ret=0x0) at rts/RtsAPI.c:497 #7 0x00007fffec5412ff in real_main () at rts/RtsMain.c:63 #8 0x00007fffec5413f4 in hs_main (argc=1, argv=0x7fffffffe248, main_closure=0x62c260, rts_config=...) at rts/RtsMain.c:114 #9 0x000000000042aa03 in main (argc=1, argv=0x7fffffffe248) at /tmp/ghc9328_0/ghc9328_0.c:7 }}} -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7361#comment:2> 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