Bug 352572 - Crash while setting syntax highlighting
Summary: Crash while setting syntax highlighting
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: 4.7.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-11 15:48 UTC by Aleksandar Dezelin
Modified: 2015-11-01 18:51 UTC (History)
1 user (show)

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 Aleksandar Dezelin 2015-09-11 15:48:04 UTC
Application: kdevelop (4.7.1)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-28-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:

Setting syntax highlighting, running some unit tests, compiling and debugging an application.

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

Thread 6 (Thread 0x7fd35f92b700 (LWP 24314)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd3753ada7a in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fd3753adaa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fd377ffe6aa in start_thread (arg=0x7fd35f92b700) at pthread_create.c:333
#4  0x00007fd378cb9eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fd2de61a700 (LWP 24315)):
#0  0x00007fd378caa49d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd372d842f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd372d4096c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd372d40e60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd372d40fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd37944287e in QEventDispatcherGlib::processEvents (this=0x7fd2d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007fd379411d21 in QEventLoop::processEvents (this=this@entry=0x7fd2de619d80, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd379412085 in QEventLoop::exec (this=this@entry=0x7fd2de619d80, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd379305e89 in QThread::exec (this=this@entry=0x1865c40) at thread/qthread.cpp:538
#9  0x00007fd3793f2493 in QInotifyFileSystemWatcherEngine::run (this=0x1865c40) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fd3793086ff in QThreadPrivate::start (arg=0x1865c40) at thread/qthread_unix.cpp:349
#11 0x00007fd377ffe6aa in start_thread (arg=0x7fd2de61a700) at pthread_create.c:333
#12 0x00007fd378cb9eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fd2d7fff700 (LWP 24322)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fd379308c34 in wait (time=1000, this=0x3c34970) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x33ff7f8, mutex=mutex@entry=0x33ff800, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd375e21526 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x33ff7e0) at /build/buildd/kdevplatform-1.7.1/language/duchain/duchain.cpp:283
#4  0x00007fd3793086ff in QThreadPrivate::start (arg=0x33ff7e0) at thread/qthread_unix.cpp:349
#5  0x00007fd377ffe6aa in start_thread (arg=0x7fd2d7fff700) at pthread_create.c:333
#6  0x00007fd378cb9eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd2d5c24700 (LWP 24323)):
#0  0x00007fd378cae8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd372d40ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd372d40fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd37944287e in QEventDispatcherGlib::processEvents (this=0x7fd2c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007fd379411d21 in QEventLoop::processEvents (this=this@entry=0x7fd2d5c23dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd379412085 in QEventLoop::exec (this=this@entry=0x7fd2d5c23dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd379305e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007fd3793086ff in QThreadPrivate::start (arg=0x3cc2af8) at thread/qthread_unix.cpp:349
#8  0x00007fd377ffe6aa in start_thread (arg=0x7fd2d5c24700) at pthread_create.c:333
#9  0x00007fd378cb9eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd2ae6ba700 (LWP 24356)):
#0  0x00007fd372d85789 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fd372d40641 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd372d40e37 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd372d40fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd37944287e in QEventDispatcherGlib::processEvents (this=0x7fd2a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007fd379411d21 in QEventLoop::processEvents (this=this@entry=0x7fd2ae6b9d80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fd379412085 in QEventLoop::exec (this=this@entry=0x7fd2ae6b9d80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fd379305e89 in QThread::exec (this=this@entry=0x611c890) at thread/qthread.cpp:538
#8  0x00007fd3793f2493 in QInotifyFileSystemWatcherEngine::run (this=0x611c890) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fd3793086ff in QThreadPrivate::start (arg=0x611c890) at thread/qthread_unix.cpp:349
#10 0x00007fd377ffe6aa in start_thread (arg=0x7fd2ae6ba700) at pthread_create.c:333
#11 0x00007fd378cb9eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd37c5c3800 (LWP 24313)):
[KCrash Handler]
#6  0x00007fd378be8267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fd378be9eca in __GI_abort () at abort.c:89
#8  0x00007fd378c2bc53 in __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fd378d441a8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007fd378c33c69 in malloc_printerr (ptr=<optimized out>, str=0x7fd378d402fa "free(): invalid pointer", action=1) at malloc.c:4965
#10 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3834
#11 0x00007fd378c3789c in __GI___libc_free (mem=<optimized out>) at malloc.c:2950
#12 0x00007fd375ee300b in ~MergeIdentifiedType (this=0x7fd2a576acc0, __in_chrg=<optimized out>) at /build/buildd/kdevplatform-1.7.1/language/duchain/types/identifiedtype.h:136
#13 ~TypeAliasType (this=0x7fd2a576acc0, __in_chrg=<optimized out>) at /build/buildd/kdevplatform-1.7.1/language/duchain/types/typealiastype.h:34
#14 KDevelop::TypeAliasType::~TypeAliasType (this=0x7fd2a576acc0, __in_chrg=<optimized out>) at /build/buildd/kdevplatform-1.7.1/language/duchain/types/typealiastype.h:34
#15 0x00007fd2c1c4abc7 in ~TypePtr (this=0x7fd2a56f36c0, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typepointer.h:81
#16 ~Parameter (this=0x7fd2a56f36c0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/overloadresolution.h:45
#17 node_destruct (this=<optimized out>, to=0x7fd2a5761600, from=0x7fd2a57615f8) at /usr/include/qt4/QtCore/qlist.h:431
#18 free (this=<optimized out>, data=0x7fd2a57615e0) at /usr/include/qt4/QtCore/qlist.h:757
#19 QList<Cpp::OverloadResolver::Parameter>::~QList (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:732
#20 0x00007fd2c1c4ac4c in ~MissingDeclarationType (this=0x7fd2a5766ff0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationtype.h:33
#21 Cpp::MissingDeclarationType::~MissingDeclarationType (this=0x7fd2a5766ff0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationtype.h:33
#22 0x00007fd2c1c4aec5 in ~TypePtr (this=0x7fd2a573b568, __in_chrg=<optimized out>) at /usr/include/kdevplatform/language/duchain/types/typepointer.h:81
#23 ~MissingDeclarationProblem (this=0x7fd2a573b530, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationproblem.h:29
#24 Cpp::MissingDeclarationProblem::~MissingDeclarationProblem (this=0x7fd2a573b530, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationproblem.h:29
#25 0x00007fd2c1c4c471 in ~KSharedPtr (this=0x7f442e8, __in_chrg=<optimized out>) at /usr/include/ksharedptr.h:90
#26 ~MissingDeclarationAction (this=0x7f442c0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationassistant.cpp:39
#27 ~CreateMemberDeclarationAction (this=0x7f442c0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationassistant.cpp:130
#28 CreateMemberDeclarationAction::~CreateMemberDeclarationAction (this=0x7f442c0, __in_chrg=<optimized out>) at ../../../../languages/cpp/cppduchain/missingdeclarationassistant.cpp:130
#29 0x00007fd37942c908 in QObject::event (this=0x7f442c0, e=<optimized out>) at kernel/qobject.cpp:1203
#30 0x00007fd3799459bc in QApplicationPrivate::notify_helper (this=this@entry=0x1753ff0, receiver=receiver@entry=0x7f442c0, e=e@entry=0x8b28a00) at kernel/qapplication.cpp:4570
#31 0x00007fd37994c4d8 in QApplication::notify (this=this@entry=0x7ffd9a061b50, receiver=receiver@entry=0x7f442c0, e=e@entry=0x8b28a00) at kernel/qapplication.cpp:4356
#32 0x00007fd37a924b4a in KApplication::notify (this=0x7ffd9a061b50, receiver=0x7f442c0, event=0x8b28a00) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007fd3794131cd in QCoreApplication::notifyInternal (this=0x7ffd9a061b50, receiver=receiver@entry=0x7f442c0, event=event@entry=0x8b28a00) at kernel/qcoreapplication.cpp:955
#34 0x00007fd379416a71 in sendEvent (event=0x8b28a00, receiver=0x7f442c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0x1689800) at kernel/qcoreapplication.cpp:1579
#36 0x00007fd379416f03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1472
#37 0x00007fd379417b40 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1234
#38 0x00007fd379943c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#39 0x000000000041035c in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:582

Possible duplicates by query: bug 349223, bug 348699, bug 347139, bug 347134, bug 347050.

Reported using DrKonqi
Comment 1 Milian Wolff 2015-11-01 18:51:36 UTC
Hello!

We are working on a new clang-based C/C++ language plugin for KDevelop 5 which supersedes the old C++ plugin in KDevelop 4. See e.g.: https://www.kdevelop.org/news/first-beta-release-kdevelop-500-available

Due to a lack of manpower, we cannot fix bugs in the old C++ plugin. We rather want to supply a good Clang based C++ experience for KDevelop 4 than wasting our time on the legacy C++ support for KDevelop 4. For that reason, I'll close this bug. Please stay tuned for KDevelop 5.

If you think that this bug also affects KDevelop 5 with Clang, feel free to reopen the report!

Sorry for the inconvenience, I hope you understand the reasoning above.

Cheers