Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10947] iOS: Closing and re-opening window with missing background image crashes app

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2012-09-18T08:52:09.000+0000
Affected Version/sRelease 2.1.3
Fix Version/sSprint 2012-19 API, 2012 Sprint 19
ComponentsiOS
Labelsapi
ReporterIngo Muschenetz
AssigneeIngo Muschenetz
Created2012-09-17T20:08:55.000+0000
Updated2013-03-13T18:54:27.000+0000

Description

My app has a background image

My window has a *different* background image

I have a tableview in my window.

I found that sometimes, but not always, the window background image is missing, and I can see the app background image. When this happens, if I close the window, and re-open it, the app crashes:
0   libobjc.A.dylib               	0x02f9d09b objc_msgSend + 15
1   Glassly                       	0x00078120 -[TiViewProxy _hasListeners:] + 160
2   Glassly                       	0x000745b8 -[TiViewProxy view] + 184
3   Glassly                       	0x001b2d15 -[TiUIiPhoneNavigationGroupProxy open:] + 837
4   Glassly                       	0x001b2d91 __39-[TiUIiPhoneNavigationGroupProxy open:]_block_invoke_0 + 49
5   Glassly                       	0x00124d44 __TiThreadPerformOnMainThread_block_invoke_0 + 52
6   Glassly                       	0x001251b7 TiThreadProcessPendingMainThreadBlocks + 519
7   Glassly                       	0x00124f99 __TiThreadPerformOnMainThread_block_invoke_0114 + 57
8   libdispatch.dylib             	0x0384953f _dispatch_call_block_and_release + 15
9   libdispatch.dylib             	0x0385b014 _dispatch_client_callout + 14
10  libdispatch.dylib             	0x0384b7d5 _dispatch_main_queue_callback_4CF + 296
11  CoreFoundation                	0x034dfaf5 __CFRunLoopRun + 1925
12  CoreFoundation                	0x034def44 CFRunLoopRunSpecific + 276
13  CoreFoundation                	0x034dee1b CFRunLoopRunInMode + 123
14  GraphicsServices              	0x032517e3 GSEventRunModal + 88
15  GraphicsServices              	0x03251668 GSEventRun + 104
16  UIKit                         	0x00da865c UIApplicationMain + 1211
17  Glassly                       	0x00004568 main + 456
18  Glassly                       	0x00002e95 start + 53

Comments

  1. Shannon Hicks 2012-09-17

    I don't have the time to put together an example tonight... If you want access to my private github repo (and steps to recreate), I'll need a username.
  2. Ingo Muschenetz 2012-09-17

    Please give access to vishalduggal, mstepanov and ingo
  3. Shannon Hicks 2012-09-18

    I spent a *bunch* of time trying to create a sample, and could not reproduce this. I think that I've got a little sloppy code to clean up. Go ahead and mark this as invalid.
  4. Ingo Muschenetz 2012-09-18

    Shannon--that you very much for the prompt feedback. Please let us know if there is more that we can do.
  5. Ingo Muschenetz 2012-09-18

    Marking as invalid based on customer feedback.
  6. Natalie Huynh 2012-12-04

    Closing as invalid

JSON Source