#7185: Compiled program crashes
---------------------------+------------------------------------------------
 Reporter:  waldheinz      |          Owner:                
     Type:  bug            |         Status:  new           
 Priority:  normal         |      Component:  Compiler      
  Version:  7.4.1          |       Keywords:                
       Os:  Linux          |   Architecture:  x86_64 (amd64)
  Failure:  Runtime crash  |       Testcase:                
Blockedby:                 |       Blocking:                
  Related:                 |  
---------------------------+------------------------------------------------

Comment(by waldheinz):

 One thing I forgot to mention in the original report was that when
 compiling the SPPM module, GHC produces a huge message on stderr. It
 starts with

 {{{
 dmdFix loop
     10 Sigs: [(( bling-0.1:Graphics.Bling.Renderer.SPPM.traceCam{v r3kK}
 ...
 }}}

 an goes on for about 11000 lines for regular builds, and ~5000 lines for
 profiling builds. Also, the problem can be reproduced relative fast when
 setting the imageSize in the scene description file to something smaller
 like "imageSize 50 50" and running with "+RTS -DS". This gives:

 {{{
 bling: internal error: ASSERTION FAILED: file rts/sm/Storage.c, line 697

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

 Program received signal SIGABRT, Aborted.
 0x0000003ee1235925 in raise () from /lib64/libc.so.6
 Missing separate debuginfos, use: debuginfo-install
 glibc-2.15-56.fc17.x86_64 gmp-5.0.2-6.fc17.x86_64
 libffi-3.0.10-2.fc17.x86_64 zlib-1.2.5-7.fc17.x86_64
 (gdb) bt
 #0  0x0000003ee1235925 in raise () from /lib64/libc.so.6
 #1  0x0000003ee12370d8 in abort () from /lib64/libc.so.6
 #2  0x0000000000d6b95f in rtsFatalInternalErrorFn ()
 #3  0x0000000000d6b597 in barf ()
 #4  0x0000000000d6b5fa in _assertFail ()
 #5  0x0000000000d7f017 in allocate ()
 #6  0x0000000000d832a0 in stg_newArrayzh ()
 #7  0x0000000000000000 in ?? ()
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7185#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

Reply via email to