[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Cocoa (ObjC) in Lua modules
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Tue, 15 Jan 2008 01:53:38 -0800
Hi,
Just to get back to the list on this, here's what has happened.
On OSX 10.4, I can't find a way to get rid of the double frees just
yet, but I don't get crashing as long as I'm very careful to wipe out
any allocated objective C classes before unlinking the module.
On OSX 10.5, I no longer get double free warnings. And if not careful
can trigger crashes that look like:
=shlibs-removed,shlib-info=[num="85",name="glo.so",kind="-",dyld-addr="0xbf20000",reason="dyld",requested-state="E",state="E",path="/Users/wesleysmith/Documents/LuaAV/test/glo.so",description="/Users/wesleysmith/Documents/LuaAV/test/glo.so",loaded_addr="0xbf20000",slide="0xbf20000",prefix=""]
Program received signal: "EXC_BAD_ACCESS".
kill
quit
I'm using project settings as described here:
http://lua-users.org/lists/lua-l/2007-10/msg00768.html
best,
wes