Closed Bug 32334 Opened 25 years ago Closed 24 years ago

very long strings in textboxes crash mozilla

Categories

(Core :: DOM: Editor, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 21847
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
text fields are not xpttoolkit widgets. changing component to editor, reassigning.
Assignee: trudelle → brade
Component: XP Toolkit/Widgets → Editor
QA Contact: jrgm → sujay
this may be a duplicate
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
verified in 3/20
Status: RESOLVED → VERIFIED
setting approximate milestone from last entry
Target Milestone: --- → M14
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 → ---
I am not able to reproduce this problem with a build on Macintosh from yesterday.
Keywords: crash
Target Milestone: M14 → M16
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
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
I'm moving this out to m17, since this is realy an edge case and not normal use.
Target Milestone: M16 → M17
Depends on: 35229
related? bug 35229
oh, missed the fact that this bug depends on that one.
unable to reproduce with mozilla build 071008 on NT or 98.
edge case problem, and the dependency bug is marked as future so moving this to future as well
Target Milestone: M17 → Future
adding help wanted keyword
Keywords: helpwanted
*** Bug 49044 has been marked as a duplicate of this bug. ***
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.
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.
marking this as a dup of 21847 *** This bug has been marked as a duplicate of 21847 ***
Status: REOPENED → RESOLVED
Closed: 25 years ago24 years ago
Resolution: --- → DUPLICATE
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)
verified in 8/18 build.
Status: RESOLVED → VERIFIED
i still get the crash in this bug. does that make it not a dup?
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.
Blocks: longlines
You need to log in before you can comment on or make changes to this bug.