52597

JavaScriptCore crash on iOS9

Encountering a crash for a iOS9 only. The crash is manifesting in JavaScriptCore though I'm not certain it has anything to do with JavaScriptCore. I'm more inclined to believe this is an issue with memory exhaustion more specifically and possible virtual memory exhaustion. As noted in the screenshot free RAM is exceptionally low so it's definitely not an ideal situation. I don't know enough about iOS internals to entirely what's going on here but wondering if there's others out there who have encountered this type of thing with iOS9. This was not an issue for me on iOS 7.x, iOS 8.x

<img src=https://www.e-learn.cn/content/wangluowenzhang/"https://i.stack.imgur.com/2D91b.jpg" alt="iOS9 crash">

Answer1:

The issue in this case appears to have been from releasing a JSContext object from a section of code which was not the owner that was setup to run JavaScript. Xcode flagged it in the static analyzer and once the release call was removed all was well. I'm a bit hesitant to say this was for sure the issue since the crash didn't happen 100% of the time but given the testing before/after the change it seems pretty likely.

Recommend

  • Running activity in the background
  • Filtering by day of the week
  • Proper way to adapt an exception with CompletableFuture
  • How to get the OutEdgeList inside a BGL graph
  • What is the Difference between system initialization and update in hybris?
  • Indentation standards when writing django Application
  • Eclipse getting closed regularly
  • scala.MatchError: java.lang.StackOverflowError (of class java.lang.StackOverflowError)
  • Prevent text selection when dragging from outside target in IE7/8
  • Watching for file changes within a directory [duplicate]
  • Eclipse won't start
  • Spring Web Security locks Neo4j embedded database
  • Is it possible to generate with Java 8 and Install4j 5.1.5 a warning free installation file
  • WPF DataGrid lost focus after row delete
  • Arabic text displaying in webapp without db changes
  • How do I control the soft menu button in Honeycomb?
  • Hudson dependencies
  • How to extract a plane from a 3D variable in FiPy (3D to 2D)
  • How to set up precision attribute used by @Column annotation?
  • Program crashes when run outside IDE
  • Numpy odd behaviour conversion to datetime64 dtype
  • Possible to get the line number of the currently executing sproc in SQL Server?
  • Facebook Messenger Platform - Detect user typing
  • Print character to a certain point on console in Python?
  • PushKit for VOIP iOS apps
  • Facebook iOS SDK Not Calling Completion Handler
  • Redshift Querying: error xx000 disk full redshift
  • DIV instruction jumping to random location?
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Custom Tabgroup Appcelerator
  • MVC3 Razor - ListBox pre-select not working
  • why overloaded new operator is calling constructor even I am using malloc inside overloading functio
  • Can I have the cursor start on a particular column by default in jqgrid's edit mode?
  • Calling of Constructors in a Java
  • SVN: Merging two branches together
  • Transpose CSV data with awk (pivot transformation)
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • How do I configure my settings file to work with unit tests?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Binding checkboxes to object values in AngularJs