can't open a local file
Categories
(Firefox :: File Handling, defect)
Tracking
()
People
(Reporter: alexis.martial16, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
i tried to open the following url :
file:///home/echo/test.txt
i tried to use file - open file too
Actual results:
infinite loading of the file, nothing visible
Expected results:
i should have seen an error page or the text in the file
| Reporter | ||
Comment 1•6 years ago
|
||
i don't have the problem on my other computer on version 79 (not updated because i need it to work)
it does not load ".html" local files too
| Reporter | ||
Comment 2•6 years ago
|
||
if i remove .mozzila it works now...
but i lost all the firefox datas so i restored it :/
| Reporter | ||
Comment 3•6 years ago
|
||
i cleared the cache and it works, still don't know why it bugged every local files ...
| Reporter | ||
Comment 4•6 years ago
|
||
and it came back ...
cache clear does not work this time
Comment 5•6 years ago
|
||
Does the problem still happen if you start Firefox in Safe Mode? (Safe Mode disables add-ons, extensions and themes, hardware acceleration and some JavaScript stuff in order to exclude some possible reasons for problems.) See https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
And does this also happen with a new and empty profile? See https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems#w_6-create-a-new-firefox-profile
| Reporter | ||
Comment 6•6 years ago
|
||
yeh, it append in safe mode too.
i created a new profile and started a new windows with this one, no changes, the problem still happens
Comment 7•6 years ago
|
||
Setting a component for this issue in order to get the dev team involved.
If you feel it's an incorrect one please feel free to change it to a more appropriate one.
Comment 8•6 years ago
•
|
||
Are you using a distro build? And/or a "snap" or other package? Can you try with an official, "traditional" (not snap, just the tar + zip archive) mozilla.org distributed build?
Are there any errors in the browser console when opening the file fails? (not the standard devtools one, the browser one - ctrl-shift-j to open)
Comment 9•6 years ago
|
||
We unfortunately cannot make progress here without more information.
| Reporter | ||
Comment 10•6 years ago
|
||
sorry i did not see the your previous awnser...
I'm using the os build.
I can't access the console, it's like the tab is broken after i try opening a local file. i can change the url to a new one (a website url) but the tab does not work (others works well)
i tried to dowload a version from mozilla.org but i have the same problem
Comment 11•6 years ago
|
||
(In reply to alexis.martial16 from comment #10)
sorry i did not see the your previous awnser...
I'm using the os build.
I can't access the console, it's like the tab is broken after i try opening a local file. i can change the url to a new one (a website url) but the tab does not work (others works well)
The browser console is not the "normal" console and is not in the tab, it is separate - ctrl-shift-j will open it. You can try opening it before opening the file, and see if errors appear there.
Updated•6 years ago
|
| Reporter | ||
Comment 12•6 years ago
|
||
not while i try to open a local file
the console is empty
| Reporter | ||
Comment 13•6 years ago
|
||
After a really really long time the tab stop loading and propose me to send a bug report.
I did it i wrote this bug number in the message part (i wrote something like "Bug 1666096" if i remember well)
Other thing i saw :
If i try to open a file that does not exist, the tab does not seem to load infinity. It's still impossible to load an webpage after.
Comment 14•6 years ago
|
||
(In reply to alexis.martial16 from comment #13)
After a really really long time the tab stop loading and propose me to send a bug report.
I did it i wrote this bug number in the message part (i wrote something like "Bug 1666096" if i remember well)Other thing i saw :
If i try to open a file that does not exist, the tab does not seem to load infinity. It's still impossible to load an webpage after.
Gabriele, I do not have access to crash stats' comments search. Can you find this crash report?
Bob, is it possible this is a file: sandboxing issue? How would we check?
Comment 15•6 years ago
|
||
(In reply to :Gijs (he/him) from comment #14)
(In reply to alexis.martial16 from comment #13)
After a really really long time the tab stop loading and propose me to send a bug report.
I did it i wrote this bug number in the message part (i wrote something like "Bug 1666096" if i remember well)Other thing i saw :
If i try to open a file that does not exist, the tab does not seem to load infinity. It's still impossible to load an webpage after.Gabriele, I do not have access to crash stats' comments search. Can you find this crash report?
https://crash-stats.mozilla.org/report/index/9712141d-d949-47d3-a808-e09e50201105
Bob, is it possible this is a
file:sandboxing issue? How would we check?
Pretty, sure setting environment variable MOZ_DISABLE_CONTENT_SANDBOX=1 disables for all platforms.
It could be that there is some other (outside of Firefox) process sandbox being used, I guess.
I tend to use the following if I can to avoid setting it permanently:
MOZ_DISABLE_CONTENT_SANDBOX=1 firefox
(Not sure if this works in all/most Linux shells.)
Comment 16•6 years ago
|
||
TBH, I'm pretty lost here at this point. AIUI:
- a clean profile and safe mode don't make any difference (comment #6)
- using a mozilla.org build doesn't help (comment #10) (the crash report is from a manjaro build, AFAICT? The build ID is unknown in buildhub.)
- the crash report is the content process running out of memory (OOM) - but the OOM allocation size is
33,218,887,680 bytes (33.22 GB)according to crash-stats. That seems... wrong? And unless the file in question is actually that big, which seems unlikely... - at some point in the past, emptying all the profile information did fix the problem ?
This combination of things doesn't make a lot of sense. Is test.txt really big? Do other files work? Are you sure when creating a new profile, that you're running with that new profile, not just open more windows in the instance of Firefox that is already open? (You can check by using about:support in the new Firefox instance and confirming it doesn't link to an existing profile)
If you run with mozregression, does the same thing happen (e.g. running mozregression --launch 82) ?
Comment 17•5 years ago
|
||
This looks like a genuine OOM crash. Unfortunately I can't symbolicate it because the package for that version is not available on Manjaro's servers anymore and I cannot find the debug information either. It would be very interesting to know how large the text file is.
Comment 18•5 years ago
|
||
I see that the URL is file:///home/echo/dev/cv/index.html
Can you tell us how large is that file and what it contains?
Comment 19•5 years ago
|
||
Without more information we unfortunately can't do much more here.
Comment 20•11 days ago
|
||
Clearing the needinfo request since this bug has been closed as INCOMPLETE for 5 years, 10 months and 21 days.
For more information, please visit BugBot documentation.
Description
•