Bug 268064 - Doplhin crashed after expanding a folder [KServiceFactory::serviceOffers, KServiceTypeTrader::defaultOffers, KServiceTypeTrader::query, KIO::PreviewJobPrivate::startPreview]
Summary: Doplhin crashed after expanding a folder [KServiceFactory::serviceOffers, KSe...
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: 4.8
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 278846 280004 282291 288115 299676 299941 300039 300270 301499 301589 301606 301816 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-09 16:39 UTC by Nico Kruber
Modified: 2014-05-04 16:03 UTC (History)
16 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.5


Attachments
New crash information added by DrKonqi (9.21 KB, text/plain)
2012-05-19 22:27 UTC, Simon Andric
Details
New crash information added by DrKonqi (9.27 KB, text/plain)
2012-05-21 15:36 UTC, Simon Andric
Details
New crash information added by DrKonqi (5.69 KB, text/plain)
2012-06-01 11:08 UTC, Unknown
Details
New crash information added by DrKonqi (3.69 KB, text/plain)
2012-06-12 13:02 UTC, Philipp A.
Details
full bt from kmail - reproducable crash when trying to reply to a mail (11.90 KB, text/plain)
2012-06-13 20:41 UTC, Christian Boltz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Kruber 2011-03-09 16:39:33 UTC
Application: dolphin (1.6)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.34.7-0.7-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
I ran simulations in a konsole which write log files to a folder. In Dolphin, I had the base folder open and expanded the log folder in it. I was hovering a subfolder in 'log' and tried to expand this as well when Dolphin crashed.
After Dolphin's re-start, I can expand that folder successfully.

- Custom settings of the application:
expandable folders enabled

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

Thread 2 (Thread 0x7fcb0031d710 (LWP 3240)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff41f9f7a1 in ?? ()
#2  0x00007fcb11c772a3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007fcb160a2b42 in do_gettime (frac=<optimized out>, sec=<optimized out>) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fcb16166d2d in QTimerInfoList::updateCurrentTime (this=0x9c4a30) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007fcb161670b5 in QTimerInfoList::timerWait (this=0x9c4a30, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007fcb16165b6c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fcb0031cc4c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fcb16165c15 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fcb119cef7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fcb119cfe69 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fcb119d0510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fcb16166366 in QEventDispatcherGlib::processEvents (this=0x9990c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fcb1613aa72 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fcb1613ac85 in QEventLoop::exec (this=0x7fcb0031cde0, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007fcb1604d764 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#16 0x00007fcb1611bf48 in QInotifyFileSystemWatcherEngine::run (this=0x64ad70) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007fcb16050055 in QThreadPrivate::start (arg=0x64ad70) at thread/qthread_unix.cpp:320
#18 0x00007fcb15dbfa4f in start_thread () from /lib64/libpthread.so.0
#19 0x00007fcb14b7582d in clone () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcb17489760 (LWP 3213)):
[KCrash Handler]
#6  KServiceFactory::serviceOffers (this=0x7fcb0e0f6af0, serviceTypeOffset=23109, serviceOffersOffset=<optimized out>) at /usr/src/debug/kdelibs-4.6.1/kdecore/services/kservicefactory.cpp:251
#7  0x00007fcb1662e07d in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=<optimized out>, constraint=...) at /usr/src/debug/kdelibs-4.6.1/kdecore/services/kservicetypetrader.cpp:125
#8  0x00007fcb165a2b19 in KServiceTypeTrader::query (this=0x16e71c0, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.6.1/kdecore/services/kservicetypetrader.cpp:141
#9  0x00007fcb0f68a67a in KIO::PreviewJobPrivate::startPreview (this=0xb13280) at /usr/src/debug/kdelibs-4.6.1/kio/kio/previewjob.cpp:180
#10 0x00007fcb0f68b57d in KIO::PreviewJob::qt_metacall (this=0xa44d00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fcaf800db20) at /usr/src/debug/kdelibs-4.6.1/build/kio/previewjob.moc:86
#11 0x00007fcb1614f50a in QObject::event (this=0xa44d00, e=<optimized out>) at kernel/qobject.cpp:1217
#12 0x00007fcb152d9114 in QApplicationPrivate::notify_helper (this=0x6aec80, receiver=0xa44d00, e=0x7fcaf8082880) at kernel/qapplication.cpp:4462
#13 0x00007fcb152e16aa in QApplication::notify (this=<optimized out>, receiver=0xa44d00, e=0x7fcaf8082880) at kernel/qapplication.cpp:4341
#14 0x00007fcb16df2216 in KApplication::notify (this=0x7fff41e73140, receiver=0xa44d00, event=0x7fcaf8082880) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#15 0x00007fcb1613b63c in QCoreApplication::notifyInternal (this=0x7fff41e73140, receiver=0xa44d00, event=0x7fcaf8082880) at kernel/qcoreapplication.cpp:731
#16 0x00007fcb1613ee35 in sendEvent (event=0x7fcaf8082880, receiver=0xa44d00) at kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6103e0) at kernel/qcoreapplication.cpp:1372
#18 0x00007fcb16166173 in sendPostedEvents () at kernel/qcoreapplication.h:220
#19 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#20 0x00007fcb119cfa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fcb119d0270 in ?? () from /usr/lib64/libglib-2.0.so.0
#22 0x00007fcb119d0510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#23 0x00007fcb1616630f in QEventDispatcherGlib::processEvents (this=0x617ca0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#24 0x00007fcb1537eb8e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007fcb1613aa72 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007fcb1613ac85 in QEventLoop::exec (this=0x7fff41e73080, flags=...) at kernel/qeventloop.cpp:201
#27 0x00007fcb1613f0eb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#28 0x00007fcb071ebad5 in kdemain (argc=1105670544, argv=0x7fff41e73180) at /usr/src/debug/kdebase-4.6.0/apps/dolphin/src/main.cpp:98
#29 0x00000000004075e9 in _start ()

Possible duplicates by query: bug 236840, bug 236624.

Reported using DrKonqi
Comment 1 Dario Andres 2011-08-07 16:10:27 UTC
*** Bug 278846 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2011-12-04 15:36:19 UTC
*** Bug 280004 has been marked as a duplicate of this bug. ***
Comment 3 Peter Penz 2012-05-09 18:25:07 UTC
*** Bug 299676 has been marked as a duplicate of this bug. ***
Comment 4 Peter Penz 2012-05-09 18:27:21 UTC
Moving to kdelibs (KServiceTypeTrader).
Comment 5 Peter Penz 2012-05-13 14:44:26 UTC
*** Bug 299941 has been marked as a duplicate of this bug. ***
Comment 6 Peter Penz 2012-05-14 23:14:01 UTC
*** Bug 300039 has been marked as a duplicate of this bug. ***
Comment 7 Peter Penz 2012-05-17 08:44:36 UTC
The root-cause of this issue is an incompatible version of Soprano (thanks to Luca Beltrame for this information - see bug 299296 ). Updating Soprano fixes the crash.
Comment 8 Peter Penz 2012-05-18 19:05:26 UTC
*** Bug 300270 has been marked as a duplicate of this bug. ***
Comment 9 Johannes Huber 2012-05-18 20:36:36 UTC
Thanks for the info. In my opinion the resolution of the bug have to be RESOLVED UPSTREAM and a notification to packagers ml as well ;).
Comment 10 Simon Andric 2012-05-19 22:27:19 UTC
Created attachment 71229 [details]
New crash information added by DrKonqi

dolphin (2.0.95) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

- What I was doing when the application crashed:

opened dolphin wihtout root privledges. With root privledges it gives me the following error in terminal:

root@kubuntu:~# dolphin
No protocol specified
No protocol specified
dolphin: cannot connect to X server :0
root@kubuntu:~#

ps. i use project neon.

symon

-- Backtrace (Reduced):
#8  0xb6f674bf in KServiceTypeTrader::defaultOffers (this=0x868dac8, serviceType=..., constraint=...) at /build/buildd/project-neon-kdelibs-2+git20120513+r92676/kdecore/services/kservicetypetrader.cpp:116
#9  0xb6f67674 in KServiceTypeTrader::query (this=0x868dac8, serviceType=..., constraint=...) at /build/buildd/project-neon-kdelibs-2+git20120513+r92676/kdecore/services/kservicetypetrader.cpp:141
#10 0xafe4bc94 in Phonon::KdePlatformPlugin::isMimeTypeAvailable (this=0x8b48e50, mimeType=...) at /build/buildd/project-neon-kde-runtime-2+git20120502+r17290/phonon/platform_kde/kdeplatformplugin.cpp:224
#11 0xb1fe6eac in Phonon::Factory::isMimeTypeAvailable (mimeType=...) at /build/buildd/project-neon-phonon-2+git20120427+r2657/phonon/factory.cpp:281
#12 0xb1fe0d08 in Phonon::BackendCapabilities::isMimeTypeAvailable (mimeType=...) at /build/buildd/project-neon-phonon-2+git20120427+r2657/phonon/backendcapabilities.cpp:61
Comment 11 Kai Uwe Broulik 2012-05-20 18:13:12 UTC
I just poked the Project Neon guys on IRC and they updated the soprano build (which was from mid March), and now Dolphin works fine :)
sudo apt-get install project-neon-soprano should do the job for the Neon users :)
Comment 12 Simon Andric 2012-05-21 15:36:01 UTC
Created attachment 71264 [details]
New crash information added by DrKonqi

dolphin (2.0.95) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.2

- What I was doing when the application crashed:

same crash but new information (in terminal):

root@kubuntu:~# dolphin
No protocol specified
No protocol specified
dolphin: cannot connect to X server :0
root@kubuntu:~# exit
logout
fani@kubuntu:~/Documents$ dolphin
QObject::connect: Connecting from QTabBar::tabCloseRequested(int) to COMPAT slot (KTabBar::closeRequest(int))
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
QPixmap::scaled: Pixmap is a null pixmap
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = dolphin path = /opt/project-neon/bin pid = 5174
KCrash: Arguments: /opt/project-neon/bin/dolphin --nocrashhandler 
KCrash: Attempting to start /opt/project-neon/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/fani/.project-neon-kde/socket-kubuntu/kdeinit4__0

[1]+  Stopped                 dolphin
fani@kubuntu:~/Documents$ QSocketNotifier: Invalid socket 14 and type 'Read', disabling...



------

symon

-- Backtrace (Reduced):
#8  0xb64934bf in KServiceTypeTrader::defaultOffers (this=0xa3a2d80, serviceType=..., constraint=...) at /build/buildd/project-neon-kdelibs-2+git20120513+r92676/kdecore/services/kservicetypetrader.cpp:116
#9  0xb6493674 in KServiceTypeTrader::query (this=0xa3a2d80, serviceType=..., constraint=...) at /build/buildd/project-neon-kdelibs-2+git20120513+r92676/kdecore/services/kservicetypetrader.cpp:141
#10 0xb2f3ec94 in Phonon::KdePlatformPlugin::isMimeTypeAvailable (this=0xa50bca0, mimeType=...) at /build/buildd/project-neon-kde-runtime-2+git20120502+r17290/phonon/platform_kde/kdeplatformplugin.cpp:224
#11 0xb704eeac in Phonon::Factory::isMimeTypeAvailable (mimeType=...) at /build/buildd/project-neon-phonon-2+git20120427+r2657/phonon/factory.cpp:281
#12 0xb7048d08 in Phonon::BackendCapabilities::isMimeTypeAvailable (mimeType=...) at /build/buildd/project-neon-phonon-2+git20120427+r2657/phonon/backendcapabilities.cpp:61
Comment 13 Unknown 2012-06-01 11:08:00 UTC
Created attachment 71494 [details]
New crash information added by DrKonqi

dolphin (2.0) on KDE Platform 4.8.3 (4.8.3) "release 501" using Qt 4.8.1

- What I was doing when the application crashed:

The crash is the same as above.
Soprano version: 2.7.5

-- Backtrace (Reduced):
#6  KServiceFactory::serviceOffers (this=0x7fb6ed786a10, serviceTypeOffset=16660, serviceOffersOffset=<optimized out>) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kservicefactory.cpp:251
#7  0x00007fb6f5da4f91 in KServiceTypeTrader::defaultOffers (this=<optimized out>, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kservicetypetrader.cpp:125
#8  0x00007fb6f5da56f1 in KServiceTypeTrader::query (this=0xb11f50, serviceType=..., constraint=...) at /usr/src/debug/kdelibs-4.8.3/kdecore/services/kservicetypetrader.cpp:141
#9  0x00007fb6eea8d1a2 in KIO::PreviewJobPrivate::startPreview (this=0x11b1120) at /usr/src/debug/kdelibs-4.8.3/kio/kio/previewjob.cpp:272
#10 0x00007fb6f58ce2b6 in QObject::event (this=0x9f70c0, e=<optimized out>) at kernel/qobject.cpp:1204
Comment 14 Peter Penz 2012-06-08 17:20:30 UTC
*** Bug 301123 has been marked as a duplicate of this bug. ***
Comment 15 Peter Penz 2012-06-09 10:30:07 UTC
*** Bug 301499 has been marked as a duplicate of this bug. ***
Comment 16 Peter Penz 2012-06-10 17:02:39 UTC
I'm reopening this issue: It is valid for 4.8.4 and seems to affect various distributions.  See also http://lists.kde.org/?l=kde-core-devel&m=133931384906792&w=2 for a discussion on kde-core-devel
Comment 17 Peter Penz 2012-06-10 17:02:58 UTC
*** Bug 301589 has been marked as a duplicate of this bug. ***
Comment 18 Peter Penz 2012-06-11 07:28:54 UTC
*** Bug 301606 has been marked as a duplicate of this bug. ***
Comment 19 Philipp A. 2012-06-12 13:02:27 UTC
Created attachment 71763 [details]
New crash information added by DrKonqi

dolphin (2.0) on KDE Platform 4.8.4 (4.8.4) using Qt 4.8.2

- What I was doing when the application crashed:

opening dolphin or clicking on a folder there.

-- Backtrace (Reduced):
#5  0x00007ffb22f90822 in KServiceTypeTrader::defaultOffers(QString const&, QString const&) const () from /usr/lib/libkdecore.so.5
#6  0x00007ffb22f90c31 in KServiceTypeTrader::query(QString const&, QString const&) const () from /usr/lib/libkdecore.so.5
#7  0x00007ffb0e8a9e09 in VersionControlObserver::searchPlugin(KUrl const&) const () from /usr/lib/libdolphinprivate.so.4
#8  0x00007ffb0e8aa1af in VersionControlObserver::verifyDirectory() () from /usr/lib/libdolphinprivate.so.4
[...]
#10 0x00007ffb22ac60dc in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
Comment 20 Peter Penz 2012-06-13 14:23:06 UTC
*** Bug 301816 has been marked as a duplicate of this bug. ***
Comment 21 Christian Boltz 2012-06-13 20:41:25 UTC
Created attachment 71810 [details]
full bt from kmail - reproducable crash when trying to reply to a mail

This is a "full bt" generated from a KMail 4.8.4 core file from openSUSE Factory as of today. (mkubecek asked me to attach it here.)

Reproducing the crash is simple: (try to) reply to a mail or (try to) start a new mail.
(yes, this means I can't write any mail currently :-( )
Comment 22 Jekyll Wu 2012-07-04 13:24:33 UTC
*** Bug 288115 has been marked as a duplicate of this bug. ***
Comment 23 Jekyll Wu 2012-08-19 10:24:47 UTC
Should be ok in 4.8.5 and 4.9
Comment 24 Dawit Alemayehu 2014-05-04 16:03:17 UTC
*** Bug 282291 has been marked as a duplicate of this bug. ***