Bug 365108

Summary: kdevelop crashes when browsing a remote location (fish://) in the file open dialog
Product: [Applications] kdevelop Reporter: cruzader
Component: file selectorAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.7.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description cruzader 2016-07-05 15:19:04 UTC
- What I was doing when the application crashed:
Browsing a remote location (fish://) in the file open dialog. 

Additional info: 
  - Crash does not occur immediately if starting directory does not contain (currently visible) files
  - Crash seems to be independent of current directory
  - Crash can be reproduced with kate and kwrite


Reproducible: Always

Steps to Reproduce:
1. File -> Open (ctrl+o)
2. Navigate to remote location
3. Navigate to a directory containing files

Actual Results:  
kdevelop crashes 


-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f98f1c587c0 (LWP 18649))]

Thread 8 (Thread 0x7f98d56cc700 (LWP 18650)):
#0  0x00007f98ee0ef0af in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f98eab478cb in ?? () from /usr/lib64/libQtScript.so.4
#2  0x00007f98eab47909 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f98542a2700 (LWP 18651)):
#0  0x00007f98ee3df06d in poll () from /lib64/libc.so.6
#1  0x00007f98e8544604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f98e854470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f98eeb64d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f98eeb36d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f98eeb37005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f98eea35fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f98eeb18513 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f98eea3868f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f9852ef5700 (LWP 18653)):
#0  0x00007f98ee0ef458 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f98eea38b44 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f98eb5b1f22 in ?? () from /usr/lib64/libkdevplatformlanguage.so.8
#3  0x00007f98eea3868f in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#5  0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f9842c2f700 (LWP 18654)):
#0  0x00007f98ee3df06d in poll () from /lib64/libc.so.6
#1  0x00007f98e8544604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f98e854470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f98eeb64d55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f98eeb36d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f98eeb37005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f98eea35fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f98eea3868f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#9  0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f984242e700 (LWP 18655)):
#0  0x00007f98ee3e0e43 in select () from /lib64/libc.so.6
#1  0x00007f98eeb15261 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f98eea3868f in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#4  0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f9833090700 (LWP 18661)):
#0  0x00007f98ee3df06d in poll () from /lib64/libc.so.6
#1  0x00007f98e8544604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f98e854470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f98eeb64d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f98eeb36d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f98eeb37005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f98eea35fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f98eea3868f in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#9  0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f982acbe700 (LWP 18779)):
#0  0x00007f98ee3df06d in poll () from /lib64/libc.so.6
#1  0x00007f98e8544604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f98e854470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f98eeb64d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f98eeb36d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f98eeb37005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f98eea35fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f98eeb18513 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f98eea3868f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f98ee0eb0db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f98ee3e7e3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f98f1c587c0 (LWP 18649)):
[KCrash Handler]
#5  0x00007f98ee4293e6 in __strcmp_ssse3 () from /lib64/libc.so.6
#6  0x00007f982218aa0e in QMetaType::registerNormalizedType(QByteArray const&, void (*)(void*), void* (*)(void const*), void (*)(void*), void* (*)(void*, void const*), int, QFlags<QMetaType::TypeFlag>, QMetaObject const*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f982264579b in qRegisterNormalizedMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, normalizedTypeName=...) at ../../src/corelib/kernel/qmetatype.h:603
#8  qRegisterMetaType<QPaintBufferCacheEntry> (defined=QtPrivate::MetaTypeDefinedHelper<QPaintBufferCacheEntry, true>::Defined, dummy=0xffffffffffffffff, typeName=0x7f98229122d8 "QPaintBufferCacheEntry") at ../../src/corelib/kernel/qmetatype.h:619
#9  qt_metatype_id () at painting/qpaintbuffer.cpp:2093
#10 qt_metatype_id () at ../../src/corelib/kernel/qmetatype.h:532
#11 qMetaTypeId<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:640
#12 qRegisterMetaTypeStreamOperators<QPaintBufferCacheEntry> () at ../../src/corelib/kernel/qmetatype.h:689
#13 qRegisterPaintBufferMetaTypes () at painting/qpaintbuffer.cpp:2119
#14 qRegisterPaintBufferMetaTypes_ctor_class_ (this=<optimized out>) at painting/qpaintbuffer.cpp:2123
#15 __static_initialization_and_destruction_0 (__priority=65535, __initialize_p=1) at painting/qpaintbuffer.cpp:2123
#16 _GLOBAL__sub_I_qpaintbuffer.cpp(void) () at painting/qpaintbuffer.cpp:2219
#17 0x00007f98f1ab785a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7ffc00d27c48, env=env@entry=0x1731e70) at dl-init.c:84
#18 0x00007f98f1ab7943 in call_init (env=0x1731e70, argv=0x7ffc00d27c48, argc=1, l=<optimized out>) at dl-init.c:36
#19 _dl_init (main_map=main_map@entry=0x5512c70, argc=1, argv=0x7ffc00d27c48, env=0x1731e70) at dl-init.c:132
#20 0x00007f98f1abbaa8 in dl_open_worker (a=a@entry=0x7ffc00d24238) at dl-open.c:566
#21 0x00007f98f1ab76e4 in _dl_catch_error (objname=objname@entry=0x7ffc00d24228, errstring=errstring@entry=0x7ffc00d24230, mallocedp=mallocedp@entry=0x7ffc00d24227, operate=operate@entry=0x7f98f1abb7d0 <dl_open_worker>, args=args@entry=0x7ffc00d24238) at dl-error.c:177
#22 0x00007f98f1abb29b in _dl_open (file=0x1a86ec0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7ffc00d27c48, env=0x1731e70) at dl-open.c:650
#23 0x00007f98e716a02b in dlopen_doit (a=a@entry=0x7ffc00d24440) at dlopen.c:66
#24 0x00007f98f1ab76e4 in _dl_catch_error (objname=0x153b880, errstring=0x153b888, mallocedp=0x153b878, operate=0x7f98e7169fd0 <dlopen_doit>, args=0x7ffc00d24440) at dl-error.c:177
#25 0x00007f98e716a5dd in _dlerror_run (operate=operate@entry=0x7f98e7169fd0 <dlopen_doit>, args=args@entry=0x7ffc00d24440) at dlerror.c:163
#26 0x00007f98e716a0c1 in __dlopen (file=<optimized out>, mode=<optimized out>) at dlopen.c:87
#27 0x00007f982846f6af in ?? () from /usr/lib64/libvlccore.so.7
#28 0x00007f9828458e7d in ?? () from /usr/lib64/libvlccore.so.7
#29 0x00007f9828459177 in ?? () from /usr/lib64/libvlccore.so.7
#30 0x00007f98284593e9 in ?? () from /usr/lib64/libvlccore.so.7
#31 0x00007f9828459654 in ?? () from /usr/lib64/libvlccore.so.7
#32 0x00007f9828459ba7 in ?? () from /usr/lib64/libvlccore.so.7
#33 0x00007f98283f151d in libvlc_InternalInit () from /usr/lib64/libvlccore.so.7
#34 0x00007f98281c2623 in libvlc_new () from /usr/lib64/libvlc.so.5
#35 0x00007f98286f4fd1 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#36 0x00007f98286da868 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#37 0x00007f98286db32b in qt_plugin_instance () from /usr/lib64/kde4/plugins/phonon_backend/phonon_vlc.so
#38 0x00007f98eeb1c3dd in QPluginLoader::instance() () from /usr/lib64/libQtCore.so.4
#39 0x00007f9828bf0fab in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so
#40 0x00007f9828bf1793 in ?? () from /usr/lib64/kde4/plugins/phonon_platform/kde.so
#41 0x00007f98e581eca6 in ?? () from /usr/lib64/libphonon.so.4
#42 0x00007f98e581f357 in Phonon::Factory::backend(bool) () from /usr/lib64/libphonon.so.4
#43 0x00007f98e5818bee in Phonon::BackendCapabilities::availableMimeTypes() () from /usr/lib64/libphonon.so.4
#44 0x00007f9828dff99c in ?? () from /usr/lib64/kde4/kfileaudiopreview.so
#45 0x00007f9828dfff5b in ?? () from /usr/lib64/kde4/kfileaudiopreview.so
#46 0x00007f98f17e45d3 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () from /usr/lib64/libkdecore.so.5
#47 0x00007f98ec6bace0 in KFileMetaPreview::createAudioPreview(QWidget*) () from /usr/lib64/libkio.so.5
#48 0x00007f98ec6bb12e in KFileMetaPreview::previewProviderFor(QString const&) () from /usr/lib64/libkio.so.5
#49 0x00007f98ec6ba306 in KFileMetaPreview::showPreview(KUrl const&) () from /usr/lib64/libkio.so.5
#50 0x00007f98ec26df0b in KDirOperator::Private::_k_triggerPreview(QModelIndex const&) () from /usr/lib64/libkfile.so.4
#51 0x00007f98ec277cfd in ?? () from /usr/lib64/libkfile.so.4
#52 0x00007f98eeb4bd68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#53 0x00007f98ef56ee85 in QAbstractItemView::entered(QModelIndex const&) () from /usr/lib64/libQtGui.so.4
#54 0x00007f98ef576f83 in ?? () from /usr/lib64/libQtGui.so.4
#55 0x00007f98ef57721a in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#56 0x00007f98ef0cbf25 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#57 0x00007f98ef468bde in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#58 0x00007f98ef577e63 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#59 0x00007f98ef5b6d80 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4
#60 0x00007f98eeb38216 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#61 0x00007f98ef07c88c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#62 0x00007f98ef082fad in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#63 0x00007f98f001018a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#64 0x00007f98eeb380ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#65 0x00007f98ef082763 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#66 0x00007f98ef0f3f7b in ?? () from /usr/lib64/libQtGui.so.4
#67 0x00007f98ef0f29ec in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#68 0x00007f98ef119882 in ?? () from /usr/lib64/libQtGui.so.4
#69 0x00007f98e8544316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#70 0x00007f98e8544668 in ?? () from /usr/lib64/libglib-2.0.so.0
#71 0x00007f98e854470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#72 0x00007f98eeb64d55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#73 0x00007f98ef119936 in ?? () from /usr/lib64/libQtGui.so.4
#74 0x00007f98eeb36d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#75 0x00007f98eeb37005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#76 0x00007f98ef51ed4c in QDialog::exec() () from /usr/lib64/libQtGui.so.4
#77 0x00007f98ec6ae15e in KEncodingFileDialog::getOpenUrlsAndEncoding(QString const&, QString const&, QString const&, QWidget*, QString const&) () from /usr/lib64/libkio.so.5
#78 0x00007f98f1127c67 in ?? () from /usr/lib64/libkdevplatformshell.so.8
#79 0x00007f98f1123dc9 in ?? () from /usr/lib64/libkdevplatformshell.so.8
#80 0x00007f98eeb4bd68 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#81 0x00007f98ef076752 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#82 0x00007f98ef078123 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#83 0x00007f98ef07827c in QAction::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#84 0x00007f98eff3a2bf in KAction::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#85 0x00007f98ef07c8ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#86 0x00007f98ef082e70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#87 0x00007f98f001018a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#88 0x00007f98eeb380ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#89 0x00007f98ef0adb86 in ?? () from /usr/lib64/libQtGui.so.4
#90 0x00007f98ef0adcb4 in ?? () from /usr/lib64/libQtGui.so.4
#91 0x00007f98ef084143 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#92 0x00007f98f001018a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#93 0x00007f98eeb380ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#94 0x00007f98ef116d79 in ?? () from /usr/lib64/libQtGui.so.4
#95 0x00007f98ef117119 in ?? () from /usr/lib64/libQtGui.so.4
#96 0x00007f98ef0f2d3f in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#97 0x00007f98ef119882 in ?? () from /usr/lib64/libQtGui.so.4
#98 0x00007f98e8544316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#99 0x00007f98e8544668 in ?? () from /usr/lib64/libglib-2.0.so.0
#100 0x00007f98e854470c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#101 0x00007f98eeb64d55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#102 0x00007f98ef119936 in ?? () from /usr/lib64/libQtGui.so.4
#103 0x00007f98eeb36d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#104 0x00007f98eeb37005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#105 0x00007f98eeb3c13b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#106 0x0000000000411382 in ?? ()
#107 0x00007f98ee322be5 in __libc_start_main () from /lib64/libc.so.6
#108 0x0000000000411889 in _start ()
Comment 1 Kevin Funk 2016-07-05 15:35:24 UTC
Independent of KDevelop.

Looks like a duplicate of bug 347917. Marking it as such.

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