[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[coco8] Issue report: Evaluating simple expression

Summary: Execution of a JavaScript expression (produces a large amount of garbage), can result in an EXC_BAD_ACCESS.

Expected Results: The expression should evaluate an arbitrary number of times without issue.

Actual Results: Memory appears to be corrupted causing EXC_BAD_ACCESS.

Steps to reproduce:
  1. Download the bug8 Xcode project (compressed file)
  2. Open Bug/Bug.xcodeproj with Xcode 8.
  3. Run the application on an iPhone 6s.
    1. The expression in Bug/default.app.js is evaluated during application startup. This will cause the application to crash.


Configuration: Xcode 8.0 beta (8S128d), iPhone 6s iOS 9.3.2 (13F69)