#951: stage2 on sparc dies with "schedule: re-entered unsafely"
----------------------------+-----------------------------------------------
 Reporter:  duncan          |          Owner:         
     Type:  bug             |         Status:  new    
 Priority:  normal          |      Milestone:  6.6.1  
Component:  Runtime System  |        Version:  6.6    
 Severity:  major           |     Resolution:         
 Keywords:                  |     Difficulty:  Unknown
 Testcase:                  |   Architecture:  sparc  
       Os:  Multiple        |  
----------------------------+-----------------------------------------------
Changes (by simonmar):

  * milestone:  => 6.6.1

Comment:

 This should be debuggable.  First try to find a program that isn't ghc and
 still crashes - start with `testsuite/tests/ghc-regress/codeGen`.  You'll
 need to run them the `threaded1` way: `make WAY=threaded1`.

 When you find a test that crashes, run it with `+RTS -Ds`.  Take a look
 with gdb and see if you can see where the `cap->in_haskell` field is not
 being set as it should be - there are only two places in the RTS where it
 gets set to true, both in [[GhcFile(rts/Schedule.c)]].

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