Bug 304420 - Dolphin crashed on startup
Summary: Dolphin crashed on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.1
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-02 06:12 UTC by Vishesh Handa
Modified: 2018-03-30 15:29 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vishesh Handa 2012-08-02 06:12:16 UTC
Application: dolphin (2.1)
KDE Platform Version: 4.8.4 (4.8.4) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.4.6-1-ARCH x86_64
Distribution: "Arch Linux"

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

Manually started dolphin via the terminal. I was planning on debugging some Nepomuk stuff, however Nepmuk was not running. I'm attaching the debug output from dolphin -

vlap:~/kde $ dolphin       
11:37:02 dolphin(6029)/nepomuk (library) {anonymous}::GlobalModelContainer::init: Connecting to local socket "/home/vishesh/kde/.kde-devel/kde-devel-vishesh/ksocket-vishesh/nepomuk-socket"
11:37:02 dolphin(6029)/nepomuk (library) {anonymous}::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/vishesh/kde/.kde-devel/kde-devel-vishesh/ksocket-vishesh/nepomuk-socket"
11:37:02 dolphin(6029)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/vishesh/.local/share/user-places.xbel"
11:37:02 dolphin(6029)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/home/vishesh/kde/.kde-devel/tmp/kde-devel-var-/kdecache-vishesh/ksycoca4"
11:37:02 dolphin(6029)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
11:37:02 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x1658f50)
11:37:02 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "trash"
11:37:02 dolphin(6029)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 2 m_maxConnectionsPerHost: 2
11:37:02 dolphin(6029)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/vishesh")
11:37:02 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x1740320)
11:37:02 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "file"
11:37:02 dolphin(6029)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 5 m_maxConnectionsPerHost: 5
11:37:02 dolphin(6029)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::instance: instance(): ... initialised
11:37:02 dolphin(6029)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Asia/Kolkata"
11:37:02 dolphin(6029)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readZoneTab: readZoneTab( "/usr/share/zoneinfo/zone.tab" )
11:37:02 dolphin(6029)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x1585560) )
11:37:03 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x19c3520)
11:37:03 dolphin(6029)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x1585560) ,  KDirLister(0x188e8b0) )
11:37:03 dolphin(6029)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x1585560) ,  KDirLister(0x188e8b0) ,  KDirLister(0x1870030) )
11:37:03 dolphin(6029)/kio (KDirListerCache) KDirListerCache::stopListingUrl: KDirLister(0x197f7a0)  url= KUrl("trash:/")
11:37:03 dolphin(6029)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")
11:37:03 dolphin(6029)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/vishesh/kde/.kde-devel/kde-devel-vishesh/ksocket-vishesh/dolphinEa6029.slave-socket"
11:37:03 dolphin(6029)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/vishesh")
11:37:03 dolphin(6029)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/vishesh/kde/.kde-devel/kde-devel-vishesh/ksocket-vishesh/dolphinqq6029.slave-socket"
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
11:37:03 dolphin(6029)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/vishesh")
11:37:03 dolphin(6029)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/vishesh/kde/.kde-devel/kde-devel-vishesh/ksocket-vishesh/dolphinSa6029.slave-socket"
11:37:03 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::ListJob(0x1740320) KIO::Slave(0x18908f0)
11:37:03 dolphin(6029)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/vishesh")
11:37:03 dolphin(6029)/kio (Scheduler) KIO::SchedulerPrivate::jobFinished: KIO::StatJob(0x19c3520) KIO::Slave(0x1588090)
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = dolphin path = /home/vishesh/kde/bin pid = 6029
KCrash: Arguments: /home/vishesh/kde/bin/dolphin --nocrashhandler 
KCrash: Attempting to start /home/vishesh/kde/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/vishesh/kde/.kde-devel/socket-vlap/kdeinit4__0
QSocketNotifier: Invalid socket 11 and type 'Read', disabling...
zsh: suspended (signal)  dolphin
vlap:~/kde $

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1f39584780 (LWP 6029))]

Thread 3 (Thread 0x7f1f1d917700 (LWP 6031)):
#0  0x00007f1f338caebd in poll () from /lib/libc.so.6
#1  0x00007f1f2eef3744 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f1f2eef3864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f1f363a5c46 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#4  0x00007f1f3637677f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#5  0x00007f1f36376a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#6  0x00007f1f36279700 in QThread::exec() () from /lib/libQtCore.so.4
#7  0x00007f1f363571af in ?? () from /lib/libQtCore.so.4
#8  0x00007f1f3627c69b in ?? () from /lib/libQtCore.so.4
#9  0x00007f1f35fece0f in start_thread () from /lib/libpthread.so.0
#10 0x00007f1f338d304d in clone () from /lib/libc.so.6

Thread 2 (Thread 0x7f1f17fff700 (LWP 6036)):
#0  0x00007f1f338ccc63 in select () from /lib/libc.so.6
#1  0x00007f1f363567e2 in ?? () from /lib/libQtCore.so.4
#2  0x00007f1f3627c69b in ?? () from /lib/libQtCore.so.4
#3  0x00007f1f35fece0f in start_thread () from /lib/libpthread.so.0
#4  0x00007f1f338d304d in clone () from /lib/libc.so.6

Thread 1 (Thread 0x7f1f39584780 (LWP 6029)):
[KCrash Handler]
#6  0x00007f1f36841e32 in weightedOffers (serviceType=...) at /home/vishesh/kde/src/kdelibs/kdecore/services/kservicetypetrader.cpp:92
#7  0x00007f1f368422f5 in KServiceTypeTrader::query (this=0x1b00cb0, serviceType=..., constraint=...) at /home/vishesh/kde/src/kdelibs/kdecore/services/kservicetypetrader.cpp:146
#8  0x00007f1f1c5571fc in Phonon::KdePlatformPlugin::isMimeTypeAvailable (this=<optimized out>, mimeType=...) at /home/vishesh/kde/src/kde-runtime/phonon/platform_kde/kdeplatformplugin.cpp:224
#9  0x00007f1f3490593f in Phonon::BackendCapabilities::isMimeTypeAvailable (mimeType=...) at /home/vishesh/kde/src/phonon/phonon/backendcapabilities.cpp:61
#10 0x00007f1f39163583 in InformationPanelContent::showItem (this=0x18614e0, item=...) at /home/vishesh/kde/src/kde-baseapps/dolphin/src/panels/information/informationpanelcontent.cpp:200
#11 0x00007f1f3916091d in InformationPanel::slotFolderStatFinished (this=0x1736630, job=<optimized out>) at /home/vishesh/kde/src/kde-baseapps/dolphin/src/panels/information/informationpanel.cpp:201
#12 0x00007f1f3638cf0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#13 0x00007f1f367fa0e2 in KJob::result (this=this@entry=0x19c3520, _t1=_t1@entry=0x19c3520) at /home/vishesh/kde/build/kdelibs/kdecore/kjob.moc:208
#14 0x00007f1f367fa125 in KJob::emitResult (this=0x19c3520) at /home/vishesh/kde/src/kdelibs/kdecore/jobs/kjob.cpp:318
#15 0x00007f1f3806ab39 in KIO::SimpleJob::slotFinished (this=this@entry=0x19c3520) at /home/vishesh/kde/src/kdelibs/kio/kio/job.cpp:494
#16 0x00007f1f3806b9d0 in KIO::StatJob::slotFinished (this=0x19c3520) at /home/vishesh/kde/src/kdelibs/kio/kio/job.cpp:896
#17 0x00007f1f3638cf0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#18 0x00007f1f38100df1 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at /home/vishesh/kde/src/kdelibs/kio/kio/slaveinterface.cpp:172
#19 0x00007f1f380fed56 in KIO::SlaveInterface::dispatch (this=0x1588090) at /home/vishesh/kde/src/kdelibs/kio/kio/slaveinterface.cpp:88
#20 0x00007f1f380f68e0 in KIO::Slave::gotInput (this=0x1588090) at /home/vishesh/kde/src/kdelibs/kio/kio/slave.cpp:344
#21 0x00007f1f3638cf0f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib/libQtCore.so.4
#22 0x00007f1f3804271a in KIO::ConnectionPrivate::dequeue (this=0x1a101d0) at /home/vishesh/kde/src/kdelibs/kio/kio/connection.cpp:82
#23 0x00007f1f3638c3ee in QObject::event(QEvent*) () from /lib/libQtCore.so.4
#24 0x00007f1f35291f8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/libQtGui.so.4
#25 0x00007f1f3529640a in QApplication::notify(QObject*, QEvent*) () from /lib/libQtGui.so.4
#26 0x00007f1f370423be in KApplication::notify (this=0x7fff2e7ee5b0, receiver=0x16daaa0, event=0x1a0d760) at /home/vishesh/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#27 0x00007f1f36377a2e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib/libQtCore.so.4
#28 0x00007f1f3637b391 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/libQtCore.so.4
#29 0x00007f1f363a5a93 in ?? () from /lib/libQtCore.so.4
#30 0x00007f1f2eef3475 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007f1f2eef37a8 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007f1f2eef3864 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007f1f363a5c26 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#34 0x00007f1f353321ee in ?? () from /lib/libQtGui.so.4
#35 0x00007f1f3637677f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#36 0x00007f1f36376a08 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/libQtCore.so.4
#37 0x00007f1f3637b6a8 in QCoreApplication::exec() () from /lib/libQtCore.so.4
#38 0x00007f1f3916001f in kdemain (argc=1, argv=0x7fff2e7ee6e8) at /home/vishesh/kde/src/kde-baseapps/dolphin/src/main.cpp:89
#39 0x00007f1f33810725 in __libc_start_main () from /lib/libc.so.6
#40 0x0000000000400851 in _start ()

Reported using DrKonqi
Comment 1 Frank Reininghaus 2012-08-03 06:20:58 UTC
Thanks for the bug report! It looks like the Information Panel has trouble with one of the files in the folder you're trying to open. It might help if you could isolate this file.
Comment 2 Vishesh Handa 2012-08-03 07:16:33 UTC
Damn. After restarting Nepomuk I can't seem to reproduce this. It might even be cause I was running a couple of mock dbus sessions for testing.

(In reply to comment #1)
> Thanks for the bug report! It looks like the Information Panel has trouble
> with one of the files in the folder you're trying to open. It might help if
> you could isolate this file.

Even thought the backtrace says that. I'm not convinced that it could be cause of any file - well no problem cause of Nepomuk or strigi. That's because the KFileMetadataWidget runs the metadata fetcher in another process.

Also, the backtrace seem a little corrupted - 

#8 0x00007f1f1c5571fc in Phonon::KdePlatformPlugin::isMimeTypeAvailable (this=<optimized out>, mimeType=...) at /home/vishesh/kde/src/kde-runtime/phonon/platform_kde/kdeplatformplugin.cpp:224

Missing  - bool Factory::isMimeTypeAvailable(const QString &mimeType)

#9 0x00007f1f3490593f in Phonon::BackendCapabilities::isMimeTypeAvailable (mimeType=...) at /home/vishesh/kde/src/phonon/phonon/backendcapabilities.cpp:61

#10 0x00007f1f39163583 in InformationPanelContent::showItem (this=0x18614e0, item=...) at /home/vishesh/kde/src/kde-baseapps/dolphin/src/panels/information/informationpanelcontent.cpp:200

#11 0x00007f1f3916091d in InformationPanel::slotFolderStatFinished (this=0x1736630, job=<optimized out>) at /home/vishesh/kde/src/kde-baseapps/dolphin/src/panels/information/informationpanel.cpp:201

See - slotFolderStatFinished - nothing to do with files.

Anyway, the crash seems to be in -     
const KService::List offers = KServiceTypeTrader::self()->query("PhononBackend",
            "Type == 'Service' and [X-KDE-PhononBackendInfo-InterfaceVersion] == 1");

This doesn't really seem like a dolphin bug. I'm not sure what to reassign this bug to. Any suggestions?
Comment 3 Frank Reininghaus 2012-08-06 10:29:05 UTC
(In reply to comment #2)
> This doesn't really seem like a dolphin bug. I'm not sure what to reassign
> this bug to. Any suggestions?

Sorry, no idea! Maybe dfaure might know.
Comment 4 Jeroen van Meeuwen (Kolab Systems) 2012-08-24 16:19:32 UTC
Resetting assignee to default as per bug #305719
Comment 5 Frank Reininghaus 2013-04-26 15:20:25 UTC
Have you seen this crash again recently?
Comment 6 Frank Reininghaus 2013-05-12 08:49:03 UTC
Please reopen if you see this crash again.
Comment 7 Julian Steinmann 2018-03-30 15:29:51 UTC
Closing this bug now, no response.