Bug 350829

Summary: Dolphin crashed when trying to open a Bluetooth device
Product: [Unmaintained] kio Reporter: Juan Parody <jmparody>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Juan Parody 2015-07-31 17:49:43 UTC
Application: dolphin (14.12.3)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-25-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
I have linked a Bluetooth headset and  I was trying to listen to some music, it didnt work, no music came out of the headset.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f98f0a75800 (LWP 3197))]

Thread 3 (Thread 0x7f98d364b700 (LWP 3198)):
#0  0x00007f98f03298dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f98e741febc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f98e741ffcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f98ec2ab87e in QEventDispatcherGlib::processEvents (this=0x7f98cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f98ec27ad21 in QEventLoop::processEvents (this=this@entry=0x7f98d364ad80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f98ec27b085 in QEventLoop::exec (this=this@entry=0x7f98d364ad80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f98ec16ee89 in QThread::exec (this=this@entry=0x25b6590) at thread/qthread.cpp:538
#7  0x00007f98ec25b493 in QInotifyFileSystemWatcherEngine::run (this=0x25b6590) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f98ec1716ff in QThreadPrivate::start (arg=0x25b6590) at thread/qthread_unix.cpp:349
#9  0x00007f98e79056aa in start_thread (arg=0x7f98d364b700) at pthread_create.c:333
#10 0x00007f98f0334eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f98d1f1b700 (LWP 3200)):
#0  0x00007f98ec2aaef1 in timerSourcePrepareHelper (src=0x7f98c4002e80, timeout=0x7f98d1f1abb4) at kernel/qeventdispatcher_glib.cpp:141
#1  0x00007f98ec2ab005 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#2  0x00007f98e741f3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f98e741fde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f98e741ffcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f98ec2ab87e in QEventDispatcherGlib::processEvents (this=0x7f98c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007f98ec27ad21 in QEventLoop::processEvents (this=this@entry=0x7f98d1f1ad80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f98ec27b085 in QEventLoop::exec (this=this@entry=0x7f98d1f1ad80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f98ec16ee89 in QThread::exec (this=this@entry=0x2929010) at thread/qthread.cpp:538
#9  0x00007f98ec25b493 in QInotifyFileSystemWatcherEngine::run (this=0x2929010) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f98ec1716ff in QThreadPrivate::start (arg=0x2929010) at thread/qthread_unix.cpp:349
#11 0x00007f98e79056aa in start_thread (arg=0x7f98d1f1b700) at pthread_create.c:333
#12 0x00007f98f0334eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f98f0a75800 (LWP 3197)):
[KCrash Handler]
#6  QList (l=..., this=0x7ffc5272e300) at /usr/include/qt4/QtCore/qlist.h:122
#7  QForeachContainer (t=..., this=0x7ffc5272e300) at /usr/include/qt4/QtCore/qglobal.h:2490
#8  KDirLister::Private::cachedItemsJobForUrl (this=0x0, url=...) at ../../kio/kio/kdirlister.cpp:281
#9  0x00007f98ee184c8f in KDirListerCacheDirectoryData::moveListersWithoutCachedItemsJob (this=this@entry=0x292b948, url=...) at ../../kio/kio/kdirlister.cpp:2768
#10 0x00007f98ee18e084 in KDirListerCache::slotResult (this=0x2859580, j=<optimized out>) at ../../kio/kio/kdirlister.cpp:1303
#11 0x00007f98ec2911ec in QMetaObject::activate (sender=sender@entry=0x292b6a0, m=m@entry=0x7f98ecab2f20 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffc5272e570) at kernel/qobject.cpp:3567
#12 0x00007f98ec712362 in KJob::result (this=this@entry=0x292b6a0, _t1=_t1@entry=0x292b6a0) at ./kjob.moc:207
#13 0x00007f98ec7123b0 in KJob::emitResult (this=this@entry=0x292b6a0) at ../../kdecore/jobs/kjob.cpp:318
#14 0x00007f98ee1696eb in KIO::SimpleJob::slotFinished (this=this@entry=0x292b6a0) at ../../kio/kio/job.cpp:496
#15 0x00007f98ee16e7ae in KIO::ListJob::slotFinished (this=0x292b6a0) at ../../kio/kio/job.cpp:2713
#16 0x00007f98ee163b8b in KIO::SimpleJob::slotError (this=0x292b6a0, err=<optimized out>, errorText=...) at ../../kio/kio/job.cpp:508
#17 0x00007f98ec2911ec in QMetaObject::activate (sender=sender@entry=0x2649d30, m=m@entry=0x7f98ee527240 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc5272e880) at kernel/qobject.cpp:3567
#18 0x00007f98ee213586 in KIO::SlaveInterface::error (this=this@entry=0x2649d30, _t1=_t1@entry=143, _t2=...) at ./slaveinterface.moc:172
#19 0x00007f98ee204fe9 in KIO::Slave::gotInput (this=0x2649d30) at ../../kio/kio/slave.cpp:353
#20 0x00007f98ec2911ec in QMetaObject::activate (sender=0x2643dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#21 0x00007f98ec2958e1 in QObject::event (this=0x2643dc0, e=<optimized out>) at kernel/qobject.cpp:1222
#22 0x00007f98ecc889bc in QApplicationPrivate::notify_helper (this=this@entry=0x250a6e0, receiver=receiver@entry=0x2643dc0, e=e@entry=0x287cdf0) at kernel/qapplication.cpp:4570
#23 0x00007f98ecc8f4d8 in QApplication::notify (this=this@entry=0x7ffc5272f100, receiver=receiver@entry=0x2643dc0, e=e@entry=0x287cdf0) at kernel/qapplication.cpp:4356
#24 0x00007f98ed9eab4a in KApplication::notify (this=0x7ffc5272f100, receiver=0x2643dc0, event=0x287cdf0) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f98ec27c1cd in QCoreApplication::notifyInternal (this=0x7ffc5272f100, receiver=receiver@entry=0x2643dc0, event=event@entry=0x287cdf0) at kernel/qcoreapplication.cpp:955
#26 0x00007f98ec27fa71 in sendEvent (event=0x287cdf0, receiver=0x2643dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x24d7fc0) at kernel/qcoreapplication.cpp:1579
#28 0x00007f98ec27ff03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#29 0x00007f98ec2ab6ee in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x250b5e0) at kernel/qeventdispatcher_glib.cpp:300
#31 0x00007f98e741fc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f98e741ff20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f98e741ffcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f98ec2ab85e in QEventDispatcherGlib::processEvents (this=0x24d98a0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#35 0x00007f98ecd30c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f98ec27ad21 in QEventLoop::processEvents (this=this@entry=0x7ffc5272efe0, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f98ec27b085 in QEventLoop::exec (this=this@entry=0x7ffc5272efe0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f98ec280b09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#39 0x00007f98ecc86c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x00007f98f064bb5e in kdemain (argc=6, argv=0x7ffc5272f248) at ../../../dolphin/src/main.cpp:93
#41 0x00007f98f024ea40 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=6, argv=0x7ffc5272f248, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffc5272f238) at libc-start.c:289
#42 0x0000000000400709 in _start ()

Reported using DrKonqi
Comment 1 Frank Reininghaus 2015-08-09 13:57:13 UTC
Thanks for the bug report. There are reports about crashes in KDirLister::Private::cachedItemsJobForUrl, but not with the KDirListerCacheDirectoryData::moveListersWithoutCachedItemsJob frame in the backtrace, so I'm not sure if it's caused by the same bug in the code.
Comment 2 Nate Graham 2018-04-20 22:06:54 UTC

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