Bug 316209 - Dolphin crash when root folder is selected from left sidebar under MacPorts
Summary: Dolphin crash when root folder is selected from left sidebar under MacPorts
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: MacPorts macOS
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-06 06:36 UTC by caulier.gilles
Modified: 2013-06-23 09:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.10.5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description caulier.gilles 2013-03-06 06:36:27 UTC
Under OSX Mountain Lion, i just installed whole KDE 4.9.5 from MacPorts. Kate, digiKam work fine, but Dolphin crash when i change current dir to root using left sidebar.

Reproducible: Always

Steps to Reproduce:
1. start dolphin
2. select root dir from left sidebar 
3. crash
Actual Results:  
bash-3.2$ uname -a
Darwin macgilles.home 12.2.1 Darwin Kernel Version 12.2.1: Thu Oct 18 12:13:47 PDT 2012; root:xnu-2050.20.9~1/RELEASE_X86_64 x86_64
bash-3.2$ pwd
/Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS
bash-3.2$ ls -al
total 88
drwxr-xr-x  4 root  admin    136 Feb 20 21:24 .
drwxr-xr-x  5 root  admin    170 Feb 20 21:24 ..
-rwxr-xr-x  1 root  admin  37384 Jan  7 06:25 dolphin
-rwxr-xr--  1 root  admin    383 Jan  7 06:25 dolphin.shell
bash-3.2$ gdb ./dolphin
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Thu Nov 15 10:42:43 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .......................... done

(gdb) run
Starting program: /Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS/dolphin 
Reading symbols for shared libraries +++++++++++++++++++++++++..........................................................................................................................................................warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/blocksort.o" - no debug information available for "blocksort.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/huffman.o" - no debug information available for "huffman.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/crctable.o" - no debug information available for "crctable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/randtable.o" - no debug information available for "randtable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/compress.o" - no debug information available for "compress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/decompress.o" - no debug information available for "decompress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/bzlib.o" - no debug information available for "bzlib.c".

...................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
dolphin(54941)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ...... done
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
"/Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS/dolphin(54941)" Soprano: "Could not connect to server at /private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/nepomuk-socket (No such file or directory)"
"/Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS/dolphin(54941)" Soprano: "Could not connect to server at /private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/nepomuk-socket (No such file or directory)"
Reading symbols for shared libraries . done
dolphin(54941)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "The name org.kde.kded was not provided by any .service files" 

dolphin(54941)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
dolphin(54941) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf! 

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffff8
0x00007fff9342dd02 in szone_realloc ()
(gdb) bt
#0  0x00007fff9342dd02 in szone_realloc ()
#1  0x00007fff9342a54a in malloc_zone_realloc ()
#2  0x00007fff9342acac in realloc ()
#3  0x00000001016f7c72 in QByteArray::realloc ()
#4  0x00000001016f777a in QByteArray::resize ()
#5  0x000000010182174d in QUtf8::convertFromUnicode ()
#6  0x000000010174222c in QString::toUtf8 ()
#7  0x0000000101778077 in locale_encode ()
#8  0x0000000101778b3f in QFile::encodeName ()
#9  0x00000001013799ac in KStandardDirs::saveLocation ()
#10 0x000000010137d6a2 in KStandardDirs::locateLocal ()
#11 0x000000010137d519 in KStandardDirs::locateLocal ()
#12 0x0000000100198069 in ViewProperties::destinationDir ()
...
#16893 0x0000000100197ed8 in ViewProperties::ViewProperties ()
#16894 0x0000000100197ed8 in ViewProperties::ViewProperties ()
#16895 0x000000010017ea4f in DolphinView::applyViewProperties ()
#16896 0x0000000100181771 in DolphinView::setUrl ()
#16897 0x00000001000293e1 in DolphinViewContainer::slotUrlNavigatorLocationChanged ()
#16898 0x000000010002a1e7 in DolphinViewContainer::qt_static_metacall ()
#16899 0x00000001018047b3 in QMetaObject::activate ()
#16900 0x000000010033483b in KUrlNavigator::setLocationUrl ()
#16901 0x0000000100028682 in DolphinViewContainer::setUrl ()
#16902 0x000000010001b68a in DolphinMainWindow::changeUrl ()
#16903 0x0000000100024d82 in DolphinMainWindow::qt_static_metacall ()
#16904 0x00000001018047b3 in QMetaObject::activate ()
#16905 0x0000000100038b8f in PlacesPanel::triggerItem ()
#16906 0x000000010003bce7 in PlacesPanel::qt_static_metacall ()
#16907 0x00000001018047b3 in QMetaObject::activate ()
#16908 0x0000000100143e0a in KItemListController::mouseReleaseEvent ()
#16909 0x0000000100144ddc in KItemListController::processEvent ()
#16910 0x000000010014f2bd in KItemListView::event ()
#16911 0x0000000101b332ef in QApplicationPrivate::notify_helper ()
#16912 0x0000000101b362ee in QApplication::notify ()
#16913 0x0000000100d66e37 in KApplication::notify ()
#16914 0x00000001017ed701 in QCoreApplication::notifyInternal ()
#16915 0x0000000101b369dc in qt_sendSpontaneousEvent ()
#16916 0x0000000102083a4e in QGraphicsScenePrivate::sendEvent ()
#16917 0x0000000102085292 in QGraphicsScenePrivate::sendMouseEvent ()
#16918 0x0000000102090018 in QGraphicsScene::mouseReleaseEvent ()
#16919 0x000000010208b241 in QGraphicsScene::event ()
#16920 0x0000000101b332ef in QApplicationPrivate::notify_helper ()
#16921 0x0000000101b362ee in QApplication::notify ()
#16922 0x0000000100d66e37 in KApplication::notify ()
#16923 0x00000001017ed701 in QCoreApplication::notifyInternal ()
#16924 0x0000000101b369dc in qt_sendSpontaneousEvent ()
#16925 0x00000001020b0792 in QGraphicsView::mouseReleaseEvent ()
#16926 0x0000000101b801d4 in QWidget::event ()
#16927 0x0000000101ea84b7 in QFrame::event ()
#16928 0x0000000101f2adb8 in QAbstractScrollArea::viewportEvent ()
#16929 0x00000001020aeda3 in QGraphicsView::viewportEvent ()
#16930 0x0000000101f2b545 in QAbstractScrollAreaFilter::eventFilter ()
#16931 0x00000001017ed9c9 in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
#16932 0x0000000101b332da in QApplicationPrivate::notify_helper ()
#16933 0x0000000101b3507d in QApplication::notify ()
#16934 0x0000000100d66e37 in KApplication::notify ()
#16935 0x00000001017ed701 in QCoreApplication::notifyInternal ()
#16936 0x0000000101b33c3e in QApplicationPrivate::sendMouseEvent ()
#16937 0x0000000101ae47f1 in qt_mac_handleMouseEvent ()
#16938 0x00007fff8f7dd6d6 in -[NSWindow sendEvent:] ()
#16939 0x0000000101adc1ae in -[QCocoaWindow sendEvent:] ()
#16940 0x00007fff8f7d9744 in -[NSApplication sendEvent:] ()
#16941 0x0000000101ae0d7e in -[QNSApplication sendEvent:] ()
#16942 0x00007fff8f6ef2fa in -[NSApplication run] ()
#16943 0x0000000101ae9903 in QEventDispatcherMac::processEvents ()
#16944 0x00000001017ead45 in QEventLoop::exec ()
#16945 0x00000001017edc3e in QCoreApplication::exec ()
#16946 0x0000000100031088 in kdemain ()
#16947 0x00007fff91c037e1 in start ()
(gdb) 
                                                                                                                                                                                                           

Expected Results:  
no crash
Comment 1 Frank Reininghaus 2013-03-06 08:55:02 UTC
Thanks for the bug report, but to be honest, I'm not sure how much we can actually do about Mac-only bugs, considering that to my knowledge, noone working on Dolphin owns a Mac. Moreover, the backtrace looks like it might actually be a kdelibs issue.

Could you at least install debugging symbols to give us a chance to understand what's going wrong? Thanks.
Comment 2 caulier.gilles 2013-03-06 09:29:08 UTC
I will try. Not sure that macports provide debug symbols like package, as all is compiled as well.

Or perhaps it's a specific option to pass when package are installed to compile source code with debug symbol.

Another details : Dolphin crash in all condition when i change current dir opened, not only when i go to root dir from left sidebar. For ex, when i want to go to a subdir listed in central list view, i take the same crash...
Comment 3 Frank Reininghaus 2013-05-12 08:52:59 UTC
Any further information about this? Considering that there seems to be an infinite recursion, it would help to at least know which parts of the backtrace are repeated over and over again in the frames that are left out.
Comment 4 caulier.gilles 2013-05-12 08:58:48 UTC
I tried to get a better backtrace to recompile Doplhin through macports, using +debug argument passed on whole KDE packages. No Chance, the trace still always the same. There is no more debug information. Perhaps the problem is outside KDELibs core or Dolphin, as kioslaves or DBus for ex ?

Gilles Caulier
Comment 5 Frank Reininghaus 2013-05-12 09:16:31 UTC
Hm, is gdb on Mac really not able to tell you anything about the frames between #12 and #16893?
Comment 6 caulier.gilles 2013-05-12 09:58:17 UTC
No, it's always the same :

bash-3.2$ mc

bash-3.2$ gdb ./dolphin 
GNU gdb 6.3.50-20050815 (Apple version gdb-1824) (Thu Nov 15 10:42:43 UTC 2012)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries ............................ done

(gdb) run
Starting program: /Applications/MacPorts/KDE4/dolphin.app/Contents/MacOS/dolphin 
Reading symbols for shared libraries +++++++++++++++++++++++++++...........................................................................................................................................................warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/blocksort.o" - no debug information available for "blocksort.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/huffman.o" - no debug information available for "huffman.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/crctable.o" - no debug information available for "crctable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/randtable.o" - no debug information available for "randtable.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/compress.o" - no debug information available for "compress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/decompress.o" - no debug information available for "decompress.c".

warning: Could not find object file "/opt/local/var/macports/build/_opt_mports_dports_archivers_bzip2/bzip2/work/bzip2-1.0.6/bzlib.o" - no debug information available for "bzlib.c".

...................................... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
dolphin(2150)/KSharedDataCache ensureFileAllocated: This system misses support for posix_fallocate() -- ensure this partition has room for at least 10547296 bytes. 
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ...... done                                                                                                                                                           
Reading symbols for shared libraries ... done                                                                                                                                                              
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done                                                                                                                                                                
Reading symbols for shared libraries . done
Reading symbols for shared libraries ... done
Reading symbols for shared libraries . done
Reading symbols for shared libraries .. done
dolphin(2150)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/Users/gilles/.local/share/user-places.xbel"
dolphin(2150)/kdecore (KSycoca) KSycocaPrivate::checkDatabase: We have no database.... launching kdeinit
dolphin(2150)/kdecore (kdelibs) *KToolInvocation::klauncher: klauncher not running... launching kdeinit
dolphin(2150)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/private/var/tmp/kdecache-gilles/ksycoca4"
dolphin(2150)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
dolphin(2150)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x106b12870)
dolphin(2150)/kio (Scheduler) *KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "trash"
dolphin(2150)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 2 m_maxConnectionsPerHost: 2
dolphin(2150)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///Users/gilles")
dolphin(2150)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x1088a3970)
dolphin(2150)/kio (Scheduler) *KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "file"
dolphin(2150)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 5 m_maxConnectionsPerHost: 5
dolphin(2150)/kparts KActivities::ResourceInstance::ResourceInstance: Creating ResourceInstance:   QUrl( "file:///Users/gilles" )
dolphin(2150)/kdecore (kdelibs) *KToolInvocation::klauncher: klauncher not running... launching kdeinit
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
klauncher(2160)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/klauncherxJ2160.slave-socket"
klauncher(2160)/kio (KLauncher) KLauncher::KLauncher: LAUNCHER_OK
klauncher(2160)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/private/var/tmp/kdecache-gilles/ksycoca4"
kdeinit4: Shutting down running client.
Reading symbols for shared libraries . done
dolphin(2150)/kdecore (kdelibs) *KToolInvocation::klauncher: klauncher not running... launching kdeinit
dolphin(2150)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() D-Bus call failed:  "The name org.kde.kded was not provided by any .service files" 

dolphin(2150)/kdecore (K*TimeZone*) *KSystemTimeZonesPrivate::instance: instance(): ... initialised
dolphin(2150)/kdecore (K*TimeZone*): No time zone information obtained from ktimezoned 
dolphin(2150)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= ""
dolphin(2150)/kdecore (K*TimeZone*) KTimeZoneBackend::offsetAtUtc: No cache
dolphin(2150)/kdecore (K*TimeZone*) KTimeZoneBackend::offsetAtZoneTime: -> No cache
dolphin(2150)/kdecore (K*TimeZone*) KTimeZoneBackend::offsetAtUtc: No cache
dolphin(2150)/kdecore (K*TimeZone*) KTimeZoneBackend::offsetAtZoneTime: -> No cache
dolphin(2150)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x106b1a330) )
dolphin(2150)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x106b1a330) ,  KDirLister(0x106b80200) )
dolphin(2150)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x108871ac0)  url= KUrl("trash:/")
dolphin(2150)/kio (Slave) *KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")
dolphin(2150)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/dolphints2150.slave-socket"
dolphin(2150)/kdecore (kdelibs) *KToolInvocation::klauncher: klauncher not running... launching kdeinit
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
klauncher(2165)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/klauncherxJ2165.slave-socket"
klauncher(2165)/kio (KLauncher) KLauncher::KLauncher: LAUNCHER_OK
klauncher(2165)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/private/var/tmp/kdecache-gilles/ksycoca4"
klauncher(2165)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "/opt/local/lib/kde4/libexec/kioslave"  with protocol= "trash"  args= ("kio_trash", "trash", "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/klauncherxJ2165.slave-socket", "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/dolphints2150.slave-socket")
klauncher(2165)/kio (KLauncher) KLauncher::processRequestReturn: "/opt/local/lib/kde4/libexec/kioslave" (pid 2168) up and running.
dolphin(2150)/kio (Slave) *KIO::Slave::createSlave: createSlave "file" for KUrl("file:///Users/gilles")
dolphin(2150)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/dolphinDY2150.slave-socket"
klauncher(2165)/kio (KLauncher) KLauncher::requestSlave: KLauncher: launching new slave  "/opt/local/lib/kde4/libexec/kioslave"  with protocol= "file"  args= ("kio_file", "file", "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/klauncherxJ2165.slave-socket", "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/dolphinDY2150.slave-socket")
klauncher(2165)/kio (KLauncher) KLauncher::processRequestReturn: "/opt/local/lib/kde4/libexec/kioslave" (pid 2169) up and running.
kdeinit4: Shutting down running client.
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
klauncher(2170)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/private/var/folders/qw/qxx4g7k55hg9ysjmdvnb057m0000gn/T/ksocket-gilles/klauncherxJ2170.slave-socket"
klauncher(2170)/kio (KLauncher) KLauncher::KLauncher: LAUNCHER_OK
klauncher(2171) kdemain: Waiting for already running klauncher to exit. 
dolphin(2150)/kio (Slave) KIO::Slave::timeout: slave failed to connect to application pid= 2168  protocol= "trash"
dolphin(2150)/kio (Slave) KIO::Slave::timeout: Houston, we lost our slave, pid= 2168
dolphin(2150)/kio (Slave) KIO::Slave::timeout: slave died pid =  2168
dolphin(2150)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x106b12870) KIO::Slave(0x106b8c960)
dolphin(2150)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("trash:/")
dolphin(2150)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveDied: KIO::Slave(0x106b8c960)
dolphin(2150)/kio (Slave) KIO::Slave::timeout: slave failed to connect to application pid= 2169  protocol= "file"
dolphin(2150)/kio (Slave) KIO::Slave::timeout: Houston, we lost our slave, pid= 2169
dolphin(2150)/kio (Slave) KIO::Slave::timeout: slave died pid =  2169
dolphin(2150)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x1088a3970) KIO::Slave(0x106ba5500)
dolphin(2150)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///Users/gilles")
dolphin(2150)/kio (Scheduler) KIO::SchedulerPrivate::slotSlaveDied: KIO::Slave(0x106ba5500)
klauncher(2171) kdemain: Waiting for already running klauncher to exit. 
klauncher(2171) kdemain: Another instance of klauncher is already running! 
kdeinit4: Communication error with launcher. Exiting!

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00007fff5f3ffff8
0x00007fff8ccde184 in tiny_malloc_from_free_list ()
(gdb) bt
#0  0x00007fff8ccde184 in tiny_malloc_from_free_list ()
#1  0x00007fff8ccdeb38 in szone_malloc_should_clear ()
#2  0x00007fff8ccd11b3 in malloc_zone_malloc ()
#3  0x00007fff8ccd1c07 in malloc ()
#4  0x00000001028e6af5 in QByteArray::resize ()
#5  0x0000000102a1a26a in QUtf8::convertFromUnicode ()
#6  0x0000000102932c19 in QString::toUtf8 ()
#7  0x000000010296a477 in locale_encode ()
#8  0x000000010296b0bf in QFile::encodeName ()
#9  0x0000000102564e4c in KStandardDirs::saveLocation ()
#10 0x0000000102568b42 in KStandardDirs::locateLocal ()
#11 0x00000001025689b9 in KStandardDirs::locateLocal ()
#12 0x000000010019f219 in ViewProperties::destinationDir ()
#13 0x000000010019ebd8 in ViewProperties::ViewProperties ()
#14 0x000000010019f088 in ViewProperties::ViewProperties ()
#15 0x000000010019f088 in ViewProperties::ViewProperties ()
#16 0x000000010019f088 in ViewProperties::ViewProperties ()
#17 0x000000010019f088 in ViewProperties::ViewProperties ()
#18 0x000000010019f088 in ViewProperties::ViewProperties ()
#19 0x000000010019f088 in ViewProperties::ViewProperties ()
#20 0x000000010019f088 in ViewProperties::ViewProperties ()
#21 0x000000010019f088 in ViewProperties::ViewProperties ()
#22 0x000000010019f088 in ViewProperties::ViewProperties ()
#23 0x000000010019f088 in ViewProperties::ViewProperties ()
#24 0x000000010019f088 in ViewProperties::ViewProperties ()
#25 0x000000010019f088 in ViewProperties::ViewProperties ()
#26 0x000000010019f088 in ViewProperties::ViewProperties ()
#27 0x000000010019f088 in ViewProperties::ViewProperties ()
#28 0x000000010019f088 in ViewProperties::ViewProperties ()
#29 0x000000010019f088 in ViewProperties::ViewProperties ()
#30 0x000000010019f088 in ViewProperties::ViewProperties ()
#31 0x000000010019f088 in ViewProperties::ViewProperties ()
#32 0x000000010019f088 in ViewProperties::ViewProperties ()
#33 0x000000010019f088 in ViewProperties::ViewProperties ()
#34 0x000000010019f088 in ViewProperties::ViewProperties ()
#35 0x000000010019f088 in ViewProperties::ViewProperties ()
#36 0x000000010019f088 in ViewProperties::ViewProperties ()
#37 0x000000010019f088 in ViewProperties::ViewProperties ()
...
#16894 0x000000010019f088 in ViewProperties::ViewProperties ()
#16895 0x000000010018597f in DolphinView::applyViewProperties ()
#16896 0x00000001001886a1 in DolphinView::setUrl ()
#16897 0x000000010002a601 in DolphinViewContainer::slotUrlNavigatorLocationChanged ()
#16898 0x000000010002b3e2 in DolphinViewContainer::qt_static_metacall ()
#16899 0x00000001029fc19b in QMetaObject::activate ()
#16900 0x000000010033084b in KUrlNavigator::setLocationUrl ()
#16901 0x00000001000296c0 in DolphinViewContainer::setUrl ()
#16902 0x000000010001c3ea in DolphinMainWindow::changeUrl ()
#16903 0x0000000100025b2d in DolphinMainWindow::qt_static_metacall ()
#16904 0x00000001029fc19b in QMetaObject::activate ()
#16905 0x0000000100039e0f in PlacesPanel::triggerItem ()
#16906 0x000000010003d315 in PlacesPanel::qt_static_metacall ()
#16907 0x00000001029fc19b in QMetaObject::activate ()
#16908 0x00000001001487a3 in KItemListController::mouseReleaseEvent ()
#16909 0x000000010014978c in KItemListController::processEvent ()
#16910 0x0000000100153d7d in KItemListView::event ()
#16911 0x000000010170ae2c in QApplicationPrivate::notify_helper ()
#16912 0x000000010170dc7e in QApplication::notify ()
#16913 0x00000001011b42d7 in KApplication::notify ()
#16914 0x00000001029e47f5 in QCoreApplication::notifyInternal ()
#16915 0x000000010170e65c in qt_sendSpontaneousEvent ()
#16916 0x0000000101c847f5 in QGraphicsScenePrivate::sendEvent ()
#16917 0x0000000101c861ed in QGraphicsScenePrivate::sendMouseEvent ()
#16918 0x0000000101c91378 in QGraphicsScene::mouseReleaseEvent ()
#16919 0x0000000101c8c6fa in QGraphicsScene::event ()
#16920 0x000000010170ae2c in QApplicationPrivate::notify_helper ()
#16921 0x000000010170dc7e in QApplication::notify ()
#16922 0x00000001011b42d7 in KApplication::notify ()
#16923 0x00000001029e47f5 in QCoreApplication::notifyInternal ()
#16924 0x000000010170e65c in qt_sendSpontaneousEvent ()
#16925 0x0000000101cb28de in QGraphicsView::mouseReleaseEvent ()
#16926 0x000000010175b4ea in QWidget::event ()
#16927 0x0000000101a98827 in QFrame::event ()
#16928 0x0000000101b1ebec in QAbstractScrollArea::viewportEvent ()
#16929 0x0000000101cb0f53 in QGraphicsView::viewportEvent ()
#16930 0x0000000101b1f3e5 in QAbstractScrollAreaFilter::eventFilter ()
#16931 0x00000001029e4aed in QCoreApplicationPrivate::sendThroughObjectEventFilters ()
#16932 0x000000010170ae1b in QApplicationPrivate::notify_helper ()
#16933 0x000000010170d552 in QApplication::notify ()
#16934 0x00000001011b42d7 in KApplication::notify ()
#16935 0x00000001029e47f5 in QCoreApplication::notifyInternal ()
#16936 0x000000010170b7e3 in QApplicationPrivate::sendMouseEvent ()
#16937 0x00000001016ba079 in qt_mac_handleMouseEvent ()
#16938 0x00007fff8b70b606 in -[NSWindow sendEvent:] ()
#16939 0x00000001016b1ade in -[QCocoaWindow sendEvent:] ()
#16940 0x00007fff8b707674 in -[NSApplication sendEvent:] ()
#16941 0x00000001016b66ee in -[QNSApplication sendEvent:] ()
#16942 0x00007fff8b61d24a in -[NSApplication run] ()
#16943 0x00000001016bf4c0 in QEventDispatcherMac::processEvents ()
#16944 0x00000001029e1b97 in QEventLoop::exec ()
#16945 0x00000001029e4d87 in QCoreApplication::exec ()
#16946 0x0000000100032288 in kdemain ()
#16947 0x00007fff88c1d7e1 in start ()
(gdb)
Comment 7 caulier.gilles 2013-05-12 09:59:50 UTC
For Info :

bash-3.2$ ./dolphin -v    
Qt: 4.8.4
KDE Development Platform: 4.10.1
Dolphin: 2.2
bash-3.2$ 

Gilles Caulier
Comment 8 Frank Reininghaus 2013-06-23 08:05:48 UTC
Git commit 04229f8f6c3b5c7732251ea4dd038b5fc81fc388 by Frank Reininghaus.
Committed on 23/06/2013 at 08:01.
Pushed by freininghaus into branch 'KDE/4.10'.

Prevent possible infinite recursion in ViewProperties

If each directory can have its own view properties, and loadting the
.directory file fails in a directory, we have to load the global view
properties. However, if we try to do this by changing the "global view
properties setting" and loading the view properties for the same
directory again, we might get an infinite recursion if changing the
setting fails.

We now force a loading of the global view properties by constructing a
new ViewProperties object with an empty URL.

Thanks to Kurt Hindenburg for helping to debug this issue (which was
only reproducible on MacOS).
FIXED-IN: 4.10.5
REVIEW: 111182

M  +6    -6    dolphin/src/views/viewproperties.cpp

http://commits.kde.org/kde-baseapps/04229f8f6c3b5c7732251ea4dd038b5fc81fc388
Comment 9 caulier.gilles 2013-06-23 09:28:23 UTC
Thanks to fix. I will check if all is fine under macports when 4.10.5 will be available under Fruit computer

Gilles Caulier