[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Object corruption after calling an external shared object
- From: Ezequiel García <elezegarcia@...>
- Date: Fri, 13 Jan 2012 17:52:35 -0300
2012/1/13, email@example.com <firstname.lastname@example.org>:
> I'm trying to get luaCairo (http://www.dynaset.org/dogusanh/luacairo)
> working on a small ARM based embedded system. When running the small
> test programs that come with luaCairo several of them segfault in
> Lua's sweeplist when exiting.
Which examples are causing the segfault? (The smaller one)
> lua seems to work fine on its own. And my standalone programs using
> Cairo work too. So my suspicions are on the wrappers in luaCairo.
Maybe, the lua binding code (i.e. luacairo code itself) is not
releasing or destroying some resources. This should be done using
I would compare a minimal faulting luacairo example with its pure C
cairo counterpart, and then look for non-released resources in
Hope I am clear enough.