Closed Bug 323421 Opened 19 years ago Closed 13 years ago

Unhandled exception at 0x002d5ea4 (js3250.dll) in xulrunner.exe: 0xC0000005: Access violation reading location 0x00000004.

Categories

(Core :: JavaScript Engine, defect)

1.8 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: bugzilla1, Unassigned)

Details

(Keywords: crash, testcase)

Attachments

(3 files)

I'm writing a xulrunner app, and keep crashing...

I've built a debug xulrunner hope I got everything you need from it since I don't know anything about C/C++.

Seen on both MOZILLA_1_8_BRANCH, and trunk.
Attached image Screengrab of debugger
CAn you try and minimize your XUL app and attach it as a testcase? Or provide some other way to reproduce the crash?
(In reply to comment #3)
> CAn you try and minimize your XUL app and attach it as a testcase? Or provide
> some other way to reproduce the crash?
> 

I haven't been able to create a minimal testcase crasher. I only downloaded the xulrunner source and built a debug build because I couldn't!

The best I can do is attach the JS source, and identify the line of code that causes the crash.

This crashes
------------
var filename = outputLocation + DirIO.sep + getResultFromXML('<xsl:value-of select="Collection/DVD[position()=' + (profile + 1) + ']/ID"/>') + '.html';

Replacing it with this, stops the crash
---------------------------------------
var id = getResultFromXML('<xsl:value-of select="Collection/DVD[position()=' + (profile + 1) + ']/ID"/>');
var filename = outputLocation + DirIO.sep + id + '.html';
Keywords: testcase
I emailed Doug about this bug:
---------
Actually I think I do have a copy of the app, but it was designed to process the output of a 3rd party program which I don't use anymore, so don't have any suitable input to test it with.

Happy for you to mark the bug as resolved if you want - the JS engine has had major changes since I filed it.
---------
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: