Re: Crash in NSBitmapImageRep representationUsingType: NSPNGFileType for 8-bit grayscale
Re: Crash in NSBitmapImageRep representationUsingType: NSPNGFileType for 8-bit grayscale
- Subject: Re: Crash in NSBitmapImageRep representationUsingType: NSPNGFileType for 8-bit grayscale
- From: John Horigan <email@hidden>
- Date: Tue, 03 Apr 2012 22:59:33 -0700
I have a crash report:
It is crashing inside the libPng.dyld png_malloc routine because an attempt by system malloc to allocate a memory block at 0x1003efe58 fails because heap corruption was detected. I instrumented allocations and determined that my code never allocated memory near here. But libPng.dyld allocated memory at 0x1003efa20. I suspect that libPng is writing past its allocated memory.
Alas, it turns out that I have Macports installed and the libPng.dyld from Macports is being used. My Macports version of libpng was out of date (1.2.0). When I updated to libpng 1.4.10 the problem went away.
-- john
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden