[GHC] #7836: Runtime failure profiling with +RTS -hc -hbdrag, void

GHC cvs-ghc at haskell.org
Mon Apr 15 16:25:57 CEST 2013


#7836: Runtime failure profiling with +RTS -hc -hbdrag,void
--------------------------+-------------------------------------------------
Reporter:  hyperthunk     |          Owner:                
    Type:  bug            |         Status:  infoneeded    
Priority:  normal         |      Component:  Profiling     
 Version:  7.4.2          |       Keywords:  profiling osx 
      Os:  MacOS X        |   Architecture:  x86_64 (amd64)
 Failure:  Runtime crash  |      Blockedby:                
Blocking:                 |        Related:                
--------------------------+-------------------------------------------------
Changes (by hyperthunk):

  * failure:  None/Unknown => Runtime crash
  * architecture:  x86 => x86_64 (amd64)


Comment:

 Replying to [comment:2 hyperthunk]:
 > Replying to [comment:1 ezyang]:
 > > Thanks! It looks like there's a pretty nontrivial dependency in the
 sample program; can you check if this behavior occurs in 7.6/HEAD?
 >
 > Will do that and report back.

 Interim results with 7.6.2 look good:

 t4 at iske:distributed-process-platform $ ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.6.2
 t4 at iske:distributed-process-platform $ ghc-env active
 7.6.2-x86_64

 And the results:

 t4 at iske:distributed-process-platform $ ./dist/build/leaks/leaks +RTS -hc
 -hbdrag,void -RTS
 Mon Apr 15 14:00:50 UTC 2013 pid://127.0.0.1:10519:0:3: mnesia started
 Mon Apr 15 14:00:57 UTC 2013 pid://127.0.0.1:10519:0:3: mnesia blurble
 t4 at iske:distributed-process-platform $ ./dist/build/leaks/leaks +RTS -N
 -hc -hbdrag,void -RTS
 Mon Apr 15 14:01:36 UTC 2013 pid://127.0.0.1:10519:0:3: mnesia started
 Mon Apr 15 14:01:42 UTC 2013 pid://127.0.0.1:10519:0:3: mnesia blurble

 However if I supply a specific value for -N<num> though, it crashes with a
 bus error - perhaps that's an entirely different but to what I originally
 reported though...

 t4 at iske:distributed-process-platform $ ./dist/build/leaks/leaks +RTS -N2
 -hc -hbdrag,void -RTS
 Mon Apr 15 14:01:51 UTC 2013 pid://127.0.0.1:10519:0:3Bus error: 10
 t4 at iske:distributed-process-platform $ ./dist/build/leaks/leaks +RTS -N3
 -hc -hbdrag,void -RTS
 Mon Apr 15 14:01:58 UTC 2013 pid://127.0.0.1:10519:0:3: mnesia staBus
 error: 10
 t4 at iske:distributed-process-platform $ ./dist/build/leaks/leaks +RTS -N4
 -hc -hbdrag,void -RTS
 Mon Apr 15 14:02:03 UTC 2013 pid://127.0.0.1Bus error: 10

 Platform details:

 t4 at iske:distributed-process-platform $ uname -a
 Darwin iske.local 11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48
 PDT 2012; root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7836#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the ghc-tickets mailing list