Segfaulting programs with GHC 6.4.1

John Goerzen jgoerzen at complete.org
Fri Oct 21 09:02:32 EDT 2005


On Fri, Oct 21, 2005 at 01:40:38PM +0100, Simon Marlow wrote:
> > 0x080ba84a <s34n_info+22>:      cmpb   $0x0,(%eax,%edx,1)
> 
> the crash is here ^^^  it does appear to be something string-related,
> because that instruction isn't a common one in GHC-generated code -
> comparing a byte against zero, with a non-trivial addressing mode, looks
> very much like a string traversal.
> 
> Do you have any other CString-related code in your program?

No.  But my program uses HSQL, which has it *all over* the place.  So
many uses, in fact, that I have really no idea where to begin tracking
it down.

I wonder if the bug is in HSQL or GHC?

-- John


More information about the Glasgow-haskell-users mailing list