|
|
Subject: Re: GPF WinXP GHCi 6.4 - msg#00084
List: lang.haskell.glasgow.bugs
On Tue, Mar 15, 2005 at 10:47:07AM -0000, Simon Marlow wrote:
> This is caused by a clash between the new Win32 package and the old
> win32 package. The Windows installer contains both, but unfortunately
> they clash on the name of the libraries.
>
> I think the new Win32 library is ready to replace the old one (Ross?).
The System part seems to work OK, but
On Fri, 11 Feb 2005 at 09:33:05 -0000, Simon Marlow wrote:
> If I compile with -threaded, then the HelloWorld program pops up a
> window, but the cursor is an hour glass and it doesn't do anything else.
> The other two either hang, or if I use -threaded they re-enter the
> scheduler.
which I take as a no. I suspect it just needs one big push from a
Windows expert.
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
RE: GPF WinXP GHCi 6.4
This is caused by a clash between the new Win32 package
and the old win32 package. The Windows installer contains both, but
unfortunately they clash on the name of the libraries.
I think the new Win32 library is ready to replace the
old one (Ross?). If that's the case, Sigbjorn, would you mind re-rolling
the installer without hslibs/win32? Thanks.
Simon
From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-bounces@xxxxxxxxxxx] On Behalf Of Nick
MainSent: 12 March 2005 20:04To:
glasgow-haskell-bugs@xxxxxxxxxxxSubject: Bug: GPF WinXP GHCi 6.4
GHC 6.4 Final Release - tried the sample code for
Graphics.HGL, i.e.module Main where
{ import Graphics.HGL; main
:: IO (); main = runGraphics
$ withWindow_ "Hello World Window"
(300, 200) $ \ w -> do
drawInWindow w $ text (100, 100) "Hello
World" drawInWindow w $ ellipse
(100, 80) (200, 180) getKey
w;}WindowsXP Home.
First attempt in GHCi is as below. Retrying main causes a GPF error
box.c:\temp>ghci
Main ___ ___
_ / _ \ /\ /\/ __(_) / /_\// /_/ / / |
| GHC Interactive, version 6.4, for Haskell
98./ /_\\/ __ / /___| | http://www.haskell.org/ghc/\____/\/
/_/\____/|_| Type :? for help.Loading
package base-1.0 ... linking ... done.Compiling
Main (
Main.hs, interpreted )Ok, modules loaded: Main.*Main> mainLoading
package Win32-1.0 ... <interactive>: Not x86 PEi386ghc.exe: panic!
(the `impossible' happened, GHC version
6.4): loadObj:
failedPlease report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx,or
http://sourceforge.net/projects/ghc/.*Main>
mainLoading package Win32-1.0 ... linking
...c:\temp>
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Next Message by Date:
click to view message preview
RE: FW: ghc, linux
On 14 March 2005 16:04, Yong Luo wrote:
> I installed a very old version of GHC in the same laptop in 2001 and
> it was working well ("no matter how big the program was"). Now, I
> upgraded it to version 6.2.2, but it becomes very slow and asks more
> Memory or Space.
>
> I know, 64M memory is not big at all nowadays, but I don't think GHC
> should ask more than that and force me to throw away my old laptop
> -:). In fact, most of my work can be done within 64M except GHC.
I'm afraid, GHC has become a bit more of a hog recently due to lack of
attention in the performance department. I hope we'll be able to
improve things for later 6.4 patchlevels.
Cheers,
Simon
Previous Message by Thread:
click to view message preview
RE: GPF WinXP GHCi 6.4
This is caused by a clash between the new Win32 package
and the old win32 package. The Windows installer contains both, but
unfortunately they clash on the name of the libraries.
I think the new Win32 library is ready to replace the
old one (Ross?). If that's the case, Sigbjorn, would you mind re-rolling
the installer without hslibs/win32? Thanks.
Simon
From: glasgow-haskell-bugs-bounces@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-bounces@xxxxxxxxxxx] On Behalf Of Nick
MainSent: 12 March 2005 20:04To:
glasgow-haskell-bugs@xxxxxxxxxxxSubject: Bug: GPF WinXP GHCi 6.4
GHC 6.4 Final Release - tried the sample code for
Graphics.HGL, i.e.module Main where
{ import Graphics.HGL; main
:: IO (); main = runGraphics
$ withWindow_ "Hello World Window"
(300, 200) $ \ w -> do
drawInWindow w $ text (100, 100) "Hello
World" drawInWindow w $ ellipse
(100, 80) (200, 180) getKey
w;}WindowsXP Home.
First attempt in GHCi is as below. Retrying main causes a GPF error
box.c:\temp>ghci
Main ___ ___
_ / _ \ /\ /\/ __(_) / /_\// /_/ / / |
| GHC Interactive, version 6.4, for Haskell
98./ /_\\/ __ / /___| | http://www.haskell.org/ghc/\____/\/
/_/\____/|_| Type :? for help.Loading
package base-1.0 ... linking ... done.Compiling
Main (
Main.hs, interpreted )Ok, modules loaded: Main.*Main> mainLoading
package Win32-1.0 ... <interactive>: Not x86 PEi386ghc.exe: panic!
(the `impossible' happened, GHC version
6.4): loadObj:
failedPlease report it as a compiler bug to glasgow-haskell-bugs@xxxxxxxxxxx,or
http://sourceforge.net/projects/ghc/.*Main>
mainLoading package Win32-1.0 ... linking
...c:\temp>
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
Next Message by Thread:
click to view message preview
RE: GPF WinXP GHCi 6.4
On 15 March 2005 10:58, Ross Paterson wrote:
> On Tue, Mar 15, 2005 at 10:47:07AM -0000, Simon Marlow wrote:
>> This is caused by a clash between the new Win32 package and the old
>> win32 package. The Windows installer contains both, but
>> unfortunately they clash on the name of the libraries.
>>
>> I think the new Win32 library is ready to replace the old one
>> (Ross?).
>
> The System part seems to work OK, but
>
> On Fri, 11 Feb 2005 at 09:33:05 -0000, Simon Marlow wrote:
>> If I compile with -threaded, then the HelloWorld program pops up a
>> window, but the cursor is an hour glass and it doesn't do anything
>> else. The other two either hang, or if I use -threaded they re-enter
>> the scheduler.
>
> which I take as a no. I suspect it just needs one big push from a
> Windows expert.
We need a quick solution for 6.4. Should the new Win32 library be
removed, and presumably HGL too? They can come back in 6.4.1 or as
Cabal packages.
Cheers,
Simon
|
|