Re: [GHC] #7303: RTS : Race condition with usage of timer_delete

2012-11-29 Thread GHC
#7303: RTS : Race condition with usage of timer_delete
--+-
  Reporter:  erikd|  Owner:  
  Type:  bug  | Status:  closed  
  Priority:  normal   |  Milestone:  7.6.2   
 Component:  Compiler |Version:  7.7 
Resolution:  fixed|   Keywords:  
Os:  Linux|   Architecture:  Unknown/Multiple
   Failure:  Building GHC failed  | Difficulty:  Unknown 
  Testcase:   |  Blockedby:  
  Blocking:   |Related:  
--+-
Changes (by igloo):

  * status:  merge = closed
  * resolution:  = fixed


Comment:

 Merged as 162b87dfc610efa54ce3276e9a1e90b9dcb141a7

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


Re: [GHC] #7303: RTS : Race condition with usage of timer_delete

2012-10-19 Thread GHC
#7303: RTS : Race condition with usage of timer_delete
-+--
Reporter:  erikd |   Owner: 
Type:  bug   |  Status:  merge  
Priority:  normal|   Milestone:  7.6.2  
   Component:  Compiler  | Version:  7.7
Keywords:|  Os:  Linux  
Architecture:  Unknown/Multiple  | Failure:  Building GHC failed
  Difficulty:  Unknown   |Testcase: 
   Blockedby:|Blocking: 
 Related:|  
-+--
Changes (by igloo):

  * difficulty:  = Unknown
  * milestone:  = 7.6.2


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


Re: [GHC] #7303: RTS : Race condition with usage of timer_delete

2012-10-13 Thread GHC
#7303: RTS : Race condition with usage of timer_delete
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  patch   
 Priority:  normal   |  Component:  Compiler
  Version:  7.7  |   Keywords:  
   Os:  Linux|   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--

Comment(by erikd@…):

 commit 5f3c1055c2a5a59117985420909dd9148d7b2ba6
 {{{
 Author: Erik de Castro Lopo er...@mega-nerd.com
 Date:   Sat Oct 6 17:23:01 2012 +1000

 rts: Ignore signal before deleting timer. Fixes #7303.

 Was getting an ocassional hang or segfault when building GHC in a
 Qemu user space emulation of ARM. Turned out that the ITIMER_SIGNAL
 was being delivered *after* the call to timer_delete(). Setting the
 signal to SIG_IGN before deleting the timer solves the problem.

  rts/posix/Itimer.c |3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
 }}}

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


Re: [GHC] #7303: RTS : Race condition with usage of timer_delete

2012-10-13 Thread GHC
#7303: RTS : Race condition with usage of timer_delete
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  merge   
 Priority:  normal   |  Component:  Compiler
  Version:  7.7  |   Keywords:  
   Os:  Linux|   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--
Changes (by erikd):

  * status:  patch = merge


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


Re: [GHC] #7303: RTS : Race condition with usage of timer_delete

2012-10-08 Thread GHC
#7303: RTS : Race condition with usage of timer_delete
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  new 
 Priority:  normal   |  Component:  Compiler
  Version:  7.7  |   Keywords:  
   Os:  Linux|   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--

Comment(by erikd):

 The patch has been validated on x86-64 linux and powerpc-linux. It also
 means the Qemu/Arm build works much better (there is still at least one
 bug in Qemu though).

 @simonmar : If you'd like, I can commit this directly, but since I was
 messing with the RTS I thought I better run this past you first.

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


Re: [GHC] #7303: RTS : Race condition with usage of timer_delete

2012-10-08 Thread GHC
#7303: RTS : Race condition with usage of timer_delete
-+--
 Reporter:  erikd|  Owner:  
 Type:  bug  | Status:  patch   
 Priority:  normal   |  Component:  Compiler
  Version:  7.7  |   Keywords:  
   Os:  Linux|   Architecture:  Unknown/Multiple
  Failure:  Building GHC failed  |   Testcase:  
Blockedby:   |   Blocking:  
  Related:   |  
-+--
Changes (by erikd):

  * status:  new = patch


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