Welcome, Guest
Username Password: Remember me

SCImagePickerCell - ImageIO Error
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: SCImagePickerCell - ImageIO Error

SCImagePickerCell - ImageIO Error 1 year, 7 months ago #1

I have a problem with crashes when using SCImagePickerCell. This happens intermittently and I haven't really been able to track down the reason. When it crashes, I get an "EXC_BAD_ACCESS" error and the following is in the console after the crash:

"ImageIO: ERROR - MetadataLib.dylib not found"


I will continue to investigate, but wanted to post in case anyone else comes across the problem as well.


Here is the stack from the debugger:

#0	0x9165e9b1 in ??
#1 0x9164b33f in ??
#2 0x9164b13e in ??
#3 0x95a60f5c in ??
#4 0x9647c244 in CGDataProviderRetain
#5 0x95aca036 in ??
#6 0x97262486 in CGImageReadCreateWithProvider
#7 0x972623a2 in CGImageSourceCreateWithDataProvider
#8 0x02311340 in CGImageCreateWithPNGDataProvider
#9 0x03e4af8d in WKGraphicsCreateImageFromBundleWithName
#10 0x039294db in WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar
#11 0x0398972b in WebCore::InlineTextBox::paintSpellingOrGrammarMarker
#12 0x03682d06 in WebCore::InlineTextBox::paintDocumentMarkers
#13 0x03682481 in WebCore::InlineTextBox::paint
#14 0x0367fa5f in WebCore::InlineFlowBox::paint
#15 0x0367f7d5 in WebCore::RootInlineBox::paint
#16 0x03577c90 in WebCore::RenderLineBoxList::paint
#17 0x03ce62b1 in WebCore::RenderBlock::paintContents
#18 0x03573b6d in WebCore::RenderBlock::paintObject
#19 0x035751b1 in WebCore::RenderBlock::paint
#20 0x0357416a in WebCore::RenderBlock::paintChildren
#21 0x03573b6d in WebCore::RenderBlock::paintObject
#22 0x035751b1 in WebCore::RenderBlock::paint
#23 0x03571f9f in WebCore::RenderLayer::paintLayer
#24 0x03572172 in WebCore::RenderLayer::paintLayer
#25 0x035719b5 in WebCore::RenderLayer::paint
#26 0x0357175e in WebCore::FrameView::paintContents
#27 0x04617eba in -[WebFrame(WebInternal) _drawRect:contentsOnly:]
#28 0x04617de4 in -[WebHTMLView drawSingleRect:]
#29 0x035712e8 in _WKViewDraw
#30 0x035713bf in _WKViewDraw
#31 0x035713bf in _WKViewDraw
#32 0x035713bf in _WKViewDraw
#33 0x035713bf in _WKViewDraw
#34 0x03571130 in WKViewDisplayRect
#35 0x035710c1 in WKWindowDrawRect
#36 0x03570dc3 in WebCore::TileCache::drawLayer
#37 0x0275b76b in backing_callback
#38 0x0275afa6 in CABackingStoreUpdate
#39 0x0275a22c in -[CALayer _display]
#40 0x035707f4 in -[TileLayer display]
#41 0x02759ce9 in CALayerDisplayIfNeeded
#42 0x0274c2ef in CA::Context::commit_transaction
#43 0x0274c040 in CA::Transaction::commit
#44 0x0277cebb in CA::Transaction::observer_callback
#45 0x02c73f4b in __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
#46 0x02c08b27 in __CFRunLoopDoObservers
#47 0x02bd1ce7 in __CFRunLoopRun
#48 0x02bd1350 in CFRunLoopRunSpecific
#49 0x02bd1271 in CFRunLoopRunInMode
#50 0x032c200c in GSEventRunModal
#51 0x032c20d1 in GSEventRun
#52 0x00419af2 in UIApplicationMain
#53 0x00002d84 in main at main.m:13
  • icyplains
  • OFFLINE
  • Expert Boarder
  • Posts: 133
  • Karma: 5
Last Edit: 1 year, 7 months ago by icyplains.

Re: SCImagePickerCell - ImageIO Error 1 year, 7 months ago #2

Would you please post some code, or if possible, send your model file (or entire project if you wish) to our support email for us to be able to replicate this? Thanks a lot!
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: SCImagePickerCell - ImageIO Error 1 year, 7 months ago #3

I was able to create a small project to replicate the issue. - see attached.

The way I get it to crash is, just keep adding row after row. Sometimes it will crash on the first, sometimes it takes quite a few.

Let me know if you have any more questions or can't get it to crash!


Edit: I was unable to attach the project (size limitation). I will shoot an email over to you with it.
  • icyplains
  • OFFLINE
  • Expert Boarder
  • Posts: 133
  • Karma: 5
Last Edit: 1 year, 7 months ago by icyplains.

Re: SCImagePickerCell - ImageIO Error 1 year, 7 months ago #4

Thanks a lot Tommy for sending us the test project. We have not been able to replicate your issue though (added about 20 cells). Have you been able to reproduce this error on the device itself?

TommyTestApp.png
  • tarekskr
  • OFFLINE
  • Administrator
  • Posts: 2402
  • Karma: 72

Re: SCImagePickerCell - ImageIO Error 1 year, 7 months ago #5

I tested on the device and was getting a lot of memory warnings, so I rebooted the device. The warnings went away and so did the crashes. I did not have time to insert more than 2 or so rows, however. I can do more extensive testing this evening.
  • icyplains
  • OFFLINE
  • Expert Boarder
  • Posts: 133
  • Karma: 5
  • Page:
  • 1
Time to create page: 0.85 seconds