Closed
Bug 1431049
Opened 6 years ago
Closed 6 years ago
[Wayland] Crash when there is no keyboard
Categories
(Core :: Widget: Gtk, defect, P3)
Core
Widget: Gtk
Tracking
()
RESOLVED
FIXED
mozilla60
Tracking | Status | |
---|---|---|
firefox60 | --- | fixed |
People
(Reporter: stransky, Assigned: stransky)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
3.94 KB,
patch
|
Details | Diff | Splinter Review | |
59 bytes,
text/x-review-board-request
|
jhorak
:
review+
|
Details |
Downstream report: https://bugzilla.redhat.com/show_bug.cgi?id=1505745 By Takuro Ashie: I found an issue that some uninitialized variable are used in nsClipboardWayland.cpp of Firefox on Wayland. It will causes crash when no keyboard presents. Please see the attached patch for more detail. The crash is reproduced on my embedded board but not confirmed on Fedora yet.
Assignee | ||
Comment 1•6 years ago
|
||
Updated•6 years ago
|
Priority: -- → P3
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8943890 [details] Bug 1431049 - don't crash when keyboard is not present, based on patch by Takuro Ashie. https://reviewboard.mozilla.org/r/214250/#review220178 ::: widget/gtk/nsClipboardWayland.cpp:295 (Diff revision 1) > static auto sGdkWaylandDisplayGetWlDisplay = > (wl_display *(*)(GdkDisplay *)) > dlsym(RTLD_DEFAULT, "gdk_wayland_display_get_wl_display"); > > mDisplay = sGdkWaylandDisplayGetWlDisplay(gdk_display_get_default()); > wl_registry_add_listener(wl_display_get_registry(mDisplay), Please emphatize how mSeat is initialized (since it is set to nullptr in the constructor) and what's the purpse of double call of wl_display_roundtrip.
Attachment #8943890 -
Flags: review?(jhorak) → review+
Comment hidden (mozreview-request) |
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/f821cb905c0b don't crash when keyboard is not present, based on patch by Takuro Ashie. r=jhorak
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f821cb905c0b
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox60:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in
before you can comment on or make changes to this bug.
Description
•