Closed
Bug 1296935
Opened 9 years ago
Closed 7 years ago
[gtk2] segmentation on startup with non-local X11 display or display "owned" by another user
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ametzler, Unassigned)
Details
(Whiteboard: tpi:-)
Attachments
(1 file)
93.54 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160807230315
Steps to reproduce:
firefox 49,0 beta 1 segfaults at startup when $DISPLAY is not "owned" by the user running firefox. This shows up e.g. when running through ssh adifferentuser@localhost or with su - and
manual setting of DISPLAY and XAUTHORITY.
At the time of crash a "Firefox Update" window is open, the main browser window does not show.
gdb backtrace (with MOZILLA_DISABLE_PLUGINS=1) attached.
This is not present in 48.0 and was found by running the package in Debian/experimental. https://packages.debian.org/source/experimental/firefox on amd64.
See http://bugs.debian.org/834995
Actual results:
Segmentation fault at _cairo_user_data_array_fini (array=0x7fffd53e5b50)
Expected results:
Should run.
Reporter | ||
Updated•9 years ago
|
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Comment 1•9 years ago
|
||
Please try to reproduce with a mozilla.org build, for 2 reasons:
- mozilla.org builds are using Gtk+3, Debian builds are still using Gtk+2
- mozilla.org builds will provide a crash report.
Reporter | ||
Comment 2•9 years ago
|
||
firefox-49.0b4.tar.bz2 seems to run.
Comment 3•9 years ago
|
||
Would you mind trying with a rebuild of the Debian package with GTK3=1 set in the environment?
Comment 4•9 years ago
|
||
I attempted to reproduce this on Xubuntu 16.04, but I could not. I first ran "sudo -i" so I was running as root, a different user than the user who owned the X display. I then ran both these versions from the command line:
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0
Build ID: 20160728203720 (the distribution version)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160825132718 (49.0, beta 7, Mozilla build)
Neither resulted in a seg fault.
Reporter | ||
Comment 5•9 years ago
|
||
(In reply to Ron Bentley [:rtb] from comment #4)
> I attempted to reproduce this on Xubuntu 16.04, but I could not. I first
> ran "sudo -i" so I was running as root, a different user than the user who
> owned the X display. I then ran both these versions from the command line:
>
> User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:48.0) Gecko/20100101
> Firefox/48.0
> Build ID: 20160728203720 (the distribution version)
>
> User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:49.0) Gecko/20100101
> Firefox/49.0
> Build ID: 20160825132718 (49.0, beta 7, Mozilla build)
>
> Neither resulted in a seg fault.
Could you please try with a regular different user? Running as superuser might not show the issue.
Reporter | ||
Comment 6•9 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #3)
> Would you mind trying with a rebuild of the Debian package with GTK3=1 set
> in the environment?
I have just done that (after installing libgtk-3-dev). The GTK3=1 rebuild does not segfault.
Updated•9 years ago
|
Summary: segmentation on startup with non-local X11 display or display "owned" by another user → [gtk2] segmentation on startup with non-local X11 display or display "owned" by another user
Updated•9 years ago
|
Component: Untriaged → Widget: Gtk
Product: Firefox → Core
![]() |
||
Updated•9 years ago
|
Whiteboard: tpi:-
Updated•9 years ago
|
Priority: -- → P5
![]() |
||
Comment 7•7 years ago
|
||
Closing GTK2 related bugs since we removed GTK2 support at the beginning of 2018 in bug 1278282. Probably best to open a new bug in the unlikely event that any of these are still relevant.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•