[gameprogrammer] Re: MacOSX and FMOD, memoryleaks?
- From: Joakim Kolsjö <trejje@xxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Fri, 22 Apr 2005 17:25:07 +0000
Just in case someone googles for a simular error someday :). My
problem was that i initiated and run all SDL things in a thread, thus
i seemed to get out of the context of the "pool".
On 4/21/05, Joakim Kolsj=F6 <trejje@xxxxxxxxx> wrote:
> Hi
>=20
> Im quite new to working with MacOSX, and i don't have such a computer
> myself. I've built an application that runs quite well on both
> windows, linux och macosx.
>=20
> Now i'm trying to use fmod for sound and then i get these errors on macos=
x:
> 2005-04-21 20:10:22.527 xa-005[24740] ***
> _NSAutoreleaseNoPool(): Object 0xa2e7938c of class NSCF=
String
> autoreleased with no pool in place - just leaking
> .... lots more
>=20
> Here's the compat code im using (to call the real main()):
> http://fk1.mine.nu/macosx_sdl.m
> http://fk1.mine.nu/macosx_sdl.h
>=20
> What i can see, there is a "pool" in that code, why isn't it used?
>=20
> This is a c++ application and i link with libfmod.a and use the
> frameworks SDL, Cocoa and Carbon.
>
---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html
- References:
- [gameprogrammer] MacOSX and FMOD, memoryleaks?
- From: Joakim Kolsjö
Other related posts:
- » [gameprogrammer] MacOSX and FMOD, memoryleaks?
- » [gameprogrammer] Re: MacOSX and FMOD, memoryleaks?
- [gameprogrammer] MacOSX and FMOD, memoryleaks?
- From: Joakim Kolsjö