Bug 231197 - Dolphin crashes when gathering info from video files
Summary: Dolphin crashes when gathering info from video files
Status: RESOLVED DUPLICATE of bug 195462
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-18 09:07 UTC by LuRan
Modified: 2010-07-21 15:55 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LuRan 2010-03-18 09:07:05 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.67 (KDE 4.4.67 (KDE 4.5 >= 20100310)) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.3 i686
Distribution (Platform): Gentoo Packages

-- Information about the crash:
- What I was doing when the application crashed:
When I have the info panel open and select a few video files in dolphin, it seems dolphin try to go through the whole file to get infomation about the video, sometimes dolphin will crash, maybe caused by some flawed videos, but I think it is really expensive to go through the whole video in general, some can be several GBs, and most of the useful info can be collected from either the header or the tail of the file.



The crash can be reproduced some of the time.

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

Thread 11 (Thread 0xb19e4b70 (LWP 8717)):
#0  0xb78e0424 in __kernel_vsyscall ()
#1  0xb69312d2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xae553d9e in ?? () from /usr/lib/libxine.so.1
#3  0x0b88db80 in ?? ()
#4  0x0b88db68 in ?? ()
#5  0xb19e4320 in ?? ()
#6  0x0b88ce78 in ?? ()
#7  0x0a801968 in ?? ()
#8  0x00000000 in ?? ()

Thread 10 (Thread 0xafbecb70 (LWP 5472)):
#0  RgbThroughAnalyzer::setIndexable (this=0xaddae038, i=0xafbec084) at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/throughplugins/rgbthroughanalyzer.cpp:60
#1  0xb5c66abd in Strigi::StreamAnalyzerPrivate::analyze (this=0xadd9ddc8, idx=<value optimized out>, input=0xafbec038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:397
#2  0xb735d65f in KFileMetaInfoPrivate::init (this=0xadd487b8, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#3  0xb735f365 in KFileMetaInfo (this=0xafbec2c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#4  0x080ac9bb in KLoadMetaDataThread::run (this=0xa76b2a8) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#5  0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#6  0xb692c8ff in start_thread () from /lib/libpthread.so.0
#7  0xb5dc700e in clone () from /lib/libc.so.6

Thread 9 (Thread 0xb04b5b70 (LWP 5477)):
#0  Strigi::readBigEndianUInt16 (c=0x87299008 "") at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streams/textutils.cpp:209
#1  0xb05521a1 in RgbThroughAnalyzer::connectInputStream (this=0xadd0f8e8, in=0xb04b5038) at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/throughplugins/rgbthroughanalyzer.cpp:88
#2  0xb5c66acb in Strigi::StreamAnalyzerPrivate::analyze (this=0xadd31810, idx=<value optimized out>, input=0xb04b5038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:398
#3  0xb735d65f in KFileMetaInfoPrivate::init (this=0xadd2fc08, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#4  0xb735f365 in KFileMetaInfo (this=0xb04b52c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#5  0x080ac9bb in KLoadMetaDataThread::run (this=0xadb34e0) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#6  0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#7  0xb692c8ff in start_thread () from /lib/libpthread.so.0
#8  0xb5dc700e in clone () from /lib/libc.so.6

Thread 8 (Thread 0x87298b70 (LWP 5481)):
#0  RgbThroughAnalyzer::setIndexable (this=0xaddcc140, i=0x87298084) at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/throughplugins/rgbthroughanalyzer.cpp:60
#1  0xb5c66abd in Strigi::StreamAnalyzerPrivate::analyze (this=0xaddc3d38, idx=<value optimized out>, input=0x87298038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:397
#2  0xb735d65f in KFileMetaInfoPrivate::init (this=0xaddc41d0, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#3  0xb735f365 in KFileMetaInfo (this=0x872982c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#4  0x080ac9bb in KLoadMetaDataThread::run (this=0xb476bd0) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#5  0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#6  0xb692c8ff in start_thread () from /lib/libpthread.so.0
#7  0xb5dc700e in clone () from /lib/libc.so.6

Thread 7 (Thread 0x73500b70 (LWP 5484)):
#0  Strigi::StreamAnalyzerPrivate::analyze (this=0xadd73b58, idx=<value optimized out>, input=0x73500038) at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:397
#1  0xb735d65f in KFileMetaInfoPrivate::init (this=0xaddcec58, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#2  0xb735f365 in KFileMetaInfo (this=0x735002c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#3  0x080ac9bb in KLoadMetaDataThread::run (this=0xa2b03c0) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#4  0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#5  0xb692c8ff in start_thread () from /lib/libpthread.so.0
#6  0xb5dc700e in clone () from /lib/libc.so.6

Thread 6 (Thread 0x5f768b70 (LWP 5486)):
#0  0xb72a3430 in realloc@plt () from /usr/local/kde4/lib/libkio.so.5
#1  0xb735ff6b in Strigi::StreamBuffer<char>::setSize (this=0x5f768038, ntoread=323800331, maxread=323800331) at /usr/local/kde4/include/strigi/streambuffer.h:132
#2  Strigi::StreamBuffer<char>::makeSpace (this=0x5f768038, ntoread=323800331, maxread=323800331) at /usr/local/kde4/include/strigi/streambuffer.h:174
#3  Strigi::BufferedStream<char>::writeToBuffer (this=0x5f768038, ntoread=323800331, maxread=323800331) at /usr/local/kde4/include/strigi/bufferedstream.h:111
#4  0xb736018f in Strigi::BufferedStream<char>::read (this=0x5f768038, start=@0x5f767f34, min=323800331, max=<value optimized out>) at /usr/local/kde4/include/strigi/bufferedstream.h:137
#5  0xb0546e20 in Mp4ThroughAnalyzer::connectInputStream (this=0xade08038, in=0x5f768038) at /home/hooey/vcs/kdesvn/kde4/extragear/amarok/src/strigi/mp4/mp4throughanalyzer.cpp:628
#6  0xb5c66acb in Strigi::StreamAnalyzerPrivate::analyze (this=0xadd99188, idx=<value optimized out>, input=0x5f768038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:398
#7  0xb735d65f in KFileMetaInfoPrivate::init (this=0xadd9c7a0, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#8  0xb735f365 in KFileMetaInfo (this=0x5f7682c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#9  0x080ac9bb in KLoadMetaDataThread::run (this=0xaa25428) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#10 0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#11 0xb692c8ff in start_thread () from /lib/libpthread.so.0
#12 0xb5dc700e in clone () from /lib/libc.so.6

Thread 5 (Thread 0x4b9d0b70 (LWP 5489)):
#0  0xb0544a6c in Mp4ThroughAnalyzer::parseBox () from /usr/local/kde4/lib/strigi/strigita_mp4.so
#1  0xb0546f0d in Mp4ThroughAnalyzer::connectInputStream (this=0xade30b80, in=0x4b9d0038) at /home/hooey/vcs/kdesvn/kde4/extragear/amarok/src/strigi/mp4/mp4throughanalyzer.cpp:653
#2  0xb5c66acb in Strigi::StreamAnalyzerPrivate::analyze (this=0xade07f00, idx=<value optimized out>, input=0x4b9d0038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:398
#3  0xb735d65f in KFileMetaInfoPrivate::init (this=0xadd971d8, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#4  0xb735f365 in KFileMetaInfo (this=0x4b9d02c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#5  0x080ac9bb in KLoadMetaDataThread::run (this=0xa6d2270) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#6  0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#7  0xb692c8ff in start_thread () from /lib/libpthread.so.0
#8  0xb5dc700e in clone () from /lib/libc.so.6

Thread 4 (Thread 0x37c38b70 (LWP 5492)):
#0  0xb0546ec8 in Mp4ThroughAnalyzer::connectInputStream (this=0xade63250, in=0x37c38038) at /home/hooey/vcs/kdesvn/kde4/extragear/amarok/src/strigi/mp4/mp4throughanalyzer.cpp:645
#1  0xb5c66acb in Strigi::StreamAnalyzerPrivate::analyze (this=0xade5a0e0, idx=<value optimized out>, input=0x37c38038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:398
#2  0xb735d65f in KFileMetaInfoPrivate::init (this=0xade41038, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#3  0xb735f365 in KFileMetaInfo (this=0x37c382c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#4  0x080ac9bb in KLoadMetaDataThread::run (this=0xbc7ed28) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#5  0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#6  0xb692c8ff in start_thread () from /lib/libpthread.so.0
#7  0xb5dc700e in clone () from /lib/libc.so.6

Thread 3 (Thread 0x23ea0b70 (LWP 5494)):
#0  0xb78e0424 in __kernel_vsyscall ()
#1  0xb6933e9b in read () from /lib/libpthread.so.0
#2  0xb6a4a842 in QFSFileEnginePrivate::readFdFh(char*, long long) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#3  0xb6a509de in QFSFileEnginePrivate::nativeRead(char*, long long) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#4  0xb6a4a957 in QFSFileEngine::read(char*, long long) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#5  0xb6a1e130 in QFile::readData(char*, long long) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#6  0xb6a23e35 in QIODevice::read(char*, long long) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#7  0xb735cd31 in QIODeviceInputStream::fillBuffer (this=0x23ea0038, start=0x101d2619 "", space=322975474) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:68
#8  0xb735ffa2 in Strigi::BufferedStream<char>::writeToBuffer (this=0x23ea0038, ntoread=323800323, maxread=323800323) at /usr/local/kde4/include/strigi/bufferedstream.h:116
#9  0xb736018f in Strigi::BufferedStream<char>::read (this=0x23ea0038, start=@0x23e9ff34, min=323800323, max=<value optimized out>) at /usr/local/kde4/include/strigi/bufferedstream.h:137
#10 0xb0546eb0 in Mp4ThroughAnalyzer::connectInputStream (this=0xb108b988, in=0x23ea0038) at /home/hooey/vcs/kdesvn/kde4/extragear/amarok/src/strigi/mp4/mp4throughanalyzer.cpp:644
#11 0xb5c66acb in Strigi::StreamAnalyzerPrivate::analyze (this=0xae403da0, idx=<value optimized out>, input=0x23ea0038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:398
#12 0xb735d65f in KFileMetaInfoPrivate::init (this=0xb108f690, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#13 0xb735f365 in KFileMetaInfo (this=0x23ea02c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#14 0x080ac9bb in KLoadMetaDataThread::run (this=0xb72a778) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#15 0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#16 0xb692c8ff in start_thread () from /lib/libpthread.so.0
#17 0xb5dc700e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x10108b70 (LWP 5497)):
[KCrash Handler]
#7  0xb6a24f51 in QRingBuffer::read(char*, int) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#8  0xb6a23df2 in QIODevice::read(char*, long long) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#9  0xb735cd31 in QIODeviceInputStream::fillBuffer (this=0x10108038, start=0xc9611 <Address 0xc9611 out of bounds>, space=322975474)
    at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:68
#10 0xb735ffa2 in Strigi::BufferedStream<char>::writeToBuffer (this=0x10108038, ntoread=323800323, maxread=323800323) at /usr/local/kde4/include/strigi/bufferedstream.h:116
#11 0xb736018f in Strigi::BufferedStream<char>::read (this=0x10108038, start=@0x10107f34, min=323800323, max=<value optimized out>) at /usr/local/kde4/include/strigi/bufferedstream.h:137
#12 0xb0546eb0 in Mp4ThroughAnalyzer::connectInputStream (this=0xb109add0, in=0x10108038) at /home/hooey/vcs/kdesvn/kde4/extragear/amarok/src/strigi/mp4/mp4throughanalyzer.cpp:644
#13 0xb5c66acb in Strigi::StreamAnalyzerPrivate::analyze (this=0xb10436f0, idx=<value optimized out>, input=0x10108038)
    at /home/hooey/vcs/kdesvn/kde4/kdesupport/strigi/src/streamanalyzer/streamanalyzer.cpp:398
#14 0xb735d65f in KFileMetaInfoPrivate::init (this=0xb10e4f90, stream=..., url=..., mtime=1268588322, w=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:210
#15 0xb735f365 in KFileMetaInfo (this=0x101082c0, url=...) at /home/hooey/vcs/kdesvn/kde4/kdelibs/kio/kio/kfilemetainfo.cpp:249
#16 0x080ac9bb in KLoadMetaDataThread::run (this=0xa82ea28) at /home/hooey/vcs/kdesvn/kde4/kdebase/apps/dolphin/src/panels/information/kloadmetadatathread.cpp:135
#17 0xb69c09c2 in QThreadPrivate::start(void*) () from /home/hooey/vcs/git/kde-qt/lib/libQtCore.so.4
#18 0xb692c8ff in start_thread () from /lib/libpthread.so.0
#19 0xb5dc700e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb561b930 (LWP 6337)):
#0  0xb78e0424 in __kernel_vsyscall ()
#1  0xb5dbcf96 in poll () from /lib/libc.so.6
#2  0xb56542ea in ?? () from /usr/lib/libxcb.so.1
#3  0xbfb22e68 in ?? ()
#4  0x00000001 in ?? ()
#5  0x00000000 in ?? ()

Reported using DrKonqi
Comment 1 Dario Andres 2010-03-20 20:38:30 UTC
- What is your Strigi version ?
Regards
Comment 2 LuRan 2010-03-20 21:26:43 UTC
Strigi is from kdesupport, I tested again with r1105350,  the bug is still there, and I disable strigi because it is slow, only nepomuk is enabled, does that mean dolphin should not call strigi to collect infomation?
Comment 3 phreedom.stdin 2010-04-15 00:14:09 UTC
Please try removing amarok's mp4 plugin to see if it helps. It should be located somewhere like /usr/lib/strigi and the name should be something like strigita_mp4.so
Comment 4 Jonathan Thomas 2010-07-21 15:55:05 UTC

*** This bug has been marked as a duplicate of bug 195462 ***