Crashes on right click properties(Jaunty)

Bug #336161 reported by kabotage
48
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kdelibs
Fix Released
High
strigi (Ubuntu)
Fix Released
Medium
Unassigned
Nominated for Jaunty by Jonathan Thomas

Bug Description

Every time i right click on root/network/trash folders to check the properties option it vanishes. I'm using kubuntu 9.04.

dolphin --version
Qt: 4.5.0-rc1
KDE: 4.2.00 (KDE 4.2.0)
Dolphin: 1.2

apt-cache policy dolphin
Installed: 4:4.2.0-0ubuntu3
  Candidate: 4:4.2.0-0ubuntu3
  Version table:
 *** 4:4.2.0-0ubuntu3 0
        500 http://US.Archive.Ubuntu.Com jaunty/main Packages
        100 /var/lib/dpkg/status

uname -a
Linux Sector-35 2.6.28-8-generic #26-Ubuntu SMP Wed Feb 25 04:28:54 UTC 2009 i686 GNU/Linux

lsb_release -rd
/usr/bin/lsb_release:81: DeprecationWarning: the sets module is deprecated import sets
Description: Ubuntu jaunty (development branch)
Release: 9.04

Revision history for this message
In , Steve-si9yrl01qsu4bt4t (steve-si9yrl01qsu4bt4t) wrote :
Download full text (12.1 KiB)

Version: (using Devel)
Compiler: g++-4.3
OS: Linux
Installed from: Compiled sources

Dolphin crashes with SIGABRT on viewing the properties of any directory ending in "/" (e.g., /, trash:/). Based on the debug output and backtrace below, it appears that the problem is related to the assertion added in revision 914514 at trunk/kdesupport/strigi/src/streamanalyzer/analysisresult.cpp:152.

The line is: assert(pos != m_path.size()-1); // make sure there is no trailing '/'

It's not clear to me right now whether this assertion is necessary and dolphin should do something differently or strigi should handle these cases differently.

As a side note, it handles things like "remote:" fine, which is what the network bookmark is in my 4.2 build, but trunk has "remote:/", which doesn't.

Debug Output:
_____________________________
dolphin: /home/steve/kde/src/kdesupport/strigi/src/streamanalyzer/analysisresult.cpp:152: Strigi::AnalysisResult::Private::Private(const std::string&, time_t, Strigi::IndexWriter&, Strigi::StreamAnalyzer&, const std::string&, Strigi::AnalysisResult&): Assertion `pos != m_path.size()-1' failed.

Backtrace:
_____________________________
Application: Dolphin (dolphin), signal SIGABRT
[Current thread is 0 (LWP 10657)]

Thread 2 (Thread 0xb382ab90 (LWP 10663)):
#0 0xb7f78430 in __kernel_vsyscall ()
#1 0xb666b3a2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb40c166f in ?? () from /usr/lib/libxine.so.1

Thread 1 (Thread 0xb5c746c0 (LWP 10657)):
[KCrash Handler]
#6 0xb7f78430 in __kernel_vsyscall ()
#7 0xb640b8a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8 0xb640d268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9 0xb640472e in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#10 0xb6340223 in Strigi::AnalysisResult::Private::Private () from /home/steve/kde/lib/libstreamanalyzer.so.0
#11 0xb63404aa in Strigi::AnalysisResult::AnalysisResult () from /home/steve/kde/lib/libstreamanalyzer.so.0
#12 0xb7e1b26c in KFileMetaInfoPrivate::init (this=0x9e77aa0, stream=@0xbfc769f4, url=@0xbfc76a40, mtime=1235540214) at /home/steve/kde/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:198
#13 0xb7e1b420 in KFileMetaInfo (this=0xbfc76a48, url=@0xbfc76a40) at /home/steve/kde/src/KDE/kdelibs/kio/kio/kfilemetainfo.cpp:240
#14 0xb7e0c35d in KFileItem::metaInfo (this=0x97ff648, autoget=true) at /home/steve/kde/src/KDE/kdelibs/kio/kio/kfileitem.cpp:1195
#15 0xb7eb7824 in KFileMetaPropsPlugin (this=0x9e7e9c0, props=0x9dbfcf0) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kmetaprops.cpp:63
#16 0xb7ed92cf in KPropertiesDialog::KPropertiesDialogPrivate::insertPages (this=0x9dccf10) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:526
#17 0xb7ed98af in KPropertiesDialog::KPropertiesDialogPrivate::init (this=0x9dccf10) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:348
#18 0xb7ede638 in KPropertiesDialog (this=0x9dbfcf0, _url=@0xbfc76c30, parent=0x9de36c0) at /home/steve/kde/src/KDE/kdelibs/kio/kfile/kpropertiesdialog.cpp:262
#19 0xb7bbf3b9 in DolphinViewActionHandler::slotProperties (this=0x9defac0) at /home/steve/kde/src/KDE/kdebase/ap...

Revision history for this message
In , Jos van den Oever (vandenoever) wrote :

The code calling the AnalysisResult constructor should make sure that the path does not end in '/'. Strigi will append a '/' to it when giving back the paths of any children associated with the path.

For naked protocol names like 'remote:/' etc, you should not expect Strigi to give you any interesting output, so you might as well not bother asking.

Revision history for this message
In , Steve-si9yrl01qsu4bt4t (steve-si9yrl01qsu4bt4t) wrote :

Thanks for the info. Will strigi provide interesting output for directories? Any thoughts about root ("/" or "file:///")?

Revision history for this message
In , Jos van den Oever (vandenoever) wrote :

You can ask strigi via e.g. DirAnalyzer to analyze "/". (although it's broken atm due to the same assert which I am fixing.

Strigi can open normal paths itself, but URIs must be opened by the caller and passes as an InputStream.

10 comments hidden view all 115 comments
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you install kdebase-dbg, crash dolphin again, and click the "details" checkbox on the crash window when it comes up next time?

Changed in dolphin:
status: New → Incomplete
Revision history for this message
kabotage (kabotage) wrote :

Theres no crash window at all so i did it on console and i tried if i can get a backtrace on gdb, i'l just add those 2 here.

Revision history for this message
kabotage (kabotage) wrote :
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Looks like a strigi bug. As a workaround you could probably close the Information sidebar and it would stop crashing.

Changed in dolphin:
status: Incomplete → New
Revision history for this message
kabotage (kabotage) wrote :

Still crashes even if those sidebars are close.

7 comments hidden view all 115 comments
Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 184994 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 187329 has been marked as a duplicate of this bug. ***

Revision history for this message
In , David Faure (faure) wrote :

Jos: seems the assert is still there.

Also I'm surprised by #3: you say we shouldn't pass urls to strigi?
Please double-check KFileMetaInfoPrivate::init (kdelibs/kio/kio/kfilemetainfo.cpp:198) -- I believe this is your code, even :-)

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 187548 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 187784 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 188797 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 188883 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Jos van den Oever (vandenoever) wrote :

SVN commit 949697 by vandenoever:

Fix bug 185551

Strigi now allows path that start with protocol:/* like
 'file:///' or 'remote:/'

BUG:185551

 M +9 -1 analysisresult.cpp

WebSVN link: http://websvn.kde.org/?view=rev&revision=949697

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 189844 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190126 has been marked as a duplicate of this bug. ***

15 comments hidden view all 115 comments
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fixed in strigi trunk. Will investigate whether or not a fix can be applied to Kubuntu 9.04 post-release.

affects: strigi (Ubuntu) → kde4libs (Ubuntu)
affects: kde4libs (Ubuntu) → strigi (Ubuntu)
Changed in strigi (Ubuntu):
status: New → Fix Committed
Changed in kdelibs:
status: Unknown → Fix Released
16 comments hidden view all 115 comments
Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190556 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190520 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190757 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190819 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190792 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190866 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 190893 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 190942 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 191023 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 189034 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 189557 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 190366 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 190484 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 191258 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Pino Toscano (pinotree) wrote :

*** Bug 191308 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 191509 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Pino Toscano (pinotree) wrote :

*** Bug 191742 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 191876 has been marked as a duplicate of this bug. ***

32 comments hidden view all 115 comments
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Should be possible to fix as a Stable Release Update (SRU).

Changed in strigi (Ubuntu):
importance: Undecided → Medium
68 comments hidden view all 115 comments
Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 197222 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 197246 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 197504 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Pino Toscano (pinotree) wrote :

*** Bug 198402 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 198524 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 198539 has been marked as a duplicate of this bug. ***

Revision history for this message
In , omni-vi (catcher) wrote :

Hi

is this bug supposed to be fixed in the 4.3 RC? Because Dolphin is still crashing.

Revision history for this message
In , Frank78ac (frank78ac) wrote :

(In reply to comment #73)
> is this bug supposed to be fixed in the 4.3 RC? Because Dolphin is still
> crashing.

Please see comment 41: This is *not* a bug in KDE itself, but in Strigi which is released separately. You'll get the crash in any KDE version if you've got a buggy Strigi package installed. For information if/when a fixed package will be provided by your distribution, please contact your distribution directly.

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 197920 has been marked as a duplicate of this bug. ***

Revision history for this message
In , skybon (skybon-deactivatedaccount-deactivatedaccount) wrote :

I'm using Kubuntu 9.04 with KDE 4.3RC1. I can't reproduce this crash now but I have another bug now. When I look into the root properies I have the total size of 256 TiB...

Revision history for this message
In , werty (virgil-balibanu) wrote :

thanks

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 199048 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Pino Toscano (pinotree) wrote :

*** Bug 199119 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 199178 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 199486 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 199495 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 199418 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 199746 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 200538 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 200610 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 200614 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 201392 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 201705 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Peter-penz19 (peter-penz19) wrote :

*** Bug 201948 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 202165 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 203729 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 195566 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 195922 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 204942 has been marked as a duplicate of this bug. ***

95 comments hidden view all 115 comments
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix released to Kubuntu 9.10

Changed in strigi (Ubuntu):
status: Fix Committed → Fix Released
96 comments hidden view all 115 comments
Revision history for this message
In , FiNeX (finex) wrote :

*** Bug 205400 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 205618 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 206630 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 206702 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Dario Andres (andresbajotierra) wrote :

*** Bug 207923 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 208344 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Frank78ac (frank78ac) wrote :

*** Bug 210437 has been marked as a duplicate of this bug. ***

Revision history for this message
In , bil (bil65klo3) wrote :

Created attachment 37869

test1

Revision history for this message
In , bil (bil65klo3) wrote :

Created attachment 37870

test2

Revision history for this message
In , bil (bil65klo3) wrote :

Created attachment 37871

test3

Changed in kdelibs:
importance: Unknown → High
Revision history for this message
In , Jbev-kdebugs-01 (jbev-kdebugs-01) wrote :

*** Bug 191792 has been marked as a duplicate of this bug. ***

Displaying first 40 and last 40 comments. View all 115 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.