Stack overflow with Data.Binary

Donald Bruce Stewart dons at
Tue Jun 5 23:15:48 EDT 2007

> Antti-Juhani Kaijanaho <antti-juhani <at>> writes:
> > 
> > On Tue, Jun 05, 2007 at 12:13:46PM +0000, Grzegorz wrote:
> > > I thought stack was for function frames and such...
> > 
> > Yes, but with lazy evaluation, even normal data are functions (closures).  You
> > probably have too much laziness somewhere; I'm sorry but I don't have the
> > energy to go digging around in the code.
> > 
> I think so too, but it can't be in the three lines of code I posted so 
> it's probably somewhere in one of the three libraries used, and hopefully 
>  someone familiar with the library code has the energy to dig and fix it ;-)

Can you submit a bug report -- if you believe it is a stack overflow
issue in the Data.Binary source -- to the binary maintainers?

If its a bug introduce by profiling, that's a known issue with
profiling, and would qualify as a GHC bug.

-- Don

More information about the Libraries mailing list