Bug 250977 - Dolphin crashes when trying to configure settings (Trash related) [null Solid::Block::deviceMajor, idForDevice, TrashImpl::scanTrashDirectories, TrashImpl::trashDirectories]
Summary: Dolphin crashes when trying to configure settings (Trash related) [null Solid...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: trash (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 256070 258874 260323 263665 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-12 15:08 UTC by Balcaen John
Modified: 2011-01-19 18:56 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.5


Attachments
New crash information added by DrKonqi (11.41 KB, text/plain)
2010-12-05 21:31 UTC, Luca Giambonini
Details
Backtrace of dolphin 4.5.95 crash when entering settings menu (10.63 KB, text/plain)
2011-01-10 13:41 UTC, Balcaen John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Balcaen John 2010-09-12 15:08:02 UTC
Application: dolphin (1.5.9)
KDE Platform Version: 4.5.67 (4.6 >= 20100901)
Qt Version: 4.7.0
Operating System: Linux 2.6.35.4-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.1"

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to configure dolphin using the settings menu.
I tried also when getting rid of dolphinui.rc provided by mandriva without more sucess.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2190c88720 (LWP 1774))]

Thread 5 (Thread 0x7f217a8c6710 (LWP 1775)):
#0  0x00007f218e342533 in poll () from /lib64/libc.so.6
#1  0x00007f218b62a914 in g_main_context_poll (context=0x7f21740009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3063
#2  g_main_context_iterate (context=0x7f21740009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2745
#3  0x00007f218b62ae4d in g_main_context_iteration (context=0x7f21740009b0, may_block=1) at gmain.c:2813
#4  0x00007f218f9108b6 in QEventDispatcherGlib::processEvents (this=0x7f21740008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f218f8e4ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f218f8e4d1c in QEventLoop::exec (this=0x7f217a8c5e20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f218f7f9e74 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f218f8c61f8 in QInotifyFileSystemWatcherEngine::run (this=0x25760b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f218f7fc68e in QThreadPrivate::start (arg=0x25760b0) at thread/qthread_unix.cpp:266
#10 0x00007f218f574a5d in start_thread () from /lib64/libpthread.so.0
#11 0x00007f218e34c15d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2179ea1710 (LWP 1786)):
#0  0x00007f218f576f9c in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f218b6298ee in g_main_context_prepare (context=0x7f216c0009b0, priority=0x7f2179ea0d0c) at gmain.c:2441
#2  0x00007f218b62a7a9 in g_main_context_iterate (context=0x7f216c0009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2730
#3  0x00007f218b62ae4d in g_main_context_iteration (context=0x7f216c0009b0, may_block=1) at gmain.c:2813
#4  0x00007f218f9108b6 in QEventDispatcherGlib::processEvents (this=0x7f216c0008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f218f8e4ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f218f8e4d1c in QEventLoop::exec (this=0x7f2179ea0e20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f218f7f9e74 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f218f8c61f8 in QInotifyFileSystemWatcherEngine::run (this=0x29a8960) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f218f7fc68e in QThreadPrivate::start (arg=0x29a8960) at thread/qthread_unix.cpp:266
#10 0x00007f218f574a5d in start_thread () from /lib64/libpthread.so.0
#11 0x00007f218e34c15d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f21796a0710 (LWP 1787)):
#0  0x00007f218b62a8d3 in g_main_context_poll (context=0x7f21700009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3058
#1  g_main_context_iterate (context=0x7f21700009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2745
#2  0x00007f218b62ae4d in g_main_context_iteration (context=0x7f21700009b0, may_block=1) at gmain.c:2813
#3  0x00007f218f9108b6 in QEventDispatcherGlib::processEvents (this=0x7f21700008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f218f8e4ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f218f8e4d1c in QEventLoop::exec (this=0x7f217969fe20, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f218f7f9e74 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f218f8c61f8 in QInotifyFileSystemWatcherEngine::run (this=0x29ad230) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f218f7fc68e in QThreadPrivate::start (arg=0x29ad230) at thread/qthread_unix.cpp:266
#9  0x00007f218f574a5d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f218e34c15d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2178e9f710 (LWP 1788)):
#0  0x00007f218e342533 in poll () from /lib64/libc.so.6
#1  0x00007f218b62a914 in g_main_context_poll (context=0x7f21640009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3063
#2  g_main_context_iterate (context=0x7f21640009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2745
#3  0x00007f218b62ae4d in g_main_context_iteration (context=0x7f21640009b0, may_block=1) at gmain.c:2813
#4  0x00007f218f9108b6 in QEventDispatcherGlib::processEvents (this=0x7f21640008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f218f8e4ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f218f8e4d1c in QEventLoop::exec (this=0x7f2178e9ee20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f218f7f9e74 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f218f8c61f8 in QInotifyFileSystemWatcherEngine::run (this=0x29ae770) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f218f7fc68e in QThreadPrivate::start (arg=0x29ae770) at thread/qthread_unix.cpp:266
#10 0x00007f218f574a5d in start_thread () from /lib64/libpthread.so.0
#11 0x00007f218e34c15d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2190c88720 (LWP 1774)):
[KCrash Handler]
#6  Solid::Block::deviceMajor (this=0x0) at /usr/src/debug/kdelibs-4.5.67svn1170578/solid/solid/block.cpp:38
#7  0x00007f217840e730 in idForDevice (device=<value optimized out>) at /usr/src/debug/kdebase-runtime-4.5.67svn1170578/kioslave/trash/trashimpl.cpp:801
#8  0x00007f217840f41e in TrashImpl::scanTrashDirectories (this=0x2c84c30) at /usr/src/debug/kdebase-runtime-4.5.67svn1170578/kioslave/trash/trashimpl.cpp:871
#9  0x00007f2178410732 in TrashImpl::trashDirectories (this=0x2c84c30) at /usr/src/debug/kdebase-runtime-4.5.67svn1170578/kioslave/trash/trashimpl.cpp:886
#10 0x00007f2178409d79 in TrashConfigModule::setupGui (this=0x2c87a60) at /usr/src/debug/kdebase-runtime-4.5.67svn1170578/kioslave/trash/kcmtrash.cpp:241
#11 0x00007f217840a6f1 in TrashConfigModule::TrashConfigModule (this=0x2c87a60, parent=0x29cbe90) at /usr/src/debug/kdebase-runtime-4.5.67svn1170578/kioslave/trash/kcmtrash.cpp:56
#12 0x00007f217840c1e3 in KPluginFactory::createInstance<TrashConfigModule, QWidget> (parentWidget=<value optimized out>, parent=<value optimized out>, args=...) at /usr/include/kpluginfactory.h:461
#13 0x00007f218fdf6cde in KPluginFactory::create (this=0x2c832c0, iface=0x7f21907a51e0 "KCModule", parentWidget=0x0, parent=0x29cbe90, args=..., keyword=<value optimized out>)
    at /usr/src/debug/kdelibs-4.5.67svn1170578/kdecore/util/kpluginfactory.cpp:191
#14 0x00007f218127abe4 in KPluginFactory::create<KCModule> (this=0x2c832c0, parentWidget=0x0, parent=0x29cbe90, keyword=..., args=<value optimized out>)
    at /usr/src/debug/kdelibs-4.5.67svn1170578/kdecore/util/kpluginfactory.h:515
#15 0x00007f218127ae2d in KService::createInstance<KCModule> (this=0x2516120, parentWidget=0x0, parent=0x29cbe90, args=..., error=0x7fff2e190130)
    at /usr/src/debug/kdelibs-4.5.67svn1170578/kdecore/services/kservice.h:541
#16 0x00007f218127a4a4 in KCModuleLoader::loadModule (mod=..., report=KCModuleLoader::Inline, parent=0x29cbe90, args=...) at /usr/src/debug/kdelibs-4.5.67svn1170578/kutils/kcmoduleloader.cpp:89
#17 0x00007f218127f4f4 in KCModuleProxyPrivate::loadModule (this=0x271c0c0) at /usr/src/debug/kdelibs-4.5.67svn1170578/kutils/kcmoduleproxy.cpp:106
#18 0x00007f218127fb08 in KCModuleProxy::realModule (this=<value optimized out>) at /usr/src/debug/kdelibs-4.5.67svn1170578/kutils/kcmoduleproxy.cpp:83
#19 0x00007f218127fe35 in KCModuleProxy::load (this=0x29cbe90) at /usr/src/debug/kdelibs-4.5.67svn1170578/kutils/kcmoduleproxy.cpp:267
#20 0x00007f21817bb8da in TrashSettingsPage::TrashSettingsPage (this=0x25268f0, parent=<value optimized out>)
    at /usr/src/debug/kdebase-4.5.67svn1170578/apps/dolphin/src/settings/trash/trashsettingspage.cpp:49
#21 0x00007f21817b77f1 in DolphinSettingsDialog::DolphinSettingsDialog (this=0x2a619c0, url=..., parent=<value optimized out>)
    at /usr/src/debug/kdebase-4.5.67svn1170578/apps/dolphin/src/settings/dolphinsettingsdialog.cpp:79
#22 0x00007f2181799ebf in DolphinMainWindow::editSettings (this=0x252d120) at /usr/src/debug/kdebase-4.5.67svn1170578/apps/dolphin/src/dolphinmainwindow.cpp:967
#23 0x00007f218179fd8d in DolphinMainWindow::qt_metacall (this=0x252d120, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0x7fff2e190a90)
    at /usr/src/debug/kdebase-4.5.67svn1170578/build/apps/dolphin/src/dolphinmainwindow.moc:231
#24 0x00007f218f8f9fbf in QMetaObject::activate (sender=0x253b4c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff2e190a90) at kernel/qobject.cpp:3272
#25 0x00007f218ea92062 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#26 0x00007f218ea9225a in QAction::activate (this=0x253b4c0, event=<value optimized out>) at kernel/qaction.cpp:1256
#27 0x00007f218eec8603 in QMenuPrivate::activateCausedStack (this=0x26c25e0, causedStack=..., action=0x253b4c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#28 0x00007f218eece59a in QMenuPrivate::activateAction (this=0x26c25e0, action=0x253b4c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#29 0x00007f21906f1cf9 in KMenu::mouseReleaseEvent (this=0x26c25a0, e=0x7fff2e191740) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/widgets/kmenu.cpp:471
#30 0x00007f218eaea202 in QWidget::event (this=0x26c25a0, event=0x7fff2e191740) at kernel/qwidget.cpp:8158
#31 0x00007f218eecf78b in QMenu::event (this=0x26c25a0, e=0x7fff2e191740) at widgets/qmenu.cpp:2410
#32 0x00007f218ea986e4 in QApplicationPrivate::notify_helper (this=0x23c70c0, receiver=0x26c25a0, e=0x7fff2e191740) at kernel/qapplication.cpp:4396
#33 0x00007f218ea9d9da in QApplication::notify (this=<value optimized out>, receiver=0x26c25a0, e=0x7fff2e191740) at kernel/qapplication.cpp:3959
#34 0x00007f2190631c86 in KApplication::notify (this=0x7fff2e192450, receiver=0x26c25a0, event=0x7fff2e191740) at /usr/src/debug/kdelibs-4.5.67svn1170578/kdeui/kernel/kapplication.cpp:310
#35 0x00007f218f8e573c in QCoreApplication::notifyInternal (this=0x7fff2e192450, receiver=0x26c25a0, event=0x7fff2e191740) at kernel/qcoreapplication.cpp:732
#36 0x00007f218ea996e5 in sendEvent (receiver=0x26c25a0, event=0x7fff2e191740, alienWidget=0x0, nativeWidget=0x26c25a0, buttonDown=0x7f218f56aed8, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:215
#37 QApplicationPrivate::sendMouseEvent (receiver=0x26c25a0, event=0x7fff2e191740, alienWidget=0x0, nativeWidget=0x26c25a0, buttonDown=0x7f218f56aed8, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3058
#38 0x00007f218eb17104 in QETWidget::translateMouseEvent (this=0x26c25a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4337
#39 0x00007f218eb15609 in QApplication::x11ProcessEvent (this=0x7fff2e192450, event=0x7fff2e192090) at kernel/qapplication_x11.cpp:3536
#40 0x00007f218eb3cab2 in x11EventSourceDispatch (s=0x23bd220, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#41 0x00007f218b62a3d3 in g_main_dispatch (context=0x23bc120) at gmain.c:2119
#42 g_main_context_dispatch (context=0x23bc120) at gmain.c:2672
#43 0x00007f218b62abb0 in g_main_context_iterate (context=0x23bc120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2750
#44 0x00007f218b62ae4d in g_main_context_iteration (context=0x23bc120, may_block=1) at gmain.c:2813
#45 0x00007f218f91085f in QEventDispatcherGlib::processEvents (this=0x23bab20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#46 0x00007f218eb3c74e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f218f8e4ad2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f218f8e4d1c in QEventLoop::exec (this=0x7fff2e1923a0, flags=...) at kernel/qeventloop.cpp:201
#49 0x00007f218f8e919b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#50 0x00007f21817a7fca in kdemain (argc=5, argv=0x2366b10) at /usr/src/debug/kdebase-4.5.67svn1170578/apps/dolphin/src/main.cpp:98
#51 0x0000000000407927 in launch (argc=<value optimized out>, _name=0x2367fc8 "/usr/bin/dolphin", args=<value optimized out>, cwd=0x7fff2e192940 "\220s6\002", envc=5, envs=<value optimized out>, 
    reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x2368021 "hatmehyt.lan.littleboboy.net;1284296549;356606;3977_TIME34884081")
    at /usr/src/debug/kdelibs-4.5.67svn1170578/kinit/kinit.cpp:727
#52 0x0000000000408243 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.5.67svn1170578/kinit/kinit.cpp:1219
#53 0x00000000004088d1 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.5.67svn1170578/kinit/kinit.cpp:1412
#54 0x0000000000409158 in main (argc=4, argv=0x7fff2e1932e8, envp=0x7fff2e193310) at /usr/src/debug/kdelibs-4.5.67svn1170578/kinit/kinit.cpp:1898

Reported using DrKonqi
Comment 1 Pino Toscano 2010-11-04 21:03:05 UTC
*** Bug 256070 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2010-11-21 17:25:25 UTC
[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
Comment 3 Balcaen John 2010-11-21 22:36:36 UTC
I have nfs mount on this computer.
Comment 4 Eike Hein 2010-11-25 11:23:52 UTC
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.
Comment 5 Eike Hein 2010-11-25 11:24:51 UTC
That's in 4.5.80 btw (Fedora packages).
Comment 6 Tommi Tervo 2010-12-05 10:09:16 UTC
*** Bug 258874 has been marked as a duplicate of this bug. ***
Comment 7 Luca Giambonini 2010-12-05 21:31:27 UTC
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
Comment 8 Pino Toscano 2010-12-16 22:53:09 UTC
*** Bug 260323 has been marked as a duplicate of this bug. ***
Comment 9 David Faure 2010-12-22 14:14:10 UTC
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
Comment 10 Balcaen John 2010-12-28 08:28:17 UTC
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
Comment 11 Balcaen John 2010-12-28 08:57:18 UTC
Hum after a look on websvn seems like the commit went after 4.5.90 tagging.
Sorry for the noise :/
Comment 12 Balcaen John 2011-01-10 13:41:07 UTC
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
Comment 13 Nicolas L. 2011-01-10 18:21:46 UTC
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
Comment 14 Frank Reininghaus 2011-01-19 18:56:35 UTC
*** Bug 263665 has been marked as a duplicate of this bug. ***