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
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-shell (Ubuntu)
Won't Fix
Low
Marco Trevisan (Treviño)
Eoan
Won't Fix
Low
Marco Trevisan (Treviño)
mutter (Ubuntu)
Fix Released
Undecided
Unassigned
Eoan
Fix Released
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

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
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
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :
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)
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
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

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
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

No crash happening in 3.34.3 according to e.u.c.

So marking it as verified.

tags: added: verification-done verification-done-eoan
removed: verification-needed verification-needed-eoan
Changed in mutter (Ubuntu):
status: New → Fix Released
Changed in gnome-shell (Ubuntu):
status: In Progress → Won't Fix
Changed in gnome-shell (Ubuntu Eoan):
status: In Progress → Won't Fix
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mutter - 3.34.3-1ubuntu1~19.10.1

---------------
mutter (3.34.3-1ubuntu1~19.10.1) eoan; urgency=medium

  * Backport to eoan (LP: #1858683)

mutter (3.34.3-1ubuntu1) focal; urgency=medium

  * Merge with debian. Remaining changes:
    + debian/control:
      - Update VCS flags to point to launchpad
    + debian/gbp.conf: update branch to point to ubuntu/master
    + debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      - X11: Add support for fractional scaling using Randr

mutter (3.34.3-1) unstable; urgency=medium

  * New upstream release
    + Fix window recording on HiDPI
    + Fix top-left pixel being insensitive to clicks (LP: #1849135)

mutter (3.34.2-2ubuntu1) focal; urgency=medium

  * Merge with debian. Remaining changes:
    + debian/control:
      - Update VCS flags to point to launchpad
    + debian/gbp.conf: update branch to point to ubuntu/master
    + debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      - X11: Add support for fractional scaling using Randr

mutter (3.34.2-2) unstable; urgency=medium

  * d/p/EGL-Include-EGL-eglmesaext.h.patch: Cherry pick from master. This
    fixes the generated EGL includes for the move of exlext.h from mesa to
    libglvnd, which has just happened in Debian.

mutter (3.34.2-1ubuntu1) focal; urgency=medium

  * Merge with debian including new upstream version 3.34.2 (LP: #1857037):
    - Fix an hang when using DisplayLink with Wayland (LP: #1853357)
    - Kill window effects on destroy (LP: #1844222)
    - Fixed a crash when using various Java apps such as Intellij (LP: #1845281)
    - Fixed a crash when handling X11 events (LP: #1846403)
    - Fixed some double-scaling in wayland
    - More crash and hang fixes
    Remaining changes:
    + debian/control:
      - Update VCS flags to point to launchpad
    + debian/gbp.conf: update branch to point to ubuntu/master
    + debian/patches/x11-Add-support-for-fractional-scaling-using-Randr.patch:
      - X11: Add support for fractional scaling using Randr

mutter (3.34.2-1) unstable; urgency=medium

  * Team upload
  * New upstream release
    - d/libmutter-5-0.symbols: Update
    - d/copyright: Update
  * d/gbp.conf: Use upstream/3.34.x branch
  * Remove obsolete Lintian override
  * Standards-Version: 4.4.1 (no changes required)
  * d/tests: Use correct compiler for proposed autopkgtest
    cross-architecture testing support

 -- Marco Trevisan (Treviño) <email address hidden> Wed, 08 Jan 2020 13:31:04 +0000

Changed in mutter (Ubuntu Eoan):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for mutter has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.