Konqueror 3.4.0 segfaults repeatably in kubuntu hoary

Bug #14345 reported by Dwaner
22
Affects Status Importance Assigned to Milestone
kdebase (Ubuntu)
Invalid
Critical
Matt Zimmerman

Bug Description

Konqueror crashes sporadically while browsing files, or when open in the background.
This happens several times per hour, rendering kubuntu unusable.

Error traceback:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1229924960 (LWP 8789)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#4 0xb7c2ceae in KDirListerCache::slotEntries () from /usr/lib/libkio.so.4
#5 0xb7c33760 in KDirListerCache::qt_invoke () from /usr/lib/libkio.so.4
#6 0xb73c0f5b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#7 0xb7b87a54 in KIO::ListJob::entries () from /usr/lib/libkio.so.4
#8 0xb7b76812 in KIO::ListJob::slotListEntries () from /usr/lib/libkio.so.4
#9 0xb7b87d19 in KIO::ListJob::qt_invoke () from /usr/lib/libkio.so.4
#10 0xb73c0f5b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#11 0xb7b62fdd in KIO::SlaveInterface::listEntries ()
   from /usr/lib/libkio.so.4
#12 0xb7b61aab in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#13 0xb7b60e59 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.4
#14 0xb7b5e88b in KIO::Slave::gotInput () from /usr/lib/libkio.so.4
#15 0xb7b605a8 in KIO::Slave::qt_invoke () from /usr/lib/libkio.so.4
#16 0xb73c0f5b in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#17 0xb73c10b2 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#18 0xb76dcdd4 in QSocketNotifier::activated () from /usr/lib/libqt-mt.so.3
#19 0xb73dbf2a in QSocketNotifier::event () from /usr/lib/libqt-mt.so.3
#20 0xb7369264 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#21 0xb73688c8 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0xb78b9a25 in KApplication::notify () from /usr/lib/libkdecore.so.4
#23 0xb7359904 in QEventLoop::activateSocketNotifiers ()
   from /usr/lib/libqt-mt.so.3
#24 0xb731580b in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#25 0xb737a640 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#26 0xb737a502 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#27 0xb736946f in QApplication::exec () from /usr/lib/libqt-mt.so.3
#28 0xb691006d in kdemain () from /usr/lib/libkdeinit_konqueror.so
#29 0xb7fe7776 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#30 0x0804cc10 in ?? ()
#31 0x00000004 in ?? ()
#32 0x08136998 in ?? ()
#33 0x00000001 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x10000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00001000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x00000000 in ?? ()
#44 0x00000000 in ?? ()
#45 0x01000000 in ?? ()
#46 0x00000000 in ?? ()
#47 0x00000000 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0x00000000 in ?? ()
#51 0x00000000 in ?? ()
#52 0x00000000 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00000000 in ?? ()
#55 0x08135cc8 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000000 in ?? ()
#58 0x00000000 in ?? ()
#59 0x00000000 in ?? ()
#60 0x00000000 in ?? ()
#61 0x00000000 in ?? ()
#62 0x00000000 in ?? ()
#63 0xb77dfee0 in vtable for QGArray () from /usr/lib/libqt-mt.so.3
#64 0x00000000 in ?? ()
#65 0x080a8078 in ?? ()
#66 0x00000000 in ?? ()
#67 0xbffff740 in ?? ()
#68 0x00000000 in ?? ()
#69 0x00000000 in ?? ()
#70 0xb7da92bd in __libc_sigaction () from /lib/tls/i686/cmov/libc.so.6
#71 0x0804e11b in ?? ()
#72 0x00000004 in ?? ()
#73 0x0813628c in ?? ()
#74 0x081362c5 in ?? ()
#75 0x081362c5 in ?? ()
#76 0x00000019 in ?? ()
#77 0x0813664a in ?? ()
#78 0x00000001 in ?? ()
#79 0x00000000 in ?? ()
#80 0x00000000 in ?? ()
#81 0x0813664e in ?? ()
#82 0x00000000 in ?? ()
#83 0x00000000 in ?? ()
#84 0x00000000 in ?? ()
#85 0x0813664e in ?? ()
#86 0x00000000 in ?? ()
#87 0x00000000 in ?? ()
#88 0x081362d6 in ?? ()
#89 0x00000019 in ?? ()
#90 0x081362c5 in ?? ()
#91 0x08136296 in ?? ()
#92 0x0813628c in ?? ()
#93 0x00000004 in ?? ()
#94 0x08136288 in ?? ()
#95 0x00000000 in ?? ()
#96 0x00000000 in ?? ()
#97 0x00000000 in ?? ()
#98 0x00000006 in ?? ()
#99 0x000003f4 in ?? ()
#100 0x080513d8 in vtable for QCString ()
#101 0x080a8060 in ?? ()
#102 0x00000000 in ?? ()
#103 0x00000000 in ?? ()
#104 0x080513d8 in vtable for QCString ()
#105 0x08135950 in ?? ()
#106 0xb7da90eb in ssignal () from /lib/tls/i686/cmov/libc.so.6
#107 0x0804e71b in ?? ()
#108 0x00000004 in ?? ()
#109 0xbffff970 in ?? ()
#110 0xbffff8f4 in ?? ()
#111 0xbffff9e0 in ?? ()
#112 0x00000000 in ?? ()
#113 0xbffff980 in ?? ()
#114 0xbffff8e8 in ?? ()
#115 0xb7f6bd13 in operator delete () from /usr/lib/libstdc++.so.5
#116 0x0804f6ad in ?? ()
#117 0x00000000 in ?? ()
#118 0xbffffbde in ?? ()
#119 0x00000001 in ?? ()
#120 0x00000000 in ?? ()
#121 0x00000000 in ?? ()
#122 0x00000000 in ?? ()
#123 0x00000000 in ?? ()
#124 0x00000000 in ?? ()
#125 0x00000000 in ?? ()
#126 0x08050476 in _IO_stdin_used ()
#127 0x00000000 in ?? ()
#128 0xbffffbb8 in ?? ()
#129 0xb7daba30 in __cxa_atexit () from /lib/tls/i686/cmov/libc.so.6
#130 0xb7d968c8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#131 0x0804b5b1 in ?? ()

Revision history for this message
Chris Halls (halls) wrote :

Are you using an up to date kde version? Do you have any way to trigger this?

Revision history for this message
Dwaner (dwaner) wrote :

(In reply to comment #1)

This is KDE 3.4 in ubuntu hoary, and my system is up to date. Konqueror is the
only program that is segfaulting.

I've been trying to figure out how to reliably trigger this, but I can't yet
reproduce it on demand.
It sometimes occurs when konqueror is in the background and I quit another
application like evolution or firefox.
It also seems to be related to another konqueror bug where when I split the pane
in detailed list view, the new pane sometimes
shows two entries for each file. Clicking reload corrects the display, but it
seems that once I have seen the double entries, a konqueror
crash is likely to occur in the near future.

I'll keep experimenting and let you know if I figure out how to reproduce it
consistently.

Revision history for this message
Jason Straight (jason-jeetkunedomaster) wrote :

I think my bug (https://bugzilla.ubuntu.com/show_bug.cgi?id=8069) and this one might be dupe.

Konqueror will crash a lot, and I think it's got a lot to do with previews. Do you have icon previews enabled? And if you do - do they work?

Try removing your ~/.thumbnails dir and see if they rebuild.

Revision history for this message
Dwaner (dwaner) wrote :

(In reply to comment #3)
> I think my bug (https://bugzilla.ubuntu.com/show_bug.cgi?id=8069) and this one
might be dupe.

I never use the icon view, but I checked and icon previews are enabled and seem
to work ok. I deleted ~/.thumbnails and it
seems to have regenerated OK. What makes you think these bugs are related?
Does your stack trace indicate the same point of failure?

BTW: I should have mentioned that the stack trace shows that every segfault
occurs at the same point.

Revision history for this message
Jason Straight (jason-jeetkunedomaster) wrote :

well, turns out you are right, and my bug actually is a dupe. I disabled the Navigation Panel and sure enough I had no more crashes and my thumbnail previews work flawlessly.

So the problem seems to be the split pane views.

Revision history for this message
Jason Straight (jason-jeetkunedomaster) wrote :

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

Revision history for this message
Dwaner (dwaner) wrote :

Created an attachment (id=1801)
screen shot showing duplicate file entries

Revision history for this message
Dwaner (dwaner) wrote :

(In reply to comment #7)

Ok, I've finally figured out how to trigger the crash consistently (at least on
my system)!

First, I set the number of instances preloaded to zero in the Control Center.
That way I am starting clean each time I start konqueror.

To invoke the bug:

1. Open the "Home Folder" from the system menu on the KDE taskbar.
     (notice that the blue gear icon spins continuously.)
2. Click the "Split Pane top/bottom" button
     (double file entries _always_ appear in the lower panel.)
3. Click the "Reload" button.
     (double entries disappear)
4. Click the "Close active view" button.
5. Click anywhere in the list pane, resulting in an instant crash.

This is not the only way to get it to crash, but it does work every time.

I have attached a screenshot (konqdup.png) showing my konqueror layout and the
duplicate entries in the lower pane.

A few observations:

1. I have added Split Pane and Close Active View buttons to my toolbar, but
using the menus works just the same.
2. I found that this procedure only works when I open konqueror from the system
menu. I have far fewer konqueror crashes (maybe none; I'll be paying attention
to this in the future) when I invoke konqueror from a desktop link icon.
3. When invoked from the system menu, the blue gear spins forever, but when I
open konqueror from a desktop icon it stops spinning as soon as the file list is
displayed (i.e. almost instantly). Maybe this is more a system menu issue than
a konqueror issue.

Can someone see if they can reproduce this on their system?

Revision history for this message
Dwaner (dwaner) wrote :

After using konqueror for a few days without using the system menu, instances of
this crash have become
very infrequent. However, it can often be induced by deleting a number of files
in rapid succession using the DELETE key.

This bug is still labelled NEEDINFO. What additional information should I provide?

Revision history for this message
Frederik Dannemare (frederik) wrote :

>To invoke the bug:
>
>1. Open the "Home Folder" from the system menu on the KDE taskbar.
> (notice that the blue gear icon spins continuously.)
>2. Click the "Split Pane top/bottom" button
> (double file entries _always_ appear in the lower panel.)

Confirmed.

>3. Click the "Reload" button.
> (double entries disappear)

I cannot even get past this point. After hitting refresh and moving the mouse, Konqueror (launched from the System menu)
will crash instantly.

>4. Click the "Close active view" button.
>5. Click anywhere in the list pane, resulting in an instant crash.
>
>This is not the only way to get it to crash, but it does work every time.

It sure does. :(

>I have attached a screenshot (konqdup.png) showing my konqueror layout and the
>duplicate entries in the lower pane.
>
>A few observations:
>
>1. I have added Split Pane and Close Active View buttons to my toolbar, but
>using the menus works just the same.
>2. I found that this procedure only works when I open konqueror from the system
>menu.

I can confirm this.

>I have far fewer konqueror crashes (maybe none; I'll be paying attention
>to this in the future) when I invoke konqueror from a desktop link icon.

My count so far (only 5 tries, though) is "none".

>3. When invoked from the system menu, the blue gear spins forever, but when I
>open konqueror from a desktop icon it stops spinning as soon as the file list is
>displayed (i.e. almost instantly).

I can confirm this as well.

Revision history for this message
Cédric Bellegarde (gnumdk) wrote :

Same problem here, no probleme with self compiled kde 3.4.

Revision history for this message
Tom Fernandes (tom-fernandes) wrote :

(In reply to comment #10)
> >To invoke the bug:
> >
> >1. Open the "Home Folder" from the system menu on the KDE taskbar.

[..]

>
> >3. When invoked from the system menu, the blue gear spins forever, but when I
> >open konqueror from a desktop icon it stops spinning as soon as the file list
is
> >displayed (i.e. almost instantly).
>
>
> I can confirm this as well.

I can confirm exactly the same behaviour here with the difference that it happend
only ones exactly like this. It's inconsistent - it doesn't always happen. Sometimes
it works fine, sometimes it works like described, sometimes it crashes at different
points. I tried it with a new user account on a fresh install with the RC.
When I start

kfmclient openProfile filemanagement

from the console I will never crash or display duplicate entries though.

Just noticed that the bug gets consistent for me when using the live CD.
It's reproducible for me going through the steps mentioned above with the
difference, that it craches after step 4.
The reason for a crash is that I move the mouse fast in the window. If I
move it slowly inside the window it doesn't crash - if I move it fast inside
the window it will crash instantly. I can move the mouse outside the window
as fast as I want. I can even open new windows, minimize the konqueror one,
etc.

But as soon as I put the mouse back into the konqueror window and move it fast
it crashes.

Revision history for this message
Simone Gotti (simone-gotti) wrote :

I can finally reproduce it but only on a clean .kde config dir.

It can be tracked down the the execution of this command:

konqueror -mimetype inode/directory system:/home.desktop

The problem seems to come from the sidebar and only if it's set to its
default with the sidebar tab "Home Folder" present in it.

When this bug happens in your shell you'll see these 2 lines:
ASSERT: "!dir->rootItem" in /build/buildd/kdelibs-3.4.0/kio/kio/kdirlister.cpp
(941)
ASSERT: "!urlsCurrentlyHeld[jobUrlStr]"
in /build/buildd/kdelibs-3.4.0/kio/kio/kdirlister.cpp (986)

If you remove the line:
OpenViews=home.desktop

from the file /etc/kde3/konqsidebartng.rc the sidebar is disabled on konqueror
start and this problem doesn't happens. This can be a little hack to fix it
temporarly.

I'll try to collect more data and find where's the problem or report it
upstream.

Revision history for this message
inkubus (francis-belanger) wrote :

I got the exact same trouble

The duplicate hidden files

and the random and very frquent konqueror crash

even the main folders and files in /home/myUser are duplicated

i'm using kubuntu 5.0.4 freslhly installed

i can reproduce the bug untarring a .tar.gz
---------------

Revision history for this message
senectus (senectus) wrote :

Created an attachment (id=2323)
the backtrace from a konqueror crash

I am getting this on my Desktop, Laptop AND brand new install no modifications
vmware 5.0 session.

Revision history for this message
Simone Gotti (simone-gotti) wrote :

I cannot reproduce it anymore with kde 3.4.1.

I think it's probably related to this kdirlister bug now fixed:
http://bugs.kde.org/show_bug.cgi?id=103795

Can someone try to reproduce it with kde 3.4.1?

Revision history for this message
Matt Zimmerman (mdz) wrote :

Unreproducible with current versions, no response to request for testing by
original reporter, closing

Revision history for this message
Marek Żebrowski (mz) wrote :

Close is premature. This bug is present in every version of kde (3.4.2, 3.4.3,
3.5.0 ) shipped with ubuntu.
I can reproduce it many times a day. One example is when trying to save image
from a web page.

Revision history for this message
Marek Żebrowski (mz) wrote :

Created an attachment (id=5113)
Backtrace using debug libs

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #18)
> Close is premature. This bug is present in every version of kde (3.4.2, 3.4.3,
> 3.5.0 ) shipped with ubuntu.
> I can reproduce it many times a day. One example is when trying to save image
> from a web page.
>

Please file a separate bug unless you have a compelling reason to believe that
your problem is identical to the original one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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