Skip to content

Segfault while configuring Cabal 1.6.0.1 on OS X 10.5

An unknown issue prevents Cabal from being built successfully on PPC Macs. I've tried compiling GHC from source with no change in the behavior. The following output is from Cabal's included Setup program, run inside GDB:

(gdb) run configure --user +RTS -DSs
Starting program: [...]/Cabal-1.6.0.1/Setup configure --user +RTS -DSs
Reading symbols for shared libraries +++. done
new task (taskCount: 1)
task exiting
new task (taskCount: 1)
created thread 1, stack size = f1 words
new bound thread (1)
### NEW SCHEDULER LOOP (task: 0x7005a0, cap: 0x3e7d98)
-->> running thread 1 ThreadRunGHC ...
--<< thread 1 (ThreadRunGHC) stopped, StackOverflow
increasing stack size from 241 words to 1009.
-->> running thread 1 ThreadRunGHC ...
thread 1 did a safe foreign call
thread 1: re-entering RTS
--<< thread 1 (ThreadRunGHC) stopped, yielding
-->> running thread 1 ThreadRunGHC ...
--<< thread 1 (ThreadRunGHC) stopped, yielding
-->> running thread 1 ThreadRunGHC ...
--<< thread 1 (ThreadRunGHC) stopped, yielding
-->> running thread 1 ThreadRunGHC ...
--<< thread 1 (ThreadRunGHC) stopped, yielding
-->> running thread 1 ThreadRunGHC ...
thread 1 did a safe foreign call
thread 1: re-entering RTS
--<< thread 1 (ThreadRunGHC) stopped, yielding
-->> running thread 1 ThreadRunGHC ...
--<< thread 1 (ThreadRunGHC) stopped: HeapOverflow
all threads:
threads on capability 0:
	thread    1 @ 0x97d000 is not blocked
other threads:
Setup: internal error: ASSERTION FAILED: file Sanity.c, line 241

    (GHC version 6.10.1 for powerpc_apple_darwin)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

Program received signal SIGABRT, Aborted.
0x94e29af0 in __kill ()
Trac metadata
Trac field Value
Version 6.10.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
> running thread 1 ThreadRunGHC ...\r\n--<< thread 1 (ThreadRunGHC) stopped, StackOverflow\r\nincreasing stack size from 241 words to 1009.\r\n-->> running thread 1 ThreadRunGHC ...\r\nthread 1 did a safe foreign call\r\nthread 1: re-entering RTS\r\n--<< thread 1 (ThreadRunGHC) stopped, yielding\r\n-->> running thread 1 ThreadRunGHC ...\r\n--<< thread 1 (ThreadRunGHC) stopped, yielding\r\n-->> running thread 1 ThreadRunGHC ...\r\n--<< thread 1 (ThreadRunGHC) stopped, yielding\r\n-->> running thread 1 ThreadRunGHC ...\r\n--<< thread 1 (ThreadRunGHC) stopped, yielding\r\n-->> running thread 1 ThreadRunGHC ...\r\nthread 1 did a safe foreign call\r\nthread 1: re-entering RTS\r\n--<< thread 1 (ThreadRunGHC) stopped, yielding\r\n-->> running thread 1 ThreadRunGHC ...\r\n--<< thread 1 (ThreadRunGHC) stopped: HeapOverflow\r\nall threads:\r\nthreads on capability 0:\r\n\tthread 1 @ 0x97d000 is not blocked\r\nother threads:\r\nSetup: internal error: ASSERTION FAILED: file Sanity.c, line 241\r\n\r\n (GHC version 6.10.1 for powerpc_apple_darwin)\r\n Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug\r\n\r\nProgram received signal SIGABRT, Aborted.\r\n0x94e29af0 in __kill ()\r\n}}}\r\n","type_of_failure":"OtherFailure","blocking":[]} -->
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information