Bug 294427 - KDevelop crashes on startup
Summary: KDevelop crashes on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2012-02-19 13:47 UTC by Rohan Garg
Modified: 2018-10-27 04:02 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
valgrind log (73.24 KB, application/x-gzip)
2012-02-20 10:54 UTC, Rohan Garg
Details
New crash information added by DrKonqi (12.60 KB, text/plain)
2013-07-27 11:51 UTC, Shai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Garg 2012-02-19 13:47:02 UTC
Application: kdevelop (4.3.60)
KDE Platform Version: 4.8.00 (4.8.0)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-16-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Had just added a new project to KDevelop
- Unusual behavior I noticed:
KDevelop crashed after the the build sytem dialog came up
- Custom settings of the application:
None, except maybe that everything is installed to /opt/project-neon ( Including KDE )

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".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7f38e9a8d780 (LWP 5278))]

Thread 10 (Thread 0x7f38d016e700 (LWP 5279)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f38e7b7611f in ?? () from /opt/project-neon/lib/libQtCore.so.4
#2  0x00007f38e7b75ee5 in QWaitCondition::wait(QMutex*, unsigned long) () from /opt/project-neon/lib/libQtCore.so.4
#3  0x00007f38e36a070c in KDevelop::DUChainPrivate::CleanupThread::run() () from /opt/project-neon/lib/libkdevplatformlanguage.so.6
#4  0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#5  0x00007f38e6269e9a in start_thread (arg=0x7f38d016e700) at pthread_create.c:308
#6  0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f38c6c32700 (LWP 5280)):
#0  0x00007f38e6568ae3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f38e7c7b398 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#2  0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#3  0x00007f38e6269e9a in start_thread (arg=0x7f38c6c32700) at pthread_create.c:308
#4  0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f38bd906700 (LWP 5283)):
#0  0x00007f38e6563dc3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f38e0c49f26 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38e0c4a054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38e7ce435f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#4  0x00007f38e7ca5a58 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#5  0x00007f38e7ca5be2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#6  0x00007f38e7b72217 in QThread::exec() () from /opt/project-neon/lib/libQtCore.so.4
#7  0x00007f38e7c80e1f in ?? () from /opt/project-neon/lib/libQtCore.so.4
#8  0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#9  0x00007f38e6269e9a in start_thread (arg=0x7f38bd906700) at pthread_create.c:308
#10 0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f38b77fe700 (LWP 5376)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f38ddb7db1f in ?? () from /opt/project-neon/lib/libQtWebKit.so.4
#2  0x00007f38ddb7d0fc in ?? () from /opt/project-neon/lib/libQtWebKit.so.4
#3  0x00007f38e6269e9a in start_thread (arg=0x7f38b77fe700) at pthread_create.c:308
#4  0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f38b7fff700 (LWP 5377)):
#0  0x00007f38e6563dc3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f38e0c49f26 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38e0c4a054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38e7ce435f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#4  0x00007f38e7ca5a58 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#5  0x00007f38e7ca5be2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#6  0x00007f38e7b72217 in QThread::exec() () from /opt/project-neon/lib/libQtCore.so.4
#7  0x00007f38e7b723b6 in QThread::run() () from /opt/project-neon/lib/libQtCore.so.4
#8  0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#9  0x00007f38e6269e9a in start_thread (arg=0x7f38b7fff700) at pthread_create.c:308
#10 0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f38b5256700 (LWP 5541)):
#0  0x00007f38e6563dc3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f38e0c49f26 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38e0c4a054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38e7ce435f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#4  0x00007f38e7ca5a58 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#5  0x00007f38e7ca5be2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#6  0x00007f38e7b72217 in QThread::exec() () from /opt/project-neon/lib/libQtCore.so.4
#7  0x00007f38e380c132 in KDevelop::CompletionWorkerThread::run() () from /opt/project-neon/lib/libkdevplatformlanguage.so.6
#8  0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#9  0x00007f38e6269e9a in start_thread (arg=0x7f38b5256700) at pthread_create.c:308
#10 0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f38b4a55700 (LWP 5542)):
#0  0x00007f38e6563dc3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f38e0c49f26 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f38e0c4a054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f38e7ce435f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#4  0x00007f38e7ca5a58 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#5  0x00007f38e7ca5be2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#6  0x00007f38e7b72217 in QThread::exec() () from /opt/project-neon/lib/libQtCore.so.4
#7  0x00007f38e380c132 in KDevelop::CompletionWorkerThread::run() () from /opt/project-neon/lib/libkdevplatformlanguage.so.6
#8  0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#9  0x00007f38e6269e9a in start_thread (arg=0x7f38b4a55700) at pthread_create.c:308
#10 0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3867fff700 (LWP 5547)):
[KCrash Handler]
#6  0x00007f38e36d89bb in std::less<unsigned int>::operator()(unsigned int const&, unsigned int const&) const () from /opt/project-neon/lib/libkdevplatformlanguage.so.6
#7  0x00007f38e36d85e8 in std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int>(unsigned int&&) () from /opt/project-neon/lib/libkdevplatformlanguage.so.6
#8  0x00007f38e36cfc2f in std::set<unsigned int, std::less<unsigned int>, std::allocator<unsigned int> >::insert(unsigned int&&) () from /opt/project-neon/lib/libkdevplatformlanguage.so.6
#9  0x00007f38b55cc604 in CppPreprocessEnvironment::retrieveMacro (this=0x7f385c0039d0, name=..., isImportant=true) at /home/shadeslayer/kde/kdevelop/languages/cpp/cppduchain/cpppreprocessenvironment.cpp:71
#10 0x00007f38b5864b85 in rpp::pp::handle_ifdef (this=0x7f3867ffd700, check_undefined=true, input=...) at /home/shadeslayer/kde/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:1004
#11 0x00007f38b58602aa in rpp::pp::handle_directive (this=0x7f3867ffd700, directive=128938, input=..., output=...) at /home/shadeslayer/kde/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:153
#12 0x00007f38b5860d59 in rpp::pp::operator() (this=0x7f3867ffd700, input=..., output=...) at /home/shadeslayer/kde/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:266
#13 0x00007f38b585fcb3 in rpp::pp::processFileInternal (this=0x7f3867ffd700, fileName=..., fileContents=..., result=...) at /home/shadeslayer/kde/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:98
#14 0x00007f38b585fb70 in rpp::pp::processFile (this=0x7f3867ffd700, fileName=..., data=...) at /home/shadeslayer/kde/kdevelop/languages/cpp/parser/rpp/pp-engine.cpp:85
#15 0x00007f38b5ac25cd in PreprocessJob::run (this=0x4cfbca0) at /home/shadeslayer/kde/kdevelop/languages/cpp/preprocessjob.cpp:245
#16 0x00007f38dea47364 in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#17 0x00007f38dea475ca in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /opt/project-neon/lib/libthreadweaver.so.4
#18 0x00007f38dea4999f in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#19 0x00007f38dea4a0f9 in ThreadWeaver::JobCollection::execute(ThreadWeaver::Thread*) () from /opt/project-neon/lib/libthreadweaver.so.4
#20 0x00007f38dea46757 in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#21 0x00007f38dea469ae in ThreadWeaver::Thread::run() () from /opt/project-neon/lib/libthreadweaver.so.4
#22 0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#23 0x00007f38e6269e9a in start_thread (arg=0x7f3867fff700) at pthread_create.c:308
#24 0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f38677fe700 (LWP 5548)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f38e7b7613b in ?? () from /opt/project-neon/lib/libQtCore.so.4
#2  0x00007f38e7b75ee5 in QWaitCondition::wait(QMutex*, unsigned long) () from /opt/project-neon/lib/libQtCore.so.4
#3  0x00007f38dea44a1e in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#4  0x00007f38dea48d85 in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#5  0x00007f38dea4499c in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#6  0x00007f38dea48d27 in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#7  0x00007f38dea44963 in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#8  0x00007f38dea466ff in ?? () from /opt/project-neon/lib/libthreadweaver.so.4
#9  0x00007f38dea469ae in ThreadWeaver::Thread::run() () from /opt/project-neon/lib/libthreadweaver.so.4
#10 0x00007f38e7b74b44 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#11 0x00007f38e6269e9a in start_thread (arg=0x7f38677fe700) at pthread_create.c:308
#12 0x00007f38e656f77d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f38e9a8d780 (LWP 5278)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f38e7b7613b in ?? () from /opt/project-neon/lib/libQtCore.so.4
#2  0x00007f38e7b75ee5 in QWaitCondition::wait(QMutex*, unsigned long) () from /opt/project-neon/lib/libQtCore.so.4
#3  0x00007f38e7b757da in QThread::wait(unsigned long) () from /opt/project-neon/lib/libQtCore.so.4
#4  0x00007f38e7c7b15e in ?? () from /opt/project-neon/lib/libQtCore.so.4
#5  0x00007f38e64ba951 in __run_exit_handlers (status=1, listp=0x7f38e6833688, run_list_atexit=true) at exit.c:78
#6  0x00007f38e64ba9d5 in __GI_exit (status=<optimized out>) at exit.c:100
#7  0x00007f38e6dc959d in ?? () from /opt/project-neon/lib/libQtGui.so.4
#8  0x00007f38e855c204 in KApplication::xioErrhandler(_XDisplay*) () from /opt/project-neon/lib/libkdeui.so.5
#9  0x00007f38e855b4e8 in ?? () from /opt/project-neon/lib/libkdeui.so.5
#10 0x00007f38e20f036e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007f38e20edd6d in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f38e20df3af in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f38e6e13f29 in ?? () from /opt/project-neon/lib/libQtGui.so.4
#14 0x00007f38e0c49963 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007f38e0c49ec6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f38e0c4a054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f38e7ce435f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#18 0x00007f38e6e145dc in ?? () from /opt/project-neon/lib/libQtGui.so.4
#19 0x00007f38e7ca5a58 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#20 0x00007f38e7ca5be2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#21 0x00007f38e7ca880e in QCoreApplication::exec() () from /opt/project-neon/lib/libQtCore.so.4
#22 0x00007f38e6d38cb2 in QApplication::exec() () from /opt/project-neon/lib/libQtGui.so.4
#23 0x000000000040b7c2 in main (argc=1, argv=0x7fff83430928) at /home/shadeslayer/kde/kdevelop/app/main.cpp:479

Reported using DrKonqi
Comment 1 Milian Wolff 2012-02-19 22:51:14 UTC
maybe a binary incompatibility, do you build kdevelop from sources? if so, remove the neon package. if that's not the issue, please reopen and attach a valgrind log
Comment 2 Rohan Garg 2012-02-20 10:54:05 UTC
Created attachment 68949 [details]
valgrind log

I compile KDevelop from sources, Project Neon does not have KDevelop packages.
I've attached the valgrind log as requested.
Comment 3 Milian Wolff 2012-02-20 12:33:49 UTC
so you install this yourself: /opt/project-neon/lib/libkdevplatformlanguage.so.6 ?

I'd need the code of the project/file that triggers this crash, or any way to reproduce it in general.
Comment 4 Rohan Garg 2012-02-20 12:36:41 UTC
Correct, I compile kdevplatform from sources as well. The project that I try to open is this : https://projects.kde.org/projects/extragear/network/telepathy/ktp-accounts-kcm
Comment 5 Milian Wolff 2012-02-25 18:04:20 UTC
I can open that project just fine in kdevelop - anything else I need to do in order to reproduce this issue?
Comment 6 Shai 2013-07-27 11:51:39 UTC
Created attachment 81374 [details]
New crash information added by DrKonqi

kdevelop (4.3.1) on KDE Platform 4.10.5 using Qt 4.8.5

- What I was doing when the application crashed:

Trying to import the KMail project into KDevelop.

-- Backtrace (Reduced):
#6  0x00007f74b372bd9e in std::pair<std::_Rb_tree_iterator<unsigned int>, bool> std::_Rb_tree<unsigned int, unsigned int, std::_Identity<unsigned int>, std::less<unsigned int>, std::allocator<unsigned int> >::_M_insert_unique<unsigned int>(unsigned int&&) () from /usr/lib/libkdevplatformlanguage.so.5
#7  0x00007f7433da65bd in CppPreprocessEnvironment::retrieveMacro(KDevelop::IndexedString const&, bool) const () from /usr/lib/libkdev4cppduchain.so
#8  0x00007f747c1034a9 in rpp::pp::handle_ifdef(bool, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#9  0x00007f747c109fb0 in rpp::pp::handle_directive(unsigned int, rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
#10 0x00007f747c10a36c in rpp::pp::operator()(rpp::Stream&, rpp::Stream&) () from /usr/lib/libkdev4cpprpp.so
Comment 7 Shai 2013-07-27 11:57:28 UTC
Further notes on the backtrack I just added:

I am using packages from Debian Unstable.
Comment 8 Andrew Crouthamel 2018-09-24 01:55:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 9 Andrew Crouthamel 2018-10-27 04:02:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!