Bug 236952 - Dolphin/KIO segfaults when accessing an smb share without specifiying a default username
Summary: Dolphin/KIO segfaults when accessing an smb share without specifiying a defau...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-09 08:27 UTC by jens
Modified: 2010-05-19 23:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jens 2010-05-09 08:27:08 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.3 (KDE 4.4.3) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
The crash happens when no username is specified, thus no username in the url or no correct credentials in 'System settings->Sharing'.

Prerequirements:
No username/password set in System settings->Sharing or
The credentials set in System settings->Sharing are not valid for the server I want to access.

What was I doing:
- Open dolphin.
- Enter smb://server into the url bar.
- Dolphin is asking for credentials
- Enter correct domain\username and password
- Dolphin crashes after OK in the auth dialog

Notes:
The crash wont happen if either correct credentials are set in 'System settings->Sharing' or if the username is specified in te url, like smb://domain\username@server.

  

The crash can be reproduced every time.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#5  0x00007fe9658201f2 in KDirListerCache::slotUpdateResult(KJob*) () from /opt/kde4/lib/libkio.so.5
#6  0x00007fe9658286d3 in KDirListerCache::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libkio.so.5
#7  0x00007fe964440e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#8  0x00007fe964abd922 in KJob::result(KJob*) () from /opt/kde4/lib/libkdecore.so.5
#9  0x00007fe964abdbc0 in KJob::emitResult() () from /opt/kde4/lib/libkdecore.so.5
#10 0x00007fe9657f7403 in KIO::SimpleJob::slotFinished() () from /opt/kde4/lib/libkio.so.5
#11 0x00007fe9657f7540 in KIO::ListJob::slotFinished() () from /opt/kde4/lib/libkio.so.5
#12 0x00007fe9657faf19 in KIO::ListJob::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libkio.so.5
#13 0x00007fe964440e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007fe9658b8991 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /opt/kde4/lib/libkio.so.5
#15 0x00007fe9658b5d03 in KIO::SlaveInterface::dispatch() () from /opt/kde4/lib/libkio.so.5
#16 0x00007fe9658aa166 in KIO::Slave::gotInput() () from /opt/kde4/lib/libkio.so.5
#17 0x00007fe9658aa34c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libkio.so.5
#18 0x00007fe964440e3f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0x00007fe9657c5ca7 in KIO::ConnectionPrivate::dequeue() () from /opt/kde4/lib/libkio.so.5
#20 0x00007fe9657c5dcd in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /opt/kde4/lib/libkio.so.5
#21 0x00007fe96443dd49 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#22 0x00007fe9635ca22c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#23 0x00007fe9635d06fb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#24 0x00007fe9652e80f6 in KApplication::notify(QObject*, QEvent*) () from /opt/kde4/lib/libkdeui.so.5
#25 0x00007fe96442e06c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#26 0x00007fe9644307e7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#27 0x00007fe9644579d3 in ?? () from /usr/lib/libQtCore.so.4
#28 0x00007fe95fd358c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x00007fe95fd39748 in ?? () from /lib/libglib-2.0.so.0
#30 0x00007fe95fd398fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x00007fe964457513 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0x00007fe96367a46e in ?? () from /usr/lib/libQtGui.so.4
#33 0x00007fe96442c992 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007fe96442cd6c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0x00007fe964430aab in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#36 0x000000000043b215 in main ()

Possible duplicates by query: bug 236519, bug 234870, bug 229222, bug 225630, bug 224755.

Reported using DrKonqi
Comment 1 jens 2010-05-19 23:00:22 UTC
I cant reproduce this crash with KDE trunk from 18-05-2010 anymore, so seems it has been fixed. Thanks!