Summary: | Dolphin crashes when trying to configure settings (Trash related) [null Solid::Block::deviceMajor, idForDevice, TrashImpl::scanTrashDirectories, TrashImpl::trashDirectories] | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Balcaen John <balcaen.john> |
Component: | trash | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, hein, luca86, qqqqqqqqq9, rizzitello, shura01, wasge |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Mandriva RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.5.5 | |
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
Backtrace of dolphin 4.5.95 crash when entering settings menu |
Description
Balcaen John
2010-09-12 15:08:02 UTC
*** Bug 256070 has been marked as a duplicate of this bug. *** [Comment from a bug triager] Relevant information from bug 256070: - Steps to Reproduce: 1. mount a samba share on /home/xxx From /etc/fstab: //ip-address/Share /home/xxx cifs user=user,uid=1000,gid=1000,noatime 0 0 2. Have a /home/xxx/.Trash-$UID 3. open the konqueror-settings dialog (Settings - Configure konqueror) After deleting /home/xxx/.Trash-$UID or umounting the share the settings dialog can be opened without crash. A probably related problem is, that trashing items on the share is not possible (crash of the subprocess) @ Balcaen John: your crash is also related to the Trash protocol, and some mount.. do you remember which mounts do you have in your system, of if there was some other external storage device connected ? Thanks I have nfs mount on this computer. I have a CIFS mount at mount point /mnt/ehs1, which is also symlinked to /home/sho/ehs1. Opening the Dolphin configuration dialog crashed until I removed the /mnt/ehs1/.Trash-500 directory. That's in 4.5.80 btw (Fedora packages). *** Bug 258874 has been marked as a duplicate of this bug. *** Created attachment 54182 [details]
New crash information added by DrKonqi
dolphin (1.5.9) on KDE Platform 4.5.80 (4.6 Beta1) using Qt 4.7.0
- What I was doing when the application crashed:
I was trying to configure dolphin using the settings menu.
I use nfs file sistem for different directory. My fstab is:
192.168.1.44:/volume1/Foto /mnt/nfsFoto nfs defaults 0 0
192.168.1.44:/volume1/Download /mnt/nfsDownload nfs defaults 0 0
192.168.1.44:/volume1/Musica /mnt/nfsMusica nfs defaults 0 0
192.168.1.44:/volume1/Programmi /mnt/nfsProgrammi nfs defaults 0 0
192.168.1.44:/volume1/Backup /mnt/nfsBackup nfs defaults 0 0
192.168.1.44:/volume1/Film /mnt/nfsFilm nfs defaults 0 0
I found a workaround:
if I delete all the folders ".Trash-1000" in all the mount points then I can open the settings panel in dolphin!
-- Backtrace (Reduced):
#6 Solid::Block::deviceMajor (this=0x0) at ../../../solid/solid/block.cpp:40
#7 0x00007f44d063a988 in idForDevice (device=<value optimized out>) at ../../../kioslave/trash/trashimpl.cpp:801
#8 0x00007f44d063d130 in TrashImpl::scanTrashDirectories (this=0x209f1a0) at ../../../kioslave/trash/trashimpl.cpp:871
#9 0x00007f44d063e575 in TrashImpl::trashDirectories (this=<value optimized out>) at ../../../kioslave/trash/trashimpl.cpp:886
#10 0x00007f44d0637bd9 in TrashConfigModule::setupGui (this=0x209d730) at ../../../kioslave/trash/kcmtrash.cpp:241
*** Bug 260323 has been marked as a duplicate of this bug. *** SVN commit 1208596 by dfaure: Backport: Fix crash when a NFS mount contains a .Trash-$UID subdir. We can't find a block device for the mount, so we can't give it an ID. BUG: 250977 FIXED-IN: 4.5.5 M +11 -0 trashimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1208596 Does this fix is included in 4.6 RC1 ? If no, sorry for the noise , if yes it's still crashing here : dolphin(23200)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module "Corbeille" from library "kcm_trash" using symbol "kcm_trash" dolphin(23200) TrashImpl::init: initialization OK, home trash dir: "/home/mikala/.local/share/Trash" dolphin(23200) TrashImpl::trashForMountPoint: Directory "/Qdownload/.Trash-500" exists but didn't pass the security checks, can't use it Program received signal SIGSEGV, Segmentation fault. Solid::Block::deviceMinor (this=0x0) at /usr/src/debug/kdelibs-4.5.90/solid/solid/block.cpp:45 45 Q_D(const Block); (gdb) bt #0 Solid::Block::deviceMinor (this=0x0) at /usr/src/debug/kdelibs-4.5.90/solid/solid/block.cpp:45 #1 0x00007fffe277b6ab in idForDevice (device=<value optimized out>) at /usr/src/debug/kdebase-runtime-4.5.90/kioslave/trash/trashimpl.cpp:800 #2 0x00007fffe277c40e in TrashImpl::scanTrashDirectories (this=0xaf9a40) at /usr/src/debug/kdebase-runtime-4.5.90/kioslave/trash/trashimpl.cpp:871 #3 0x00007fffe277d722 in TrashImpl::trashDirectories (this=0xaf9a40) at /usr/src/debug/kdebase-runtime-4.5.90/kioslave/trash/trashimpl.cpp:886 #4 0x00007fffe2776d79 in TrashConfigModule::setupGui (this=0xaf85f0) at /usr/src/debug/kdebase-runtime-4.5.90/kioslave/trash/kcmtrash.cpp:241 #5 0x00007fffe27776f1 in TrashConfigModule::TrashConfigModule (this=0xaf85f0, parent=0xcdcee0) at /usr/src/debug/kdebase-runtime-4.5.90/kioslave/trash/kcmtrash.cpp:56 #6 0x00007fffe27791d3 in KPluginFactory::createInstance<TrashConfigModule, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:473 #7 0x00007ffff41713c5 in KPluginFactory::create (this=0xd69d00, iface=0x7ffff548e5e0 "KCModule", parentWidget=0x0, parent=0xcdcee0, args=..., keyword=<value optimized out>) at /usr/src/debug/kdelibs-4.5.90/kdecore/util/kpluginfactory.cpp:203 #8 0x00007ffff709ae14 in KPluginFactory::create<KCModule> (this=0xd69d00, parentWidget=0x0, parent=0xcdcee0, keyword=..., args=<value optimized out>) at /usr/src/debug/kdelibs-4.5.90/kdecore/util/kpluginfactory.h:527 #9 0x00007ffff709aeed in KService::createInstance<KCModule> (this=0xd684b0, parentWidget=0x0, parent=0xcdcee0, args=..., error=0x7fffffffb320) at /usr/src/debug/kdelibs-4.5.90/kdecore/services/kservice.h:551 #10 0x00007ffff709a55c in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0xcdcee0, args=...) at /usr/src/debug/kdelibs-4.5.90/kutils/kcmoduleloader.cpp:89 #11 0x00007ffff709f4f4 in KCModuleProxyPrivate::loadModule (this=0xcdcf20) at /usr/src/debug/kdelibs-4.5.90/kutils/kcmoduleproxy.cpp:106 #12 0x00007ffff709fb08 in KCModuleProxy::realModule (this=<value optimized out>) at /usr/src/debug/kdelibs-4.5.90/kutils/kcmoduleproxy.cpp:83 #13 0x00007ffff709fe35 in KCModuleProxy::load (this=0xcdcee0) at /usr/src/debug/kdelibs-4.5.90/kutils/kcmoduleproxy.cpp:267 #14 0x00007ffff7ba884a in TrashSettingsPage::TrashSettingsPage (this=0xd525b0, parent=<value optimized out>) at /usr/src/debug/kdebase-4.5.90/apps/dolphin/src/settings/trash/trashsettingspage.cpp:48 #15 0x00007ffff7ba4421 in DolphinSettingsDialog::DolphinSettingsDialog (this=0xa9bce0, url=..., parent=<value optimized out>) at /usr/src/debug/kdebase-4.5.90/apps/dolphin/src/settings/dolphinsettingsdialog.cpp:81 #16 0x00007ffff7b85a0f in DolphinMainWindow::editSettings (this=0x700ae0) at /usr/src/debug/kdebase-4.5.90/apps/dolphin/src/dolphinmainwindow.cpp:1010 #17 0x00007ffff7b8ba5d in DolphinMainWindow::qt_metacall (this=0x700ae0, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7fffffffbc70) at /usr/src/debug/kdebase-4.5.90/build/apps/dolphin/src/dolphinmainwindow.moc:233 #18 0x00007ffff3c5efef in QMetaObject::activate (sender=0x75a2e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffffffbc70) at kernel/qobject.cpp:3272 #19 0x00007ffff4606d42 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263 #20 0x00007ffff4606f3a in QAction::activate (this=0x75a2e0, event=<value optimized out>) at kernel/qaction.cpp:1257 #21 0x00007ffff4a43f23 in QMenuPrivate::activateCausedStack (this=0x927b80, causedStack=..., action=0x75a2e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993 #22 0x00007ffff4a49eba in QMenuPrivate::activateAction (this=0x927b80, action=0x75a2e0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085 #23 0x00007ffff53d6179 in KMenu::mouseReleaseEvent (this=0x938330, e=0x7fffffffc920) at /usr/src/debug/kdelibs-4.5.90/kdeui/widgets/kmenu.cpp:458 #24 0x00007ffff465ea98 in QWidget::event (this=0x938330, event=0x7fffffffc920) at kernel/qwidget.cpp:8200 #25 0x00007ffff4a4b0bb in QMenu::event (this=0x938330, e=0x7fffffffc920) at widgets/qmenu.cpp:2410 #26 0x00007ffff460d3b4 in QApplicationPrivate::notify_helper (this=0x6311a0, receiver=0x938330, e=0x7fffffffc920) at kernel/qapplication.cpp:4445 #27 0x00007ffff461274a in QApplication::notify (this=<value optimized out>, receiver=0x938330, e=0x7fffffffc920) at kernel/qapplication.cpp:4006 #28 0x00007ffff5318fe6 in KApplication::notify (this=0x7fffffffd630, receiver=0x938330, event=0x7fffffffc920) at /usr/src/debug/kdelibs-4.5.90/kdeui/kernel/kapplication.cpp:311 #29 0x00007ffff3c4a74c in QCoreApplication::notifyInternal (this=0x7fffffffd630, receiver=0x938330, event=0x7fffffffc920) at kernel/qcoreapplication.cpp:732 #30 0x00007ffff460e3b5 in sendEvent (receiver=0x938330, event=0x7fffffffc920, alienWidget=0x0, nativeWidget=0x938330, buttonDown=0x7ffff50e6158, lastMouseReceiver=..., spontaneous=true) at ../../src/corelib/kernel/qcoreapplication.h:215 #31 QApplicationPrivate::sendMouseEvent (receiver=0x938330, event=0x7fffffffc920, alienWidget=0x0, nativeWidget=0x938330, buttonDown=0x7ffff50e6158, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3105 #32 0x00007ffff468cd44 in QETWidget::translateMouseEvent (this=0x938330, event=<value optimized out>) at kernel/qapplication_x11.cpp:4372 #33 0x00007ffff468b1d9 in QApplication::x11ProcessEvent (this=0x7fffffffd630, event=0x7fffffffd270) at kernel/qapplication_x11.cpp:3564 #34 0x00007ffff46b2aa2 in x11EventSourceDispatch (s=0x63dbf0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #35 0x00007ffff0007f83 in g_main_dispatch (context=0x63c950) at gmain.c:2149 #36 g_main_context_dispatch (context=0x63c950) at gmain.c:2702 #37 0x00007ffff0008760 in g_main_context_iterate (context=0x63c950, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780 #38 0x00007ffff00089fd in g_main_context_iteration (context=0x63c950, may_block=1) at gmain.c:2843 #39 0x00007ffff3c7587f in QEventDispatcherGlib::processEvents (this=0x607e60, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415 #40 0x00007ffff46b273e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #41 0x00007ffff3c49ae2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149 #42 0x00007ffff3c49d2c in QEventLoop::exec (this=0x7fffffffd580, flags=...) at kernel/qeventloop.cpp:201 #43 0x00007ffff3c4e1eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009 #44 0x00007ffff7b9543a in kdemain (argc=1, argv=0x7fffffffdb58) at /usr/src/debug/kdebase-4.5.90/apps/dolphin/src/main.cpp:98 #45 0x00007ffff77ffc3d in __libc_start_main () from /lib64/libc.so.6 #46 0x0000000000400669 in _start () at ../sysdeps/x86_64/elf/start.S:113 Hum after a look on websvn seems like the commit went after 4.5.90 tagging. Sorry for the noise :/ Created attachment 55820 [details]
Backtrace of dolphin 4.5.95 crash when entering settings menu
I'm still able to reproduce the crash here with dolphin from 4.5.95
Deleting the .Trash-500 folder on a nfs share can still fix it.
However if i tried to delete a file on the nfs share the process is failing, & right after i'm not able to configure dolphin anymore since there's a new « .Trash-500 » folder on my nfs share.
Attached is the bt of the crash when entering settings
SVN commit 1213505 by nlecureuil: Forwardport commit 1208596 BUG: 250977 M +11 -0 trashimpl.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1213505 *** Bug 263665 has been marked as a duplicate of this bug. *** |