Summary: | SIGPIPE, then a crash when the first event loop starts at least 60 seconds after KDevelop launch | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Igor Kushnir <igorkuo> |
Component: | general | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kdevelop/kdevelop/commit/43db1a72dbbe91e231ab7349f202df6a5fb4337c | Version Fixed In: | 5.7.0 |
Attachments: | KDevelop Frame Stack at SIGPIPE |
Description
Igor Kushnir
2020-08-26 18:22:08 UTC
Git commit 43db1a72dbbe91e231ab7349f202df6a5fb4337c by Francis Herne, on behalf of Igor Kushnir. Committed on 02/09/2020 at 22:03. Pushed by flherne into branch 'master'. Don't crash during a slow (>= 60 seconds) startup A quick benchmark shows that the added QCoreApplication::processEvents() call takes the same time - 6 milliseconds - in Debug and Release builds. 6 milliseconds is not a noticeable startup slowdown, especially considering that the event loop does useful work: processes events, which would have to be handled eventually anyway. FIXED-IN: 5.7.0 M +6 -0 app/main.cpp https://invent.kde.org/kdevelop/kdevelop/commit/43db1a72dbbe91e231ab7349f202df6a5fb4337c Git commit efff8affd6416e7c9bf47ac4e690742721b6f17c by Igor Kushnir. Committed on 13/04/2021 at 18:10. Pushed by igorkushnir into branch 'master'. test_gdbprinters: don't crash after running for >= 60 seconds All 27 gdbprinters test cases pass on my computer, but they run for slightly longer than a minute. Thus a regular crash on exit, which ctest reports as an overall test failure. Such a crash during a slow KDevelop startup was worked around in the same way in 43db1a72dbbe91e231ab7349f202df6a5fb4337c. M +5 -0 plugins/gdb/unittests/test_gdbprinters.cpp https://invent.kde.org/kdevelop/kdevelop/commit/efff8affd6416e7c9bf47ac4e690742721b6f17c A possibly relevant merge request was started @ https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/406 Git commit ade5715866fe28f5781a9db68d82bb1d1f96a7e5 by Igor Kushnir. Committed on 27/12/2022 at 09:21. Pushed by igorkushnir into branch 'master'. test_qthelpplugin: don't crash after running for >= 60 seconds All 12 qthelpplugin test cases pass on my computer, but occasionally (when some Qt Help database is updated?) they run for slightly longer than a minute. Thus an occasional crash on exit. Such a crash in test_gdbprinters was worked around in the same way in efff8affd6416e7c9bf47ac4e690742721b6f17c. For some reason the received signal is now SegFault instead of SIGPIPE. M +6 -0 plugins/qthelp/tests/test_qthelpplugin.cpp https://invent.kde.org/kdevelop/kdevelop/commit/ade5715866fe28f5781a9db68d82bb1d1f96a7e5 |