Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-946] iPhone: crash during app run

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:54:45.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsios, iphone
ReporterJeff Haynie
AssigneeJeff Haynie
Created2011-04-15T02:39:53.000+0000
Updated2011-04-17T01:54:45.000+0000

Description

Thread 2 Crashed:
0 WebCore 0x0307796e WebTryThreadLock(bool) + 270
1 WebCore 0x030780be
WebThreadAutoLock() + 78
2 UIKit 0x008379f2 -[UIWebDocumentView didMoveFromWindow:toWindow:] + 26
3 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
4 UIKit 0x00706879 -[UIScrollView didMoveFromWindow:toWindow:] + 74
5 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
6 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
7 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
8 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
9 UIKit 0x00706879 -[UIScrollView
didMoveFromWindow:toWindow:] + 74
10 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
11 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
12 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
13 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
14 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
15 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
16 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
17 UIKit 0x00701c4c -[UIView(Internal)
didMoveFromWindow:toWindow:] + 383
18 UIKit 0x00701c4c -[UIView(Internal) didMoveFromWindow:toWindow:] + 383
19 UIKit 0x007004bd -[UIView(Hierarchy)
postMovedFromSuperview:] + 166
20 UIKit 0x0070073c -[UIView(Hierarchy) removeFromSuperview] + 524
21 Oil Reporter 0x0004c1f1 -[TiViewProxy destroy] + 153 (TiViewProxy.m:703)
22 Oil Reporter 0x000461ee -[TiWindowProxy
destroy] + 339 (TiWindowProxy.m:85)
23 Oil Reporter 0x0006f33f -[TiUITabGroupProxy destroy] + 111 (TiUITabGroupProxy.m:37)
24 Oil Reporter 0x0008743d -[TiProxy contextShutdown:] + 1061 (TiProxy.m:248)
25 Oil Reporter 0x00035ef7 -[KrollBridge removeProxies] + 210 (KrollBridge.mm:170)
26 Oil Reporter 0x000359b1 -[KrollBridge didStopNewContext:] + 36 (KrollBridge.mm:441)
27 Oil Reporter 0x00039880 -[KrollContext main] + 3485 (KrollContext.mm:662)
28 Foundation 0x00456f7d -[NSThread main] + 45
29 Foundation 0x00456b18 NSThreadmain__ + 280
30 libSystem.B.dylib 0x90fbfa19
pthread_start + 345
31 libSystem.B.dylib 0x90fbf89e thread_start + 34

Comments

  1. Jeff Haynie 2011-04-15

    (from [ae7aa7542ab5147c68944cb4b2c813596e06e306]) [#946 state:resolved] fixed crasher on destroy http://github.com/appcelerator/titanium_mobile/commit/ae7aa7542ab5147c68944cb4b2c813596e06e306"> http://github.com/appcelerator/titanium_mobile/commit/ae7aa7542ab51...

  2. netpro2k 2011-04-15

    Applied the changes from this commit, but still sometimes get similar crash:

    Thread 15 Crashed:
    0 WebCore 0x03c7655e WebTryThreadLock(bool) + 270
    1 WebCore 0x0454235e
    WebThreadAutoLock() + 78
    2 UIKit 0x008a38af -[UITextView dealloc] + 51
    3 UIKit 0x007f0757 -[UIScrollView removeFromSuperview] + 96
    4 UIKit 0x008a1714 -[UITextView removeFromSuperview] + 114
    5 UIKit 0x007eb525 -[UIView dealloc] + 340
    6 GetGlue 0x0005e44f -[TiUIView dealloc] + 301
    7 GetGlue 0x00024def -[TiUITextWidget dealloc] + 589
    8 GetGlue 0x000523c8 -[TiViewProxy destroy] + 301
    9 GetGlue 0x00091cbb -[TiProxy contextShutdown:] + 1145
    10 GetGlue 0x0003a2ea -[KrollBridge removeProxies] + 240
    11 GetGlue 0x00039ca6 -[KrollBridge didStopNewContext:] + 36
    12 GetGlue 0x0003e46b -[KrollContext main] + 3901
    13 Foundation 0x0051e2a8 -[NSThread main] + 81
    14 Foundation 0x0051e234 NSThreadmain__ + 1387
    15 libSystem.B.dylib 0x9060fa19
    pthread_start + 345
    16 libSystem.B.dylib 0x9060f89e thread_start + 34

    Related support request: here http://helpdesk.appcelerator.net/requests/3566">http://helpdesk.appcelerator.net/requests/3566

JSON Source