Summary: | Marble crashes on exit if MarbleRunners are still active | ||
---|---|---|---|
Product: | [Applications] marble | Reporter: | Johannes Obermayr <johannesobermayr> |
Component: | general | Assignee: | marble-bugs |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | ht990332, rct+bugs, shentey |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | 1.1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | KDE-4.8.0 | |
Sentry Crash Report: |
Description
Johannes Obermayr
2011-05-30 23:16:21 UTC
*** Bug 274071 has been marked as a duplicate of this bug. *** Git commit 4a1af05a822894d77bacac0932df6d38e74bcc10 by Dennis Nienhüser. Committed on 31/12/2011 at 10:55. Pushed by nienhueser into branch 'master'. Do not unload plugins in PluginManager dtor. According to qt documentation this is not needed. Not unloading plugins avoids timing issues at destruction time: Plugin related instances can be deleted after the deletion of MarbleModel now. Previously MarbleModel deleted the PluginManager, which unloaded the plugins and then created dangling pointers for plugin related instances not cleaned up at that time. Should be backported to the KDE/4.8 branch after testing. Related: bug 288542 M +20 -31 src/lib/PluginManager.cpp http://commits.kde.org/marble/4a1af05a822894d77bacac0932df6d38e74bcc10 I tried the patch with marble Version 1.2.95 (1.3 Release Candidate 1) Using KDE Development Platform 4.7.98 (4.8 RC2+ (4.7.98) Now marble process won't exit when I quit the application Git commit 8c126cf90013bb231a96270d7574ef011b1c322a by Dennis Nienhüser. Committed on 31/12/2011 at 10:55. Pushed by nienhueser into branch 'KDE/4.8'. Do not unload plugins in PluginManager dtor. According to qt documentation this is not needed. Not unloading plugins avoids timing issues at destruction time: Plugin related instances can be deleted after the deletion of MarbleModel now. Previously MarbleModel deleted the PluginManager, which unloaded the plugins and then created dangling pointers for plugin related instances not cleaned up at that time. Should be backported to the KDE/4.8 branch after testing. Related: bug 288542 (cherry picked from commit 4a1af05a822894d77bacac0932df6d38e74bcc10) M +20 -31 src/lib/PluginManager.cpp http://commits.kde.org/marble/8c126cf90013bb231a96270d7574ef011b1c322a Git commit 460e57a0ab45eaf606635a52bf0e3f2df5183c8b by Dennis Nienhüser. Committed on 18/01/2012 at 20:37. Pushed by nienhueser into branch 'KDE/4.8'. Do not delete plugin instances. Fixes segfaults with multiple widgets. (cherry picked from commit 8f5d08a5d4dd8a78536327bd73ac170303655790) Related: bug 288542 FIXED-IN: KDE-4.8.0 M +5 -21 src/lib/PluginManager.cpp M +2 -0 src/plugins/runner/monav/MonavPlugin.cpp M +2 -0 src/plugins/runner/monav/MonavPlugin.h http://commits.kde.org/marble/460e57a0ab45eaf606635a52bf0e3f2df5183c8b Git commit b6d75a4e70bea2bf0313453f5d83b30a5f52deb9 by Dennis Nienhüser. Committed on 18/01/2012 at 20:37. Pushed by nienhueser into branch 'Touch/1.3'. Do not delete plugin instances. Fixes segfaults with multiple widgets. (cherry picked from commit 8f5d08a5d4dd8a78536327bd73ac170303655790) Related: bug 288542 FIXED-IN: KDE-4.8.0 M +5 -21 src/lib/PluginManager.cpp M +2 -0 src/plugins/runner/monav/MonavPlugin.cpp M +2 -0 src/plugins/runner/monav/MonavPlugin.h http://commits.kde.org/marble/b6d75a4e70bea2bf0313453f5d83b30a5f52deb9 Git commit 1246d4e04dbdba4b4a3b6c00f2c105d79794c4b7 by Dennis Nienhüser. Committed on 31/12/2011 at 10:55. Pushed by nienhueser into branch 'Touch/1.3'. Do not unload plugins in PluginManager dtor. According to qt documentation this is not needed. Not unloading plugins avoids timing issues at destruction time: Plugin related instances can be deleted after the deletion of MarbleModel now. Previously MarbleModel deleted the PluginManager, which unloaded the plugins and then created dangling pointers for plugin related instances not cleaned up at that time. Should be backported to the KDE/4.8 branch after testing. Related: bug 288542 (cherry picked from commit 4a1af05a822894d77bacac0932df6d38e74bcc10) M +20 -31 src/lib/PluginManager.cpp http://commits.kde.org/marble/1246d4e04dbdba4b4a3b6c00f2c105d79794c4b7 |