Closed Bug 347967 Opened 19 years ago Closed 19 years ago

Crash pasting the text from attached file into js shell

Categories

(Core :: JavaScript Engine, defect)

x86
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 105707

People

(Reporter: Waldo, Unassigned)

Details

(Keywords: crash)

Attachments

(1 file)

I'm encountering this while working on prefwindow stuff in bug 346942; I don't know what I'm doing that's making this happen so that I can work around it, so this *is* blocking further work there. I doubt this is a js shell problem; however, when I try it in a non-debug Firefox trunk build, I don't get a crash. (I'd try in a debug trunk build except that I'm a clobber away from being able to do so.) Also, loading the file using the load() command in the JS shell doesn't crash.
The crash happens on the line containing this (line 124ish): document.documentElement.openSubDialog("chrome://browser/content/preferences/phishEULA.xul", There's also an XXX comment there directing you to the relevant line, so you don't have to read terminal scrollback to find the line that crashed. By the way, I tried to reduce it, but of the ten or so different things I tried removing, all made the problem go away. :-\ This was using a half-hour old jsshell, by the way.
Summary: Segfault pasting the text from attached file into js shell → Crash pasting the text from attached file into js shell
there's a limited buffer size (4096 chars) in jsshell. you're flooding it.
Whiteboard: DUPEME
*** This bug has been marked as a duplicate of 105707 ***
No longer blocks: 346942
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: