I am using the latest version of XCode and building for iOS 6.0 and above. The following is the crash log I get. It doesn't seem to be helpful at all. The only thing I notice is that for My App it says "[per-process-limit]". Does this mean anything? What else could be causing this crash? I am using ARC if that matters. Thanks
Incident Identifier: B3FF81F3-FE14-46B2-A4C6-0931917D87C0
CrashReporter Key: e64be3b78430ea913edf711ceb553d83ad760b10
Hardware Model: iPhone5,1
OS Version: iPhone OS 6.1.3 (10B329)
Kernel Version: Darwin Kernel Version 13.0.0: Wed Feb 13 21:40:10 PST 2013; root:xnu-2107.7.55.2.2~1/RELEASE_ARM_S5L8950X
Date: 2013-04-16 18:57:49 -0400
Time since snapshot: 952 ms
Free pages: 1490
Active pages: 15836
Inactive pages: 7532
Throttled pages: 68031
Purgeable pages: 48
Wired pages: 165666
Largest process: Stevens Book Tra
Processes
Name <UUID> rpages recent_max [reason] (state)
timed <13d1143a8d7433cdbec64d4279aee1fe> 445 445 [vm] (daemon) (idle)
Bejeweled <ac11f9265d6634cc8ccb70757a223325> 14984 14984 [vm] (suspended)
AppStore <ffde258b8ad532398989bdd281fac800> 17866 17866 [vm] (suspended)
lsd <fe3afa7c718c30e591f1324f09d08c4f> 631 631 (daemon) (idle)
gamed <7954b1514d88384ca3f1f506b29d0812> 1510 1510 (daemon) (idle)
installd <4da1ba8fb7cd3c6690edf3e2a3c24269> 447 447 (daemon) (idle)
webbookmarksd <d241794687e23138a14c7a5ad4371181> 651 651 (daemon) (idle)
itunesstored <be14ada6a4d836f0aac6cf104f600c64> 2325 2325 (daemon) (idle)
networkd_privile <20292830d8d53949b82495c145d0a379> 131 131 (daemon) (idle)
softwareupdatese <1e626439b28f3e778f6a90c15b355c5d> 559 559 (daemon) (idle)
accountsd <6255c4bbbe953cc990fbeb8bc8d3ba86> 1141 1141 (daemon) (idle)
MobileMail <aed39adc22ee334c90bca672f578f1c0> 8775 8775 (continuous)
MobileSMS <afeef1d46f00323395b58b14f8803a82> 1726 1726 (background)
MobilePhone <872761e082c831a8a9090c8660347d5a> 1736 1736 (resume) (continuous)
tccd <e6dbe43518593da19ff55a9f3f15b3de> 325 325 (daemon)
kbd <47657f4dd979300a840367905786eccc> 782 782 (daemon)
My App <29f36b70932433febcb1123b2b6c534b> 151118 151118 [per-process-limit] (frontmost) (resume)
Pandora <6596910eed9532aca40f1ee3d6558334> 8775 8775 (audio) (background)
syslogd <42cd10099569364f811f66ad6f6dea46> 177 177 (daemon)
locationd <2d8cb2921fb538d4bb4aed62af98b4d2> 1988 1988 (daemon)
mediaserverd <221fa80d17503fc7aa86f1041bdcc0be> 2189 2189 (daemon)
wifid <71a35a9968a4358a8569e6de843ad1aa> 859 859 (daemon)
calaccessd <d4096f0836003ac8a5ef4cea07e382d1> 730 730 (daemon)
dataaccessd <7b294c10f04f36af8086f4ccb5606fae> 1778 1778 (daemon)
aosnotifyd <44b37f0df5c932e39b30230611981071> 737 737 (daemon)
iaptransportd <30bda0eeebb73681939e4223845ff0de> 378 378 (daemon)
SpringBoard <b0713272db793942ac49d8d3c84c2c2e> 11389 11389
backboardd <d9997ef1b2bc3015862615abf37ebb1b> 5874 5874 (daemon)
UserEventAgent <d19ebe160ed536c8b18c89f066b758a6> 943 943 (daemon)
securityd <eda98353705c34578e9b09867d3c96f6> 269 269 (daemon)
sandboxd <bbb7e05047a937159530525e2657928a> 277 277 (daemon)
syncdefaultsd <9c9a6da6f6993bb2be6ba01b851dc3e9> 698 698 (daemon)
mediaremoted <0279c54f0b2d30f6866036eea881cce1> 412 412 (daemon)
recentsd <99746b2acfdc3654881ad4fc961e2c89> 925 925 (daemon)
absinthed <a0bbaeb03c47300a9d5a7f6ce6468aab> 175 175 (daemon)
SCHelper <1ba907829bfa3e479f071e61c531331f> 227 227 (daemon)
filecoordination <44b0075fbc5b3af5b403fc3bcb6603b0> 350 350 (daemon)
distnoted <4b2b2984057b3df2a7e5c7d1d79a099b> 239 239 (daemon)
apsd <9ba45b14c44d340da1c3a41f28b46f65> 578 578 (daemon)
networkd <26c89c34e3e031fdb46bea7bed9df0ff> 324 324 (daemon)
aggregated <a2d209b4577a3697a10c288fd542e501> 126 126 (daemon)
fseventsd <b148ac55dd67325e822695755023a16e> 336 336 (daemon)
BTServer <e6eb89b2fe7b3b219a2d90e6735b166d> 424 424 (daemon)
imagent <e61401f9f6303ae189c517add142b837> 839 839 (daemon)
fairplayd.N41 <7d6161c8bf4633f7b62b9dbbd78ff990> 388 388 (daemon)
configd <d2cd8bc6ed643fa69392c80fc416cd8b> 795 795 (daemon)
lockdownd <f960236277c33ac78488eeea78661347> 333 333 (daemon)
powerd <fde6e83ab5f63bfeb5313e4cd86b25cc> 276 276 (daemon)
mDNSResponder <b9aedd3c47f43627af9b55c3d0844f16> 479 479 (daemon)
CommCenter <3fbedab9761b3733a3fc0cd58ab00055> 1702 1702 (daemon)
notifyd <bbd1f04dd7163c93bc9eb6e5a7b14ab7> 231 231 (daemon)
ReportCrash <3f296f612faa36d687fb3bb40a4648eb> 355 355 (daemon)
**End**
Well, MyApp has got 151118 resident pages of memory, which is about 590 MB (a page under iOS is 4 KB). So that's far too much memory. Try running with the allocations tool in Instruments and see where your memory is going.
Edit, to actually answer the question: The system is killing your app because it's using too much memory. To fix the crash you need to reduce your memory usage (in this case quite drastically). I suspect that you have a bug causing a memory usage spike because it's unlikely that your app really needs as much memory as it is apparently using according to the log you posted.
Related
Analyzing dependencies
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36: [BUG] Illegal instruction at 0x0000000102818000
ruby 2.6.8p205 (2021-07-07 revision 67951) [universal.arm64e-darwin21]
-- Crash Report log information --------------------------------------------
See Crash Report log file under the one of following:
* ~/Library/Logs/DiagnosticReports
* /Library/Logs/DiagnosticReports
for more details.
Don't forget to include the above Crash Report log file in bug reports.
-- Control frame information -----------------------------------------------
c:0054 p:---- s:0314 e:000313 CFUNC :getdtablesize
c:0053 p:0050 s:0310 e:000309 CLASS /Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36
.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:3:in `<module:Ethon>'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:27:in `<module:Curl>'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36:in `<class:FDSet>'
/Library/Ruby/Gems/2.6.0/gems/ethon-0.15.0/lib/ethon/curls/classes.rb:36:in `getdtablesize'
-- Other runtime information -----------------------------------------------
* Loaded script: /usr/local/bin/pod
* Loaded features:
0 enumerator.so
1 thread.rb
2 rational.so
3 complex.so
4
337 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes/alias.rb
338 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/nodes.rb
339 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/streaming.rb
340 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/visitor.rb
341 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/to_ruby.rb
342 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/emitter.rb
343 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handler.rb
344 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/tree_builder.rb
345 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/yaml_tree.rb
346 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/ruby_events.rb
347 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/json_tree.rb
348 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors/depth_first.rb
349 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/visitors.rb
350 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/parser.rb
351 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/coder.rb
352 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/core_ext.rb
353 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/stream.rb
354 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/yaml_events.rb
355 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/tree_builder.rb
356 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/json/stream.rb
357 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych/handlers/document_stream.rb
358 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/psych.rb
359 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/yaml.rb
360 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/executable.rb
361 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/version.rb
362 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/errors.rb
363 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/event.rb
364 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb
365 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/obligation.rb
366 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/logger.rb
367 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/logging.rb
368 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/deprecation.rb
369 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/executor_service.rb
370 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb
371 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb
372 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb
373 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/delay.rb
374 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb
375 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb
376 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb
377 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb
378 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb
379 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb
380 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb
381 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb
382 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/processor_counter.rb
383 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/configuration.rb
384 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_boolean.rb
385 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_boolean.rb
386 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/utility/native_integer.rb
387 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_atomic_fixnum.rb
388 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb
389 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/cyclic_barrier.rb
390 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_count_down_latch.rb
391 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_count_down_latch.rb
392 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb
393 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb
394 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/abstract_thread_local_var.rb
395 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/ruby_thread_local_var.rb
396 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/java_thread_local_var.rb
397 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/thread_local_var.rb
398 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb
399 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb
400 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/semaphore.rb
401 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomics.rb
402 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb
403 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb
404 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb
405 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb
406 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb
407 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb
408 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb
409 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb
410 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb
411 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb
412 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb
413 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_write_observer_set.rb
414 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/copy_on_notify_observer_set.rb
415 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/concern/observable.rb
416 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/ivar.rb
417 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/options.rb
418 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/scheduled_task.rb
419 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/java_non_concurrent_priority_queue.rb
420 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/ruby_non_concurrent_priority_queue.rb
421 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/non_concurrent_priority_queue.rb
422 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/timer_set.rb
423 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executors.rb
424 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb
425 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/agent.rb
426 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/atom.rb
427 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/array.rb
428 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/util/data_structures.rb
429 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/set.rb
430 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tuple.rb
431 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/async.rb
432 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/future.rb
433 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/dataflow.rb
434 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/maybe.rb
435 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/exchanger.rb
436 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/synchronization/abstract_struct.rb
437 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/immutable_struct.rb
438 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mutable_struct.rb
439 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/mvar.rb
440 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promise.rb
441 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/settable_struct.rb
442 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/timer_task.rb
443 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/tvar.rb
444 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/collection/lock_free_stack.rb
445 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/re_include.rb
446 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/promises.rb
447 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/thread_safe/synchronized_delegator.rb
448 /Library/Ruby/Gems/2.6.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent.rb
449 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/cdn_source.rb
450 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/trunk_source.rb
451 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/sources_manager.rb
452 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/core_overrides.rb
453 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods.rb
454 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb
455 /Library/Ruby/Gems/2.6.0/gems/molinillo-0.8.0/lib/molinillo/errors.rb
456 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/options/repo_update.rb
457 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/options/project_directory.rb
458 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/cache/list.rb
459 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/cache/clean.rb
460 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/cache.rb
461 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/env.rb
462 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/init.rb
463 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/install.rb
464 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/list.rb
465 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/podfile.rb
466 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/podfile_json.rb
467 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/repl.rb
468 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/spec.rb
469 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc/update_search_index.rb
470 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/ipc.rb
471 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/lib/create.rb
472 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/lib/lint.rb
473 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/lib.rb
474 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/list.rb
475 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/outdated.rb
476 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/add.rb
477 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/add_cdn.rb
478 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/lint.rb
479 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/list.rb
480 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/tempfile.rb
481 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/push.rb
482 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/remove.rb
483 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo/update.rb
484 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/repo.rb
485 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/setup.rb
486 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/create.rb
487 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/lint.rb
488 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/which.rb
489 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/cat.rb
490 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec/edit.rb
491 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/spec.rb
492 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command/update.rb
493 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb
494 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/open3.rb
495 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods/deintegrate/gem_version.rb
496 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods/deintegrator.rb
497 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods_deintegrate.rb
498 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods/command/deintegrate.rb
499 /Library/Ruby/Gems/2.6.0/gems/cocoapods-deintegrate-1.0.5/lib/cocoapods_plugin.rb
500 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/gem_index_cache.rb
501 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/gem_helper.rb
502 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins_helper.rb
503 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/list.rb
504 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/search.rb
505 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/create.rb
506 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/publish.rb
507 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins/installed.rb
508 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/pod/command/plugins.rb
509 /Library/Ruby/Gems/2.6.0/gems/cocoapods-plugins-1.0.0/lib/cocoapods_plugin.rb
510 /Library/Ruby/Gems/2.6.0/gems/cocoapods-search-1.0.1/lib/cocoapods-search/command/search.rb
511 /Library/Ruby/Gems/2.6.0/gems/cocoapods-search-1.0.1/lib/cocoapods-search/command.rb
512 /Library/Ruby/Gems/2.6.0/gems/cocoapods-search-1.0.1/lib/cocoapods_plugin.rb
513 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/add_owner.rb
514 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/delete.rb
515 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/deprecate.rb
516 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/info.rb
517 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/me.rb
518 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/push.rb
519 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/register.rb
520 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk/remove_owner.rb
521 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/pod/command/trunk.rb
522 /Library/Ruby/Gems/2.6.0/gems/cocoapods-trunk-1.6.0/lib/cocoapods_plugin.rb
523 /Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.2.0/lib/pod/try_settings.rb
524 /Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.2.0/lib/pod/command/try.rb
525 /Library/Ruby/Gems/2.6.0/gems/cocoapods-try-1.2.0/lib/cocoapods_plugin.rb
526 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/unicode_normalize/tables.rb
527 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/unicode_normalize/normalize.rb
528 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/podfile/dsl.rb
529 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/podfile/target_definition.rb
530 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/podfile.rb
531 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/build_type.rb
532 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/podfile.rb
533 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer.rb
534 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/sandbox.rb
535 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/sandbox/headers_store.rb
536 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/lockfile.rb
537 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/yaml_helper.rb
538 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/enc/utf_16le.bundle
539 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/enc/utf_16be.bundle
540 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/version.rb
541 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/pre_install_hooks_context.rb
542 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/hooks_manager.rb
543 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/source_provider_hooks_context.rb
544 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer.rb
545 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/installation_options.rb
546 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer/podfile_dependency_cache.rb
547 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/dependency.rb
548 /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.11.2/lib/cocoapods-core/requirement.rb
549 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/podfile_validator.rb
550 /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/installer/analyzer/target_inspector.rb
551 /Library/Ruby/Gems/2.6.0/gems/atomos-0.1.3/lib/atomos/version.rb
552 /Library/Ruby/Gems/2.6.0/gems/atomos-0.1.3/lib/atomos.rb
553 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/securerandom.rb
554 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/case_converter.rb
555 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object_attributes.rb
556 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object_dictionary.rb
557 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object_list.rb
558 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/constants.rb
559 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/swift_package_remote_reference.rb
560 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/swift_package_product_dependency.rb
561 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/helpers/build_settings_array_settings_by_object_version.rb
562 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_configuration.rb
563 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_file.rb
564 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_phase.rb
565 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/build_rule.rb
566 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/configuration_list.rb
567 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/container_item_proxy.rb
568 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/helpers/groupable_helper.rb
569 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/file_reference.rb
570 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/helpers/file_references_factory.rb
571 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/group.rb
572 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/native_target.rb
573 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/root_object.rb
574 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/target_dependency.rb
575 /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.21.0/lib/xcodeproj/project/object/reference_proxy.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: https://www.ruby-lang.org/bugreport.html
[IMPORTANT]
Don't forget to include the Crash Report log file under
DiagnosticReports directory in bug reports.
zsh: abort pod install
Xcode 13, Swift 5, and MACOS Monterey
If you faced this issue
you should do these steps
1- Install Homebrew from here
2- Open terminal and type brew install cocoapods
3- Open your Xcode project's directory in terminal and type
sudo arch -x86_64 gem install ffi
Then
arch -x86_64 pod install
as this
after it Open you Xcode project.
Just do,
sudo arch -x86_64 gem install ffi
Then
arch -x86_64 pod install
Seems it's related to Ruby ffi, works as a gen for programmatically loading dynamically-linked native libraries. To solve the issue just run the following commands:
sudo arch -x86_64 gem install ffi
arch -x86_64 pod install
I am trying to run a jee batch application. It works fine in my local machine but when I am trying to run the same jee application in a docker container, I am getting the below exception in joblogs
com.ibm.jbatch.container.exception.BatchContainerRuntimeException: Failure in Read-Process-Write Loop
89 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:704)
90 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeCoreStep(ChunkStepControllerImpl.java:795)
91 at com.ibm.jbatch.container.controller.impl.BaseStepControllerImpl.execute(BaseStepControllerImpl.java:295)
92 at com.ibm.jbatch.container.controller.impl.ExecutionTransitioner.doExecutionLoop(ExecutionTransitioner.java:118)
93 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeCoreTransitionLoop(WorkUnitThreadControllerImpl.java:96)
94 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.executeWorkUnit(WorkUnitThreadControllerImpl.java:178)
95 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl$AbstractControllerHelper.runExecutionOnThread(WorkUnitThreadControllerImpl.java:503)
96 at com.ibm.jbatch.container.controller.impl.WorkUnitThreadControllerImpl.runExecutionOnThread(WorkUnitThreadControllerImpl.java:92)
97 at com.ibm.jbatch.container.util.BatchWorkUnit.run(BatchWorkUnit.java:117)
98 at com.ibm.ws.context.service.serializable.ContextualRunnable.run(ContextualRunnable.java:79)
99 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
100 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
101 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
102 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
103 at java.lang.Thread.run(Thread.java:748)
104 Caused by: com.ibm.jbatch.container.exception.TransactionManagementException: javax.transaction.RollbackException
105 at com.ibm.jbatch.container.transaction.impl.JTAUserTransactionAdapter.commit(JTAUserTransactionAdapter.java:108)
106 at com.ibm.jbatch.container.controller.impl.ChunkStepControllerImpl.invokeChunk(ChunkStepControllerImpl.java:656)
107 ... 14 more
108 Caused by: javax.transaction.RollbackException
109 at com.ibm.tx.jta.impl.TransactionImpl.stage3CommitProcessing(TransactionImpl.java:980)
110 at com.ibm.tx.jta.impl.TransactionImpl.processCommit(TransactionImpl.java:778)
111 at com.ibm.tx.jta.impl.TransactionImpl.commit(TransactionImpl.java:711)
112 at com.ibm.tx.jta.impl.TranManagerImpl.commit(TranManagerImpl.java:165)
113 at com.ibm.tx.jta.impl.TranManagerSet.commit(TranManagerSet.java:113)
114 at com.ibm.tx.jta.impl.UserTransactionImpl.commit(UserTransactionImpl.java:162)
115 at com.ibm.tx.jta.embeddable.impl.EmbeddableUserTransactionImpl.commit(EmbeddableUserTransactionImpl.java:101)
116 at com.ibm.ws.transaction.services.UserTransactionService.commit(UserTransactionService.java:72)
117 at com.ibm.jbatch.container.transaction.impl.JTAUserTransactionAdapter.commit(JTAUserTransactionAdapter.java:101)
118 ... 15 more
119 Caused by: oracle.jdbc.xa.OracleXAException: XAErr (-7): Resource manager is unavailable. ORA-17008 SQLErr (0)
120 at oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1112)
121 at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:466)
122 at com.ibm.ws.rsadapter.impl.WSRdbXaResourceImpl.end(WSRdbXaResourceImpl.java:417)
123 at com.ibm.ejs.j2c.XATransactionWrapper.end(XATransactionWrapper.java:384)
124 at com.ibm.ws.Transaction.JTA.JTAResourceBase.end(JTAResourceBase.java:218)
125 at com.ibm.tx.jta.impl.RegisteredResources.sendEnd(RegisteredResources.java:941)
126 at com.ibm.tx.jta.impl.RegisteredResources.distributeEnd(RegisteredResources.java:920)
127 at com.ibm.tx.jta.impl.TransactionImpl.internalRollback(TransactionImpl.java:1624)
128 at com.ibm.tx.jta.impl.TransactionImpl.internalRollback(TransactionImpl.java:1594)
129 at com.ibm.tx.jta.impl.TransactionImpl.coreStage2CommitProcessing(TransactionImpl.java:865)
130 at com.ibm.tx.jta.impl.TransactionImpl.stage2CommitProcessing(TransactionImpl.java:891)
131 at com.ibm.tx.jta.impl.TransactionImpl.processCommit(TransactionImpl.java:771)
132 ... 22 more
133 Caused by: java.sql.SQLRecoverableException: Closed Connection
134 at oracle.jdbc.driver.PhysicalConnection.needLine(PhysicalConnection.java:3247)
135 at oracle.jdbc.driver.T4CXAResource.doEnd(T4CXAResource.java:384)
136 at oracle.jdbc.xa.client.OracleXAResource.end(OracleXAResource.java:461)
137 ... 32 more
used <transaction totalTranLifetimeTimeout="1200s" propogatedOrBMTTranLifetimeTimeout="1300s"/> for transaction timeout
My app crashes and I am finding where the problem is however I am suspecting an abandoned memory. To find where I went wrong I looked at my crash logs. However it just displays unknown and the log is this.
Incident Identifier: 1EE91CB2-E67A-4D8B-84BF-19E4B3B98747
CrashReporter Key: b836d79e5ce230ad9b3663fe72a73cbf9aa7bd51
Hardware Model: iPhone6,1
OS Version: iPhone OS 7.0.4 (11B554a)
Kernel Version: Darwin Kernel Version 14.0.0: Fri Sep 27 23:08:32 PDT 2013; root:xnu-2423.3.12~1/RELEASE_ARM64_S5L8960X
Date: 2013-11-17 20:37:45 +0900
Time since snapshot: 105 ms
Free pages: 6464
Active pages: 67311
Inactive pages: 29500
Speculative pages: 4757
Throttled pages: 0
Purgeable pages: 0
Wired pages: 92047
File-backed pages: 11060
Anonymous pages: 90508
Compressions: 578224
Decompressions: 122821
Compressor Size: 60458
Uncompressed Pages in Compressor: 182193
Largest process: backboardd
Processes
Name <UUID> rpages recent_max fds [reason] (state)
MobileMail <387c38c23acc32dc912a5088ef6b2b66> 14173 14173 200 [vm-pageshortage] (continuous)
MobileSMS <fd98ac3fad52357e879f7fbd74f64bd1> 3095 3095 200 [vm-pageshortage] (background)
tccd <a4190e0e6f6b3d23b06326c8935a5bb4> 238 238 200 [vm-pageshortage] (daemon)
kbd <4350c1efc23b3182809fcb6d8a7885fd> 3645 3645 200 [vm-pageshortage] (daemon)
librariand <f9e63967978833b585958d2d38f51e16> 1334 1334 200 [vm-pageshortage] (daemon)
MyAPP <7049d9f9e2d932a5a72e8046800f8562> 117514 117514 200 [vm-pageshortage] (frontmost) (resume)
ptpd <872030b325d9383b95a5434d41f77b25> 1277 1277 200 (daemon)
identityservices <cd1fff47d6ad3b0f85cdc5fb39d8b53e> 658 658 100 (daemon)
vmd <19de7c691b3137fea83e23261df6802a> 220 220 50 (daemon)
imagent <5080234127f5363fb539ffc3965af6e2> 596 596 50 (daemon)
syslogd <5c3a246617d3399e977efc84c2e29df2> 709 709 50 (daemon)
wifid <ca4f06468bf03d0f8847089e8cd320f1> 614 614 50 (daemon)
locationd <10f268a18d5d3343ab21be48bb005ecf> 1502 1502 100 (daemon)
powerd <a1fc82c399dc36e2b18a6fbb3d936a88> 164 164 100 (daemon)
iaptransportd <4c622f6c4295395997e7a6ec783b4623> 267 267 100 (daemon)
mediaserverd <f067d4c2a21a30fbabab30d9c94ccbd3> 95553 95667 50 (daemon)
mDNSResponder <2b8ad561938f3fc0a6255b607f503040> 391 391 100 (daemon)
apsd <ceb7855af3a63c2682fab13d5e0aeb82> 731 731 100 (daemon)
dataaccessd <b155854105f531248c2a44fd3733d59e> 1491 1491 200 (daemon)
sharingd <550630f3f5dc3f0aa08ba04876d82e6d> 594 594 50 (daemon)
itunesstored <0d023473a4a93c93a531210de784b155> 2020 2020 200 (daemon)
calaccessd <d6960604dc2c37499cd597b510055d7e> 667 667 200 (daemon)
SpringBoard <fe632b47e4ee342baf4b3701cd11b242> 18539 18539 100
backboardd <2f84882cf3693dfb921f4e0d38966f50> 138729 138729 50 (daemon)
fseventsd <a0223d346d4431a5ba1caabf8505b40e> 713 713 50 (daemon)
lockdownd <e280cf66209e3be980809a7d93eea76e> 382 382 50 (daemon)
configd <bb6e02e801a93ef896f2f3cf5cbb00fe> 710 710 50 (daemon)
fairplayd.H2 <da123871e48a3b6a9a2998f428e5c05a> 151 151 100 (daemon)
aggregated <6189b3e3d0c83a879b99cf7cd566dffb> 1090 1090 100 (daemon)
BTServer <3669aefbfb2e3577b17bde9598feda76> 511 511 100 (daemon)
distnoted <c40569cbea09312b9310bc74cbc88e29> 177 177 100 (daemon)
UserEventAgent <0d33b64c0c003a65b9a87c6622921781> 796 796 100 (daemon)
networkd <c7aa87e0c2d33d379a09598281a5e3ee> 873 873 100 (daemon)
biometrickitd <96a562b32d2f3ae0b3d23706c2f5d5ac> 296 296 100 (daemon)
filecoordination <72a4cec360d435c09cb83d2316317288> 324 324 200 (daemon)
ubd <231dc91e9b11307eb98874f9bbfaa86c> 1256 1256 100 (daemon)
EscrowSecurityAl <e14ee8c5bc0f3447b6cdaad44ab402da> 236 236 200 (daemon)
touchsetupd <0c315f01ae8d3675ad1a4eda4c9b18bb> 211 211 200 (daemon)
notification_pro <72244e97bc7d33408cd01f8c7fb7d2eb> 127 127 200 (daemon)
DTMobileIS <5fec282802c03cb49ee4a1cff408ac58> 17147 17147 200 (daemon)
cplogd <96828e7047bf36e2a1cdffcc1be700f8> 149 149 200 (daemon)
pasteboardd <6a060fcef15735f6884cc7e7f388d7bb> 139 139 200 (daemon)
wirelessproxd <9f112d11a5f734019013a43e9fc677a9> 93 93 200 (daemon)
CommCenter <ba4a2aecbe913f0ca31c8902e444db0d> 1867 1867 100 (daemon)
notifyd <bd919e93d6293562af0b7ec0e21247a0> 300 300 100 (daemon)
**End**
How can I find which line was wrong?
It looks like your running out of memory... I recommend adding some more code in didReciveMemoryWarning getting rid of things that you don't need... If this is only from one person, though, that may not be your app, it may just be that they have an old phone, or they are doing way to many things in the background.
I'm trying to debug a hard to reproduce crash on my iPhone app. The only info I have till now is the following log from the device of my customer:
Incident Identifier: 7A3417A-4F27-44E3-97A3-AF811A79C88E
CrashReporter Key: 13d8ee7a1052506be1ae7b4bbcb3439d1c86df85
Hardware Model: iPhone4,1
OS Version: iPhone OS 6.0 (10A403)
Kernel Version: Darwin Kernel Version 13.0.0: Sun Aug 19 00:28:05 PDT 2012; root:xnu-2107.2.33~4/RELEASE_ARM_S5L8940X
Date: 2012-10-24 08:11:29 +0200
Time since snapshot: 7156 ms
Free pages: 793
Active pages: 3323
Inactive pages: 2043
Throttled pages: 88283
Purgeable pages: 144
Wired pages: 33372
Largest process: NLinBusiness
Processes
Name rpages recent_max [reason] (state)
lsd 172 172 [vm] (daemon) (idle)
MobilePhone 1015 1015 [vm] (resume) (continuous)
tccd 170 170 [vm] (daemon)
NLinBusiness 51246 51246 [vm] (frontmost) (resume)
calaccessd 288 288 (daemon)
mediaserverd 2319 2319 (daemon)
wifid 570 570 (daemon)
locationd 1312 1312 (daemon)
syslogd 171 171 (daemon)
aosnotifyd 684 684 (daemon)
dataaccessd 2504 2504 (daemon)
iaptransportd 235 235 (daemon)
SpringBoard 23545 23545
backboardd 5779 5779 (daemon)
networkd 210 210 (daemon)
BTServer 240 240 (daemon)
configd 804 804 (daemon)
fairplayd.N94 161 161 (daemon)
fseventsd 499 499 (daemon)
imagent 703 703 (daemon)
mDNSResponder 306 306 (daemon)
UserEventAgent 601 601 (daemon)
mediaremoted 225 225 (daemon)
amfid 136 136 (daemon)
syncdefaultsd 294 294 (daemon)
ubd 456 456 (daemon)
recentsd 859 859 (daemon)
SCHelper 146 146 (daemon)
twitterd 636 636 (daemon)
absinthed.N94 104 104 (daemon)
sociald 885 885 (daemon)
filecoordination 202 202 (daemon)
distnoted 129 129 (daemon)
apsd 348 348 (daemon)
aggregated 103 103 (daemon)
lockdownd 349 349 (daemon)
powerd 189 189 (daemon)
securityd 389 389 (daemon)
CommCenter 1045 1045 (daemon)
notifyd 210 210 (daemon)
ReportCrash 332 332 (daemon)
**End**
Is there any useful info about the crash in this log?
Actually, this log is quite informative. The app in question didn't crash - it was killed by Jetsam/memorystatus. This was explained by us in My app crashes and closes down and there is very little information as to why
In your case, the NLinBusiness app (yours, I guess?) is using way too much memory - remember that iOS has no swap. The free page count is low so as to trigger a low memory condition, and your app is killed. By responding to Low Memory Events, you can stave off being killed.
This log won't help you at all. It does not contain anything specific to your code. For getting an info in a log file look at this link
http://cocoaforbreakfast.wordpress.com/2011/02/25/logging-into-files-for-ios/
Our web app is generating LowMemory crashes very often on Ipad and Iphone.
This is an example from CrashReporter
Incident Identifier: 858042
CrashReporter Key: 6bda3a
Hardware Model: iPad1,1
OS Version: iPhone OS 5.0.1 (9A405)
Kernel Version: Darwin Kernel Version 11.0.0: Tue Nov 1 20:33:58 PDT 2011; root:xnu-1878.4.46~1/RELEASE_ARM_S5L8930X
Date: 2012-01-01 04:25:33
Time since snapshot: 74 ms
Free pages: 476
Wired pages: 13005
Purgeable pages: 0
Largest process: MobileSafari
Processes
Name UUID Count resident pages
lsd <5b380bab4f83387fb3c5c3d9de8d5e31> 137
pasteboardd <89a3457066f6346984e7d56929d128a2> 158
MobileSafari <586de8c153f93939a9f42bec9d0d8bfd> 31908 (jettisoned) (active)
MobileMail <7064f2baf3f23db987bc8ec99855fe53> 954 (jettisoned)
networkd <6ee7a78e56073f6e8db4c2cc3265fdb4> 132
filecoordination <1828dd8176c03a93ba316423dd59e5e5> 135
aosnotifyd <58089d732ab43bbea0aec4a6f812f446> 371
BTServer <e03baab8e0103188979ce54b87591065> 317
aggregated <68a25a1690cb372096543a46abed14d7> 295
apsd <e4b6e6e4f31e36f79815747ecbf52907> 230
dataaccessd <b4f61f117ee635c48329af8572733d30> 1004
fairplayd.K48 <ff02701c98d63606baeff5aa951d59f9> 114
fseventsd <78af02202422321885dfc85c24534b0e> 422
iapd <3ee7f82879033b4fb93b9cf1f4ecae29> 295
imagent <8e2042f2ec9e3af9ba400f031f1bbfa7> 297
locationd <91c84ab19dd03e4ab1b4cc30178ab1c0> 584
mDNSResponder <b75f43f012ad3d9ea172d37491994e22> 186
mediaremoted <b9fa7d1381013c2fa90ea134ff905f59> 191
mediaserverd <478e5e8345c83be5ba1868906813bb75> 636
ubd <7eaf0b0ca5b83afabecb0dfaa38c7a19> 661
wifid <e176ab123beb3000bdb89e020612c1d6> 238
powerd <25ddef6b52e4385b819e777dd2eeed3c> 131
lockdownd <a68aa1526ef13a9bb4426bb71ffc1e3c> 206
CommCenterClassi <3ef6d0094b5c39d3b77e558ad3018d24> 282
syslogd <dd3766bcb1213e91b66283635db09773> 91
SpringBoard <7506c20d86da3f1dbe9bf38f8bda253d> 5744 (active)
configd <3430c0025ed13f56800a329b7254d2ae> 277
notifyd <3793fabace3a385687b3c29c1fa1fcac> 183
UserEventAgent <6e1cabc1ec6d372c90a6bdeaa7b258fa> 327
launchd <cc35dd7a872334319ed028e6bbeae081> 98
End
How do we read this crash log? What can we do in the web app to reduce the crashes? ( it could crash every time we visit the site with a clean boot )