[Hackage] #777: cabal install {hledger, others} ExitFailure 11

Hackage cvs-ghc at haskell.org
Mon Dec 20 14:14:45 CET 2010


#777: cabal install {hledger, others}  ExitFailure 11
---------------------------------+------------------------------------------
  Reporter:  philips             |        Owner:                   
      Type:  defect              |       Status:  new              
  Priority:  normal              |    Milestone:  cabal-install-0.8
 Component:  cabal-install tool  |      Version:  1.8.0.2          
  Severity:  normal              |     Keywords:  ExitFailure      
Difficulty:  unknown             |   Ghcversion:                   
  Platform:  Linux               |  
---------------------------------+------------------------------------------

Comment(by batterseapower):

 OK, more information.

 If I run the HEAD hledger "./Setup configure" (with a compiled Setup.lhs,
 GHC 6.12.3):

 {{{
 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0xfffffffc
 0x00274f52 in scavenge_mutable_list ()
 (gdb) bt
 #0  0x00274f52 in scavenge_mutable_list ()
 #1  0x00275223 in scavenge_capability_mut_lists ()
 }}}

 I get more information if I link with -debug and then run with -Ds:

 {{{
 $ gdb ./Setup
 GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Wed Jul 21 10:53:12 UTC
 2010)
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-apple-darwin"...Reading symbols for
 shared libraries ... done

 (gdb) run configure +RTS -Ds
 Starting program:
 /Users/mbolingbroke/Programming/Checkouts/hledger/hledger/Setup configure
 +RTS -Ds
 Reading symbols for shared libraries ++. done
 new task (taskCount: 1)
 task exiting
 new task (taskCount: 1)
 cap 0: created thread 1
 cap 0: thread 1 appended to run queue
 new bound thread (1)
 cap 0: schedule()
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (stack overflow)
 increasing stack size from 240 words to 1008.
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (heap overflow)
 all threads:
 threads on capability 0:
         thread    1 @ 0x117d000 is not blocked (TSO_DIRTY)
 other threads:
 cap 0: finished GC
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (heap overflow)
 all threads:
 threads on capability 0:
         thread    1 @ 0x117d000 is not blocked (TSO_DIRTY)
 other threads:
 cap 0: finished GC
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (suspended while making a foreign call)
 cap 0: running thread 1 (ThreadRunGHC)
 Configuring hledger-0.13...
 cap 0: created thread 2
 cap 0: thread 2 appended to run queue
 cap 0: created thread 3
 cap 0: thread 3 appended to run queue
 cap 0: thread 1 stopped (blocked)
         thread    1 @ 0x117d000 is blocked on an MVar @ 0x11eb7a8
 (TSO_DIRTY)
 cap 0: running thread 2 (ThreadRunGHC)
 cap 0: thread 2 stopped (blocked)
         thread    2 @ 0x11ec000 is blocked on read from fd 5 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O
 cap 0: running thread 3 (ThreadRunGHC)
 cap 0: thread 3 stopped (blocked)
         thread    3 @ 0x11ec400 is blocked on read from fd 7 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O (waiting)
 Waking up blocked thread 2
 cap 0: running thread 2 (ThreadRunGHC)
 cap 0: thread 2 stopped (yielding)
 cap 0: thread 2 appended to run queue
 scheduler: checking for threads blocked on I/O
 cap 0: running thread 2 (ThreadRunGHC)
 cap 0: thread 2 stopped (blocked)
         thread    2 @ 0x11ec000 is blocked on read from fd 5 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O (waiting)
 Waking up blocked thread 3
 cap 0: running thread 3 (ThreadRunGHC)
 cap 0: thread 1 appended to run queue
 cap 0: waking up thread 1 on cap 0
 cap 0: thread 3 stopped (finished)
 scheduler: checking for threads blocked on I/O
 Waking up blocked thread 2
 cap 0: running thread 2 (ThreadRunGHC)
 cap 0: thread 2 stopped (finished)
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (suspended while making a foreign call)
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (yielding)
 cap 0: thread 1 appended to run queue
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: created thread 4
 cap 0: thread 4 appended to run queue
 cap 0: created thread 5
 cap 0: thread 5 appended to run queue
 cap 0: thread 1 stopped (blocked)
         thread    1 @ 0x117d000 is blocked on an MVar @ 0x11f1fa0
 (TSO_DIRTY)
 cap 0: running thread 4 (ThreadRunGHC)
 cap 0: thread 4 stopped (yielding)
 cap 0: thread 4 appended to run queue
 cap 0: running thread 5 (ThreadRunGHC)
 cap 0: thread 5 stopped (blocked)
         thread    5 @ 0x11ecc00 is blocked on read from fd 7 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O
 cap 0: running thread 4 (ThreadRunGHC)
 cap 0: thread 4 stopped (blocked)
         thread    4 @ 0x11ec800 is blocked on read from fd 5 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O (waiting)
 Waking up blocked thread 4
 cap 0: running thread 4 (ThreadRunGHC)
 cap 0: thread 4 stopped (blocked)
         thread    4 @ 0x11ec800 is blocked on read from fd 5 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O (waiting)
 Waking up blocked thread 5
 Waking up blocked thread 4
 cap 0: running thread 4 (ThreadRunGHC)
 cap 0: thread 1 appended to run queue
 cap 0: waking up thread 1 on cap 0
 cap 0: thread 4 stopped (finished)
 cap 0: running thread 5 (ThreadRunGHC)
 cap 0: thread 5 stopped (finished)
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (suspended while making a foreign call)
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: thread 1 stopped (yielding)
 cap 0: thread 1 appended to run queue
 cap 0: running thread 1 (ThreadRunGHC)
 cap 0: created thread 6
 cap 0: thread 6 appended to run queue
 cap 0: created thread 7
 cap 0: thread 7 appended to run queue
 cap 0: thread 1 stopped (blocked)
         thread    1 @ 0x117d000 is blocked on an MVar @ 0x11f77a8
 (TSO_DIRTY)
 cap 0: running thread 6 (ThreadRunGHC)
 cap 0: thread 6 stopped (blocked)
         thread    6 @ 0x11f8000 is blocked on read from fd 5 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O
 cap 0: running thread 7 (ThreadRunGHC)
 cap 0: thread 7 stopped (blocked)
         thread    7 @ 0x11f8400 is blocked on read from fd 7 (TSO_DIRTY)
 scheduler: checking for threads blocked on I/O (waiting)
 Waking up blocked thread 6
 cap 0: running thread 6 (ThreadRunGHC)
 cap 0: thread 6 stopped (yielding)
 cap 0: thread 6 appended to run queue
 scheduler: checking for threads blocked on I/O
 cap 0: running thread 6 (ThreadRunGHC)
 cap 0: thread 6 stopped (heap overflow)
 all threads:
 threads on capability 0:
         thread    6 @ 0x11f8000 is not blocked (TSO_DIRTY)
 other threads:
         thread    7 @ 0x11f8400 is blocked on read from fd 7 (TSO_DIRTY)
         thread    1 @ 0x117d000 is blocked on an MVar @ 0x11f77a8
 (TSO_DIRTY)
 Setup: internal error: ASSERTION FAILED: file rts/sm/Evac.c, line 373

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

 Program received signal SIGABRT, Aborted.
 0x90ce1176 in __kill ()
 }}}

 With an assert failure like that, it could be anything...

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/777#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects



More information about the cabal-devel mailing list