| Summary: | Drkonqi crashes while generating the backtrace | ||
|---|---|---|---|
| Product: | [Applications] drkonqi | Reporter: | Patrick Silva <bugseforuns> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | mlggotoro, sitter |
| Priority: | NOR | ||
| Version First Reported In: | master | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/drkonqi/-/commit/1011f4addc90459e110eaa3f59d2f18ec0cde0fc | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2024-04-17 10:42:12 UTC
The relevant line
m_proc->deleteLater();
I am not sure how m_proc can be 0x0 though. It's where this signal originates 🤷
A possibly relevant merge request was started @ https://invent.kde.org/plasma/drkonqi/-/merge_requests/234 Git commit 8f4a57a6626d6fbc801a049d9ddcab5ff81b98b2 by Harald Sitter. Committed on 03/05/2024 at 11:35. Pushed by sitter into branch 'master'. backtracegenerator: don't crash when the debugger crashes when the debugger crashes slotOnErrorOccurred runs before slotProcessExited and causes the latter to trip over the since-nullpointered members. instead guard the delete operations against nullptrs. this is done in both functions to increase reliablity even though technically it's only needed in slotProcessExited M +16 -8 src/backtracegenerator.cpp https://invent.kde.org/plasma/drkonqi/-/commit/8f4a57a6626d6fbc801a049d9ddcab5ff81b98b2 Git commit 1011f4addc90459e110eaa3f59d2f18ec0cde0fc by Harald Sitter. Committed on 03/05/2024 at 11:38. Pushed by sitter into branch 'Plasma/6.0'. backtracegenerator: don't crash when the debugger crashes when the debugger crashes slotOnErrorOccurred runs before slotProcessExited and causes the latter to trip over the since-nullpointered members. instead guard the delete operations against nullptrs. this is done in both functions to increase reliablity even though technically it's only needed in slotProcessExited (cherry picked from commit 8f4a57a6626d6fbc801a049d9ddcab5ff81b98b2) M +16 -8 src/backtracegenerator.cpp https://invent.kde.org/plasma/drkonqi/-/commit/1011f4addc90459e110eaa3f59d2f18ec0cde0fc |