Bug 1792637 - [abrt] gnome-session: __strcmp_avx2(): gnome-session-binary killed by SIGSEGV
Summary: [abrt] gnome-session: __strcmp_avx2(): gnome-session-binary killed by SIGSEGV
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-session
Version: 32
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a0c1896f69bf939f97e55cdf71c...
: 1793625 (view as bug list)
Depends On:
Blocks: F32BetaBlocker F32BetaFreezeException
TreeView+ depends on / blocked
 
Reported: 2020-01-18 17:43 UTC by trr
Modified: 2020-03-17 07:11 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-08 06:31:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (45.79 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: core_backtrace (12.35 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: cpuinfo (2.50 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: dso_list (6.85 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: environ (1.22 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: exploitable (82 bytes, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: limits (1.29 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: maps (44.82 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: mountinfo (2.49 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: open_fds (1.18 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
File: proc_pid_status (1.33 KB, text/plain)
2020-01-18 17:43 UTC, trr
no flags Details
dbus log just before the crash (3.01 KB, text/plain)
2020-01-28 16:51 UTC, Ritesh Khadgaray
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME/gnome-session/issues/47 0 None None None 2020-01-19 21:39:18 UTC

Description trr 2020-01-18 17:43:28 UTC
Description of problem:
Just detach and attach again mouse, keyboard or bluetooth heaphones...

Version-Release number of selected component:
gnome-session-3.35.3-1.fc32

Additional info:
reporter:       libreport-2.11.3
backtrace_rating: 4
cgroup:         0::/user.slice/user-1002.slice/user/gnome\x2dsession\x2dmanager.slice/gnome-session-manager
cmdline:        /usr/libexec/gnome-session-binary --systemd-service --session=gnome
crash_function: __strcmp_avx2
executable:     /usr/libexec/gnome-session-binary
journald_cursor: s=15db3b4213e7481e949c0c6d133afd7a;i=bc59;b=e9a168642e0f4f5d9f5d6c30fe5f58c3;m=2f422c96;t=59c6c47ab041a;x=b06f7a0916095fbc
kernel:         5.5.0-0.rc6.git2.2.fc32.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1002

Truncated backtrace:
Thread no. 1 (3 frames)
 #0 __strcmp_avx2 at ../sysdeps/x86_64/multiarch/strcmp-avx2.S:101
 #1 g_str_equal at ../glib/ghash.c:2287
 #2 on_object_added at ../libgnome-desktop/gnome-idle-monitor.c:207

Comment 1 trr 2020-01-18 17:43:32 UTC
Created attachment 1653412 [details]
File: backtrace

Comment 2 trr 2020-01-18 17:43:33 UTC
Created attachment 1653413 [details]
File: core_backtrace

Comment 3 trr 2020-01-18 17:43:35 UTC
Created attachment 1653414 [details]
File: cpuinfo

Comment 4 trr 2020-01-18 17:43:36 UTC
Created attachment 1653415 [details]
File: dso_list

Comment 5 trr 2020-01-18 17:43:37 UTC
Created attachment 1653416 [details]
File: environ

Comment 6 trr 2020-01-18 17:43:39 UTC
Created attachment 1653417 [details]
File: exploitable

Comment 7 trr 2020-01-18 17:43:40 UTC
Created attachment 1653418 [details]
File: limits

Comment 8 trr 2020-01-18 17:43:42 UTC
Created attachment 1653419 [details]
File: maps

Comment 9 trr 2020-01-18 17:43:43 UTC
Created attachment 1653420 [details]
File: mountinfo

Comment 10 trr 2020-01-18 17:43:44 UTC
Created attachment 1653421 [details]
File: open_fds

Comment 11 trr 2020-01-18 17:43:46 UTC
Created attachment 1653422 [details]
File: proc_pid_status

Comment 12 Mikhail 2020-01-19 21:28:04 UTC
Similar problem has been detected:

gnome-session crashes every time when connected devices such as mouse, keyboard, bluetooth headset, video capture card.

reporter:       libreport-2.11.3
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/gnome\x2dsession\x2dmanager.slice/gnome-session-manager
cmdline:        /usr/libexec/gnome-session-binary --systemd-service --session=gnome
crash_function: __strcmp_avx2
executable:     /usr/libexec/gnome-session-binary
journald_cursor: s=834dde1828fa4584b63fb4b08b4715c4;i=15460;b=1e41d450aeba4dd1ba986924bfad4fca;m=9fdd17dc9;t=59c664a934ea2;x=8b1af273e5f273ff
kernel:         5.5.0-0.rc6.git2.2.fc32.x86_64
package:        gnome-session-3.35.3-1.fc32
reason:         gnome-session-binary killed by SIGSEGV
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 13 Mikhail 2020-01-19 22:39:17 UTC
Last gnome-session version which not affected by this issue:
# rpm -q gnome-session
gnome-session-3.34.2-2.fc32.x86_64

Comment 14 Fedora Blocker Bugs Application 2020-01-19 22:42:17 UTC
Proposed as a Blocker and Freeze Exception for 32-beta by Fedora user mikhail using the blocker tracking app because:

 Because block base functionality (user couldn't plug new devices + couldn't wake up monitor after sleeping)

Comment 15 Mikhail 2020-01-19 22:46:10 UTC
Also with gnome-session-3.35.3-1.fc32 I couldn't wake up monitor after sleeping.
In system log I see message:
gnome-shell[13023]: Failed to DPMS: Failed to set connector 63 property 2: Invalid argument

Comment 16 Adam Williamson 2020-01-20 11:13:58 UTC
Mikhail, it's awkward for a private bug to be a proposed/accepted blocker as only RH folks can see it. trr, could you check whether there is really any private information in the attachments, and possibly change the bug to public? Note you can mark individual attachments (instead of the whole bug) as private. Thanks!

Comment 17 trr 2020-01-20 12:01:23 UTC
Sorry, I can not unselect fedora_contrib_private from Groups.

Comment 18 Ritesh Khadgaray 2020-01-21 17:21:15 UTC
*** Bug 1793625 has been marked as a duplicate of this bug. ***

Comment 19 trr 2020-01-27 07:51:12 UTC
Status changed to public.

Comment 20 trr 2020-01-27 07:51:39 UTC
Status changed to public.

Comment 21 Ritesh Khadgaray 2020-01-27 18:49:50 UTC
monitor->priv->path is NULL. a quick hack around this,


    $ vim gnome-desktop-3.35.4/libgnome-desktop/gnome-idle-monitor.c
    200 static void
    201 on_object_added (GDBusObjectManager     *manager,
    202                  GDBusObject            *object,
    203                  gpointer                user_data)
    204 {
    205         GnomeIdleMonitor *monitor = user_data;
    206 
    207         if (monitor->priv->path == NULL || !g_str_equal (monitor->priv->path, g_dbus_object_get_object_path (object)))
    208                 return;


From dbus-monitor, not sure if this is related

        signal time=1580149987.410405 sender=org.freedesktop.DBus -> destination=:1.55 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
           string "org.gnome.SettingsDaemon.Power"
        signal time=1580149987.410436 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
           string "org.gnome.SettingsDaemon.Power"
           string ":1.55"
           string ""
        signal time=1580149987.410455 sender=org.freedesktop.DBus -> destination=:1.55 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost
           string ":1.55"
        signal time=1580149987.410465 sender=org.freedesktop.DBus -> destination=(null destination) serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
           string ":1.55"
           string ":1.55"
           string ""

Comment 22 Ritesh Khadgaray 2020-01-28 16:51:56 UTC
Created attachment 1656053 [details]
dbus log just before the crash

Comment 23 Ben Cotton 2020-02-11 17:24:10 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle.
Changing version to 32.

Comment 24 Adam Williamson 2020-03-07 18:09:39 UTC
I am not sure why we haven't discussed this bug in any blocker review meetings yet. Reporters, is it still happening with GNOME 3.35.92? Thanks!

Comment 25 trr 2020-03-08 06:31:34 UTC
Seems, problem is solved (at least in GNOME Shell 3.35.92).


Note You need to log in before you can comment on or make changes to this bug.