2009/5/8 Axel Simon <axel.si...@ens.fr>:
>
[...]
>
>> <DRAFT-finalizer-threads.dpatch>
>
> Ah, ok, so this would be a starting point. You say it's *more* stable. Does
> it still crash?
>
> Axel.
>

It hasn't crashed so far. So I'm happy. However I do get a different
error under Valgrind, even without gcNew. I made an amusing example:

import Graphics.UI.Gtk
import Graphics.UI.Gtk.Gdk.EventM
import System.Environment
main = do
  args <- getArgs
  unsafeInitGUIForThreadedRTS
  win <- windowNew
  onDestroy win mainQuit
  if elem "EventM" args
    then on win exposeEvent $ return True
    else onExpose win $ const (return True)
  widgetShowAll win
  mainGUI

$ valgrind -q ./gcgc EventM
(seems stable)
$ valgrind -q ./gcgc
gcgc: internal error: stg_ap_v_ret
    (GHC version 6.10.2 for i386_unknown_linux)
    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Killed

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to