[Bug 1030828] New: systemd-coredump[20814]: Process 20787 (gnome-shell) of user 1000 dumped core.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 Bug ID: 1030828 Summary: systemd-coredump[20814]: Process 20787 (gnome-shell) of user 1000 dumped core. Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: x86-64 OS: openSUSE 42.2 Status: NEW Severity: Critical Priority: P5 - None Component: GNOME Assignee: bnc-team-gnome@forge.provo.novell.com Reporter: Ulrich.Windl@rz.uni-regensburg.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I had cleanly unmountzed an USB memory stick via file manager, then unplugged it. After that I noticed that the system is unresponsive. Soon after window decorations vanished from my windows, and CPU load was very high (seeing three systemd-coredump processes taking 100% CPU each). Then the whole GNOME session was aborted. I needed two attempts to reestablish a new GNOME session. Unfortunately there are no good logs, and I couldn't find the cores. gnome-shell-3.20.4-8.1.x86_64 Mar 24 09:24:26 pc packagekitd[21536]: (packagekitd:21536): GLib-CRITICAL **: Source ID 15 was not found when attempting to remove it Mar 24 09:24:30 pc dbus[1340]: [system] Failed to activate service 'org.bluez': timed out Mar 24 09:24:30 pc pulseaudio[21504]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Mar 24 09:24:31 pc systemd-coredump[20814]: Process 20787 (gnome-shell) of user 1000 dumped core. ## I started to investigate: Mar 24 09:24:32 pc login[1397]: pam_unix(login:session): session opened for user root by LOGIN(uid=0) Mar 24 09:25:20 pcrz00066 systemd-coredump[21355]: Process 21145 (gnome-shell) of user 1000 dumped core. Mar 24 09:26:20 pcrz00066 systemd-coredump[21408]: Process 21356 (gnome-shell) of user 1000 dumped core. Mar 24 09:27:49 pcrz00066 systemd-coredump[20783]: Process 2665 (gnome-shell) of user 1000 dumped core. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c1 --- Comment #1 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- s/pcrz00066/pc/ in the last three log lines, of course ;-) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c2 Fred Blaise <fred.blaise@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fred.blaise@gmail.com --- Comment #2 from Fred Blaise <fred.blaise@gmail.com> --- I have the same issue on tumbleweed (latest as per this comment). It happens very often, looks like it'd be almost at regular intervals. Jul 27 10:34:01 gimli kernel: traps: gnome-shell[6651] general protection ip:7fa2e29998fe sp:7ffc649a77f0 error:0 in libmozjs-38.so[7fa2e2577000+137c000] Jul 27 10:34:01 gimli systemd[1]: Started Process Core Dump (PID 11201/UID 0). Jul 27 10:34:01 gimli systemd-coredump[11202]: Resource limits disable core dumping for process 6651 (gnome-shell). Jul 27 10:34:01 gimli systemd-coredump[11202]: Process 6651 (gnome-shell) of user 1000 dumped core. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c3 --- Comment #3 from Fred Blaise <fred.blaise@gmail.com> --- And it my case, I have nothing to do. It just happens if doing nothing. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c4 Fred Blaise <fred.blaise@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Component|GNOME |GNOME Version|Leap 42.2 |Current Product|openSUSE Distribution |openSUSE Tumbleweed Target Milestone|--- |Current Severity|Critical |Major --- Comment #4 from Fred Blaise <fred.blaise@gmail.com> --- Bumping product to Tumbleweed to hopefully gain a bit of visiblity and have that bug triaged. This bug is super annoying. Will try to get a proper backtrace. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c5 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimstar@opensuse.org --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Fred Blaise from comment #4)
Bumping product to Tumbleweed to hopefully gain a bit of visiblity and have that bug triaged. This bug is super annoying.
does it HAPPEN in Tumbleweed? Otherwise you gan exactly the opposite of what you actually want.. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 - Medium |P5 - None -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c6 --- Comment #6 from Fred Blaise <fred.blaise@gmail.com> --- Yes it does, again just 20s ago, after a fresh restart... and I am going to get it every 5mn doing nothing special. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c7 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo? --- Comment #7 from Dominique Leuenberger <dimstar@opensuse.org> --- (In reply to Fred Blaise from comment #6)
Yes it does, again just 20s ago, after a fresh restart... and I am going to get it every 5mn doing nothing special.
Interesting - there are two GNOME releases difference (3.20 in Leap vs 3.24 in TW) Please extract a backtrace: coredumpctl gdb gnome-shell it will likely tell you to install missing debuginfo packagges - do so, to get a useful trace at the (gdb) prompt, type: thread apply all bt full (eedinfo set - waiting for backtrace) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c8 --- Comment #8 from Fred Blaise <fred.blaise@gmail.com> --- Thanks. I've been trying to get it... but apparently, systemd is still telling me it can't coredump because of limited resources, despite having this in limits.conf (and even a full reboot): * soft core unlimited * hard core unlimited Running your command as-is gives me this output. To be noted that nothing shows up in "coredumpctl list". sudo coredumpctl gdb gnome-shell PID: 9555 (gnome-shell) UID: 1000 (fblaise) GID: 100 (users) Signal: 11 (SEGV) Timestamp: Thu 2017-07-27 11:13:04 CEST (2min 22s ago) Command Line: /usr/bin/gnome-shell Executable: /usr/bin/gnome-shell Control Group: /user.slice/user-1000.slice/session-1.scope Unit: session-1.scope Slice: user-1000.slice Session: 1 Owner UID: 1000 (fblaise) Boot ID: 3cf8c8daf6da4996ab3f2a8478489132 Machine ID: 30ea28100486a6a2e8e4bd2258b1bb01 Hostname: gimli Storage: none Message: Process 9555 (gnome-shell) of user 1000 dumped core. Coredump entry has no core attached (neither internally in the journal nor externally on disk). If I try to gdb to the actual running process such as: gdb -p [one-of-gnome-shell-pid] I have to get to another tty to kill gdb, as it freezes my entire desktop. So I am currently down to try to demistify coredumps with systemd... sorry, it's been a while since I had to troubleshoot anything. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c9 Atri Bhattacharya <badshah400@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |badshah400@gmail.com --- Comment #9 from Atri Bhattacharya <badshah400@gmail.com> --- Fred and/or Ulrich, do you have any extensions installed? I know of at least one that causes the occasional crash and reload of gnome-shell leaving a coredump behind, namely the "Random Wallpaper" extension. But there may be others. Does starting with all extensions disabled (e.g. from gnome-tweak-tool -> Extensions) help? -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c10 --- Comment #10 from Fred Blaise <fred.blaise@gmail.com> --- Hey Atri, Good point. Yes, I had 4: * Clipboard indicator * Dash to panel * kstatusnotifieritem/appindicator support * System monitor I just disabled them all. It looks much more stable. I am going to re-enable them 1 by 1 to see. Also -- and for the purpose of helping debugging this -- any idea why systemd-coredump is not taking gnome-shell dump? (Any good pointers appreciated.. found a few, but I still couldn't make it take a dump for this big process) Jul 27 10:34:01 gimli systemd-coredump[11202]: Resource limits disable core dumping for process 6651 (gnome-shell). The process is less than 3G, so I up'ed /etc/systemd/coredump.conf such as: [Coredump] Storage=external Compress=yes ProcessSizeMax=4G ExternalSizeMax=4G JournalSizeMax=767M #MaxUse= #KeepFree= It does work for some other processes: $ coredumpctl list [...] Mon 2017-06-19 22:39:08 CEST 8830 1000 100 6 missing /usr/bin/kglobalaccel5 Sat 2017-06-24 12:55:47 CEST 15789 1000 100 6 missing /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess Thu 2017-07-06 00:23:22 CEST 2029 1000 100 5 missing /usr/lib/evolution/evolution-alarm-notify Thu 2017-07-06 00:23:25 CEST 26310 1000 100 11 missing /opt/google/chrome/chrome Thu 2017-07-13 19:23:06 CEST 31693 1000 100 11 missing /usr/bin/kdenlive [...] Thanks all for the help. Cheers, fred -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c11 --- Comment #11 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- (In reply to Atri Bhattacharya from comment #9)
Fred and/or Ulrich, do you have any extensions installed?
How do I list such? -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c12 --- Comment #12 from Atri Bhattacharya <badshah400@gmail.com> --- (In reply to Ulrich Windl from comment #11)
(In reply to Atri Bhattacharya from comment #9)
Fred and/or Ulrich, do you have any extensions installed?
How do I list such?
Open gnome-tweak-tool and go to the Extensions tab, all installed extensions should be listed there. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c13 --- Comment #13 from Atri Bhattacharya <badshah400@gmail.com> --- (In reply to Fred Blaise from comment #10)
Hey Atri,
Good point.
Yes, I had 4: * Clipboard indicator * Dash to panel * kstatusnotifieritem/appindicator support * System monitor
I just disabled them all. It looks much more stable. I am going to re-enable them 1 by 1 to see.
Also -- and for the purpose of helping debugging this -- any idea why systemd-coredump is not taking gnome-shell dump? (Any good pointers appreciated.. found a few, but I still couldn't make it take a dump for this big process)
Jul 27 10:34:01 gimli systemd-coredump[11202]: Resource limits disable core dumping for process 6651 (gnome-shell).
The process is less than 3G, so I up'ed /etc/systemd/coredump.conf such as:
[Coredump] Storage=external Compress=yes ProcessSizeMax=4G ExternalSizeMax=4G JournalSizeMax=767M #MaxUse= #KeepFree=
It does work for some other processes:
$ coredumpctl list [...] Mon 2017-06-19 22:39:08 CEST 8830 1000 100 6 missing /usr/bin/kglobalaccel5 Sat 2017-06-24 12:55:47 CEST 15789 1000 100 6 missing /usr/lib/evolution-data-server/evolution-calendar-factory-subprocess Thu 2017-07-06 00:23:22 CEST 2029 1000 100 5 missing /usr/lib/evolution/evolution-alarm-notify Thu 2017-07-06 00:23:25 CEST 26310 1000 100 11 missing /opt/google/chrome/chrome Thu 2017-07-13 19:23:06 CEST 31693 1000 100 11 missing /usr/bin/kdenlive [...]
Thanks all for the help. Cheers, fred
Hey Fred, Sorry, I have no idea why this is not working in your case. On my system, it just works, I haven't had to modify any configuration from the default TW installation to get this working. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c14 --- Comment #14 from Fred Blaise <fred.blaise@gmail.com> --- That's ok, I'll eventually figure it out ;-) So the culprit for me is the "system monitor" extension. Once disabled, it is not crashing anymore. (https://extensions.gnome.org/extension/1064/system-monitor/) As far as I am concerned, this is not a bug then. Thanks! Best, fred -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 http://bugzilla.opensuse.org/show_bug.cgi?id=1030828#c15 --- Comment #15 from Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> --- Created attachment 735108 --> http://bugzilla.opensuse.org/attachment.cgi?id=735108&action=edit Screen shot showing GNOME Shell Extensions In reply to comment 11 (sorry for the delay): I have no extensions being used, it seems. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1030828 Ulrich Windl <Ulrich.Windl@rz.uni-regensburg.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #735108|Screen shot showing GNOME |Screen shot showing GNOME description|Shell Extensions |Shell Extensions (Mostly | |German) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com