[Bug 1164633] New: Ksystemlog crashes when closing window via X button in title bar
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 Bug ID: 1164633 Summary: Ksystemlog crashes when closing window via X button in title bar Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: KDE Applications Assignee: opensuse-kde-bugs@opensuse.org Reporter: tmoldt@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 830969 --> http://bugzilla.opensuse.org/attachment.cgi?id=830969&action=edit backtrace SUMMARY Ksystemlog crashes reproducibly when exiting by clicking on the X button in the title bar. Exiting via CTRL-Q works fine. STEPS TO REPRODUCE 1. Start KSystemLog from the menu or via launcher (ALT-F2) 2. Enter credentials for root 3. Exit program by clicking on the X in the title bar 4. Get stacktrace OBSERVED RESULT: Exits with Segmentation fault. EXPECTED RESULT Exits cleanly. SOFTWARE/OS VERSIONS Operating System: openSUSE Leap 15.2 KDE Plasma Version: 5.18.0 KDE Frameworks Version: 5.67.0 Qt Version: 5.12.7 Kernel Version: 5.3.18-lp152.4-default OS Type: 64-bit Processors: 4 × Intel® Core™ i5-2520M CPU @ 2.50GHz Memory: 3,7 GiB $ ksystemlog --version ksystemlog 19.12.1 ADDITIONAL INFORMATION This bug was reported upstream: https://bugs.kde.org/show_bug.cgi?id=409375 Full stack trace with debugging symbols is attached. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c6 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wbauer@tmo.at --- Comment #6 from Wolfgang Bauer <wbauer@tmo.at> --- For the record, the crash only seems to happen if there's more than one tab open when you close the window. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c7 --- Comment #7 from John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> --- (In reply to Wolfgang Bauer from comment #6)
For the record, the crash only seems to happen if there's more than one tab open when you close the window.
Indeed. With multiple tabs, it reproduces on Tumbleweed as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c8 --- Comment #8 from Wolfgang Bauer <wbauer@tmo.at> --- And I suspect that Leap 15.1 is affected by this as well (although I haven't tried it yet). The upstream bug report is filed against ksystemlog 18.04, and it mentions that it's reproducible with 16.08.3 and 17.08.3 as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c10 --- Comment #10 from Wolfgang Bauer <wbauer@tmo.at> --- (In reply to Thomas Moldt from comment #9)
This is very odd. Ksystemlog crashes for me when clicking the X button in the title bar, regardless of the number of open tabs in the application. But it is the same crash (i.e. same backtrace), I suppose?
From what I can see in the backtrace, it apparently tries to access widgets that no longer exist, likely because the window is already closed at that point (that likely also explains why it doesn't crash when you quit it via the menu or keyboard shortcut, the window is probably closed later then).
As this apparently is a timing issue, the exact behavior may be different on different systems, maybe the existance of several tabs just makes the crash more reliable... (just a guess though) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c11 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tmoldt@gmail.com Flags| |needinfo?(tmoldt@gmail.com) --- Comment #11 from Wolfgang Bauer <wbauer@tmo.at> --- Please try if the package from here fixes the crash for you: https://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Ap... I added a patch that successfully avoids the crash here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c12 --- Comment #12 from Thomas Moldt <tmoldt@gmail.com> --- Yeah, no crash with this version of the package. Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c13 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS Flags|needinfo?(tmoldt@gmail.com) | --- Comment #13 from Wolfgang Bauer <wbauer@tmo.at> --- Thank you for confirming! I'll take care of pushing the fix into the distribution then. (and to upstream) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633 http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c16 Wolfgang Bauer <wbauer@tmo.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #16 from Wolfgang Bauer <wbauer@tmo.at> --- The fix was accepted to Leap 15.2 meanwhile, so it should be fixed in the next snapshot. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com