
#14272: GHC goes out of memory while compiling simple program with optimizations
-------------------------------------+-------------------------------------
Reporter: 39aldo39 | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.4.1
Component: Compiler | Version: 7.10.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by bgamari):
* cc: hvr (added)
Comment:
Hmm, so this is quite a hint,
{{{
Thread 1 "ghc" hit Breakpoint 1, OutOfHeapHook (request_size=0,
heap_size=0) at rts/hooks/OutOfHeap.c:17
17 rts/hooks/OutOfHeap.c: No such file or directory.
(gdb) bt
#0 OutOfHeapHook (request_size=0, heap_size=0) at
rts/hooks/OutOfHeap.c:17
#1 0x00007f59ecb71d37 in allocate (cap=0x7f59ecba2080 <MainCapability>,
n=144115188075855874) at rts/sm/Storage.c:848
#2 0x00007f59ecb7c65e in stg_newByteArrayzh () from
/opt/exp/ghc/roots/8.2.1-dwarf/lib/ghc-8.2.1/bin/../rts/libHSrts_thr-
ghc8.2.1.so
#3 0x0000000000000000 in ?? ()
(gdb) x/24a $rbp
0x42001edf88: 0x7f59ed060148