Bug 245711 - Dolphin crash when move mouse above some files (Strigi) [std::basic_string, Mime, Strigi::MimeEventAnalyzer::Private::parseFile]
Summary: Dolphin crash when move mouse above some files (Strigi) [std::basic_string, M...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 244899 246564 246600 246993 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-25 08:31 UTC by anton
Modified: 2010-08-16 21:13 UTC (History)
6 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 anton 2010-07-25 08:31:56 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.4.95 (KDE 4.4.95 (KDE 4.5 >= 20100723))
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

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

On opensuse 11.3 go to /usr/share/kde4/apps/desktoptheme/oxygen/widgets/ directory and put mouse above some svgz file - dolphin would crash.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f664a029710 (LWP 29912)):
[KCrash Handler]
#6  0x00007f665fb9122b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
   from /usr/lib64/libstdc++.so.6
#7  0x00007f6659dc86f4 in Mime (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:67
#8  _Construct<Mime, Mime> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:80
#9  uninitialized_copy<Mime*, Mime*> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:74
#10 uninitialized_copy<Mime*, Mime*> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:116
#11 __uninitialized_copy_a<Mime*, Mime*, Mime> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:318
#12 __uninitialized_move_a<Mime*, Mime*, std::allocator<Mime> > (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:328
#13 std::vector<Mime, std::allocator<Mime> >::_M_insert_aux (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/vector.tcc:338
#14 0x00007f6659dc7777 in push_back (this=0x14308d0, file="/usr/share/mime/magic") at /usr/include/c++/4.5/bits/stl_vector.h:749
#15 Strigi::MimeEventAnalyzer::Private::parseFile (this=0x14308d0, file="/usr/share/mime/magic") at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:268
#16 0x00007f6659dc78eb in Strigi::MimeEventAnalyzer::Private::parseFiles (this=0x14308d0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:121
#17 0x00007f6659dc7a92 in Strigi::MimeEventAnalyzer::startAnalysis (this=0x14308a0, ar=0x14395e0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:274
#18 0x00007f6659d839c2 in Strigi::EventThroughAnalyzer::connectInputStream (this=0x1430d30, in=0x7f664a028710) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventthroughanalyzer.cpp:56
#19 0x00007f6659da4242 in Strigi::StreamAnalyzerPrivate::analyze (this=0x13fd450, idx=..., input=0x7f664a028710) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:395
#20 0x00007f6659d7addb in Strigi::AnalysisResult::indexChild (this=0x7f664a028990, name=<value optimized out>, mt=1277396875, file=0x7f664a028710)
    at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:250
#21 0x00007f6659db1186 in GZipEndAnalyzer::analyze (this=<value optimized out>, idx=..., in=<value optimized out>)
    at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/endanalyzers/gzipendanalyzer.cpp:67
#22 0x00007f6659da4332 in Strigi::StreamAnalyzerPrivate::analyze (this=0x8, idx=..., input=0x1401b10) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#23 0x00007f665a34d361 in KFileMetaInfoPrivate::init (this=0x131b990, stream=<value optimized out>, url=<value optimized out>, mtime=1277396875, w=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:210
#24 0x00007f665a3e3bf8 in KFileMetaInfo::KFileMetaInfo (this=0x7f664a028d20, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:237
#25 0x00007f665a3e453f in KLoadFileMetaDataThread::run (this=0x1206b20) at /usr/src/debug/kdelibs-4.4.95/kio/kfile/kloadfilemetadatathread.cpp:124
#26 0x00007f6660cfdbf5 in QThreadPrivate::start (arg=0x1206b20) at thread/qthread_unix.cpp:248
#27 0x00007f6660a6fa4f in start_thread () from /lib64/libpthread.so.0
#28 0x00007f665f85f82d in clone () from /lib64/libc.so.6
#29 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6649828710 (LWP 29913)):
[KCrash Handler]
#6  0x00007f665fb9122b in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
   from /usr/lib64/libstdc++.so.6
#7  0x00007f6659dc86f4 in Mime (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:67
#8  _Construct<Mime, Mime> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_construct.h:80
#9  uninitialized_copy<Mime*, Mime*> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:74
#10 uninitialized_copy<Mime*, Mime*> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:116
#11 __uninitialized_copy_a<Mime*, Mime*, Mime> (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:318
#12 __uninitialized_move_a<Mime*, Mime*, std::allocator<Mime> > (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/stl_uninitialized.h:328
#13 std::vector<Mime, std::allocator<Mime> >::_M_insert_aux (this=0x14308d8, __position=..., __x=<value optimized out>) at /usr/include/c++/4.5/bits/vector.tcc:338
#14 0x00007f6659dc7777 in push_back (this=0x14308d0, file="/usr/share/mime/magic") at /usr/include/c++/4.5/bits/stl_vector.h:749
#15 Strigi::MimeEventAnalyzer::Private::parseFile (this=0x14308d0, file="/usr/share/mime/magic") at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:268
#16 0x00007f6659dc78eb in Strigi::MimeEventAnalyzer::Private::parseFiles (this=0x14308d0) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:121
#17 0x00007f6659dc7a92 in Strigi::MimeEventAnalyzer::startAnalysis (this=0x14308a0, ar=0x1439c90) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventanalyzers/mimeeventanalyzer.cpp:274
#18 0x00007f6659d839c2 in Strigi::EventThroughAnalyzer::connectInputStream (this=0x1430d30, in=0x7f6649827710) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/eventthroughanalyzer.cpp:56
#19 0x00007f6659da4242 in Strigi::StreamAnalyzerPrivate::analyze (this=0x13fd450, idx=..., input=0x7f6649827710) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:395
#20 0x00007f6659d7addb in Strigi::AnalysisResult::indexChild (this=0x7f6649827990, name=<value optimized out>, mt=1277396875, file=0x7f6649827710)
    at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/analysisresult.cpp:250
#21 0x00007f6659db1186 in GZipEndAnalyzer::analyze (this=<value optimized out>, idx=..., in=<value optimized out>)
    at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/endanalyzers/gzipendanalyzer.cpp:67
#22 0x00007f6659da4332 in Strigi::StreamAnalyzerPrivate::analyze (this=0x8, idx=..., input=0x1401b10) at /usr/src/debug/strigi-0.7.2/src/streamanalyzer/streamanalyzer.cpp:421
#23 0x00007f665a34d361 in KFileMetaInfoPrivate::init (this=0x13caf60, stream=<value optimized out>, url=<value optimized out>, mtime=1277396875, w=<value optimized out>)
    at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:210
#24 0x00007f665a3e3bf8 in KFileMetaInfo::KFileMetaInfo (this=0x7f6649827d20, path=<value optimized out>, w=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/kfilemetainfo.cpp:237
#25 0x00007f665a3e453f in KLoadFileMetaDataThread::run (this=0x11799d0) at /usr/src/debug/kdelibs-4.4.95/kio/kfile/kloadfilemetadatathread.cpp:124
#26 0x00007f6660cfdbf5 in QThreadPrivate::start (arg=0x11799d0) at thread/qthread_unix.cpp:248
#27 0x00007f6660a6fa4f in start_thread () from /lib64/libpthread.so.0
#28 0x00007f665f85f82d in clone () from /lib64/libc.so.6
#29 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f66620af760 (LWP 29739)):
#0  0x00007f665f8566b3 in poll () from /lib64/libc.so.6
#1  0x00007f665dd9ec0a in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f665dd9f169 in ?? () from /usr/lib64/libxcb.so.1
#3  0x00007f665dd9f1f7 in xcb_writev () from /usr/lib64/libxcb.so.1
#4  0x00007f66615db776 in _XSend () from /usr/lib64/libX11.so.6
#5  0x00007f66615c7da7 in ?? () from /usr/lib64/libX11.so.6
#6  0x00007f66615c7f8d in XPutImage () from /usr/lib64/libX11.so.6
#7  0x00007f666009d853 in QX11PixmapData::fromImage (this=0x14ec630, img=<value optimized out>, flags=...) at image/qpixmap_x11.cpp:612
#8  0x00007f666008a62f in QPixmap::fromImage (image=..., flags=...) at image/qpixmap.cpp:1993
#9  0x00007f665a34d7f2 in KIO::PreviewJobPrivate::emitPreview (this=0x123dfc0, thumb=...) at /usr/src/debug/kdelibs-4.4.95/kio/kio/previewjob.cpp:598
#10 0x00007f665a3bcb94 in KIO::PreviewJobPrivate::slotThumbData (this=0x123dfc0, data=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/previewjob.cpp:587
#11 0x00007f665a432d0a in KIO::PreviewJob::qt_metacall (this=0x120f2e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5b7f9850)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/previewjob.moc:87
#12 0x00007f6660df8a1f in QMetaObject::activate (sender=0x1171ff0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5b7f9850) at kernel/qobject.cpp:3295
#13 0x00007f665a33e9e4 in KIO::TransferJob::data (this=<value optimized out>, _t1=0x1171ff0, _t2=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/build/kio/jobclasses.moc:388
#14 0x00007f665a33ea54 in KIO::TransferJob::slotData (this=0x1171ff0, _data=...) at /usr/src/debug/kdelibs-4.4.95/kio/kio/job.cpp:1003
#15 0x00007f665a430846 in KIO::TransferJob::qt_metacall (this=0x1171ff0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5b7f9a40)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/jobclasses.moc:368
#16 0x00007f6660df8a1f in QMetaObject::activate (sender=0x10d3c80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff5b7f9a40) at kernel/qobject.cpp:3295
#17 0x00007f665a350742 in KIO::SlaveInterface::data (this=<value optimized out>, _t1=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/build/kio/slaveinterface.moc:146
#18 0x00007f665a45a7d0 in KIO::SlaveInterface::dispatch (this=0x10d3c80, _cmd=<value optimized out>, rawdata=...) at /usr/src/debug/kdelibs-4.4.95/kio/kio/slaveinterface.cpp:163
#19 0x00007f665a3cc913 in KIO::SlaveInterface::dispatch (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kio/kio/slaveinterface.cpp:91
#20 0x00007f665a3c8466 in KIO::Slave::gotInput (this=0x10d3c80) at /usr/src/debug/kdelibs-4.4.95/kio/kio/slave.cpp:344
#21 0x00007f665a3d031c in KIO::Slave::qt_metacall (this=0x10d3c80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff5b7f9e20)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/slave.moc:82
#22 0x00007f6660df8a1f in QMetaObject::activate (sender=0x10d5240, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#23 0x00007f665a3d00f7 in KIO::ConnectionPrivate::dequeue (this=0x10d7ce0) at /usr/src/debug/kdelibs-4.4.95/kio/kio/connection.cpp:82
#24 0x00007f665a3d01ad in KIO::Connection::qt_metacall (this=0x10d5240, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1430950)
    at /usr/src/debug/kdelibs-4.4.95/build/kio/connection.moc:79
#25 0x00007f6660df6509 in QObject::event (this=0x10d5240, e=0x13f2460) at kernel/qobject.cpp:1248
#26 0x00007f665ffb94d4 in QApplicationPrivate::notify_helper (this=0x697490, receiver=0x10d5240, e=0x13f2460) at kernel/qapplication.cpp:4302
#27 0x00007f665ffc1aca in QApplication::notify (this=<value optimized out>, receiver=0x10d5240, e=0x13f2460) at kernel/qapplication.cpp:4185
#28 0x00007f6661a4a096 in KApplication::notify (this=0x7fff5b7fa920, receiver=0x10d5240, event=0x13f2460) at /usr/src/debug/kdelibs-4.4.95/kdeui/kernel/kapplication.cpp:309
#29 0x00007f6660de4e4c in QCoreApplication::notifyInternal (this=0x7fff5b7fa920, receiver=0x10d5240, event=0x13f2460) at kernel/qcoreapplication.cpp:726
#30 0x00007f6660de85ba in sendEvent (receiver=0x0, event_type=0, data=0x60f570) at kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x60f570) at kernel/qcoreapplication.cpp:1367
#32 0x00007f6660e0d173 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#34 0x00007f665c96da93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f665c96e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f665c96e510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f6660e0d67f in QEventDispatcherGlib::processEvents (this=0x696a80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#38 0x00007f666005a14e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f6660de4292 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f6660de4495 in QEventLoop::exec (this=0x7fff5b7fa860, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007f6660de888b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#42 0x00007f6652a5c085 in kdemain (argc=5, argv=0x6768a0) at /usr/src/debug/kdebase-4.4.95/apps/dolphin/src/main.cpp:98
#43 0x00000000004074a9 in launch (argc=5, _name=0x676a18 "/usr/bin/dolphin", args=<value optimized out>, cwd=0x0, envc=<value optimized out>, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x676a71 "benderamp-hp;1280039419;58143;19329_TIME31409172") at /usr/src/debug/kdelibs-4.4.95/kinit/kinit.cpp:723
#44 0x0000000000407fc5 in handle_launcher_request (sock=8, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kinit/kinit.cpp:1215
#45 0x000000000040873a in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.4.95/kinit/kinit.cpp:1408
#46 0x0000000000409390 in main (argc=4, argv=0x7fff5b7fbec8, envp=0x7fff5b7fbef0) at /usr/src/debug/kdelibs-4.4.95/kinit/kinit.cpp:1892

Reported using DrKonqi
Comment 1 Dario Andres 2010-08-07 14:42:31 UTC
This crash seems to be an upstream (Strigi) bug.
Upstream report (including valgrind log): http://sourceforge.net/tracker/index.php?func=detail&aid=3036330&group_id=171000&atid=856302
Comment 2 Dario Andres 2010-08-07 14:44:16 UTC
From bug 244899 (4.5 RC):
- What I was doing when the application crashed:
This crash occurs on an unpredictable basis...  It regularly occurs when
opening Dolphin from the downloads drop-down box in Chromium (v.5) -- using the
menu command "show in folder".

From bug 246600 (4.5 dev):
- What I was doing when the application crashed:
Open dolphin in directory with photos from SD-card from camera, moved mouse
above one photo in the list, dolphin crashed

From bug 246564 (4.5 dev):
- What I was doing when the application crashed:
Opened Dolphin - OK
Select .xls file - freeze
Dolphin crashes and exits with bug reporter
(long delay ~ 1 minute) file opens in Crossover (as it should)
NB had very similar behaviour before - file type does not seem to matter
Comment 3 Dario Andres 2010-08-07 14:44:48 UTC
*** Bug 244899 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2010-08-07 14:44:51 UTC
*** Bug 246600 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2010-08-07 14:44:52 UTC
*** Bug 246564 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-08-07 15:18:56 UTC
Bug 245476 seems related too.
Comment 7 Frank Reininghaus 2010-08-08 14:26:41 UTC
*** Bug 246993 has been marked as a duplicate of this bug. ***
Comment 8 Peter Penz 2010-08-16 21:13:58 UTC
Thanks for the report, this issue has been fixed in KDE SC 4.5.0