Summary: | Crash when closing KDevelop while debugger is running | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Ludger Sprenker <Ludger> |
Component: | CPP Debugger | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | niko.sams |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ludger Sprenker
2010-01-12 00:49:08 UTC
I couldn't reproduce, but it looks like the model is invalid; probably deleted by the removed OutputView. (TakeOwnership is set) Any ideas how to fix this? Use a QWeakPointer? (In reply to comment #1) > I couldn't reproduce, but it looks like the model is invalid; probably deleted > by the removed OutputView. (TakeOwnership is set) > > Any ideas how to fix this? Use a QWeakPointer? So the problem is that the job runs even though the model has been deleted already? Then maybe the outputview shouldn't take ownership of the model and instead the job should take it. Or the job needs to be notified of the model-deletion. SVN commit 1082598 by nsams: Use QWeakPointer for outputModel, as it can get deleted by OutputData. CCBUG: 222317 M +3 -4 outputjob.cpp M +1 -1 outputjob.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1082598 SVN commit 1082599 by nsams: Append output to OutputModel only when it is still alive. BUG: 222317 M +6 -2 kdevelop/debuggers/gdb/gdblaunchconfig.cpp M +13 -6 kdevplatform/plugins/execute/nativeappjob.cpp M +1 -0 kdevplatform/plugins/execute/nativeappjob.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1082599 |