ios


understanding ios stack trace [__NSArrayM insertObject:atIndex:]


I'm writing an iOS app and experiencing odd behavior with the app. It usually operates without error but the app is designed to be left open on an iPad for multiple days. After several days or so of use, it will seem to be unable to open and crash upon opening. If I re-download the app then it will open fine and not crash.
Here is an excerpt from the stack trace of a typical crash. It seems like there might be an issue with array insertion somewhere in the app, but how can I go about debugging this issue?
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x26cbb5a2 __exceptionPreprocess + 122
1 libobjc.A.dylib 0x34cc2c72 objc_exception_throw + 34
2 CoreFoundation 0x26bd6cb4 -[__NSArrayM insertObject:atIndex:] + 616
3 InstaAid 0x00074b76 0x69000 + 47990
4 libdispatch.dylib 0x3522dc7e _dispatch_call_block_and_release + 6
5 libdispatch.dylib 0x3522dc6a _dispatch_client_callout + 18
6 libdispatch.dylib 0x3523954e _dispatch_main_queue_callback_4CF$VARIANT$mp + 1318
7 CoreFoundation 0x26c8188c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 4
8 CoreFoundation 0x26c7ffac __CFRunLoopRun + 1508
9 CoreFoundation 0x26bccb4c CFRunLoopRunSpecific + 472
10 CoreFoundation 0x26bcc95e CFRunLoopRunInMode + 102
11 GraphicsServices 0x2e1091a4 GSEventRunModal + 132
12 UIKit 0x2a21ec8c UIApplicationMain + 1436
13 InstaAid 0x00076b8c 0x69000 + 56204
14 libdyld.dylib 0x3526baaa tlv_initializer + 2

Related Links

Swift 3 no subscript error
Two segues passing the same data from one view controller
SVG transform=“rotate(x,x,x)” not working on iOS
Concatenating values to the same key in an NSMutableDictionary
React native app is not working with Xcode 8
AVFoundation just Photo option-> no microphone accesss request (no video)
How to get which view in the hierarchy was touched?
Debugging URLSession (in iOS 10)
How upload video into server in Objective C ios
swift asynchronous request using dispatch_group_notify doesn't work
Xcode Undefined symbols for architecture x86_64:
How to find the average pixel colour of a defined area in UI image
How to loop in each dictionary key and value and print in UILabel
TableViewController Detect Row Tap with Static Cells
Navigation bar shows white space
Getting yesterdays steps from HealthKit

Categories

HOME
codeigniter
unit-testing
vr
crf
varnish
fonts
styling
feed
arm
svg.js
antlr
weblogic11g
vsix
wso2is
sweetalert
google-analytics-api
build.gradle
classloader
calayer
google-weather-api
condor
python-2.5
afnetworking-2
angular-components
jmespath
javers
html-email
curve-fitting
lexikjwtauthbundle
collision
jmeter-plugins
beanstalkd
dotnetbar
realm-java
hough-transform
ssms-2014
dsl
esri
unsigned-integer
pdfa
android-button
android-security
paket
temp
python-behave
directx-12
background-process
tweenmax
edit-distance
ibm-wcm
mamp-pro
jquery-ui-dialog
gcc4.8
kony
g-wan
ammonite
python-module
mapr
surroundscm
perspective
business-logic
jasny-bootstrap
singly-linked-list
restbed
vsvim
facebook-comments
okuma
yapdatabase
dual-table
wand
sejda
telescope
llvm-gcc
newsql
adserver
scribe
laravel-validation
aps
bunny
grunt-contrib-copy
asp.net-apicontroller
android-c2dm
scala-pickling
sqlprofiler
couchrest
semantic-markup
rcu
mainwindow
xsocket
ariatemplates
freeglut
android-assets
textboxlist
mkmapviewdelegate
gumstix
non-relational-database
templatebinding

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App