[Haskell-cafe] http://www.haskell.org/ghc/reportabug

Galchin, Vasili vigalchin at gmail.com
Tue Jul 1 00:21:47 EDT 2008

Hi Bulat and others,

     Basically I am testing my Posix timer bindings. When a timer is created
via timer_create(
it is possible to pass a sigevent struct. When I specify sigev_notify as
NONE OR SIGNAL, all is well. When I specify sigev_notify as THREAD which
causes a callback to a Haskell function that I specify, then sometimes I get
a core dump due to SIGABRT or an internal error in the Haskell run time
library. Many times when I run as sigev_notify==THREAD every thing seems to
be OK. I am trying to come up with ideas of what is wrong. I know there are
constraints on what can be called from a sigevent callback function.
Unfortunately I don't know anything about the ghc runtime model. ???


On Mon, Jun 30, 2008 at 10:19 AM, Bulat Ziganshin <bulat.ziganshin at gmail.com>

> Hello Vasili,
> Sunday, June 29, 2008, 11:09:51 AM, you wrote:
> >       When I run my test case, I get
> > timer: internal error: scavenge: unimplemented/strange closure type 60 @
> 0x76a28400
> if you run low-level code that directly modifies memory via FFI
> functions, it's more probable that error is just in your code
> --
> Best regards,
>  Bulat                            mailto:Bulat.Ziganshin at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20080630/70a74a34/attachment.htm

More information about the Haskell-Cafe mailing list