Bug 308523 - i copied threee PDF files from external disk to my local hard drive with different permissions in dolphin
Summary: i copied threee PDF files from external disk to my local hard drive with diff...
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
: 308520 308525 308618 308619 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-17 00:28 UTC by Simon Andric
Modified: 2013-04-10 07:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.37 KB, text/plain)
2012-10-17 00:47 UTC, Simon Andric
Details
New crash information added by DrKonqi (6.62 KB, text/plain)
2012-10-17 01:18 UTC, Simon Andric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Andric 2012-10-17 00:28:37 UTC
Application: dolphin (2.1)
KDE Platform Version: 4.9.80
Qt Version: 4.8.4
Operating System: Linux 3.5.0-17-generic i686
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:

i copied threee PDF files from external disk to my local hard drive with different permissions in dolphin.

I have two dolphins opened - one as normal user and one via konsole "sudo dolphin" command (NOT kdesudo).

in root dolphin i fethed three pdf files which were owned by root, group root and copy them in local drive in "non-root" dolphin via right click - copy and right click - pase

first file copied succesfully when the other one wanted, the NON -ROOT dolphin crashed. mayi  also add that document in his filename  was compoed also with russian cyrillic text.

when i relaunched NON-ROOT dolphin i saw that all three files were copied succesfully :)
but the dr. konqi appeared anway so im sending this error report


nice day!

Simon :)


ps. i use project neon, kde 4.8.90, the newst stuff

:) bye

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb536b980 (LWP 12551))]

Thread 3 (Thread 0xafb99b40 (LWP 12552)):
#0  0xb77a3424 in __kernel_vsyscall ()
#1  0xb5c3b5f0 in __GI___poll (fds=0xaf202278, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb55ba74b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb55abd00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb55abe61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6ce9f06 in QEventDispatcherGlib::processEvents (this=0xaf200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6caf79d in QEventLoop::processEvents (this=0xafb99248, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6caf915 in QEventLoop::exec (this=0xafb99248, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6b89153 in QThread::exec (this=0x90099c8) at thread/qthread.cpp:501
#9  0xb6c8d01a in QInotifyFileSystemWatcherEngine::run (this=0x90099c8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6b8ba5d in QThreadPrivate::start (arg=0x90099c8) at thread/qthread_unix.cpp:338
#11 0xb6af9d4c in start_thread (arg=0xafb99b40) at pthread_create.c:308
#12 0xb5c49d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xae0ffb40 (LWP 29881)):
#0  0xb55ab7d5 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb55abc92 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb55abe61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb6ce9f06 in QEventDispatcherGlib::processEvents (this=0xad700468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb6caf79d in QEventLoop::processEvents (this=0xae0ff248, flags=...) at kernel/qeventloop.cpp:149
#5  0xb6caf915 in QEventLoop::exec (this=0xae0ff248, flags=...) at kernel/qeventloop.cpp:204
#6  0xb6b89153 in QThread::exec (this=0x9548368) at thread/qthread.cpp:501
#7  0xb6c8d01a in QInotifyFileSystemWatcherEngine::run (this=0x9548368) at io/qfilesystemwatcher_inotify.cpp:248
#8  0xb6b8ba5d in QThreadPrivate::start (arg=0x9548368) at thread/qthread_unix.cpp:338
#9  0xb6af9d4c in start_thread (arg=0xae0ffb40) at pthread_create.c:308
#10 0xb5c49d3e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb536b980 (LWP 12551)):
[KCrash Handler]
#7  0xb4fc33db in QHash<unsigned int, KIO::UDSEntryPrivate::Field>::value (this=0x200038, akey=@0xbfe7db68: 16777220) at /opt/project-neon/include/QtCore/qhash.h:609
#8  0xb4fc2bb6 in KIO::UDSEntry::stringValue (this=0x93d0038, field=16777220) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kio/kio/udsentry.cpp:75
#9  0xb4f4e5ef in KFileItem::iconName (this=0x97bd7d8) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kio/kio/kfileitem.cpp:808
#10 0xb0e54046 in KFileItemModelRolesUpdater::applyResolvedRoles (this=0x91321a8, item=..., hint=KFileItemModelRolesUpdater::ResolveAll) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:1021
#11 0xb0e5257c in KFileItemModelRolesUpdater::resolveNextPendingRoles (this=0x91321a8) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:546
#12 0xb0e54d0d in KFileItemModelRolesUpdater::qt_static_metacall (_o=0x91321a8, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x974e8f8) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/obj-i686-linux-gnu/dolphin/src/kfileitemmodelrolesupdater.moc:79
#13 0xb6cc8572 in QMetaCallEvent::placeMetaCall (this=0x9751100, object=0x91321a8) at kernel/qobject.cpp:524
#14 0xb6cc960e in QObject::event (this=0x91321a8, e=0x9751100) at kernel/qobject.cpp:1194
#15 0xb5f85d0c in QApplicationPrivate::notify_helper (this=0x8ee0c18, receiver=0x91321a8, e=0x9751100) at kernel/qapplication.cpp:4560
#16 0xb5f83383 in QApplication::notify (this=0xbfe7e450, receiver=0x91321a8, e=0x9751100) at kernel/qapplication.cpp:3942
#17 0xb74cbbf2 in KApplication::notify (this=0xbfe7e450, receiver=0x91321a8, event=0x9751100) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kdeui/kernel/kapplication.cpp:311
#18 0xb6cb20ee in QCoreApplication::notifyInternal (this=0xbfe7e450, receiver=0x91321a8, event=0x9751100) at kernel/qcoreapplication.cpp:915
#19 0xb6cb59df in QCoreApplication::sendEvent (receiver=0x91321a8, event=0x9751100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 0xb6cb301c in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e62a40) at kernel/qcoreapplication.cpp:1539
#21 0xb6cb2cd5 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#22 0xb6cea5ca in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 0xb6ce9753 in postEventSourceDispatch (s=0x8ee1da0) at kernel/qeventdispatcher_glib.cpp:279
#24 0xb55ab9e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb55abd80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb55abe61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb6ce9ee6 in QEventDispatcherGlib::processEvents (this=0x8ed3290, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0xb6053814 in QGuiEventDispatcherGlib::processEvents (this=0x8ed3290, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb6caf79d in QEventLoop::processEvents (this=0xbfe7e3b8, flags=...) at kernel/qeventloop.cpp:149
#30 0xb6caf915 in QEventLoop::exec (this=0xbfe7e3b8, flags=...) at kernel/qeventloop.cpp:204
#31 0xb6cb2784 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#32 0xb5f83006 in QApplication::exec () at kernel/qapplication.cpp:3821
#33 0xb10a8881 in kdemain (argc=1, argv=0x8eacc90) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/main.cpp:89
#34 0x0804d5a5 in launch (argc=1, _name=0x8ecce64 "dolphin", args=0x8ecce6c "\001", cwd=0x0, envc=1, envs=0x8ecce7b "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x8052fbd "0") at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kinit/kinit.cpp:726
#35 0x0804e64e in handle_launcher_request (sock=8, who=0x8053258 "launcher") at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kinit/kinit.cpp:1218
#36 0x0804eec8 in handle_requests (waitForPid=0) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kinit/kinit.cpp:1411
#37 0x080508c4 in main (argc=4, argv=0xbfe7e9a4, envp=0xbfe7e9b8) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kinit/kinit.cpp:1899

Reported using DrKonqi
Comment 1 Simon Andric 2012-10-17 00:47:48 UTC
Created attachment 74586 [details]
New crash information added by DrKonqi

dolphin (2.1) on KDE Platform 4.9.80 using Qt 4.8.4

- What I was doing when the application crashed:

i saw one of the folders had "unknown" displayed instead of number of files it contains... when i tried to enter it it said in red rectangle "could not enter /disk/..."

hope it helps


nice day


simon :)

-- Backtrace (Reduced):
#7  0xb4fc33db in QHash<unsigned int, KIO::UDSEntryPrivate::Field>::value (this=0x4, akey=@0xbfe7db68: 16777220) at /opt/project-neon/include/QtCore/qhash.h:609
#8  0xb4fc2bb6 in KIO::UDSEntry::stringValue (this=0x98d0038, field=16777220) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kio/kio/udsentry.cpp:75
#9  0xb4f4e5ef in KFileItem::iconName (this=0x9093df0) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kio/kio/kfileitem.cpp:808
#10 0xb0e54046 in KFileItemModelRolesUpdater::applyResolvedRoles (this=0x90c4a80, item=..., hint=KFileItemModelRolesUpdater::ResolveAll) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:1021
#11 0xb0e5257c in KFileItemModelRolesUpdater::resolveNextPendingRoles (this=0x90c4a80) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:546
Comment 2 Simon Andric 2012-10-17 01:18:00 UTC
Created attachment 74587 [details]
New crash information added by DrKonqi

dolphin (2.1) on KDE Platform 4.9.80 using Qt 4.8.4

- What I was doing when the application crashed:

the same crash..again...it seems i cannot browse through more than  5-6 floder, subfolder without crashing dolphin :(


nice day

simon

-- Backtrace (Reduced):
#7  0xb4fc33db in QHash<unsigned int, KIO::UDSEntryPrivate::Field>::value (this=0x4, akey=@0xbfe7db68: 16777220) at /opt/project-neon/include/QtCore/qhash.h:609
#8  0xb4fc2bb6 in KIO::UDSEntry::stringValue (this=0x9750038, field=16777220) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kio/kio/udsentry.cpp:75
#9  0xb4f4e5ef in KFileItem::iconName (this=0x95578d8) at /build/buildd/project-neon-kdelibs-2+git20121015+r92983/kio/kio/kfileitem.cpp:808
#10 0xb0e54046 in KFileItemModelRolesUpdater::applyResolvedRoles (this=0x90ff958, item=..., hint=KFileItemModelRolesUpdater::ResolveAll) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:1021
#11 0xb0e5257c in KFileItemModelRolesUpdater::resolveNextPendingRoles (this=0x90ff958) at /build/buildd/project-neon-kde-baseapps-2+git20121015+r17707/dolphin/src/kitemviews/kfileitemmodelrolesupdater.cpp:546
Comment 3 Jekyll Wu 2012-10-17 22:29:46 UTC
*** Bug 308525 has been marked as a duplicate of this bug. ***
Comment 4 Simon Andric 2012-10-18 01:00:08 UTC
hello!


i also would like to add this crash happens ALWAYS if i go int osome random directory and use mouse wheel for scrolling - has to d osth with displaying too many information of subfolders at the same time i think... :)

nice day

simon
Comment 5 Frank Reininghaus 2012-10-18 09:35:13 UTC
Thanks for the bug report! Considering the backtrace you posted in bug 308524, the slot KFileItemModelRolesUpdater::resolveNextPendingRoles() gets called recursively because it invokes itself using a single shot timer, which expires in Nepomuk's nested event loop.

The cause of the crash probably is that the sets m_pendingVisibleItems and m_pendingInvisibleItems and iterators operating on them get corrupted because multiple invocations of KFileItemModelRolesUpdater::resolveNextPendingRoles() try to manipulate them.
Comment 6 Frank Reininghaus 2012-10-18 19:53:28 UTC
*** Bug 308618 has been marked as a duplicate of this bug. ***
Comment 7 Frank Reininghaus 2012-10-18 19:53:43 UTC
*** Bug 308619 has been marked as a duplicate of this bug. ***
Comment 8 Frank Reininghaus 2012-11-23 15:45:37 UTC
*** Bug 308520 has been marked as a duplicate of this bug. ***
Comment 9 Frank Reininghaus 2013-04-10 07:42:06 UTC
This should be fixed by changes in Nepomuk.