chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] segfault using cairo/SDL


From: Christian Kellermann
Subject: Re: [Chicken-users] segfault using cairo/SDL
Date: Tue, 3 Jan 2012 22:06:51 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

* 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 will further investigate.

Thanks,

Christian

-- 
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
 -- Lao Tse. 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]