Summary: | Dolphin crash on right mouse click | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Ilya <libbkmz.dev> |
Component: | plugins: dropbox | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | libbkmz.dev, swiftscythe |
Priority: | NOR | ||
Version: | 2.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kde-baseapps/c06dae12ff85b0c2b9381b2e35c7553b77be8706 | Version Fixed In: | 4.9.0 |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
patch fixing the given bug New crash information added by DrKonqi |
Description
Ilya
2012-02-18 06:50:35 UTC
Created attachment 68894 [details]
New crash information added by DrKonqi
dolphin (2.0) on KDE Platform 4.8.00 (4.8.0 using Qt 4.8.0
- What I was doing when the application crashed:
Update dolphin-box-plugin-git plugin with debug symbols.
Backtrace with dropbox debugging symbols
-- Backtrace (Reduced):
#7 0xb6d6ccb8 in QUrl::QUrl(QUrl const&) () from /usr/lib/libQtCore.so.4
#8 0xb702c42a in KUrl::KUrl(KUrl const&) () from /usr/lib/libkdecore.so.5
#9 0xb514675f in KFileItem::url() const () from /usr/lib/libkio.so.5
#10 0xafd53bec in DolphinBoxPlugin::contextMenuActions (this=0x8463c50, items=...) at /home/bkmz/builds/dolphin-box-plugin-git/src/dolphin-box-plugin-build/dolphin-box-plugin.cpp:193
#11 0xb18f3686 in VersionControlObserver::actions (this=0x837f900, items=...) at /home/bkmz/builds/ABS/abs/extra/kdebase/src/kde-baseapps-4.8.0/dolphin/src/views/versioncontrol/versioncontrolobserver.cpp:124
Created attachment 68896 [details]
patch fixing the given bug
This patch fix the following error. But i can't understand the dolphin behavior, contextMenuActions method call's from free space on dolphin page only on smb shared folder, on my home folders it's doesn't effect.
Created attachment 70659 [details]
New crash information added by DrKonqi
dolphin (2.0) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1
- What I was doing when the application crashed:
Search with nepomuk and then right-click on an empty space in the file-manager view
-- Backtrace (Reduced):
#6 0x00007f8e5bdb2a70 in QUrl::QUrl(QUrl const&) () from /usr/lib/libQtCore.so.4
#7 0x00007f8e5c286b79 in KUrl::KUrl(KUrl const&) () from /usr/lib/libkdecore.so.5
#8 0x00007f8e54ac69d0 in KFileItem::url() const () from /usr/lib/libkio.so.5
[...]
#10 0x00007f8e495a43b0 in VersionControlObserver::actions (this=<optimized out>, items=...) at /tmp/yaourt-tmp-adria/abs-kdebase-dolphin/src/kde-baseapps-4.8.2/dolphin/src/views/versioncontrol/versioncontrolobserver.cpp:124
#11 0x00007f8e495978fe in DolphinView::versionControlActions (this=0x196cfb0, items=...) at /tmp/yaourt-tmp-adria/abs-kdebase-dolphin/src/kde-baseapps-4.8.2/dolphin/src/views/dolphinview.cpp:551
#9 0x00007f8e4228593f in ?? () from /usr/lib/kde4/dolphin-box-plugin.so So, build dolphin plugin with debugging symbols. And are you using my patch? Git commit c06dae12ff85b0c2b9381b2e35c7553b77be8706 by Peter Penz. Committed on 27/04/2012 at 09:28. Pushed by ppenz into branch 'master'. Never pass null-items to version-control-plugins Some plugins are not prepared for this and might crash. Although the additional check in VersionControlObserver::actions() should not be necessary because of the fix in DolphinView, it is left here to catch potential other cases where a null-item might get passed accidently. Thanks to Ilya for initially patching the Box-plugin which gave a hint whats going wrong. FIXED-IN: 4.9.0 M +3 -1 dolphin/src/views/dolphinview.cpp M +11 -1 dolphin/src/views/versioncontrol/versioncontrolobserver.cpp http://commits.kde.org/kde-baseapps/c06dae12ff85b0c2b9381b2e35c7553b77be8706 |