[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] segfault using cairo/SDL
From: |
Markus Klotzbuecher |
Subject: |
Re: [Chicken-users] segfault using cairo/SDL |
Date: |
Wed, 4 Jan 2012 13:00:10 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jan 03, 2012 at 10:06:51PM +0100, Christian Kellermann wrote:
> * Markus Klotzbuecher <address@hidden> [120103 21:11]:
> > I took another attempt to figure out this crash. I still don't see the
> > problem, but I've found a smaller testcase that reliably crashes (for
> > me, at least):
> >
> > (use cairo)
> > (define t1 (make-cairo-text-extents-type))
> > (display t1)
> > (cairo-text-extents-x-bearing-set! t1 1)
> > (display t1)
> >
> > I also discovered a bug in the record printer for the extents types,
> > patch attached.
>
> Thanks for that, I noticed this today as well.
>
> Your bug however seems unrelated to cairo or SDL. I have come to
> the following test case that uses the same FFI procedures in core
> (modulo some struct layout, the original has 6 doubles there or
> so):
>
> http://paste.call-cc.org/paste?id=78a52e65f6c4f52014f049e71a384ac380c63b62
I ran it for a couple of hours, but no crash. amd64, CHICKEN
4.7.0.4-st.
> I will further investigate.
Thanks! Just let me know if I can test something.
Markus