Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7712] V8: When backing out of an application a crash occurs during nativeDispose.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-21T10:25:37.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sSprint 2012-04, Release 2.0.0, Release 1.8.2
ComponentsAndroid
Labelsmodule_window, qe-testadded, regression
ReporterJosh Roesslein
AssigneeJosh Roesslein
Created2012-02-17T13:49:23.000+0000
Updated2012-02-22T11:13:58.000+0000

Description

When an application is exited and we perform dispose, a crash will occur. This only seems to happen when require() or Window URLs are used.
var win = Ti.UI.createWindow();

var mod = require('mymod'); // <-- mymod.js can just be empty.

win.open();
Run the above application. Once the window has opened hit the back button to exit out of the application. Expected: No native crash. Actual: A crash will occur shortly after.

Comments

  1. Josh Roesslein 2012-02-17

    Sent [PR #1464](https://github.com/appcelerator/titanium_mobile/pull/1464) to resolve issue.
  2. Dustin Hyde 2012-02-22

    Closing as Fixed. SDK: 1.8.2.v20120221114636 Android: V8 Studio: 1.0.9.201202131024 OS: Snow Leopard Devices Tested: Nexus One 2.2.2, Revolution 2.3.4

JSON Source