Firefox crashes on windows when pasting with an empty clipboard
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
People
(Reporter: pixartist.de, Unassigned)
Details
Attachments
(1 file)
|
8.09 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Steps to reproduce:
- Have an empty clipboard
- Paste into the firefox address bar
Actual results:
Firefox crashes (This application does not respond...)
Expected results:
Nothing
PS: No crash report file is generated, it's a hard crash and it's reproducable.
Comment 1•5 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•5 years ago
|
||
I'm not able to reproduce this. I'm using Firefox 88.0.1 on Windows 10. Could you describe what you mean by an empty clipboard? If the clipboard is truly empty, then the paste command is disabled, so pressing Ctrl+V doesn't do anything, and opening the context menu shows that the Paste command is disabled. When I press Ctrl+V in this state, nothing happens, as expected.
Or do you mean that the clipboard has a string that only contains spaces or line feeds or carriage returns? I tried different strings but couldn't get it to crash.
If there are any concrete steps to reproduce the problem that you left out, please comment on them. Please also try reproducing the problem in safe mode and a new profile.
https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode?redirectslug=troubleshoot-firefox-issues-using-safe-mode&redirectlocale=en-US
https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
| Reporter | ||
Comment 3•5 years ago
|
||
I think there might be a state in windows where the clipboard is technically empty but essentially contains zero text. Some programs allow copying of no characters. Windows clipboard view still shows no data in the clipboard and pasting in other applications did not do anything, but firefox still crashes. I am trying to reproduce this currently with no success but I have had this issue many times before. I will try to find a way today and if I do I will post it here.
| Reporter | ||
Comment 4•5 years ago
|
||
PS: I realized I forgot to mention, pasting into ANY text field in firefox (also in websites) crashed the browser. Pasting into other applications did not do anything.
| Reporter | ||
Comment 5•5 years ago
|
||
I could not yet reproduce this, but it did occur multiple times in the past for me. Maybe somebody else has had this issue as well?
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Updated•5 years ago
|
| Reporter | ||
Comment 6•5 years ago
|
||
Still did not happen again, I will keep this ticket in a tab, as soon as I can reproduce it I will update the ticket.
| Reporter | ||
Comment 7•5 years ago
|
||
This was the content of my clipboard when I could reproduce this bug. Not sure ehat exactly it means but I could not restore it via "windows+v" as it was not logged by windows as "official" clipboard content. I have no clue how it got into my clipboard but pasting this into firefox immidiately crashes the entire application.
Hi pixartist.de,
In order to investigate this bug, I opened a txt document in Windows 10, typed some spaces and then copied it in Firefox browser. But I was unable to reproduce the issue reported.
As per your last comment it seems the issue is no longer reproducible on your end. I'll mark this bug as Resolved - Works for me in the meantime, but please feel free to reopen it in case you can reproduce it again. If you do, a screen-recording or more specific info (like steps to reproduce) will be very useful.
Thanks and regards,
Virginia
Comment 9•5 years ago
|
||
Thanks Virginia, but let's keep this open for now -- pixartist says it happens intermittently, and the screenshot might be helpful.
I'll reopen this and move it to Core :: DOM: Editor since it's reproduceable in every text field in Firefox. I'm not sure if DOM: Editor is the right component ultimately but hopefully someone there can triage it further.
Comment 10•5 years ago
|
||
Some steps to reproduce here would be super useful.
Comment 11•5 years ago
|
||
reporter, do you happen to have crash reports for this issue?
See page about:crashes
If there are some which are related, could you paste the url here?
Couldn't reproduce this on Ubuntu with $ echo -n "" | xclip -t text/plain to mimic the behavior. Might be Windows-specific.
pixartist.de: did this occur again?
| Reporter | ||
Comment 13•4 years ago
|
||
Error did not occur for a while now, I have a suspicion that it was a windows bug with corruped data in the clipboard.
(In reply to pixartist.de from comment #13)
Error did not occur for a while now, I have a suspicion that it was a windows bug with corruped data in the clipboard.
Firefox should gracefully handle also corrupted data. I'll close this issue since it didn't reoccur.
Feel free to reopen it, if it occurs again.
Description
•