dolphin crashed with SIGSEGV in KDirListerCache::slotUpdateResult()

Bug #453189 reported by Toddi on 2009-10-16
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
KDE Base
Invalid
High
kde4libs (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: kdebase

dolphin crashed during smb share access to an ubuntu 9.04 maschine

ProblemType: Crash
Architecture: amd64
Date: Fri Oct 16 16:55:12 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/dolphin
NonfreeKernelModules: fglrx
Package: dolphin 4:4.3.2-0ubuntu1
ProcCmdline: /usr/bin/dolphin -icon system-file-manager -caption Dolphin
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.47-generic
SegvAnalysis:
 Segfault happened at: 0x7f113b347987: movb $0x1,0x2(%rdx)
 PC (0x7f113b347987) ok
 source "$0x1" ok
 destination "0x2(%rdx)" (0x00000002) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: kdebase
StacktraceTop:
 ?? () from /usr/lib/libkio.so.5
 ?? () from /usr/lib/libkio.so.5
 QMetaObject::activate(QObject*, int, int, void**) ()
 KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
 KJob::emitResult() () from /usr/lib/libkdecore.so.5
Title: dolphin crashed with SIGSEGV in QMetaObject::activate()
Uname: Linux 2.6.31-14-generic x86_64
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (polkit-gnome-authentication-agent-1:1838): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (npviewer.bin:2447): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libqtcurve.so: wrong ELF class: ELFCLASS64

Download full text (3.6 KiB)

Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-13-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
While trying to connect windows shared directory, dolphin displays authentication dialog, and afterwards it crashes ( username and passwd are correct ).
It happends usually during the 1st try - second attempt is ussually OK - dolphin connects to a share, but sometimes it displays multiple login dialogs ( i put login and passwd - authentication is ok, I can see files in a directory but it still asks for a passwd ) clicking cancel button hides the login dialog and then everything works fine.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6 0xb7e91793 in ?? () from /usr/lib/libkio.so.5
#7 0xb7e976c4 in ?? () from /usr/lib/libkio.so.5
#8 0xb67baca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#9 0xb67bb932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb73cf683 in KJob::result () from /usr/lib/libkdecore.so.5
#11 0xb73cfb29 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#12 0xb7e68245 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#13 0xb7e687fe in KIO::ListJob::slotFinished () from /usr/lib/libkio.so.5
#14 0xb7e6a233 in KIO::ListJob::qt_metacall () from /usr/lib/libkio.so.5
#15 0xb67baca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb67bb932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb7f2e097 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.5
#18 0xb7f31dd7 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#19 0xb7f2e577 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#20 0xb7f202ed in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#21 0xb7f22783 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#22 0xb67baca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb67bb932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7e2cdf7 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#25 0xb7e2e763 in ?? () from /usr/lib/libkio.so.5
#26 0xb7e2eb46 in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#27 0xb67b38fb in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#28 0xb67b53a0 in QObject::event () from /usr/lib/libQtCore.so.4
#29 0xb69dce9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#30 0xb69e519e in QApplication::notify () from /usr/lib/libQtGui.so.4
#31 0xb7748e8d in KApplication::notify () from /usr/lib/libkdeui.so.5
#32 0xb67a4a3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#33 0xb67a5695 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#34 0xb67a588d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#35 0xb67d07ef in ?? () from /usr/lib/libQtCore.so.4
#36 0xb5f1ab88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb5f1e0eb in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb5f1e268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb67...

Read more...

It may be related to bug 188000. (similar backtrace)
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? You need to install the "kdelibs5-dbg" package. Thanks

Download full text (5.3 KiB)

More details:
I reproduced it 3 times every time scenario is the same:
1. Reboot
2. Launch dolphin
3. in the browse line: smb://192.168.1.X
4. input username (correct one)
5. input password ( correct ) - authentication failed!
6. second attempt - the same username + passwd -> crash

Trace using kdelibs5-dbg

Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6 KDirListerCache::slotUpdateResult (this=0x84de370, j=0x875efc0) at /build/buildd/kde4libs-4.2.90/kio/kio/kdirlister.cpp:1539
#7 0xb7f306c4 in KDirListerCache::qt_metacall (this=0x84de370, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfee854c) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kio/kdirlister_p.moc:102
#8 0xb6853ca8 in QMetaObject::activate (sender=0x875efc0, from_signal_index=7, to_signal_index=7, argv=0xbfee854c) at kernel/qobject.cpp:3069
#9 0xb6854932 in QMetaObject::activate (sender=0x875efc0, m=0x80b7400, local_signal_index=3, argv=0xbfee854c) at kernel/qobject.cpp:3143
#10 0xb7468683 in KJob::result (this=0x875efc0, _t1=0x875efc0) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kdecore/kjob.moc:188
#11 0xb7468b29 in KJob::emitResult (this=0x875efc0) at /build/buildd/kde4libs-4.2.90/kdecore/jobs/kjob.cpp:304
#12 0xb7f01245 in KIO::SimpleJob::slotFinished (this=0x875efc0) at /build/buildd/kde4libs-4.2.90/kio/kio/job.cpp:477
#13 0xb7f017fe in KIO::ListJob::slotFinished (this=0x875efc0) at /build/buildd/kde4libs-4.2.90/kio/kio/job.cpp:2408
#14 0xb7f03233 in KIO::ListJob::qt_metacall (this=0x875efc0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfee8738) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kio/jobclasses.moc:764
#15 0xb6853ca8 in QMetaObject::activate (sender=0x892a3c0, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3069
#16 0xb6854932 in QMetaObject::activate (sender=0x892a3c0, m=0xb80a9f44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3143
#17 0xb7fc7097 in KIO::SlaveInterface::finished (this=0x892a3c0) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kio/slaveinterface.moc:165
#18 0xb7fcadd7 in KIO::SlaveInterface::dispatch (this=0x892a3c0, _cmd=104, rawdata=@0xbfee8904) at /build/buildd/kde4libs-4.2.90/kio/kio/slaveinterface.cpp:175
#19 0xb7fc7577 in KIO::SlaveInterface::dispatch (this=0x892a3c0) at /build/buildd/kde4libs-4.2.90/kio/kio/slaveinterface.cpp:91
#20 0xb7fb92ed in KIO::Slave::gotInput (this=0x892a3c0) at /build/buildd/kde4libs-4.2.90/kio/kio/slave.cpp:322
#21 0xb7fbb783 in KIO::Slave::qt_metacall (this=0x892a3c0, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfee8a18) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kio/slave.moc:76
#22 0xb6853ca8 in QMetaObject::activate (sender=0x87b1b90, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#23 0xb6854932 in QMetaObject::activate (sender=0x87b1b90, m=0xb80a6880, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#24 0xb7ec5df7 in KIO::Connection::readyRead (this=0x87b1b90) at /build/buildd/kde4libs-4.2.90/obj-i486-linux-gnu/kio/connection.moc:86
#25 0xb7ec7763 in KIO::ConnectionPrivate::dequeue (this=0x892a3a0) at /build/buildd/kde4libs-4.2.90/kio/kio/connection.cpp:82
#26 0xb7e...

Read more...

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

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

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

Download full text (5.6 KiB)

Since my bug report was merged on this bug, here it is more info.
I've just updated my system (Ubuntu Jaunty) to latest KDE 4.2.98 (KDE 4.3 RC3) and latest kernel 2.6.28-14-generic SMP.

Trying again to test if updated version has resolved this bug, unfortunately another crash happened. I'll post here another dump, but with the system updated to latest version:

Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6 KDirListerCache::slotUpdateResult (this=0x8641858, j=0x88dd5f0) at /build/buildd/kde4libs-4.2.98a/kio/kio/kdirlister.cpp:1539
#7 0xb7e36014 in KDirListerCache::qt_metacall (this=0x8641858, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf8f1c1c) at /build/buildd/kde4libs-4.2.98a/obj-i486-linux-gnu/kio/kdirlister_p.moc:102
#8 0xb6757ca8 in QMetaObject::activate (sender=0x88dd5f0, from_signal_index=7, to_signal_index=7, argv=0xbf8f1c1c) at kernel/qobject.cpp:3069
#9 0xb6758932 in QMetaObject::activate (sender=0x88dd5f0, m=0x80b6400, local_signal_index=3, argv=0xbf8f1c1c) at kernel/qobject.cpp:3143
#10 0xb736ccb3 in KJob::result (this=0x88dd5f0, _t1=0x88dd5f0) at /build/buildd/kde4libs-4.2.98a/obj-i486-linux-gnu/kdecore/kjob.moc:188
#11 0xb736d159 in KJob::emitResult (this=0x88dd5f0) at /build/buildd/kde4libs-4.2.98a/kdecore/jobs/kjob.cpp:304
#12 0xb7e06b95 in KIO::SimpleJob::slotFinished (this=0x88dd5f0) at /build/buildd/kde4libs-4.2.98a/kio/kio/job.cpp:477
#13 0xb7e0714e in KIO::ListJob::slotFinished (this=0x88dd5f0) at /build/buildd/kde4libs-4.2.98a/kio/kio/job.cpp:2408
#14 0xb7e08b83 in KIO::ListJob::qt_metacall (this=0x88dd5f0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf8f1e08) at /build/buildd/kde4libs-4.2.98a/obj-i486-linux-gnu/kio/jobclasses.moc:764
#15 0xb6757ca8 in QMetaObject::activate (sender=0x888b858, from_signal_index=8, to_signal_index=8, argv=0x0) at kernel/qobject.cpp:3069
#16 0xb6758932 in QMetaObject::activate (sender=0x888b858, m=0xb7faff44, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3143
#17 0xb7eccb87 in KIO::SlaveInterface::finished (this=0x888b858) at /build/buildd/kde4libs-4.2.98a/obj-i486-linux-gnu/kio/slaveinterface.moc:165
#18 0xb7ed08c7 in KIO::SlaveInterface::dispatch (this=0x888b858, _cmd=104, rawdata=@0xbf8f1fd4) at /build/buildd/kde4libs-4.2.98a/kio/kio/slaveinterface.cpp:175
#19 0xb7ecd067 in KIO::SlaveInterface::dispatch (this=0x888b858) at /build/buildd/kde4libs-4.2.98a/kio/kio/slaveinterface.cpp:91
#20 0xb7ebeddd in KIO::Slave::gotInput (this=0x888b858) at /build/buildd/kde4libs-4.2.98a/kio/kio/slave.cpp:322
#21 0xb7ec1273 in KIO::Slave::qt_metacall (this=0x888b858, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf8f20e8) at /build/buildd/kde4libs-4.2.98a/obj-i486-linux-gnu/kio/slave.moc:76
#22 0xb6757ca8 in QMetaObject::activate (sender=0x8940878, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3069
#23 0xb6758932 in QMetaObject::activate (sender=0x8940878, m=0xb7fac880, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3143
#24 0xb7dcb147 in KIO::Connection::readyRead (this=0x8940878) at /build/buildd/kde4libs-4.2.98a/obj-i486-linux-gnu/kio/connection.moc:86
#25 0xb7dccab3 in KIO::ConnectionPrivate::dequeue (this=0x8940888) ...

Read more...

When I tried to access my smb shares in dolphin, dolphin had no ability to search for, or find, the smb shares available. Clicking on Places -> Network -> Samba Shares resulted in the Error: Unable to connect to smb://smb-network. (repeatedly)

I had to click on this multiple times, then manually input smb://hostname before it would find any smb shares. Then clicking on Places -> Network -> Samba Shares (two more time -- which failed), then it finally showed the workgroup properly.

This multiple failures to connect seem very similar to the fish nightmare being experienced by all users and may be related. This should be investigated in conjuction with https://bugs.kde.org/show_bug.cgi?id=189235

I've tested this with updated KDE and dolphin 4.2.98-99.2 packages as available from the openSUSE Build Service (OSB) KDE:KDE4:Factory:Desktop / openSUSE_11.1 and a current libsmbclient from the OSB network:samba:STABLE / openSUSE_11.1 repository. And I'm not able to reproduce the issue.

I started nmbd by calling 'service nmb start' to propagate the netbios names. And I also stared smbd by calling 'service smb start'.

As soon as I open dolphin -> network -> Samba shares I'm able to see the workgroup I set in /etc/samba/smb.conf

Does this issue only happen if we try to connect to a service provided by a Microsoft product?

If yes please provide the version of the target operating system including the patch or service pack level.

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

At least in the test case I originally had the crash, I no longer see a problem. Thank you KDE team.

I tested Win2008 server, Vista, and Samba shares. All in a workgroup environment.

This was with KDE4.3 RC3

One minor issue, if I enter smb:\\ on the location bar, I get an unknown error. It should at least say syntax error since I used MS syntax not linux syntax.

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

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

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

Reporter of bug 205464 has done further investigation

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

FYI, the same share is accessible through Konqueror.

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

> Does this issue only happen if we try to connect
> to a service provided by a Microsoft product?
> If yes please provide the version of the target
> operating system including the patch or service
> pack level.

My bug 206792 was marked as a duplicate of this bug; the share that caused the crash was on a Windows XP sp3 machine, fully patches except for upgrades to Internet Exploder (has IE6 installed and patched, but not IE7 nor IE8).

The WinXP machine also had its Simple File Sharing turned off. Note that I was also unable to connect to this share with a Windows XPsp3 virtual machine as well. I ended up removing the share and creating a new share and then everything worked, dunno if that helps at all.

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

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

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

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

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

26 comments hidden view all 105 comments

StacktraceTop:KDirListerCache::slotUpdateResult (this=0x2572990,
KDirListerCache::qt_metacall (this=0x2572990,
QMetaObject::activate ()
KJob::result (this=0x272f82a, _t1=0x25cff20)
KJob::emitResult (this=0x25cff20)

Changed in kdebase (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
affects: kdebase (Ubuntu) → kde4libs (Ubuntu)
Changed in kde4libs (Ubuntu):
importance: Medium → Low
status: New → Triaged
summary: - dolphin crashed with SIGSEGV in QMetaObject::activate()
+ dolphin crashed with SIGSEGV in KDirListerCache::slotUpdateResult()
visibility: private → public
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: http://bugs.kde.org/show_bug.cgi?id=197851
Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kde4libs (Ubuntu):
status: Triaged → Invalid
24 comments hidden view all 105 comments

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

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

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

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

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

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

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

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

Bug 219092 is about this crash on 4.4trunk.

Updated backtrace:
---
#5 KDirListerCache::slotUpdateResult (this=0x23ea040, j=<value optimized out>)
at /home/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:1547
#6 0x00007f31644cb7e7 in KDirListerCache::qt_metacall (this=0x23ea040,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6beba830)
    at /home/kde/build/KDE/kdelibs/kio/kdirlister_p.moc:108
#7 0x00007f31630daba7 in QMetaObject::activate (sender=0x32a4730, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x23f45b0) at
kernel/qobject.cpp:3294
#8 0x00007f31637648f2 in KJob::result (this=0x33de05c, _t1=0x32a4730) at
/home/kde/build/KDE/kdelibs/kdecore/kjob.moc:194
#9 0x00007f3163764b90 in KJob::emitResult (this=0x32a4730) at
/home/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:312
#10 0x00007f316449e7f0 in KIO::SimpleJob::slotFinished (this=0x32a4730) at
/home/kde/src/KDE/kdelibs/kio/kio/job.cpp:475
#11 0x00007f316449e925 in KIO::ListJob::slotFinished (this=0x32a4730) at
/home/kde/src/KDE/kdelibs/kio/kio/job.cpp:2451
#12 0x00007f31644a202d in KIO::ListJob::qt_metacall (this=0x32a4730,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6bebab70)
    at /home/kde/build/KDE/kdelibs/kio/jobclasses.moc:818

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

From bug 219193:
---
What I was doing when the application crashed:
I have tried several times to connect to that share using the wrong
username/password combination by typing smb://aaaa/bbbb in Dolphin address bar
the crash occurred when I decided to create a permanent link to that network
resource from remote:/
as soon as I finished the wizard Dolphin crashed

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

Changed in kdebase:
status: Unknown → Confirmed
25 comments hidden view all 105 comments

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

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

Created attachment 48606
New crash information added by DrKonqi

when connecting to samba share with username and password

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

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

Created attachment 50514
New crash information added by DrKonqi

Crashes while i was looking windows shared files with samba. After authentification Dolphin crash.

I don't know smb.conf enough to configure it properly in order to reproduce this (in my case, there's no password dialog on smb://192.168.0.2, only when I enter an actual share, and I can't reproduce the crash when doing `dolphin smb://192.168.0.2/myshare`).

If one of you is having the bug when accessing the shares of a linux system, please post your smb.conf file so that I can set mine the same way.

Created attachment 51212
New crash information added by DrKonqi

When connecting to a samba share the login appear continuosly and then the application crash

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

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

Download full text (19.0 KiB)

Created attachment 52280
New crash information added by DrKonqi

dolphin (1.5) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed:
dolphin crashed immediately after authenticating to a CIFS share (unsure about what kind of machine actually serves it.)

Here's the output on the console when dolphin ran under memcheck:

to@tinta-roriz:Downloads$ valgrind dolphin
==17885== Memcheck, a memory error detector
==17885== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==17885== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info
==17885== Command: dolphin
==17885==
==17888== Conditional jump or move depends on uninitialised value(s)
==17888== at 0x93E0E40: inflateReset2 (in /lib/libz.so.1.2.3.4)
==17888== by 0x93E0F2F: inflateInit2_ (in /lib/libz.so.1.2.3.4)
==17888== by 0xD7D64AF: png_create_read_struct_2 (in /lib/libpng12.so.0.44.0)
==17888== by 0xD7D6646: png_create_read_struct (in /lib/libpng12.so.0.44.0)
==17888== by 0x7ACAC7D: QPngHandlerPrivate::readPngHeader() (qpnghandler.cpp:356)
==17888== by 0x7ACB6BC: QPngHandlerPrivate::readPngImage(QImage*) (qpnghandler.cpp:427)
==17888== by 0x7A98752: QImageReader::read(QImage*) (qimagereader.cpp:1205)
==17888== by 0x7A98D1B: QImageReader::read() (qimagereader.cpp:1155)
==17888== by 0x7A88611: operator>>(QDataStream&, QImage&) (qimage.cpp:5149)
==17888== by 0x7AA7D28: operator>>(QDataStream&, QPixmap&) (qpixmap.cpp:1315)
==17888== by 0x7396EBF: KIconLoaderPrivate::findCachedPixmapWithPath(QString const&, QPixmap&, QString&) (kiconloader.cpp:878)
==17888== by 0x739EF52: KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const (kiconloader.cpp:1218)
==17888==
QMetaObject::invokeMethod: No such method DolphinApplication::loadCommandLineOptionsForNewInstance()
dolphin(17888)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for "/home/to/.local/share//user-places.xbel"
dolphin(17888)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-to/ksycoca4"
dolphin(17888)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
dolphin(17888)/kio (Scheduler) KIO::SchedulerPrivate::doJob: KIO::SimpleJob(0x134d1b00)
dolphin(17888)/kio (Scheduler) KIO::SchedulerPrivate::protoQ: creating ProtoQueue instance for "trash"
dolphin(17888)/kio (Scheduler) KIO::ProtoQueue::ProtoQueue: m_maxConnectionsTotal: 2 m_maxConnectionsPerHost: 2
"/usr/bin/dolphin(17888)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files"
dolphin(17888)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Connecting to local socket "/home/to/.kde/share/apps/nepomuk/socket"
"/usr/bin/dolphin(17888)" Soprano: "QLocalSocket::connectToServer: Invalid name"
dolphin(17888)/nepomuk (library) <unnamed>::GlobalModelContainer::init: Failed to connect to Nepomuk server via local socket "/home/to/.kde/share/apps/nepomuk/socket"
"/usr/bin/dolphin(17888)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown -...

SVN commit 1184881 by dfaure:

Dump more information on stderr when dir=0, which seems to be the case in the valgrind of bug 197851
CCBUG: 197851

 M +7 -1 kdirlister.cpp

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

Updating the bug status:

I can't reproduce this crash anymore using the steps I wrote down on comment 41. I'm now using KDE SC 4.5.2 and Qt 4.7.0 (ArchLinux packages with debug symbols enabled)

So, it is fixed for me.

@António Oliveira (comment 71): can you still reproduce the crash in KDE SC 4.5.2 ? If you can't reproduce it then we are going to close the bug report.

Regards

@ Dario,
I'm sorry, I don't have 4.5.2 to try.
All I can tell is that 4.5.1 still exhibits the same behavior, but 4.5.2 may have it fixed by now.

If there are no complains from this bug by users of 4.5.2 it is probably safe to close the bug.

Thanks.

My Arch laptop runs 4.5.1 right now; I haven't updated to 4.5.2 (but was planning to today!). Since I'm upgrading anyway, I'll test both the 4.5.1 and 4.5.2 builds and see what I get. :)

I created a new user to make sure there weren't any stale configs or anything odd lying around, and attempted all the steps in comment #41. I was unable to reproduce the crash on either KDE 4.5.1-1 (qt 4.7.0-2) or on KDE 4.5.2-1 (qt 4.7.0-4).

Changed in kdebase:
importance: Unknown → High

[Comment from a bug triager]
From bug 266903 (KDE SC 4.6.0):
-- Information about the crash:
I have this bug when a try to connect on a samba share.
Every time, same problem.

[Comment from a bug triager]
Note that bug 266903 now have a bunch of duplicate of this crash on KDE SC 4.6.

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

what would be very helpful on this report is for one of the people who can reproduce it and who has debug installed to run dolphin from a konsole window, trigger the crash and then paste the output from when the crash happened. it should start with "Internal error: itemsInUse did not contain"

Created attachment 59918
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Just entered credentials to a Windows 7 SMB share. Dolphin crashed horribly.

-- Backtrace (Reduced):
#7 detach (this=0x93fab18, j=0x9d5f050) at /usr/include/QtCore/qlist.h:126
#8 begin (this=0x93fab18, j=0x9d5f050) at /usr/include/QtCore/qlist.h:254
#9 KDirListerCache::slotUpdateResult (this=0x93fab18, j=0x9d5f050) at /usr/src/debug/kdelibs-4.6.2/kio/kio/kdirlister.cpp:1716
#10 0x06342117 in KDirListerCache::qt_metacall (this=0x93fab18, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfa5a548) at /usr/src/debug/kdelibs-4.6.2/i686-redhat-linux-gnu/kio/kdirlister_p.moc:108
[...]
#13 0x05b75e84 in KJob::result (this=0x9d5f050, _t1=0x9d5f050) at /usr/src/debug/kdelibs-4.6.2/i686-redhat-linux-gnu/kdecore/kjob.moc:194

Download full text (7.7 KiB)

Crashes every time trying to connect to smb server at 10.15.10.15 using dolphin 1.6.1 on KDE 4.6.2 (Ubuntu 11.04).

##### dolphin console output:

dolphin(3918)/kio (KDirListerCache): Internal error: itemsInUse did not contain "smb://yc@10.15.10.15/"
KCrash: Application 'dolphin' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit

##### Backtrace:

Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7fb4b33780 (LWP 3918))]

Thread 3 (Thread 0x7f7fa0ef3700 (LWP 3919)):
#0 __poll (fds=0x24c4470, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:85
#1 0x00007f7facbca104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f7facbca639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f7fb08b1446 in QEventDispatcherGlib::processEvents (this=0x2466480, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4 0x00007f7fb0885882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5 0x00007f7fb0885abc in QEventLoop::exec (this=0x7f7fa0ef2dd0, flags=...) at kernel/qeventloop.cpp:201
#6 0x00007f7fb079c924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7 0x00007f7fb0867c2f in QInotifyFileSystemWatcherEngine::run (this=0x242d6d0) at io/qfilesystemwatcher_inotify.cpp:248
#8 0x00007f7fb079f175 in QThreadPrivate::start (arg=0x242d6d0) at thread/qthread_unix.cpp:320
#9 0x00007f7fad095d8c in start_thread (arg=0x7f7fa0ef3700) at pthread_create.c:304
#10 0x00007f7fb443904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7f9a7f4700 (LWP 3923)):
#0 0x00007f7fb442bf03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f7facbca104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f7facbca639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f7fb08b1446 in QEventDispatcherGlib::processEvents (this=0x2714470, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4 0x00007f7fb0885882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5 0x00007f7fb0885abc in QEventLoop::exec (this=0x7f7f9a7f3dd0, flags=...) at kernel/qeventloop.cpp:201
#6 0x00007f7fb079c924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7 0x00007f7fb0867c2f in QInotifyFileSystemWatcherEngine::run (this=0x2445670) at io/qfilesystemwatcher_inotify.cpp:248
#8 0x00007f7fb079f175 in QThreadPrivate::start (arg=0x2445670) at thread/qthread_unix.cpp:320
#9 0x00007f7fad095d8c in start_thread (arg=0x7f7f9a7f4700) at pthread_create.c:304
#10 0x00007f7fb443904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7fb4b33780 (LWP 3918)):
[KCrash Handler]
#6 detach (this=0x250d900, j=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:126
#7 begin (this=0x250d900, j=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:2...

Read more...

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

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

Can anyone that can reproduce this crash provide a new backtrace using KDE 4.7 or higher, preferably the latest release ?

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

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

Download full text (3.8 KiB)

Reproduced in kde 4.8.3/Gentoo

#0 KDirListerCache::slotUpdateResult (this=0x7c9e20, j=<optimized out>) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/kdirlister.cpp:1721
#1 0x00007ffff48a3513 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#2 0x00007ffff4d29352 in KJob::result (this=<optimized out>, _t1=0xd3c7c0) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3_build/kdecore/kjob.moc:208
#3 0x00007ffff4d29390 in KJob::emitResult (this=0xd3c7c0) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdecore/jobs/kjob.cpp:318
#4 0x00007ffff58669ed in KIO::SimpleJob::slotFinished (this=0xd3c7c0) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/job.cpp:494
#5 0x00007ffff5869665 in KIO::ListJob::slotFinished (this=0xd3c7c0) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/job.cpp:2670
#6 0x00007ffff48a3513 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#7 0x00007ffff59147f1 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/slaveinterface.cpp:172
#8 0x00007ffff59117fd in KIO::SlaveInterface::dispatch (this=<optimized out>) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/slaveinterface.cpp:88
#9 0x00007ffff5904956 in KIO::Slave::gotInput (this=0xc008b0) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/slave.cpp:344
#10 0x00007ffff48a3513 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007ffff5837237 in KIO::ConnectionPrivate::dequeue (this=0xe58810) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kio/kio/connection.cpp:82
#12 0x00007ffff48a2956 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007ffff39ab284 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007ffff39afd5f in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007ffff5328b86 in KApplication::notify (this=0x7fffffffd9d0, receiver=0xdfa380, event=0xc1cb20) at /mnt/md3/portage-tmp/portage/kde-base/kdelibs-4.8.3/work/kdelibs-4.8.3/kdeui/kernel/kapplication.cpp:311
#16 0x00007ffff488dccb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007ffff4891297 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#18 0x00007ffff48bcce3 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fffefab4672 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fffefab4e68 in ?? () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fffefab5041 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#22 0x00007ffff48bce7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#23...

Read more...

In case you want more details: I was trying to access the shared folders from a windows 7 computer - smb://hostname
I got a login dialog, entered the username and password - then it crashed. Happens every time.

Cannot reproduce this crash. Does anybody here still see this crash with KDE v 4.10 or higher?

(In reply to comment #90)
> Cannot reproduce this crash. Does anybody here still see this crash with KDE
> v 4.10 or higher?

I just tested now and got a segfault using kde 4.10.4

(In reply to comment #91)
> (In reply to comment #90)
> > Cannot reproduce this crash. Does anybody here still see this crash with KDE
> > v 4.10 or higher?
>
> I just tested now and got a segfault using kde 4.10.4

Can you please provide the backtrace again?

Download full text (4.6 KiB)

This is what I'm getting currently in "developer information":

Application: Dolphin (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb1de8d0780 (LWP 22382))]

Thread 3 (Thread 0x7fb1c7bb1700 (LWP 22384)):
#0 0x00007fb1dbeb3cf3 in poll () from /lib64/libc.so.6
#1 0x00007fb1d8db89d6 in ?? () from /usr/lib64/libglib-2.0.so.0
#2 0x00007fb1d8db8b04 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3 0x00007fb1dd4fb1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#4 0x00007fb1dd4cad92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#5 0x00007fb1dd4cafe7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#6 0x00007fb1dd3c9017 in QThread::exec() () from /usr/lib64/qt4/libQtCore.so.4
#7 0x00007fb1dd4aaa0f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#8 0x00007fb1dd3cc05c in ?? () from /usr/lib64/qt4/libQtCore.so.4
#9 0x00007fb1dd135ec6 in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb1dbebc98d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb1c7275700 (LWP 22386)):
#0 0x00007fb1dbeb6323 in select () from /lib64/libc.so.6
#1 0x00007fb1dd4aa08f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2 0x00007fb1dd3cc05c in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3 0x00007fb1dd135ec6 in start_thread () from /lib64/libpthread.so.0
#4 0x00007fb1dbebc98d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb1de8d0780 (LWP 22382)):
[KCrash Handler]
#6 0x00007fb1d48f0c92 in ?? () from /usr/lib64/libkio.so.5
#7 0x00007fb1dd4dff69 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#8 0x00007fb1dd971e42 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#9 0x00007fb1dd971e80 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#10 0x00007fb1d48caa94 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#11 0x00007fb1d48cfaf5 in KIO::ListJob::slotFinished() () from /usr/lib64/libkio.so.5
#12 0x00007fb1dd4dff69 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#13 0x00007fb1d4978f21 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#14 0x00007fb1d4975c55 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#15 0x00007fb1d4968fde in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#16 0x00007fb1dd4dff69 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007fb1d489b546 in ?? () from /usr/lib64/libkio.so.5
#18 0x00007fb1dd4e51e6 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007fb1dc6598b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fb1dc65e5d1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007fb1de2ba216 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007fb1d...

Read more...

Changed in kde-baseapps:
status: Confirmed → Incomplete

Is there a way to reproduce this crash without having a second computer? If yes, please add exact steps. I have zero experience with samba, but maybe it is possible to setup a local connection.

Also, as indicated in comment #67, developers probably need the smb.conf file to reproduce.

(In reply to comment #94)
> Is there a way to reproduce this crash without having a second computer?

I don't know... if you can tell me how to require a username and password for listing the shared folders in samba, then I can try to reproduce.

> I have zero experience with samba

Ok, looks like it's not gonna happen :p

> Also, as indicated in comment #67, developers probably need the smb.conf
> file to reproduce.

smb.conf is for configuring the samba server, and I'm pretty sure it has nothing to do with this bug. Anyway, if you want to see it, here it is:

[global]
   workgroup = home
   server string = yoga
# printcap name = cups
# load printers = yes
# printing = cups
   log file = /var/log/samba/log.%m
   max log size = 50
; log level = 3
  map to guest = bad user
   security = user
  encrypt passwords = yes
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   dns proxy = no

   unix extensions = no

[share]
   path = /home/aditsu/stuff/share
   public = yes
   writable = no
   only guest = yes
   follow symlinks = yes
   wide links = yes

Actually, smb.conf would be useful if I could reproduce this bug with a samba server (as suggested in that comment), but we need to achieve that first.

> Actually, smb.conf would be useful if I could reproduce this bug with a samba server

The bug has never been reproducible, for me, against a Samba server
> Dolphin crashes when trying to list a MS Windows shared directory

> Is there a way to reproduce this crash without having a second computer?
Sure, use a Windows VM in VirtualBox.

Created attachment 87161
smb.conf

I've just reproduced the problem with a NAS running samba 3.6.9. Attached is the configuration I think it is using; I just removed some user names.

Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

Changed in kde-baseapps:
status: Incomplete → Invalid
Displaying first 40 and last 40 comments. View all 105 comments or add a comment.
This report contains Public information  Edit
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.