#28 process crashes on second 'start'

confirmed
closed-fixed
nobody
None
5
2013-09-27
2006-12-07
Conal Elliott
No

Running two 'start'ed actions kills the process under ghc and ghci. Example:

import Graphics.UI.WX
main = io >> io where io = start (frame [] >> return ())

OS: Windows XP
Software versions:
ghc: 6.6
wxWidgets: 2.6.3
wxHaskell: 0.10.1

Discussion

  • Eric Kow
    Eric Kow
    2008-02-18

    • milestone: --> 809574
     
  • Eric Kow
    Eric Kow
    2008-02-25

    Logged In: YES
    user_id=242465
    Originator: NO

    Conal, just to mention that I'm sending a demonstrator for this bug (see wxhaskell-devel). Not sure what we should do about it, though.

     
  • Eric Kow
    Eric Kow
    2008-02-25

    • milestone: 809574 --> confirmed
     
  • wx-0.11.1.2
    WxWidgets-2.8.10.0
    FreeBSD-7.1

    has this bug too

     
  • Eric Kow
    Eric Kow
    2009-10-01

    The demonstrator lives in http://code.haskell.org/wxhaskell/bugs/StartStart.hs and does not need GHCi at all.
    I get a segmentation fault under Linux.

    Can anybody explain what is going on?

     
  • davetapley
    davetapley
    2012-01-04

    This appears to be resolved in:
    http://darcsden.com/DukeDave/wxhaskell-dev

    Running the demonstrator (either as a binary from GHC --make, or through GHCi) one may click the "Crash me" button to close the window, be presented with a second identical window, and click its button to terminate the application gracefully.

     
    • status: open --> closed-fixed