https://bugs.kde.org/show_bug.cgi?id=383086

            Bug ID: 383086
           Summary: KDevelop crashes whenever I try to access disk (save
                    or open file
           Product: kdevelop
           Version: 5.1.1
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: jacoposchiavo...@gmail.com
  Target Milestone: ---

Application: kdevelop (5.1.1)

Qt Version: 5.7.1
Frameworks Version: 5.36.0
Operating System: Linux 4.10.0-28-generic x86_64
Distribution: Ubuntu 16.04.3 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I have rebooted my pc, the only running applications were Dropbox, Plasmashell
and Yakuake. I have tried to remove, purge and clean all the packages and
reinstall from scratch the application, but the error still is here.

- Unusual behavior I noticed:
The application can be opened, a new file created and written. Whenever I try
to save, the application crashes and closes. The same happens trying to open a
file saved on the disk. The file is not currupted.

- Custom settings of the application:
Nothing worth noting: now it is completely freshly installed.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa2c1cca900 (LWP 7686))]

Thread 4 (Thread 0x7fa29f997700 (LWP 7705)):
#0  0x00007fa2deab670d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa2d666e38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa2d666e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa2df3d675b in QEventDispatcherGlib::processEvents
(this=0x7fa2900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa2df3810ba in QEventLoop::exec (this=this@entry=0x7fa29f996ca0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fa2df1b0f64 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#6  0x00007fa2d4f6abf5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007fa2df1b5b48 in QThreadPrivate::start (arg=0x2510d30) at
thread/qthread_unix.cpp:368
#8  0x00007fa2d8a656ba in start_thread (arg=0x7fa29f997700) at
pthread_create.c:333
#9  0x00007fa2deac23dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fa2ab9c7700 (LWP 7690)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007fa2df1b6936 in QWaitConditionPrivate::wait_relative (time=1000,
this=0x1d6bc30) at thread/qwaitcondition_unix.cpp:133
#2  QWaitConditionPrivate::wait (time=1000, this=0x1d6bc30) at
thread/qwaitcondition_unix.cpp:141
#3  QWaitCondition::wait (this=<optimized out>, mutex=0x1d6a480, time=1000) at
thread/qwaitcondition_unix.cpp:215
#4  0x00007fa2dcbf1bc8 in ?? () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10
#5  0x00007fa2df1b5b48 in QThreadPrivate::start (arg=0x1d6a460) at
thread/qthread_unix.cpp:368
#6  0x00007fa2d8a656ba in start_thread (arg=0x7fa2ab9c7700) at
pthread_create.c:333
#7  0x00007fa2deac23dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fa2bddbe700 (LWP 7689)):
#0  0x00007fa2deab670d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fa2d666e38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa2d666e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa2df3d675b in QEventDispatcherGlib::processEvents
(this=0x7fa2b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa2df3810ba in QEventLoop::exec (this=this@entry=0x7fa2bddbdc90,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fa2df1b0f64 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:507
#6  0x00007fa2e1488735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa2df1b5b48 in QThreadPrivate::start (arg=0x7fa2e14fcd60) at
thread/qthread_unix.cpp:368
#8  0x00007fa2d8a656ba in start_thread (arg=0x7fa2bddbe700) at
pthread_create.c:333
#9  0x00007fa2deac23dd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fa2c1cca900 (LWP 7686)):
[KCrash Handler]
#6  0x00007fa2ad00a51e in
llvm::SmallVectorTemplateBase<llvm::cl::parser<llvm::ScheduleDAGInstrs*
(*)(llvm::MachineSchedContext*)>::OptionInfo, false>::grow(unsigned long) () at
/build/llvm-toolchain-4.0-kQlgQb/llvm-toolchain-4.0-4.0/include/llvm/Support/CommandLine.h:729
#7  0x00007fa2ad00a60e in
llvm::RegisterPassParser<llvm::MachineSchedRegistry>::NotifyAdd(llvm::StringRef,
void* (*)(), llvm::StringRef) () at
/build/llvm-toolchain-4.0-kQlgQb/llvm-toolchain-4.0-4.0/include/llvm/ADT/SmallVector.h:213
#8  0x00007fa295afcb0a in llvm::MachineSchedRegistry::MachineSchedRegistry
(C=0x7fa295e70df0 <useDefaultMachineSched(llvm::MachineSchedContext*)>,
D=0x7fa29711e090 "Use the target's default scheduler choice.", N=0x7fa29716fc5f
"default", this=0x7fa297fda4e0 <DefaultSchedRegistry>) at
/build/llvm-toolchain-3.8-_PD09B/llvm-toolchain-3.8-3.8/include/llvm/CodeGen/MachineScheduler.h:128
#9  __static_initialization_and_destruction_0 (__initialize_p=1,
__priority=65535) at
/build/llvm-toolchain-3.8-_PD09B/llvm-toolchain-3.8-3.8/lib/CodeGen/MachineScheduler.cpp:214
#10 _GLOBAL__sub_I_MachineScheduler.cpp(void) () at
/build/llvm-toolchain-3.8-_PD09B/llvm-toolchain-3.8-3.8/lib/CodeGen/MachineScheduler.cpp:3413
#11 0x00007fa2e13116ba in call_init (l=<optimized out>, argc=argc@entry=1,
argv=argv@entry=0x7fff00182688, env=env@entry=0x7fff00182698) at dl-init.c:72
#12 0x00007fa2e13117cb in call_init (env=0x7fff00182698, argv=0x7fff00182688,
argc=1, l=<optimized out>) at dl-init.c:30
#13 _dl_init (main_map=main_map@entry=0x2ba8230, argc=1, argv=0x7fff00182688,
env=0x7fff00182698) at dl-init.c:120
#14 0x00007fa2e13168e2 in dl_open_worker (a=a@entry=0x7fff00180ec0) at
dl-open.c:575
#15 0x00007fa2e1311564 in _dl_catch_error
(objname=objname@entry=0x7fff00180eb0,
errstring=errstring@entry=0x7fff00180eb8,
mallocedp=mallocedp@entry=0x7fff00180eaf, operate=operate@entry=0x7fa2e13164d0
<dl_open_worker>, args=args@entry=0x7fff00180ec0) at dl-error.c:187
#16 0x00007fa2e1315da9 in _dl_open (file=0x2d5c7c8
"/usr/lib/x86_64-linux-gnu/qt5/plugins/kdevplatform/27/kdevclangsupport.so",
mode=-2147483647, caller_dlopen=0x7fa2df37f260
<QLibraryPrivate::load_sys()+1760>, nsid=-2, argc=<optimized out>,
argv=<optimized out>, env=0x7fff00182698) at dl-open.c:660
#17 0x00007fa2d6935f09 in dlopen_doit (a=a@entry=0x7fff001810f0) at dlopen.c:66
#18 0x00007fa2e1311564 in _dl_catch_error (objname=0x18e4a90,
errstring=0x18e4a98, mallocedp=0x18e4a88, operate=0x7fa2d6935eb0 <dlopen_doit>,
args=0x7fff001810f0) at dl-error.c:187
#19 0x00007fa2d6936571 in _dlerror_run (operate=operate@entry=0x7fa2d6935eb0
<dlopen_doit>, args=args@entry=0x7fff001810f0) at dlerror.c:163
#20 0x00007fa2d6935fa1 in __dlopen (file=<optimized out>, mode=mode@entry=1) at
dlopen.c:87
#21 0x00007fa2df37f260 in QLibraryPrivate::load_sys (this=0x2801cb0) at
plugin/qlibrary_unix.cpp:233
#22 0x00007fa2df378695 in QLibraryPrivate::load (this=0x2801cb0) at
plugin/qlibrary.cpp:538
#23 QLibraryPrivate::loadPlugin (this=0x2801cb0) at plugin/qlibrary.cpp:591
#24 0x00007fa2df36ba96 in QPluginLoader::load (this=<optimized out>) at
plugin/qpluginloader.cpp:238
#25 0x00007fa2e01ae28a in KPluginLoader::load (this=0x7fff00181580) at
/workspace/build/src/lib/plugin/kpluginloader.cpp:184
#26 0x00007fa2e01ae3ba in KPluginLoader::instance (this=<optimized out>) at
/workspace/build/src/lib/plugin/kpluginloader.cpp:166
#27 0x00007fa2e01ae40c in KPluginLoader::factory (this=<optimized out>) at
/workspace/build/src/lib/plugin/kpluginloader.cpp:111
#28 0x00007fa2e0fd6bde in
KDevelop::PluginController::loadPluginInternal(QString const&) () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformShell.so.10
#29 0x00007fa2e0fd89ab in
KDevelop::PluginController::allPluginsForExtension(QString const&,
QMap<QString, QVariant> const&) () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformShell.so.10
#30 0x00007fa2e1018ab9 in
KDevelop::LanguageController::languagesForMimetype(QString const&) () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformShell.so.10
#31 0x00007fa2e1019522 in KDevelop::LanguageController::languagesForUrl(QUrl
const&) () from /usr/lib/x86_64-linux-gnu/libKDevPlatformShell.so.10
#32 0x00007fa2dcbc2ce3 in ?? () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10
#33 0x00007fa2dcbc5c81 in ?? () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10
#34 0x00007fa2dcbbfa04 in KDevelop::BackgroundParser::parseDocuments() () from
/usr/lib/x86_64-linux-gnu/libKDevPlatformLanguage.so.10
#35 0x00007fa2df3ae1f6 in QtPrivate::QSlotObjectBase::call (a=0x7fff00181cd0,
r=0x1c8c700, this=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#36 QMetaObject::activate (sender=sender@entry=0x1c8c800,
signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0,
argv=argv@entry=0x0) at kernel/qobject.cpp:3723
#37 0x00007fa2df3ae837 in QMetaObject::activate (sender=sender@entry=0x1c8c800,
m=m@entry=0x7fa2df5c8700 <QTimer::staticMetaObject>,
local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at
kernel/qobject.cpp:3602
#38 0x00007fa2df426b50 in QTimer::timeout (this=this@entry=0x1c8c800) at
.moc/moc_qtimer.cpp:198
#39 0x00007fa2df3ba7a8 in QTimer::timerEvent (this=0x1c8c800, e=<optimized
out>) at kernel/qtimer.cpp:254
#40 0x00007fa2df3aed53 in QObject::event (this=0x1c8c800, e=<optimized out>) at
kernel/qobject.cpp:1285
#41 0x00007fa2dfc61ecc in QApplicationPrivate::notify_helper (this=<optimized
out>, receiver=0x1c8c800, e=0x7fff00181ff0) at kernel/qapplication.cpp:3799
#42 0x00007fa2dfc698c6 in QApplication::notify (this=0x7fff00182430,
receiver=0x1c8c800, e=0x7fff00181ff0) at kernel/qapplication.cpp:3556
#43 0x00007fa2df3830c8 in QCoreApplication::notifyInternal2
(receiver=0x1c8c800, event=event@entry=0x7fff00181ff0) at
kernel/qcoreapplication.cpp:988
#44 0x00007fa2df3d568e in QCoreApplication::sendEvent (event=0x7fff00181ff0,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#45 QTimerInfoList::activateTimers (this=0x193d7c0) at
kernel/qtimerinfo_unix.cpp:644
#46 0x00007fa2df3d5bf9 in timerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:182
#47 idleTimerSourceDispatch (source=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:229
#48 0x00007fa2d666e197 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fa2d666e3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fa2d666e49c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fa2df3d673f in QEventDispatcherGlib::processEvents (this=0x1941b80,
flags=...) at kernel/qeventdispatcher_glib.cpp:423
#52 0x00007fa2df3810ba in QEventLoop::exec (this=this@entry=0x7fff00182240,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#53 0x00007fa2df3896cc in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1261
#54 0x000000000040bb96 in main (argc=1, argv=<optimized out>) at
/workspace/build/app/main.cpp:763

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to