Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 587
Registered: ‎04-01-2009
My Device: Z10, PlayBook
My Carrier: NA

Debugging crashes in imported libraries

I'm making use of the XMP library to read photo metadata.


I have a photo that is causing the XMP library to crash. (actually, it doesn't crash on the simulator, only on device)


The exact line of my code is:


            SXMPMeta meta;


The stack trace is:




I've used this code with dozens of photos and never had any issues.  The photo I'm testing with at the moment was just exported from Photoshop as a JPEG a moment ago.


Anyway, my question I suppose is a bit of a general one.  What should one do when one is using some library and it blows up, and you have no idea why?  Are you up the creek?