Closed
Bug 1346789
Opened 9 years ago
Closed 9 years ago
Firefox 52 on Linux crashes if the LOGNAME environment variable is undefined
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1345413
People
(Reporter: jason.lander2, Unassigned)
Details
(Keywords: crash)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Build ID: 20170303012758
Steps to reproduce:
The simplest way to reproduce the issue is to run...
env -u LOGNAME firefox
on an Ubuntu 14.04 or 16.04 system.
Attaching GDB suggests the fault is in /usr/lib/firefox/libxul.so and is associated with passing a null pointer.
0x00007fffe8699280 in nsCharTraits<char>::length (aStr=0x0) at /build/firefox-ZQQBpC/firefox-52.0+build2/xpcom/string/nsCharTraits.h:498
Actual results:
The firefox crash dialogue appears
Expected results:
Firefox should have started.
Comment 1•9 years ago
|
||
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
I have tested this issue on Ubuntu 16.04 x64 with the latest Firefox release (52.0) and managed to reproduce it.
When running the "env -u LOGNAME firefox" command in the terminal, the firefox crash dialog appears:
Here is the crash report:
https://crash-stats.mozilla.com/report/index/3095ee14-495a-4fb5-9d79-410272170316
Taking in consideration the crash report and the bug mentioned there, will mark this as a duplicate of bug 1345413.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•