Skip to content

Scrolling down in some view inspectors causes a crash #719

@SoCuul

Description

@SoCuul

Environment

Bug Report

When clicking on certain elements in the view hierarchy explorer, scrolling down after the inspector view has loaded will crash the app. Not many views have caused this behaviour for me, but the ones that have do it reproduceably in the exact same way each time.

Additionally, the crash is not caused until you start scrolling (potentially loading in problematic table cells?). Using the quick navigation bar thing on the right, i can get to the bottom of the inspector just fine. And I can scroll all the way back up, right until it hits the top of the ivars section.

Stack trace:

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00000001903be2c0
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [32255]

Triggered by Thread:  0

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Foundation                    	       0x1903be2c0 static URL._unconditionallyBridgeFromObjectiveC(_:) + 136
1   Instagram                     	       0x1056d4e34 XPluginsGetFuncPtr + 42736992
2   CoreFoundation                	       0x1916e0a94 __invoking___ + 148
3   CoreFoundation                	       0x1916e010c -[NSInvocation invoke] + 424
4   libflex.dylib                 	       0x10c130c34 +[FLEXRuntimeUtility performSelector:onObject:withArguments:allowForwarding:error:] + 2556
5   libflex.dylib                 	       0x10c1301f0 +[FLEXRuntimeUtility performSelector:onObject:withArguments:error:] + 132
6   libflex.dylib                 	       0x10c130130 +[FLEXRuntimeUtility performSelector:onObject:] + 92
7   libflex.dylib                 	       0x10c13ea88 -[FLEXProperty getValue:] + 288
8   libflex.dylib                 	       0x10c13eb44 -[FLEXProperty getPotentiallyUnboxedValue:] + 100
9   libflex.dylib                 	       0x10c153b3c -[FLEXProperty(UIKitHelpers) currentValueWithTarget:] + 108
10  libflex.dylib                 	       0x10c153d3c -[FLEXProperty(UIKitHelpers) previewWithTarget:] + 252
11  libflex.dylib                 	       0x10c0760e0 -[FLEXMetadataSection subtitleForRow:] + 136
12  libflex.dylib                 	       0x10c07730c -[FLEXMetadataSection configureCell:forRow:] + 180
13  libflex.dylib                 	       0x10c05d1dc -[FLEXFilteringTableViewController tableView:cellForRowAtIndexPath:] + 428
14  UIKitCore                     	       0x194419f90 -[UITableView _createPreparedCellForGlobalRow:withIndexPath:willDisplay:] + 880
15  UIKitCore                     	       0x194307440 -[UITableView _createPreparedCellForRowAtIndexPath:willDisplay:] + 68
16  UIKitCore                     	       0x1943060d0 -[UITableView _heightForRowAtIndexPath:] + 124
17  UIKitCore                     	       0x1943056d4 -[UISectionRowData heightForRow:inSection:canGuess:] + 176
18  UIKitCore                     	       0x1943055a8 -[UITableViewRowData heightForRow:inSection:canGuess:adjustForReorderedRow:] + 248
19  UIKitCore                     	       0x194304e90 -[UITableViewRowData rectForRow:inSection:heightCanBeGuessed:] + 296
20  UIKitCore                     	       0x194304bfc -[UITableViewRowData rectForGlobalRow:heightCanBeGuessed:] + 112
21  UIKitCore                     	       0x1952ff084 -[UITableView _prefetchCellAtGlobalRow:aboveVisibleRange:] + 240
22  UIKitCore                     	       0x1952fef70 __48-[UITableView _configureCellPrefetchingHandlers]_block_invoke + 52
23  UIKitCore                     	       0x19532b7e0 -[_UITableViewPrefetchContext updateVisibleIndexRange:withContentOffset:] + 1992
24  UIKitCore                     	       0x1952ff240 -[UITableView _updateCycleIdleUntil:] + 168
25  UIKitCore                     	       0x194db2d9c ___UIUpdateCycleNotifyIdle_block_invoke + 600
26  libdispatch.dylib             	       0x19963caac _dispatch_call_block_and_release + 32
27  libdispatch.dylib             	       0x199656584 _dispatch_client_callout + 16
28  libdispatch.dylib             	       0x1996735a0 _dispatch_main_queue_drain.cold.5 + 812
29  libdispatch.dylib             	       0x19964bd30 _dispatch_main_queue_drain + 180
30  libdispatch.dylib             	       0x19964bc6c _dispatch_main_queue_callback_4CF + 44
31  CoreFoundation                	       0x19171dd90 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
32  CoreFoundation                	       0x1916c14f4 __CFRunLoopRun + 1980
33  CoreFoundation                	       0x1916c2c3c CFRunLoopRunSpecific + 572
34  GraphicsServices              	       0x1de8a1454 GSEventRunModal + 168
35  UIKitCore                     	       0x1940d5274 -[UIApplication _run] + 816
36  UIKitCore                     	       0x1940a0a28 UIApplicationMain + 336
37  Instagram                     	       0x102e2f94c XPluginsGetFuncPtr + 116856
38  dyld                          	       0x1b8597f08 start + 6040

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions