Re: [GHC] #895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd

2006-10-10 Thread GHC
#895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd
-+--
  Reporter:  guest   |  Owner:  simonmar
  Type:  bug | Status:  closed  
  Priority:  normal  |  Milestone:  _|_ 
 Component:  Runtime System  |Version:  6.5 
  Severity:  normal  | Resolution:  invalid 
  Keywords:  | Os:  MacOS X 
Difficulty:  Unknown |   Architecture:  x86 
-+--
Changes (by guest):

  * resolution:  => invalid
  * status:  new => closed

Comment:

 It turns out there's a workaround to this problem, by not using
 addForeignPtrFinalizer the way HsJudy was using it.  Still puzzling about
 why the threaded RTS doesn't fail, but there are plenty of other ways to
 do the needed GC in FFI land, so I'll close this ticket.

 Thanks,
 Audrey

-- 
Ticket URL: 
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] #895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd

2006-10-07 Thread GHC
#895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd
-+--
  Reporter:  guest   |  Owner:  simonmar
  Type:  bug | Status:  new 
  Priority:  normal  |  Milestone:  _|_ 
 Component:  Runtime System  |Version:  6.5 
  Severity:  normal  | Resolution:  
  Keywords:  | Os:  MacOS X 
Difficulty:  Unknown |   Architecture:  x86 
-+--
Comment (by guest):

 Uhm, the original report says "Also, this bug does not manifest with
 -threaded RTS, and only breaks with the vanilla RTS." so -threaded cause
 the bug to disappear, it seems.

 The complete repo case is using GHC 6.6 branch, build with default flags,
 and pugs (http://svn.openfoundry.org/pugs/) built with default flags.
 "./configure ; make" will show this bug; to make it happen again,
 "/opt/local/bin/perl util/gen_prelude.pl -v -i src/perl6/Prelude.pm -p
 ./pugs --output blib6/lib/Prelude.pm.yml" is the stage in the build
 process that does it.

 It may very well be Mac OSX Intel specific, too...

-- 
Ticket URL: 
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] #895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd

2006-09-28 Thread GHC
#895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd
-+--
  Reporter:  guest   |  Owner:  simonmar
  Type:  bug | Status:  new 
  Priority:  normal  |  Milestone:  _|_ 
 Component:  Runtime System  |Version:  6.5 
  Severity:  normal  | Resolution:  
  Keywords:  | Os:  MacOS X 
Difficulty:  Unknown |   Architecture:  x86 
-+--
Changes (by simonpj):

  * milestone:  => _|_
  * owner:  => simonmar

Comment:

 Can you use -threaded?  If so, it's still a bug, but we might just leave
 this open.

 Can you give us a complete repo case?  I.e. instructions to build, build
 flags etc.

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


[GHC] #895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd

2006-09-09 Thread GHC
#895: pugs: internal error: task 0x1b00330: main thread 1 has been GC'd
---+
Reporter:  guest   |Owner: 
Type:  bug |   Status:  new
Priority:  normal  |Milestone: 
   Component:  Runtime System  |  Version:  6.5
Severity:  normal  | Keywords: 
  Os:  MacOS X |   Difficulty:  Unknown
Architecture:  x86 |  
---+
pugs: internal error: task 0x1b00330: main thread 1 has been GC'd
 (GHC version 6.5 for i386_apple_darwin)
 Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug

 Full -Ds log is available at:
 http://perlcabal.org/~audreyt/tmp/main_gc_bug.txt.gz

 This is GCC 4.0.1 on Intel Mac with -O; this bug started manifesting
 somewhere around August.

 Also, this bug does not manifest with -threaded RTS, and only breaks with
 the vanilla RTS.
 JaffaCake++ suggested it may have something to do with FFI callbacks.

 Thanks!
 Audrey

-- 
Ticket URL: 
GHC 
The Glasgow Haskell Compiler___
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs