PackedString.hGetPS produces index exception

Simon Peyton-Jones simonpj at microsoft.com
Wed Apr 16 03:45:43 EDT 2003


Remove old .hi files.  When the .hi-file format changes, GHC can emit
horrid messages like this.  It's a royal pain, arising from their binary
format.  It only bites during version transitions, so we've never gotten
around to fixing it.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-admin at haskell.org
[mailto:glasgow-haskell-bugs-admin at haskell.org] On
| Behalf Of George Russell
| Sent: 15 April 2003 19:29
| To: glasgow-haskell-bugs at haskell.org
| 
| Why does the attached function psTest, for ghc5.04.3 on Linux, produce
the
| error:
|     *** Exception: Ix{Int}.index: Index (30000) out of range
((0,29999))
| 





More information about the Glasgow-haskell-bugs mailing list