Bug 184994 - Dolphin crashes when trying to get trash properties
Summary: Dolphin crashes when trying to get trash properties
Status: RESOLVED DUPLICATE of bug 185551
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-20 03:16 UTC by gambas
Modified: 2009-03-16 23:47 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gambas 2009-02-20 03:16:58 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    Mandriva RPMs

I selected the trash on the plasma desktop, I opened it with Dolphin. Then in Dolphin I selected File->Properties in the menu. Then Dolphin crashed.

I tried once again, and got the same crash.

Here is the backtrace:

Application : Dolphin (dolphin), signal SIGABRT
[Current thread is 1 (Thread 0xb5e738e0 (LWP 9475))]

Thread 1 (Thread 0xb5e738e0 (LWP 9475)):
[KCrash Handler]
#6  0xffffe430 in __kernel_vsyscall ()
#7  0xb66f1da0 in raise () from /lib/i686/libc.so.6
#8  0xb66f3808 in abort () from /lib/i686/libc.so.6
#9  0xb66eacde in __assert_fail () from /lib/i686/libc.so.6
#10 0xb6639a70 in Strigi::AnalysisResult::Private::Private () from /usr/lib/libstreamanalyzer.so.0
#11 0xb6639bb0 in Strigi::AnalysisResult::AnalysisResult () from /usr/lib/libstreamanalyzer.so.0
#12 0xb7ecd119 in KFileMetaInfoPrivate::init (this=0x94b9f90, stream=@0xbfa8aa20, url=@0xbfa8aa6c, mtime=1235042391) at /usr/src/debug/kdelibs-4.2.0/kio/kio/kfilemetainfo.cpp:198
#13 0xb7ecd2df in KFileMetaInfo (this=0xbfa8aa74, url=@0xbfa8aa6c) at /usr/src/debug/kdelibs-4.2.0/kio/kio/kfilemetainfo.cpp:240
#14 0xb7ebe343 in KFileItem::metaInfo (this=0x9424528, autoget=true) at /usr/src/debug/kdelibs-4.2.0/kio/kio/kfileitem.cpp:1197
#15 0xb7f6c549 in KFileMetaPropsPlugin (this=0x94b7180, props=0x948cf88) at /usr/src/debug/kdelibs-4.2.0/kio/kfile/kmetaprops.cpp:63
#16 0xb7f8e4ff in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=0x94a5f60) at /usr/src/debug/kdelibs-4.2.0/kio/kfile/kpropertiesdialog.cpp:525
#17 0xb7f8f248 in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x94a5f60) at /usr/src/debug/kdelibs-4.2.0/kio/kfile/kpropertiesdialog.cpp:347
#18 0xb7f90309 in KPropertiesDialog (this=0x948cf88, _url=@0xbfa8ac80, parent=0x92f5f30) at /usr/src/debug/kdelibs-4.2.0/kio/kfile/kpropertiesdialog.cpp:261
#19 0xb7cc539c in DolphinViewActionHandler::slotProperties (this=0x9333dd8) at /usr/src/debug/kdebase-4.2.0/apps/dolphin/src/dolphinviewactionhandler.cpp:533
#20 0xb7ca63b6 in DolphinViewActionHandler::qt_metacall (this=0x9333dd8, _c=QMetaObject::InvokeMetaMethod, _id=24, _a=0xbfa8ada0)
    at /usr/src/debug/kdebase-4.2.0/build/apps/dolphin/src/moc_dolphinviewactionhandler.cpp:134
#21 0xb6a75c8d in QMetaObject::activate (sender=0x92bd458, from_signal_index=5, to_signal_index=6, argv=0xbfa8ada0) at kernel/qobject.cpp:3031
#22 0xb6a760bb in QMetaObject::activate (sender=0x92bd458, m=0xb7456bf8, from_local_signal_index=1, to_local_signal_index=2, argv=0xbfa8ada0) at kernel/qobject.cpp:3121
#23 0xb6c6aa45 in QAction::triggered (this=0x92bd458, _t1=false) at .moc/release-shared/moc_qaction.cpp:216
#24 0xb6c6b437 in QAction::activate (this=0x92bd458, event=QAction::Trigger) at kernel/qaction.cpp:1125
#25 0xb706aca7 in QMenuPrivate::activateAction (this=0x9319f00, action=0x92bd458, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#26 0xb706b724 in QMenu::mouseReleaseEvent (this=0x9288a20, e=0xbfa8b4a8) at widgets/qmenu.cpp:2169
#27 0xb79ae42a in KMenu::mouseReleaseEvent (this=0x9288a20, e=0xbfa8b4a8) at /usr/src/debug/kdelibs-4.2.0/kdeui/widgets/kmenu.cpp:454
#28 0xb6ccba7a in QWidget::event (this=0x9288a20, event=0xbfa8b4a8) at kernel/qwidget.cpp:7163
#29 0xb706dac4 in QMenu::event (this=0x9288a20, e=0xbfa8b4a8) at widgets/qmenu.cpp:2265
#30 0xb6c70ffc in QApplicationPrivate::notify_helper (this=0x91f0990, receiver=0x9288a20, e=0xbfa8b4a8) at kernel/qapplication.cpp:3803
#31 0xb6c79c3f in QApplication::notify (this=0xbfa8bd1c, receiver=0x9288a20, e=0xbfa8b4a8) at kernel/qapplication.cpp:3528
#32 0xb78d5e20 in KApplication::notify (this=0xbfa8bd1c, receiver=0x9288a20, event=0xbfa8b4a8) at /usr/src/debug/kdelibs-4.2.0/kdeui/kernel/kapplication.cpp:307
#33 0xb6a60853 in QCoreApplication::notifyInternal (this=0xbfa8bd1c, receiver=0x9288a20, event=0xbfa8b4a8) at kernel/qcoreapplication.cpp:587
#34 0xb6c78e61 in QApplicationPrivate::sendMouseEvent (receiver=0x9288a20, event=0xbfa8b4a8, alienWidget=0x0, nativeWidget=0x9288a20, buttonDown=0xb7472dd0, lastMouseReceiver=@0xb7472dd4)
    at ../../src/corelib/kernel/qcoreapplication.h:212
#35 0xb6ce836a in QETWidget::translateMouseEvent (this=0x9288a20, event=0xbfa8ba5c) at kernel/qapplication_x11.cpp:4046
#36 0xb6ce7580 in QApplication::x11ProcessEvent (this=0xbfa8bd1c, event=0xbfa8ba5c) at kernel/qapplication_x11.cpp:3108
#37 0xb6d10674 in x11EventSourceDispatch (s=0x91e5a18, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#38 0xb61837ca in IA__g_main_context_dispatch (context=0x91e4ea0) at gmain.c:2142
#39 0xb6186ee8 in g_main_context_iterate (context=0x91e4ea0, block=1, dispatch=1, self=0x91f0838) at gmain.c:2776
#40 0xb61870a8 in IA__g_main_context_iteration (context=0x91e4ea0, may_block=1) at gmain.c:2839
#41 0xb6a8c34a in QEventDispatcherGlib::processEvents (this=0x91f2828, flags={i = -1079460856}) at kernel/qeventdispatcher_glib.cpp:319
#42 0xb6d0fdca in QGuiEventDispatcherGlib::processEvents (this=0x91f2828, flags={i = -1079460808}) at kernel/qguieventdispatcher_glib.cpp:198
#43 0xb6a5eec3 in QEventLoop::processEvents (this=0xbfa8bcb0, flags={i = -1079460744}) at kernel/qeventloop.cpp:143
#44 0xb6a5f081 in QEventLoop::exec (this=0xbfa8bcb0, flags={i = -1079460680}) at kernel/qeventloop.cpp:194
#45 0xb6a617f2 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#46 0xb6c70e64 in QApplication::exec () at kernel/qapplication.cpp:3331
#47 0x08080f53 in main (argc=-1079460140, argv=0xbfa8bd34) at /usr/src/debug/kdebase-4.2.0/apps/dolphin/src/main.cpp:94
Comment 1 Frank Reininghaus 2009-02-20 18:34:26 UTC
Thanks for the bug report! I can't reproduce the crash, so I suppose it is due to some particular file which is in your trash. Strigi seems to have trouble analyzing it. 

It would help a lot if you could isolate that file and attach it to this report (if it does not contain anything you prefer to keep private).
Comment 2 gambas 2009-02-20 21:24:05 UTC
No idea which file is responsible at the moment.

Here is the output of dolphin standard error until the crash. You have a failed assertion at the end.

[benoit@localhost ~]$ /usr/bin/dolphin -icon system-file-manager -caption Dolphin trash:/
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::KDirWatchPrivate: Available methods:  ("Stat", "FAM", "INotify")
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added File "/home/benoit/.local/share//user-places.xbel" NotExisting for "" ["KDirWatch-1"]
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                     
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/benoit/.local/share" for "/home/benoit/.local/share//user-places.xbel" [""]
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                      
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                  
dolphin(31982)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/benoit/.local/share//user-places.xbel"               
dolphin(31982)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-benoit/ksycoca4"                        
dolphin(31982)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")                                                      
"/usr/bin/dolphin(31982)" Error in thread 3050268896 : "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"                                                                                                                                                                    
"/usr/bin/dolphin(31982)" Error in thread 3050268896 : "QLocalSocket::connectToServer: Invalid name"                                                                            
dolphin(31982) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/benoit/.kde4/share/apps/nepomuk/socket"                       
dolphin(31982)/kio (KDirListerCache) KDirListerCache::listDir: Reloading directory: KUrl("file:///home/benoit")                                                                 
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::addEntry: Added Dir "/home/benoit" for "" ["KDirWatch-2"]                                                                      
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::useINotify: trying to use inotify for monitoring                                                                               
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::useINotify: inotify successfully used for monitoring                                                                           
dolphin(31982): Attempt to use QAction "close_tab" with KXMLGUIFactory!                                                                                                         
dolphin(31982): Attempt to use QAction "show_info_panel" with KXMLGUIFactory!                                                                                                   
dolphin(31982): Attempt to use QAction "show_folders_panel" with KXMLGUIFactory!                                                                                                
dolphin(31982): Attempt to use QAction "show_terminal_panel" with KXMLGUIFactory!                                                                                               
dolphin(31982): Attempt to use QAction "show_places_panel" with KXMLGUIFactory!                                                                                                 
dolphin(31982)/kio (KDirListerCache) KDirListerCache::forgetDirs: Killing update job for  "file:///home/benoit"                                                                 
dolphin(31982)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 11, 2) for "/home/benoit"                                                                   
dolphin(31982)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x9b258a8) )                                        
dolphin(31982)/kdecore (KLibLoader) findLibraryInternal: plugins should not have a 'lib' prefix: "libkonsolepart.so"                                                            
dolphin(31982)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x9b258a8) ,  DolphinDirLister(0x9b3b2b0) )                                                                                                                                                                   
dolphin(31982)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")                                                                                     
dolphin(31982)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/benoit/tmp/ksocket-benoit/dolphinq31982.slave-socket"                     
Undecodable sequence: \001b(hex)[36l                                                                                                                                            
dolphin(31982)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("trash:/")                                                                              
dolphin(31982)/kio (KIOJob) KDirModel::indexForUrl: KUrl("file:///home/benoit") not found                                                                                       
dolphin(31982) KSharedUiServerProxy::KSharedUiServerProxy: kuiserver registered                                                                                                 
dolphin(31982) KFileMetaPropsPlugin::supports:                                                                                                                                  
dolphin(31982) KFileMetaPropsPlugin::supports: metaDataEnabled= true                                                                                                            
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/strigita_audible.so                                                                                                                                              
/usr/lib/strigi/strigiea_ics.so                                                                                                                                                  
/usr/lib/strigi/strigila_namespaceharvester.so                                                                                                                                   
/usr/lib/strigi/strigila_txt.so                                                                                                                                                  
/usr/lib/strigi/strigiea_vcf.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_dvi.so                                                                                                                                                  
/usr/lib/strigi/strigita_gif.so                                                                                                                                                  
/usr/lib/strigi/strigita_ico.so                                                                                                                                                  
/usr/lib/strigi/strigita_mp4.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 'content.mime_type' is not defined in any rdfs ontology database.                                                                                                 
WARNING: field 'audio.title' is not defined in any rdfs ontology database.                                                                                                       
WARNING: field 'audio.artist' is not defined in any rdfs ontology database.                                                                                                      
WARNING: field 'todo.audio.narrator' is not defined in any rdfs ontology database.                                                                                               
WARNING: field 'media.codec' is not defined in any rdfs ontology database.                                                                                                       
WARNING: field 'todo.audible.user_id' is not defined in any rdfs ontology database.                                                                                              
WARNING: field 'todo.audible.user_alias' is not defined in any rdfs ontology database.                                                                                           
WARNING: field 'audio.duration' is not defined in any rdfs ontology database.                                                                                                    
WARNING: field 'content.description' is not defined in any rdfs ontology database.                                                                                               
WARNING: field 'content.copyright' is not defined in any rdfs ontology database.                                                                                                 
WARNING: field 'content.keyword' is not defined in any rdfs ontology database.                                                                                                   
WARNING: field 'content.creation_time' is not defined in any rdfs ontology database.                                                                                             
WARNING: field 'content.maintainer' is not defined in any rdfs ontology database.                                                                                                
WARNING: field 'content.ID' is not defined in any rdfs ontology database.                                                                                                        
WARNING: field 'audio.channel_count' 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 'content.genre' is not defined in any rdfs ontology database.
WARNING: field 'TODO_trackNumber' is not defined in any rdfs ontology database.
WARNING: field 'TODO_discNumber' is not defined in any rdfs ontology database.
WARNING: field 'content.author' is not defined in any rdfs ontology database.
WARNING: field 'content.comment' is not defined in any rdfs ontology database.
WARNING: field 'audio.album' is not defined in any rdfs ontology database.
WARNING: field 'TODO_audio.albumartist' is not defined in any rdfs ontology database.
WARNING: field 'content.links' is not defined in any rdfs ontology database.
WARNING: field 'TODO_content.purchaser' is not defined in any rdfs ontology database.
WARNING: field 'TODO_content.purchasedate' is not defined in any rdfs ontology database.
WARNING: field 'content.generator' is not defined in any rdfs ontology database.
WARNING: field 'media.duration' is not defined in any rdfs ontology database.
WARNING: field 'TODO_video.duration' is not defined in any rdfs ontology database.
WARNING: field 'av.audio_codec' is not defined in any rdfs ontology database.
WARNING: field 'av.video_codec' is not defined in any rdfs ontology database.
WARNING: field 'content.thumbnail' is not defined in any rdfs ontology database.
WARNING: field 'user.rating' is not defined in any rdfs ontology database.
WARNING: field 'image.width' is not defined in any rdfs ontology database.
WARNING: field 'image.height' is not defined in any rdfs ontology database.
WARNING: field 'media.sample_rate' is not defined in any rdfs ontology database.
WARNING: field 'media.sample_format' 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 'Product Id' is not defined in any rdfs ontology database.
WARNING: field 'Events' is not defined in any rdfs ontology database.
WARNING: field 'Journals' is not defined in any rdfs ontology database.
WARNING: field 'Todos' is not defined in any rdfs ontology database.
WARNING: field 'Todos Completed' is not defined in any rdfs ontology database.
WARNING: field 'Todos Overdue' 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(31982) KFileMetaInfoPrivate::init: KUrl("trash:/")
dolphin: /home/helio/packages/strigi-0.6.4-1mdv2009.1-topdir/BUILD/strigi-0.6.4/src/streamanalyzer/analysisresult.cpp :152 : Strigi::AnalysisResult::Private::Private(const std::string&, time_t, Strigi::IndexWriter&, Strigi::StreamAnalyzer&, const std::string&, Strigi::AnalysisResult&):  L'assertion « pos != m_path.size()-1 » a échoué.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = dolphin path = <unknown> pid = 31982
sock_file=/home/benoit/.kde4/socket-localhost/kdeinit4__0
Comment 3 Frank Reininghaus 2009-02-20 23:48:52 UTC
I'll CC Jos (Strigi developer), maybe the backtrace or the failed assert "pos != m_path.size()-1" give him some hint about what the problem might be.
Comment 4 Frank Reininghaus 2009-03-16 23:47:09 UTC
Actually, it seems to be a duplicate of another bug report. This crash occurs with any URL which has a "/" at the end (like "trash:/") if asserts are enabled, so it's not related to particular files.

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