Bug 249150 - Dolphin suddenly crashed by opening of a .m4v file
Summary: Dolphin suddenly crashed by opening of a .m4v file
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 249342 250188 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-26 22:38 UTC by marko.gabriel.cz
Modified: 2011-02-27 20:11 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marko.gabriel.cz 2010-08-26 22:38:19 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I tried to open a .m4v file which was partially downloaded. Transmission bittorrent client and Firefox was running at the same time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7740710 (LWP 4870))]

Thread 4 (Thread 0xb54aab70 (LWP 4881)):
#0  0x00d19344 in __pthread_mutex_unlock_usercnt (mutex=0x9c702fc, decr=<value optimized out>) at pthread_mutex_unlock.c:52
#1  0x003ffbe6 in pthread_mutex_unlock (mutex=0x9c702fc) at forward.c:184
#2  0x06bf9326 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#3  0x06bfae5e in ?? () from /lib/libglib-2.0.so.0
#4  0x06bfb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0133b1cf in QEventDispatcherGlib::processEvents (this=0x9d15218, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x0130b419 in QEventLoop::processEvents (this=0xb54aa290, flags=) at kernel/qeventloop.cpp:149
#7  0x0130b89a in QEventLoop::exec (this=0xb54aa290, flags=...) at kernel/qeventloop.cpp:201
#8  0x01208b5e in QThread::exec (this=0x9c48130) at thread/qthread.cpp:490
#9  0x012ea55b in QInotifyFileSystemWatcherEngine::run (this=0x9c48130) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0120be39 in QThreadPrivate::start (arg=0x9c48130) at thread/qthread_unix.cpp:266
#11 0x00d1596e in start_thread (arg=0xb54aab70) at pthread_create.c:300
#12 0x003f2a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xaf4c6b70 (LWP 4894)):
#0  0x001b9422 in __kernel_vsyscall ()
#1  0x00d1a342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x003ffa34 in __pthread_cond_timedwait (cond=0x9e911d8, mutex=0x9e911c0, abstime=0xaf4c6320) at forward.c:152
#3  0x0772fce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xb3cc8b70 (LWP 5061)):
[KCrash Handler]
#7  __memcpy_ia32 () at ../sysdeps/i386/i686/multiarch/../memcpy.S:75
#8  0x00003c00 in ?? ()
#9  0x0129e163 in QIODevicePrivateLinearBuffer::read (this=0xb3cc8148, data=0x400 <Address 0x400 out of bounds>, maxSize=64512) at /usr/include/bits/string3.h:52
#10 QIODevice::read (this=0xb3cc8148, data=0x400 <Address 0x400 out of bounds>, maxSize=64512) at io/qiodevice.cpp:787
#11 0x01046dd3 in QIODeviceInputStream::fillBuffer (this=0xb3cc8034, start=0x400 <Address 0x400 out of bounds>, space=1549941559) at ../../kio/kio/kfilemetainfo.cpp:96
#12 0x01049f43 in Strigi::BufferedStream<char>::writeToBuffer (this=0xb3cc8034, ntoread=1549942583, maxread=1549942583) at /usr/include/strigi/bufferedstream.h:116
#13 0x0104a030 in Strigi::BufferedStream<char>::read (this=0xb3cc8034, start=@0xb3cc7f44, min=167803872, max=1549942583) at /usr/include/strigi/bufferedstream.h:137
#14 0x01e7cd10 in Mp4ThroughAnalyzer::connectInputStream (this=0xa01a970, in=0xb3cc8034) at ../../../../src/strigi/mp4/mp4throughanalyzer.cpp:644
#15 0x00c727c3 in Strigi::StreamAnalyzerPrivate::analyze (this=0x9fcbfa0, idx=<value optimized out>, input=0xb3cc8034) at /build/buildd/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:395
#16 0x01047662 in KFileMetaInfoPrivate::init (this=0x9f72888, stream=..., url=..., mtime=1282851904, w=...) at ../../kio/kio/kfilemetainfo.cpp:270
#17 0x010497d8 in KFileMetaInfo (this=0xb3cc82c0, path=..., w=...) at ../../kio/kio/kfilemetainfo.cpp:299
#18 0x0114b0eb in KLoadFileMetaDataThread::run (this=0x9f069f8) at ../../kio/kfile/kloadfilemetadatathread.cpp:130
#19 0x0120be39 in QThreadPrivate::start (arg=0x9f069f8) at thread/qthread_unix.cpp:266
#20 0x00d1596e in start_thread (arg=0xb3cc8b70) at pthread_create.c:300
#21 0x003f2a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7740710 (LWP 4870)):
#0  0x001b9422 in __kernel_vsyscall ()
#1  0x003e4b86 in *__GI___poll (fds=0x47aff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x00cf9d60 in ?? () from /usr/lib/libxcb.so.1
#3  0x00cfa2cb in ?? () from /usr/lib/libxcb.so.1
#4  0x00cfa667 in xcb_writev () from /usr/lib/libxcb.so.1
#5  0x00924d79 in _XSend () from /usr/lib/libX11.so.6
#6  0x00911112 in ?? () from /usr/lib/libX11.so.6
#7  0x0091131a in XPutImage () from /usr/lib/libX11.so.6
#8  0x05bf6519 in QX11PixmapData::fromImage (this=0xa07d060, img=..., flags=...) at image/qpixmap_x11.cpp:612
#9  0x05bdf2ac in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:2028
#10 0x05be016a in operator>> (stream=..., pixmap=...) at image/qpixmap.cpp:1322
#11 0x08ad0d1d in KIconLoaderPrivate::findCachedPixmapWithPath (this=0x99afc50, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:878
#12 0x08ad928f in KIconLoader::loadIcon (this=0x99b22a8, _name=..., group=KIconLoader::Desktop, size=128, state=0, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1218
#13 0x08ada3da in KIconLoader::loadMimeTypeIcon (this=0x99b22a8, _iconName=..., group=KIconLoader::Desktop, size=128, state=0, overlays=..., path_store=0x0) at ../../kdeui/icons/kiconloader.cpp:1165
#14 0x01030ccc in KFileItem::pixmap (this=0x9d53368, _size=128, _state=0) at ../../kio/kio/kfileitem.cpp:927
#15 0x002d9f22 in InformationPanelContent::showIcon (this=0x9d03e10, item=...) at ../../../../apps/dolphin/src/panels/information/informationpanelcontent.cpp:314
#16 0x002db765 in InformationPanelContent::qt_metacall (this=0x9d03e10, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfca3b98) at ./informationpanelcontent.moc:85
#17 0x013126ca in QMetaObject::metacall (object=0x9d03e10, cl=QMetaObject::ReadProperty, idx=29, argv=0xbfca3b98) at kernel/qmetaobject.cpp:237
#18 0x01325455 in QMetaObject::activate (sender=0x9f3a710, m=0x119c1a4, local_signal_index=1, argv=0xbfca3b98) at kernel/qobject.cpp:3280
#19 0x0107d433 in KIO::PreviewJob::failed (this=0x9f3a710, _t1=...) at ./previewjob.moc:106
#20 0x0108233a in KIO::PreviewJobPrivate::startPreview (this=0x9f44bc8) at ../../kio/kio/previewjob.cpp:253
#21 0x010825de in KIO::PreviewJob::qt_metacall (this=0x9f3a710, _c=QMetaObject::InvokeMetaMethod, _id=34, _a=0x9c8f5c8) at ./previewjob.moc:86
#22 0x013126ca in QMetaObject::metacall (object=0x9f3a710, cl=QMetaObject::ReadProperty, idx=34, argv=0x9c8f5c8) at kernel/qmetaobject.cpp:237
#23 0x0131dbc6 in QMetaCallEvent::placeMetaCall (this=0x9fd04e8, object=0x9f3a710) at kernel/qobject.cpp:534
#24 0x0131f462 in QObject::event (this=0x9f3a710, e=0xffffffff) at kernel/qobject.cpp:1219
#25 0x05ae60cc in QApplicationPrivate::notify_helper (this=0x9938930, receiver=0x9f3a710, e=0x9fd04e8) at kernel/qapplication.cpp:4389
#26 0x05aec11e in QApplication::notify (this=0xbfca4650, receiver=0x9f3a710, e=0x9fd04e8) at kernel/qapplication.cpp:3791
#27 0x08b2782a in KApplication::notify (this=0xbfca4650, receiver=0x9f3a710, event=0x9fd04e8) at ../../kdeui/kernel/kapplication.cpp:310
#28 0x0130c96b in QCoreApplication::notifyInternal (this=0xbfca4650, receiver=0x9f3a710, event=0x9fd04e8) at kernel/qcoreapplication.cpp:732
#29 0x0130fbcb in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9919138) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9919138) at kernel/qcoreapplication.cpp:1373
#31 0x0130fd8d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#32 0x0133b69f in QCoreApplication::sendPostedEvents (s=0x993ab18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x993ab18) at kernel/qeventdispatcher_glib.cpp:276
#34 0x06bf75e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#35 0x06bfb2d8 in ?? () from /lib/libglib-2.0.so.0
#36 0x06bfb4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#37 0x0133b195 in QEventDispatcherGlib::processEvents (this=0x9918e18, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#38 0x05ba73b5 in QGuiEventDispatcherGlib::processEvents (this=0x9918e18, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x0130b419 in QEventLoop::processEvents (this=0xbfca45a4, flags=) at kernel/qeventloop.cpp:149
#40 0x0130b89a in QEventLoop::exec (this=0xbfca45a4, flags=...) at kernel/qeventloop.cpp:201
#41 0x0130fe4f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#42 0x05ae4ef7 in QApplication::exec () at kernel/qapplication.cpp:3665
#43 0x002d62bb in kdemain (argc=6, argv=0xbfca4844) at ../../../../apps/dolphin/src/main.cpp:98
#44 0x080485fb in main (argc=6, argv=0xbfca4844) at dolphin_dummy.cpp:3

Reported using DrKonqi
Comment 1 Peter Penz 2010-08-27 07:22:54 UTC
Thanks for the report, this looks like an issue in the Mp4-analyzer of Strigi. Recent fixes have been done there, but I'm not sure whether it fixes this issue. I guess the file is too big to attach it to this bug-report?
Comment 2 marko.gabriel.cz 2010-08-27 13:52:11 UTC
Hi,

file has more than 1GB, so is to big to post. In System Settings were Strigi and Nepomuk disabled, when Dolphin crashed. Do these two things work even if they are disabled?
I use KDE 4.5 on Kubuntu 10.04.

Best Regards

Gabriel
Comment 3 Peter Penz 2010-08-27 14:16:30 UTC
Disabling Strigi in systemsettings only disables the strigi-indexer, not the metadata-analyzers that are also offered in Strigi. I'd suggest to leave this report open until KDE 4.5.1 has been released, where a fix should already be included as far as I've seen from the commit logs.
Comment 4 Frank Reininghaus 2010-09-05 10:39:24 UTC
*** Bug 249342 has been marked as a duplicate of this bug. ***
Comment 5 Frank Reininghaus 2010-09-05 10:39:35 UTC
*** Bug 250188 has been marked as a duplicate of this bug. ***
Comment 6 Mark 2010-09-16 03:33:18 UTC
By now 4.5.1 is released and should be possible to install in the reporters os.

So, can you still reproduce this bug or is it fixed for you?
Comment 7 Dario Andres 2010-12-14 17:25:49 UTC
[Comment from a bug triager]
Any news on this ?
Comment 8 Peter Penz 2011-02-27 20:11:37 UTC
Git commit d1254968eac95f4d9d8c47552e27f0cc40e6aed9 by Peter Penz.
Committed on 27/02/2011 at 20:01.
Pushed by ppenz into branch 'master'.

KFileMetaDataProvider: Don't crash if a Strigi analyzer crashes

Some Strigi analyzers are still unstable and crash under certain circumstances. This patch moves the reading of the meta-data into a custom process instead of doing it in a thread, which assures that a crashing Strigi analyzer does not result in crashing Dolphin or Konqueror when hovering some items.

FIXED-IN: 4.7.0
BUG: 257964
BUG: 258715
BUG: 262299
BUG: 263468
BUG: 263502
BUG: 264254
BUG: 234799
BUG: 251462
BUG: 251701
BUG: 258918
BUG: 192377
BUG: 195564
BUG: 199368
BUG: 210841
BUG: 245376
BUG: 246461
BUG: 246901
BUG: 249150
BUG: 261952
BUG: 249876
BUG: 179376
BUG: 179417
BUG: 179420
BUG: 181591
BUG: 183269
BUG: 183722
BUG: 185667
BUG: 188596
BUG: 191864
BUG: 193112
BUG: 205813
BUG: 244621
BUG: 245451
BUG: 248214
BUG: 249655
BUG: 249876
BUG: 265549
BUG: 267079

M  +11   -1    kio/CMakeLists.txt     
M  +68   -38   kio/kfile/kfilemetadataprovider.cpp     
M  +2    -1    kio/kfile/kfilemetadataprovider_p.h     
A  +174  -0    kio/kfile/kfilemetadatareader.cpp         [License: LGPL (v2+)]
M  +0    -2    kio/kfile/kfilemetadatawidget.cpp     
D  +0    -178  kio/kfile/kloadfilemetadatathread.cpp     
D  +0    -96   kio/kfile/kloadfilemetadatathread_p.h     

http://commits.kde.org/kdelibs/d1254968eac95f4d9d8c47552e27f0cc40e6aed9