• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash in NSBitmapImageRep representationUsingType: NSPNGFileType for 8-bit grayscale
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Crash in NSBitmapImageRep representationUsingType: NSPNGFileType for 8-bit grayscale (From: John Horigan <email@hidden>)

  • Prev by Date: Re: Weird scrolling thing in Lion
  • Next by Date: Re: Core Data Automatic Lightweight Migration
  • Previous by thread: Crash in NSBitmapImageRep representationUsingType: NSPNGFileType for 8-bit grayscale
  • Next by thread: Passing data through a segue
  • Index(es):
    • Date
    • Thread