Closed
Bug 229729
Opened 21 years ago
Closed 21 years ago
crash if i tried to open a 8 mb big xml file
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 197956
People
(Reporter: Tyf, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007 Firebird/0.7
crash if i tried to open a 8 mb big xml file,the file has been generated by
j. river Media center (music library export)
Reproducible: Always
Steps to Reproduce:
1.create big xml file
2.open the file
Actual Results:
i cant do anything with Firebird. I have to open the task manager and kill the
firebird proces
Expected Results:
display the xml file, like internet explorer does without crashing.
Comment 1•21 years ago
|
||
Bug # 229729
Platform Windows XP
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6)
Gecko/20040206 Firefox/0.8
Firefox is unable while tryin to open a big xml file.(9 MB)
Reproducible: Always
Repro Steps:
1).Create a big XML file.
2).Save it to a location in disk.
3).Open Firefox 0.8 browser.
4).Go to file.
5).Go to open
6).Find the location of the file and open it.
Actual Result: The file does not open up and Firefox and throws an error in the
XML document.
Expected Result: The file should have opened up.
Follow Up Tests:
1).Open the file open with Internet Explorer
Result: The file opens up properly and the Xml document loads to perfection.
2).Open file with Opera.
Result: The file opens up properly and the XML document loads to perfection.
3).Open a smaller file in firefox( 4 MB).
Result: The file opens up properly in Firefox and the xml document loads.
4).Open a large xml file with firefox.(12 MB).
Result: An error is thrown while trying to load the XML document.
Through this we can try different sized files till we get an appropirtate value
that tells us that at what value firefox is
unable to open files.
5).Open the file with firefox in Linux operating system.
Result: firefox also throws an error in linux operating system which proves us
to that the bug is platform independent.We create a large xml file and open
firefox in linux browsers. We open the xml through firefox and see that the xml
file is unable to download.
Importance:
This bug is important since large xml documents will not be able to be viewed
through firefox. Now days XML is used in databases for quicker retrieval. If
firefox cannot support large xml files then it will not be able to retrieve data
from these databases.Therefore this bug is extremely important since a user
using mozilla for large applications would not be able to perform any operations.
Comment 2•21 years ago
|
||
(S.Gupta & M.Rattan, 02/25/04)
Bug not replicable always (with steps of replication)
Unable to replicate the bug (replicable sometimes) on Windows XP Professional,
with "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: 1.6) Gecko/20040206
Firefox/0.8"
Steps for replication:
Step1. Alter an existing xml file or create a new xml file to a size of 8Mb.
Step2. Open a browser window and from the “File” menu select “Open File” to open
this xml file created.
Result/Conclusion:
The browse takes a long time to open the file or eventually freezes with the
windows hour glass still indicating that the file is loading.
In case the browser freezes one has to end the program from the windows task
manager which crashes all other Mozilla browser windows as well.
The bug works for some files and not for others, however, the time required to
open the files is definitely large.
Follow up tests:
1.We replicated the same bug in I.E. and although I.E. took a few extra seconds
than normal (approx 2-4 seconds). It easily opened the xml document without
crashing and neither did slow the browser.
2.We replicated the bug on Opera and it did open the file in some different
format and slowed the browser considerably.
3.We replicated the bug for he following file sizes and the results were
inconsistent. Some times, some files crashed the browser and most of the times
the browser successfully opened the files although after taking a long time.
File sizes : 2.7 Mb, 4.46 Mb, 6.48 Mb, 8.58 Mb, 9.59 Mb
4.We replicated the same bug using a simple text document file and Mozilla was
able to open it, although taking a lot of time, whereas I.E. and Opera took
barely a few seconds.
Importance of the bug:
1.Browser’s are expected to parse and open large files (xml or otherwise) and if
a large file can crash the browser or take a huge amount of time to load, then
this is a deviation from its expectations of the user.
2.Also at with certain files the browser was unable to perhaps properly parse
the xml file which was too long and crashed. Not only did it crash, it forced
the other browser windows to crash as well (firefox-mozilla). In such a
circumstance the user cannot save the data from the other browser windows and
hence will lose data.
Comment 3•21 years ago
|
||
Bug # 229729
(Pratik Patel) 2 / 27 / 04
Platform : Windows XP
Build : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206
Firefox/0.8
I was able to replicate this bug with a 9.17 MB XML file.
I would suggest a couple of follow-up tests :-
1. Testing to see how Firefox 0.8 behaves while opening XML files of sizes 500
kb, 1.0 MB, 4.0 MB and 15 MB. I hope the test for opening a 500 KB XML file at
least passes. Because if it fails to open such a small-sized XML file, then
Firefox probably doesn’t support XML files. That would be quite a setback to
Firefox 0.8 because XML files are very common over the web.
2. Testing to see if the same bug occurs in other operating systems like Linux
to figure out if the bug is platform dependent.
*** This bug has been marked as a duplicate of 197956 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•