Hi,
I’m developing a QuickLook plugin for a custom binary file format.
As long as I did not cared about memory leaks everything was fine.
Then I fixed the leak with the help of Instruments. Everything runs
fine from xCode and Instruments but now it crashes if I run the
plugin from the finder.
Do you mean quicklookd crashes but qlmanage does not?
Yes.
I have set up a custom executable with "/usr/bin/qlmanage" and the
argument "-p path/to/my/file".
Any advice is very welcome.
We lack information here. We'd need to know where it is crashing.
This is definitely a memory problem. Sometimes it is about memory
being double released and sometimes things like:
20.05.09 13:42:00 quicklookd[38490] [QL ERROR] Preview request
generator for <QLPreviewRequest /Users/georg/...> raised '*** -
[NSCFString saveGraphicsState]: unrecognized selector sent to instance
0x138880'
the only call to saveGraphicsState is: [NSGraphicsContext
saveGraphicsState];
So this seem exactly what happends with wrong retain/releases. The
Problem is, I cannot debug it because in the debugger everything is
fine.
Thanks
Georg
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to arch...@mail-archive.com