Ticket #471 (closed bug: invalid)

Opened 6 years ago

Last modified 3 years ago

Windows HGL Thread problems

Reported by: mjthomas Owned by:
Priority: normal Milestone: Not GHC
Component: libraries/HGL Version: 6.4.1
Keywords: Cc:
Operating System: Windows Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description (last modified by simonmar) (diff)

With CVS HEAD (19 October 2005 Australian morning) 
the following minimal modifications to the HGL library 
give a runtime error in the "GTest.exe" example program:

=======================================
...
handleEvent: Before getMessage.
handleEvent: Before yield.
GTest.exe: internal error: resumeThread: thread not 
found
    Please report this as a bug to glasgow-haskell-
bugs@haskell.org,
    or http://www.sourceforge.net/projects/ghc/
=======================================

Without those two putStrLn () calls, none of the three 
example programs "GTests.exe", "Tests.exe" 
or "HelloWorld.exe" displays a Window.

With those two putStrLn () calls, all three example 
programs present their windows and both "Tests.exe" 
and "HelloWorld.exe" appear to run perfectly (although 
note that I have not seen them running at all other than 
in these tests).

Cheers

Mike Thomas

=========================================
==========================
RCS 
file: /home/cvs/root/fptools/libraries/HGL/Graphics/HGL/
Win32/WND.hs,v
retrieving revision 1.9
diff -r1.9 WND.hs
130a131
>   putStrLn "handleEvent: Before yield."
133a135
>     putStrLn "handleEvent: Before getMessage."

Change History

Changed 6 years ago by simonmar

  • difficulty set to Unknown
  • version changed from None to 6.4.1
  • os set to Windows
  • architecture set to Unknown
  • description modified (diff)

Changed 5 years ago by igloo

  • milestone set to 6.6.1

With 6.6 this problem seems to have been fixed, but the program still doesn't seem to work correctly. The first time I ran it it printed both messages once and then nothing happened. On subsequent runs it produces a number of Windows and then the

GTest.exe has encountered a problem and needs to close.  We are sorry for the inconvenience.

dialog appears. I'm not yet sure whether GHC or the HGL library is at fault.

Changed 5 years ago by simonmar

These might be related: #1081, #742

Changed 5 years ago by simonmar

  • owner nobody deleted
  • status changed from assigned to new
  • component changed from Runtime System to libraries/HGL
  • milestone changed from 6.6.1 to Not GHC

Not tied to GHC any more.

Changed 4 years ago by igloo

  • status changed from new to closed
  • resolution changed from None to invalid

No longer an extralib, so closing the bug

Changed 3 years ago by simonmar

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