Ticket #848 (closed bug: fixed)

Opened 7 years ago

Last modified 5 years ago

Threaded RTS problems on Solaris

Reported by: simonmar Owned by:
Priority: normal Milestone: 6.4.3
Component: Runtime System Version: 6.4.2
Keywords: Cc:
Operating System: Solaris Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Just so we don't forget: the threaded RTS also has problems on Solaris, both Sparc and x86 have been reported to have problems. The symptom is that the stage2 linked with -threaded crashes at random points.

Might be related to #751.

Change History

Changed 7 years ago by simonmar

  • status changed from new to closed
  • resolution set to fixed

Now appears to be fixed by this:

simonmar    2006/10/16 06:50:02 PDT

  Modified files:        (Branch: ghc-6-4-branch)
    ghc/rts              Capability.c 
  Log:
  Fix crash in the threaded RTS caused by spurious wakeups of
  pthread_cond_wait().  This is certainly affecting the threaded RTS in
  6.4.x on Solaris, and possibly other platforms too.  I'm currently
  testing to see whether there are any further problems on Solaris, but
  with luck this may be the final fix for the threaded RTS problems in
  the 6.4.x branch.
  
  Does not affect 6.6; the corresponding code in 6.6 is already
  spurious-wakeup-safe.
  
  Revision  Changes    Path
  1.31.6.2  +32 -7     fptools/ghc/rts/Capability.c

Changed 5 years ago by simonmar

  • architecture changed from Multiple to Unknown/Multiple
Note: See TracTickets for help on using tickets.