[Haskell-cafe] Re: Examining the Haskell stack (read at your own risk ; -))

2005-12-02 Thread Joel Reymont
Thank you Simon! This is very helpful and will take me a while to digest. On Dec 2, 2005, at 2:43 PM, Simon Marlow wrote: Ok, you want a crash course in reading the Haskell stack. Each xxx_info symbol is a return address. The other values are the contents of stack frames: values saved for u

[Haskell-cafe] RE: Examining the Haskell stack (read at your own risk ; -))

2005-12-02 Thread Simon Marlow
On 02 December 2005 14:17, Joel Reymont wrote: > On Dec 2, 2005, at 2:08 PM, Simon Marlow wrote: > >> It looks like your crash happened in the SSL library, and you have a >> useful stack trace there. > > This is contrived in that I already know where the error is and it > clearly points to SSL_f

[Haskell-cafe] Re: Examining the Haskell stack (read at your own risk ; -))

2005-12-02 Thread Joel Reymont
On Dec 2, 2005, at 2:08 PM, Simon Marlow wrote: It looks like your crash happened in the SSL library, and you have a useful stack trace there. This is contrived in that I already know where the error is and it clearly points to SSL_free. I'm trying to figure out how I would have gotten to

[Haskell-cafe] RE: Examining the Haskell stack (read at your own risk ; -))

2005-12-02 Thread Simon Marlow
On 02 December 2005 14:03, Joel Reymont wrote: > You told me a bit about how to examine the Haskell stack by looking > at R22 on the PowerPC and $ebx on Intel architectures. I looked at > your .gdbinit but could not figure out which macros are to be used. > > The example below is a bit contrived