Closed
Bug 32334
Opened 25 years ago
Closed 24 years ago
very long strings in textboxes crash mozilla
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
Future
People
(Reporter: jruderman, Assigned: Brade)
References
Details
(Keywords: crash, helpwanted)
Mozilla will crash if you try to put an extremely long string (a million chars
or so) in a textbox. A few powers of 2 earlier, the copying happens sluggishly.
Steps to reproduce:
1. With a non-empty URL, drag the link icon (to the left of the URL) into the
URL bar.
2. Continue about 20 times, and mozilla starts being unresponsive.
3. Continue a few more times, and mozilla crashes.
This bug isn't limited to the location bar - it happens on form textboxes too.
Windows 98 trace of the location bar crash:
MOZILLA caused a general protection fault
in module GDI.EXE at 0027:000005de.
Registers:
EAX=00009e1a CS=0577 EIP=000005de EFLGS=00010202
EBX=00000038 SS=62a7 ESP=00689da0 EBP=00009dce
ECX=0000bff8 DS=59be ESI=00009df8 FS=62a7
EDX=00000a66 ES=59be EDI=0000004a GS=1606
Bytes at CS:EIP:
66 83 3c 47 00 0f 84 24 01 00 00 66 8b 04 42 03
Stack dump:
00001ed1 00008000 915805b7 ac800007 000005e9 00000000 00000006 00000002
24002458 00000a66 186e1ed1 9e8400b7 056f062c 1de69e42 000062a7 c0000000
Comment 1•25 years ago
|
||
text fields are not xpttoolkit widgets. changing component to editor,
reassigning.
Assignee: trudelle → brade
Component: XP Toolkit/Widgets → Editor
QA Contact: jrgm → sujay
Assignee | ||
Comment 2•25 years ago
|
||
this may be a duplicate
Assignee | ||
Comment 3•25 years ago
|
||
sounds like a duplicate of #28978
*** This bug has been marked as a duplicate of 28978 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 6•25 years ago
|
||
This still happens but bug 28978 (which this was marked as a duplicate of)
doesn't happen anymore. Un-duping this one because I don't see a strong
connection between the two bugs.
Status: VERIFIED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 7•25 years ago
|
||
I am not able to reproduce this problem with a build on Macintosh from yesterday.
Keywords: crash
Target Milestone: M14 → M16
Comment 8•25 years ago
|
||
Can still repro this in 2000050208 win98 with the URL bar.
Get the following GPF when *tons* of text is pasted into the location bar (I'll
try to attach some to copy):
MOZILLA caused a general protection fault
in module GDI.EXE at 0027:000005e9.
Registers:
EAX=00000a55 CS=062f EIP=000005e9 EFLGS=00010202
EBX=0000000c SS=63df ESP=ce7f7e00 EBP=00007e2e
ECX=00008179 DS=572e ESI=00007e4c FS=63df
EDX=0000099c ES=63df EDI=0000004a GS=180e
Bytes at CS:EIP:
66 8b 04 42 03 d8 49 75 e5 80 7d ff 00 0f 85 91
Stack dump:
00001332 000002f6 0068066f 60d25363 1332066f 00000000 00000006 00000000
14001429 0000099c 180e1332 84d0006f 0627062c 813c848e 000063df 817b0000
Upping severity...
Severity: major → critical
Comment 9•25 years ago
|
||
using the build from 5/1 on win98, I did the following:
1. in 4.x I did a query for the group, copied the query string and used that as
the text to drop in the url bar
http://bugzilla.mozilla.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_s
tatus=REOPENED&email1=%5E%28brade%7Ckin%7Ccmanske%7Cjfrancis%7Cakkana%7Csfraser%
7Cmjudge%7Cbeppe%29%40netscape.com%24&emailtype1=regexp&emailassigned_to1=1&emai
l2=&emailtype2=substring&emailreporter2=1&bugidtype=include&bug_id=&changedin=&v
otes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&target_milestone=M16&target_miles
tone=M17&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substri
ng&bug_file_loc=&bug_file_loc_type=substring&status_whiteboard=&status_whiteboar
d_type=substring&keywords=&keywords_type=anywords&field0-0-0=noop&type0-0-0=noop
&value0-0-0=&cmdtype=doit&namedcmd=new_bugs&newqueryname=&order=Reuse+same+sort+
as+last+time
2. copy the above string 45-46 times into the location bar. It consistently
crashes right around 45 times. I do not get a stack, I do get a GPF -- this is
what I got:
NETSCP6 caused a general protection fault
in module GDI.EXE at 0027:000005de.
Registers:
EAX=000092f4 CS=05cf EIP=000005de EFLGS=00010202
EBX=0000036b SS=46e7 ESP=00658140 EBP=0000816e
ECX=00008021 DS=47ae ESI=0000829e FS=46e7
EDX=000008a0 ES=47ae EDI=0000004a GS=15d6
Bytes at CS:EIP:
66 83 3c 47 00 0f 84 24 01 00 00 66 8b 04 42 03
Stack dump:
00001ab7 00000158 0057060f 00620026 000005e9 00000000 00000006 00000002 24002473
000008a0 184e1ab7 84d4000f 05c7062c 82de8492 000046e7 80ac0000
hope that helps
Comment 10•25 years ago
|
||
I'm moving this out to m17, since this is realy an edge case and not normal use.
Target Milestone: M16 → M17
Reporter | ||
Comment 11•25 years ago
|
||
related? bug 35229
Reporter | ||
Comment 12•25 years ago
|
||
oh, missed the fact that this bug depends on that one.
Comment 13•24 years ago
|
||
unable to reproduce with mozilla build 071008 on NT or 98.
Comment 14•24 years ago
|
||
edge case problem, and the dependency bug is marked as future so moving this to
future as well
Target Milestone: M17 → Future
Comment 16•24 years ago
|
||
*** Bug 49044 has been marked as a duplicate of this bug. ***
Comment 17•24 years ago
|
||
If 49044 is a dup of this, this bug should be tagged "blocker" rather than
"future". This bug happens to me all the time here. 4000 bytes isn't even a full
page of text! As it is now, mozilla mail and composer is a chore to use, i have
to carefully paste only a couple of paragraphs at the time to avoid the freeze.
Comment 18•24 years ago
|
||
in mailcompose in NC4.72 i can easily paste in over 2 MB of text.
A mail app that doesn't let me paste more than under one page at the time...
well - i can't use it for real work.
Comment 19•24 years ago
|
||
marking this as a dup of 21847
*** This bug has been marked as a duplicate of 21847 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → DUPLICATE
Comment 20•24 years ago
|
||
I can paste 4334 bytes on WinNT Build 2000081704 just fine. I can paste 232518
bytes of text on WinNT just fine.
Recommending this bug be moved to Linux and reopening if you are still seeing
this RKAA (from dup 49044)
Reporter | ||
Comment 22•24 years ago
|
||
i still get the crash in this bug. does that make it not a dup?
Reporter | ||
Comment 23•24 years ago
|
||
This bug is somewhat messy, so I'll let the original problem reported in this
bug be tracked by bug 65869 and leave this one closed.
You need to log in
before you can comment on or make changes to this bug.
Description
•