gnome-shell sigsegv in meta_input_device_x11_get_current_tool -> meta_device_manager_x11_translate_event -> meta_clutter_backend_x11_translate_event -> meta_x11_handle_event -> handle_host_xevent

Bug #1846403 reported by errors.ubuntu.com bug bridge on 2019-10-02
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Low
Marco Trevisan (Treviño)
Eoan
Low
Marco Trevisan (Treviño)
mutter (Ubuntu)
Undecided
Unassigned
Eoan
Undecided
Unassigned

Bug Description

[ Impact ]

Gnome shell crashes when handling some uncommon X11 events.

[ Test case ]

No real test case has been found yet, so the test should be based on monitoring the automatic-crash reports at https://errors.ubuntu.com/problem/9ed2d0f16e66799f511ef98bc6ad173a078bdc75

[ Regression potential ]

Input events are ignored by gnome-shell

---

The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-shell. This problem was most recently seen with package version 3.34.0-1ubuntu1, the problem page at https://errors.ubuntu.com/problem/9ed2d0f16e66799f511ef98bc6ad173a078bdc75 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Related branches

Download full text (9.0 KiB)

Stacktrace

#0 __GI_raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 0, 16542733922559959296, 94755315541136, 94755398669408}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1 0x0000562df0ec655a in dump_gjs_stack_on_signal_handler ()
No symbol table info available.
#2 <signal handler called>
No locals.
#3 0x00007f1670b9fd09 in meta_input_device_x11_get_current_tool (device=device@entry=0x0) at ../src/backends/x11/meta-input-device-x11.c:290
        device_xi2 = 0x0
#4 0x00007f1670b9e72b in meta_device_manager_x11_translate_event (manager_xi2=<optimized out>, xevent=xevent@entry=0x7ffe7b8e4e10, event=event@entry=0x562e062fd800) at ../src/backends/x11/meta-device-manager-x11.c:1610
        xev = 0x562e02964800
        retval = 0
        backend = <optimized out>
        stage_x11 = 0x562df248f390
        stage = 0x562df247cb50
        device = 0x562df2985050
        source_device = 0x0
        cookie = 0x7ffe7b8e4e10
        xi_event = 0x562e02964800
#5 0x00007f1670b9b225 in meta_clutter_backend_x11_translate_event (backend=<optimized out>, native=0x7ffe7b8e4e10, event=0x562e062fd800) at ../src/backends/x11/meta-clutter-backend-x11.c:139
        backend_x11 = 0x562df24bf020
        device_manager_x11 = <optimized out>
        stage_x11 = <optimized out>
        clutter_backend_class = <optimized out>
#6 0x00007f1670b9ed0c in meta_x11_handle_event (xevent=xevent@entry=0x7ffe7b8e4e10) at ../src/backends/x11/meta-event-x11.c:106
        result = CLUTTER_X11_FILTER_CONTINUE
        backend = 0x562df24bf020
        event = 0x562e062fd800
        spin = 1
        backend_x11 = <optimized out>
        xdisplay = 0x562df2459800
        allocated_event = 0
#7 0x00007f1670b9a2f3 in handle_host_xevent (event=0x7ffe7b8e4e10, backend=0x562df244c130) at ../src/backends/x11/meta-backend-x11.c:387
        x11 = 0x562df244c130
        priv = 0x562df244c000
        bypass_clutter = 0
        display = <optimized out>
        x11 = <optimized out>
        priv = <optimized out>
        bypass_clutter = <optimized out>
        display = <optimized out>
        compositor = <optimized out>
        plugin_mgr = <optimized out>
        xkb_ev = <optimized out>
        layout_group = <optimized out>
        layout_group_changed = <optimized out>
#8 x_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at ../src/backends/x11/meta-backend-x11.c:440
        event = {type = 35, xany = {type = 35, serial = 434968, send_event = 0, display = 0x562df2459800, window = 21474836611}, xkey = {type = 35, serial = 434968, send_event = 0, display = 0x562df2459800, window = 21474836611, root = 192511, subwindow = 94755611887616, time = 51296962, x = 0, y = 3, x_root = 102697351, y_root = 22062, state = 0, keycode = 0, same_screen = 0}, xbutton = {type = 35, serial = 434968, send_event = 0, display = 0x562df2459800, window = 21474836611, root = 192511, subwindow = 94755611887616, time = 51296962, x = 0, y = 3, x_root = 102697351, y_root = 22062, state = 0, button = 0, same_screen = 0},...

Read more...

summary: - /usr/bin/gnome-
- shell:11:meta_input_device_x11_get_current_tool:meta_device_manager_x11_translate_event:meta_clutter_backend_x11_translate_event:meta_x11_handle_event:handle_host_xevent
+ gnome-shell sigsegv in meta_input_device_x11_get_current_tool ->
+ meta_device_manager_x11_translate_event ->
+ meta_clutter_backend_x11_translate_event ->
+ meta_x11_handle_event:handle_host_xevent
summary: gnome-shell sigsegv in meta_input_device_x11_get_current_tool ->
meta_device_manager_x11_translate_event ->
- meta_clutter_backend_x11_translate_event ->
- meta_x11_handle_event:handle_host_xevent
+ meta_clutter_backend_x11_translate_event -> meta_x11_handle_event ->
+ handle_host_xevent
Changed in gnome-shell (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
tags: added: fixed-upstream
tags: added: fixed-in-3.34.2
Iain Lane (laney) on 2019-12-22
Changed in gnome-shell (Ubuntu Eoan):
assignee: nobody → Marco Trevisan (Treviño) (3v1n0)
description: updated
Changed in gnome-shell (Ubuntu Eoan):
status: New → In Progress
importance: Undecided → Low

Hello errors.ubuntu.com, or anyone else affected,

Accepted mutter into eoan-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/mutter/3.34.3-1ubuntu1~19.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-eoan to verification-done-eoan. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-eoan. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in mutter (Ubuntu Eoan):
status: New → Fix Committed
tags: added: verification-needed verification-needed-eoan
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers