hs-plugins runtime error with GHC 6.6: index out of range

After upgrading from GHC 6.4.2 to GHC 6.6 and rebuilding hs-plugins package, I noticed that hs-plugins does not work anymore. When I try to load a plugin, I get an "Index out of range" error. For example, when I compile the hs-plugins\testsuite\make\simple example and run the executable, the error message is a.out: Ix{Int}.index: Index (65536) out of range ((0,11)) Other tests give similar results; the values of the index and the range vary. Does anybody know what is wrong here? I use hs-plugins-1.0-rc0 and GHC 6.6 on Windows (hs-plugins worked fine with GHC 6.4.2). Cheers, Cyril

On Fri, 2006-11-03 at 18:22 +0100, Cyril Schmidt wrote:
After upgrading from GHC 6.4.2 to GHC 6.6 and rebuilding hs-plugins package, I noticed that hs-plugins does not work anymore.
I use hs-plugins-1.0-rc0 and GHC 6.6 on Windows (hs-plugins worked fine with GHC 6.4.2).
That's just it - it hasn't been updated for 6.6 yet. I'm sure you'll see the announcement when it is updated. Duncan

Good, I'll just wait... Thanks! Cheers, Cyril Duncan Coutts wrote:
On Fri, 2006-11-03 at 18:22 +0100, Cyril Schmidt wrote:
After upgrading from GHC 6.4.2 to GHC 6.6 and rebuilding hs-plugins package, I noticed that hs-plugins does not work anymore.
I use hs-plugins-1.0-rc0 and GHC 6.6 on Windows (hs-plugins worked fine with GHC 6.4.2).
That's just it - it hasn't been updated for 6.6 yet. I'm sure you'll see the announcement when it is updated.
Duncan

cschmidt:
After upgrading from GHC 6.4.2 to GHC 6.6 and rebuilding hs-plugins package, I noticed that hs-plugins does not work anymore.
When I try to load a plugin, I get an "Index out of range" error. For example, when I compile the hs-plugins\testsuite\make\simple example and run the executable, the error message is
a.out: Ix{Int}.index: Index (65536) out of range ((0,11))
Other tests give similar results; the values of the index and the range vary.
Does anybody know what is wrong here? I use hs-plugins-1.0-rc0 and GHC 6.6 on Windows (hs-plugins worked fine with GHC 6.4.2).
this code: do c <- get :: HsPluginsRequestors [String] liftIO $ print (length c + 1) put ("cyril": c) prints: 10 :) 3 issues break hs-plugins in 6.6, and I'm working on them: a) AltData.Typeable is obsolete, now that Typeable handles dynamic code properly b) the .hi file format changed, so the hs-plugins .hi parser needs to as wel c) the package format changed a little bit Should be about 1 days work. -- Don

dons@cse.unsw.edu.au (Donald Bruce Stewart) writes:
3 issues break hs-plugins in 6.6, and I'm working on them: a) AltData.Typeable is obsolete, now that Typeable handles dynamic code properly b) the .hi file format changed, so the hs-plugins .hi parser needs to as wel c) the package format changed a little bit
Should be about 1 days work.
Hi, thanks for posting about this -- I thought I was going crazy trying to figure out why dependencies weren't getting resolved. Has anybody had a chance to resolve/update this? This appears to be the last thing I need to get HSP working. - a -- PGP/GPG: 5C9F F366 C9CF 2145 E770 B1B8 EFB1 462D A146 C380
participants (4)
-
Adam Megacz
-
Cyril Schmidt
-
dons@cse.unsw.edu.au
-
Duncan Coutts