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)
Tracking
()
RESOLVED
DUPLICATE
of bug 105707
People
(Reporter: Waldo, Unassigned)
Details
(Keywords: crash)
Attachments
(1 file)
12.76 KB,
text/plain
|
Details |
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.
Reporter | ||
Comment 1•19 years ago
|
||
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.
Updated•19 years ago
|
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
Comment 3•19 years ago
|
||
*** 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.
Description
•