Bug 185667 - dolphin crashes when hovering mouse pointer over a large tar.gz
Summary: dolphin crashes when hovering mouse pointer over a large tar.gz
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 188149 276114 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-27 01:54 UTC by Holger Kellermann
Modified: 2011-07-19 03:26 UTC (History)
4 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 Holger Kellermann 2009-02-27 01:54:00 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Unlisted Binary Package

Every time I'm putting the mouse pointer over a large tar.gz file dolphin crashes. This happens for a gnome-live-vmware-image I downloaded today, which is about 830 MBytes in size. I could reproduce the crash with files of about 300 MBytes and upwards (but it might be reproducible with smaller files). The crash does not happen with very small tar.gz files (e.g. 300 KBytes). I was also able to reproduce this on my second PC. Both are running Kubuntu, KDE 4.2. This is the crash report, just let me know, if you need more (or other) info:


Anwendung: Dolphin (dolphin), Signal SIGABRT

Thread 1 (Thread 0xb5d7e6c0 (LWP 30123)):
[KCrash Handler]
#6  0xb7f02430 in __kernel_vsyscall ()
#7  0xb64a68a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb64a8268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb649f72e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb63e9391 in Strigi::SubInputStream::SubInputStream () from /usr/lib/libstreams.so.0
#11 0xb63ea3e0 in Strigi::TarInputStream::nextEntry () from /usr/lib/libstreams.so.0
#12 0xb644d0d9 in ?? () from /usr/lib/libstreamanalyzer.so.0
#13 0xb643ef94 in ?? () from /usr/lib/libstreamanalyzer.so.0
#14 0xb643673f in ?? () from /usr/lib/libstreamanalyzer.so.0
#15 0xb7d718a7 in KFileMetaInfoPrivate::init (this=0xa131028, stream=@0xbfc032b8, url=@0xbfc032b0, mtime=1222504640) at /build/buildd/kde4libs-4.2.0/kio/kio/kfilemetainfo.cpp:201
#16 0xb7d72b14 in KFileMetaInfo (this=0xbfc03378, path=@0xbfc0337c) at /build/buildd/kde4libs-4.2.0/kio/kio/kfilemetainfo.cpp:228
#17 0x08082c74 in InfoSidebarPage::showMetaInfo (this=0x9e4aca8) at /build/buildd/kdebase-4.2.0/apps/dolphin/src/infosidebarpage.cpp:395
#18 0x08083048 in InfoSidebarPage::showItemInfo (this=0x9e4aca8) at /build/buildd/kdebase-4.2.0/apps/dolphin/src/infosidebarpage.cpp:230
#19 0x08083843 in InfoSidebarPage::qt_metacall (this=0x9e4aca8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc03508)
    at /build/buildd/kdebase-4.2.0/obj-i486-linux-gnu/apps/dolphin/src/infosidebarpage.moc:93
#20 0xb6857a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb68587e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb68927a7 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#23 0xb685e40e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#24 0xb685253f in QObject::event () from /usr/lib/libQtCore.so.4
#25 0xb6a658ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#26 0xb6a6d72e in QApplication::notify () from /usr/lib/libQtGui.so.4
#27 0xb76c8fed in KApplication::notify (this=0xbfc03c34, receiver=0x9d25a78, event=0xbfc0399c) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#28 0xb6842e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#29 0xb6870d81 in ?? () from /usr/lib/libQtCore.so.4
#30 0xb686d520 in ?? () from /usr/lib/libQtCore.so.4
#31 0xb60866f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb6089da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb6089f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb686d478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb6affea5 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb684152a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#37 0xb68416ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#38 0xb6843da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#39 0xb6a65767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#40 0x0808520f in main (argc=6, argv=0xbfc03de4) at /build/buildd/kdebase-4.2.0/apps/dolphin/src/main.cpp:94
Comment 1 Holger Kellermann 2009-02-27 14:34:47 UTC
If I'm disabling the information panel on the right side (by pushing F11), the bug does not occur. Could this problem be related to Bug 182941 or Bug 163050?
Comment 2 Holger Kellermann 2009-02-27 14:46:12 UTC
Here's the gdb output of I'm getting:

Starting program: /usr/bin/dolphin                                           
[Thread debugging using libthread_db enabled]                                
[New Thread 0xb5f606c0 (LWP 13467)]                                          
dolphin(13425): Attempt to use QAction "close_tab" with KXMLGUIFactory!      
dolphin(13425): Attempt to use QAction "show_info_panel" with KXMLGUIFactory! 
dolphin(13425): Attempt to use QAction "show_folders_panel" with KXMLGUIFactory!
dolphin(13425): Attempt to use QAction "show_terminal_panel" with KXMLGUIFactory!
dolphin(13425): Attempt to use QAction "show_places_panel" with KXMLGUIFactory!

Program exited normally.
(gdb) dolphin(13425) MetaDataWidget::setFile: KUrl("file:///home/holger")
dolphin(13425) MetaDataWidget::setFile: KUrl("file:///home/holger")
WARNING: field 'http://strigi.sf.net/ontologies/0.9#debugParseError' is not defined in any rdfs ontology database.
/usr/lib/strigi/strigila_deb.so
/usr/lib/strigi/strigila_cpp.so
/usr/lib/strigi/strigila_namespaceharvester.so
/usr/lib/strigi/strigila_txt.so
/usr/lib/strigi/strigila_xpm.so
/usr/lib/strigi/strigiea_jpeg.so
/usr/lib/strigi/strigita_au.so
/usr/lib/strigi/strigita_avi.so
/usr/lib/strigi/strigita_font.so
/usr/lib/strigi/strigita_dds.so
/usr/lib/strigi/strigita_gif.so
/usr/lib/strigi/strigita_ico.so
/usr/lib/strigi/strigita_pcx.so
/usr/lib/strigi/strigita_rgb.so
/usr/lib/strigi/strigita_sid.so
/usr/lib/strigi/strigita_wav.so
/usr/lib/strigi/strigita_xbm.so
WARNING: field 'maxLineLength' is not defined in any rdfs ontology database.
WARNING: field 'line ending format' is not defined in any rdfs ontology database.
WARNING: field 'dds volume depth' is not defined in any rdfs ontology database.
WARNING: field 'dds mipmap count' is not defined in any rdfs ontology database.
WARNING: field 'dds image type' is not defined in any rdfs ontology database.
WARNING: field 'font.family' is not defined in any rdfs ontology database.
WARNING: field 'font.weight' is not defined in any rdfs ontology database.
WARNING: field 'font.slant' is not defined in any rdfs ontology database.
WARNING: field 'font.width' is not defined in any rdfs ontology database.
WARNING: field 'font.spacing' is not defined in any rdfs ontology database.
WARNING: field 'font.foundry' is not defined in any rdfs ontology database.
WARNING: field 'content.version' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.image_count' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.image_name' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.image_shared_rows' is not defined in any rdfs ontology database.
WARNING: field 'content.thumbnail' is not defined in any rdfs ontology database.
WARNING: field 'ole.category' is not defined in any rdfs ontology database.
WARNING: field 'ole.presentationtarget' is not defined in any rdfs ontology database.
WARNING: field 'ole.manager' is not defined in any rdfs ontology database.
WARNING: field 'ole.company' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.table_count' is not defined in any rdfs ontology database.
WARNING: field 'document.stats.object_count' is not defined in any rdfs ontology database.
WARNING: field 'http://rdf.openmolecules.net/0.9#moleculeCount' is not defined in any rdfs ontology database.
dolphin(13425) KFileMetaInfoPrivate::init: KUrl("file:///home/holger/bigtartest.tar.gz")
KCrash: Application 'dolphin' crashing...
sock_file=/home/holger/.kde/socket-ambeon/kdeinit4__0
Quit


So, might this Bug be a duplicate or reincarnation of Bug 163050?
Comment 3 Peter Penz 2009-02-27 15:15:15 UTC
@Bughunt: it is definitely a strigi issue and would say it's a duplicate of bug 163050. Do you know which strigi version you use? You can find out by typing 'strigidaemon --version'

For KDE 4.3 the information panel does not use KFileMetaInfo (-> strigi) anymore, but uses Nepomuk for this. However this bug should still be solved in strigi... General strigi issues can be reported at http://sourceforge.net/tracker/?group_id=171000&atid=856302, but before doing this it would be useful to know your strigi version. Thanks!
Comment 4 Holger Kellermann 2009-02-27 15:45:40 UTC
@ Peter: I guess this is an interesting output:

user@mypc:~$ strigidaemon --version
The program 'strigidaemon' is currently not installed.  You can install it by typing:
sudo apt-get install strigi-daemon
bash: strigidaemon: command not found

I reinstalled strigi to test if the missing strigdaemon triggered this bug, now it's:

user@mypc:~$ strigidaemon --version
strigidaemon 0.6.3
 Copyright (C) 2006-2007 Jos van den Oever and others

But the Crash happens with and without strigi being installed.
Comment 5 Peter Penz 2009-02-27 15:58:22 UTC
Thanks for the update! 0.6.3 is a recent version, I've submitted a strigi report at http://sourceforge.net/tracker/index.php?func=detail&aid=2645583&group_id=171000&atid=856302
Comment 6 Holger Kellermann 2009-02-27 16:32:19 UTC
@ Peter: I don't want to steal your time, but I don't understand how this could be a bug inside strigi, if strigi is not even running when it occurs. Doesn't the fact of the crash happening with and without strigi(daemon) running point to the place where kde and strigi interface?
Comment 7 Peter Penz 2009-02-27 21:41:16 UTC
@Holger: Turning off strigi in the system settings only turns off the strigi indexer. When getting meta data with kdelibs still strigi analyzers are used internally.
Comment 8 Holger Kellermann 2009-02-28 02:40:22 UTC
@Peter, Comment #7: Thanks for your explanation.
Comment 9 Tommi Tervo 2009-03-26 11:05:03 UTC
*** Bug 188149 has been marked as a duplicate of this bug. ***
Comment 10 phreedom.stdin 2010-08-25 15:57:18 UTC
Does this still happen? Can I have a copy of the file?
Comment 11 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
Comment 12 Raphael Kubo da Costa 2011-07-19 03:26:44 UTC
*** Bug 276114 has been marked as a duplicate of this bug. ***