[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
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
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
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c10
--- Comment #10 from Wolfgang Bauer
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
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c12
--- Comment #12 from Thomas Moldt
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c13
Wolfgang Bauer
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633
http://bugzilla.opensuse.org/show_bug.cgi?id=1164633#c16
Wolfgang Bauer
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com