Closed
Bug 1385693
Opened 7 years ago
Closed 3 years ago
firefox crashes when saving a file if glib is compiled with --enable-gc-friendly.
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: ht990332, Unassigned)
References
Details
(Whiteboard: glib, enable-gc-friendly)
Attachments
(1 file)
96.61 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/604.1 (KHTML, like Gecko) Version/11.0 Safari/604.1 Epiphany/3.24.3 Steps to reproduce: Firefox crashes when using the gtk3 file chooser. To reproduce, you need gtk3 3.22.17 and glib 2.53.x (I use 2.53.4). Note: This only happens in firefox. epiphany browser, libreoffice, and native gtk3 applications do not crash. I am using official mozilla build. Actual results: I am attaching the backtrace.
Reporter | ||
Comment 1•7 years ago
|
||
temporary copy with syntax highlighting https://paste.gnome.org/psbmdcotx
Severity: normal → critical
Component: Untriaged → Widget: Gtk
OS: Unspecified → Linux
Product: Firefox → Core
Reporter | ||
Comment 2•7 years ago
|
||
Sorry for the noise. This was something I missed up locally in glib. It's not a glib or firefox bug.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Reporter | ||
Comment 3•7 years ago
|
||
Reopening: I found out how to easily reproduce.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Summary: firefox crashes when saving a file → firefox crashes when saving a file if glib is compiled with --enable-gc-friendly.
Would you provide the steps to reproduce this? Thank you.
Reporter | ||
Comment 5•7 years ago
|
||
Sure. - Compile glib 2.54 with -g cflag (-g enables a debug build) and --enable-gc-friendly ./configure option. - Open firefox and some website such as https://bugzilla.mozilla.org/show_bug.cgi?id=1385693 - Press ctrl-s on your keyboard and notice the frozen gtk+ file dialog. - wait a few seconds and firefox crashes. Native gtk+ applications can still use the file dialog just fine. Only Firefox breaks. Now remove the --enable-gc-friendly ./configure option in glib and firefox does not crash anymore.
Reporter | ||
Updated•7 years ago
|
Flags: needinfo?(me)
Tracy, let me know what you want to do with this? Is this now a build config bug on other platforms?
Flags: needinfo?(twalker)
Keywords: steps-wanted
Reporter | ||
Comment 7•7 years ago
|
||
It is probably related to how Firefox uses the native gtk+ file chooser dialog. Gtk+ pulls in glib/gio.
Updated•7 years ago
|
Flags: needinfo?(twalker)
Priority: -- → P2
Whiteboard: glib, enable-gc-friendly
Comment 8•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s). See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Comment 9•3 years ago
|
||
Hey Hussam,
Can you still reproduce this issue or should we close it?
Flags: needinfo?(ht990332)
Reporter | ||
Comment 10•3 years ago
|
||
(In reply to Andrei Purice from comment #9)
Hey Hussam,
Can you still reproduce this issue or should we close it?
You can close it since the GC friendly option is gone in glib when they ported away from autotools.
Flags: needinfo?(ht990332)
Updated•3 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago → 3 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•