Bug 329717 - KDevelop Crash on startup, caused by defective plugin
Summary: KDevelop Crash on startup, caused by defective plugin
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.6.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-08 10:21 UTC by Alexander Opitz
Modified: 2014-01-08 14:52 UTC (History)
0 users

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 Alexander Opitz 2014-01-08 10:21:42 UTC
Application: kdevelop (4.6.0)
KDE Platform Version: 4.12.0
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Start the application. I already cleared ~/.cache/kdevduchain

Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.                                                                      
WARNING: deleting stale lockfile /home/opitz/.kde/share/apps/kdevelop/sessions/{4ae33aae-1972-4fdb-a931-7664455ab2a3}/lock                                                                   
kdevelop(6550)/kdevplatform (language) KDevelop::ItemRepositoryRegistryPrivate::open: version-hint not found, seems to be an old version                                                     
kdevelop(6550)/kdevplatform (language) KDevelop::ItemRepositoryRegistryPrivate::open: "The data-repository at /home/opitz/.cache/kdevduchain/kdevelop-{4ae33aae-1972-4fdb-a931-7664455ab2a3} has to be cleared." 
KCrash: Application 'kdevelop' crashing...

-- 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 0x7f0ccc1597c0 (LWP 6029))]

Thread 6 (Thread 0x7f0caf794700 (LWP 6030)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0cc50b906b in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f0cc50b90a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f0cc7c7df6e in start_thread (arg=0x7f0caf794700) at pthread_create.c:311
#4  0x00007f0cc89209cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f0c2e3ef700 (LWP 6031)):
#0  0x00007f0cc8913f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f0cc2ce56a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0cc2ce57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cc9d4ba76 in QEventDispatcherGlib::processEvents (this=0x7f0c280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f0cc9d1d5ef in QEventLoop::processEvents (this=this@entry=0x7f0c2e3eed70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0cc9d1d8e5 in QEventLoop::exec (this=this@entry=0x7f0c2e3eed70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0cc9c1c88f in QThread::exec (this=this@entry=0x22b2600) at thread/qthread.cpp:542
#7  0x00007f0cc9cfed13 in QInotifyFileSystemWatcherEngine::run (this=0x22b2600) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f0cc9c1ef2f in QThreadPrivate::start (arg=0x22b2600) at thread/qthread_unix.cpp:338
#9  0x00007f0cc7c7df6e in start_thread (arg=0x7f0c2e3ef700) at pthread_create.c:311
#10 0x00007f0cc89209cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f0c2d077700 (LWP 6032)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0cc9c1f3e4 in wait (time=1000, this=0x3728740) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x22c27a8, mutex=mutex@entry=0x22c27b0, time=time@entry=1000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0cc5d4be22 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x22c2790) at ../../language/duchain/duchain.cpp:285
#4  0x00007f0cc9c1ef2f in QThreadPrivate::start (arg=0x22c2790) at thread/qthread_unix.cpp:338
#5  0x00007f0cc7c7df6e in start_thread (arg=0x7f0c2d077700) at pthread_create.c:311
#6  0x00007f0cc89209cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f0c1d44b700 (LWP 6033)):
#0  __GI___pthread_mutex_lock (mutex=0x7f0c18000a60) at pthread_mutex_lock.c:136
#1  0x00007f0cc2d253a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0cc2ce5286 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cc2ce5708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0cc2ce57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0cc9d4ba76 in QEventDispatcherGlib::processEvents (this=0x7f0c180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0cc9d1d5ef in QEventLoop::processEvents (this=this@entry=0x7f0c1d44adb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0cc9d1d8e5 in QEventLoop::exec (this=this@entry=0x7f0c1d44adb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0cc9c1c88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f0cc9c1ef2f in QThreadPrivate::start (arg=0x4112cf8) at thread/qthread_unix.cpp:338
#10 0x00007f0cc7c7df6e in start_thread (arg=0x7f0c1d44b700) at pthread_create.c:311
#11 0x00007f0cc89209cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f0c15c30700 (LWP 6036)):
#0  0x00007f0cc2d250f7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0cc2d25399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0cc2ce4d59 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0cc2ce55c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0cc2ce57ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f0cc9d4ba76 in QEventDispatcherGlib::processEvents (this=0x7f0c0c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f0cc9d1d5ef in QEventLoop::processEvents (this=this@entry=0x7f0c15c2fdb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f0cc9d1d8e5 in QEventLoop::exec (this=this@entry=0x7f0c15c2fdb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f0cc9c1c88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f0cc9c1ef2f in QThreadPrivate::start (arg=0x4292f30) at thread/qthread_unix.cpp:338
#10 0x00007f0cc7c7df6e in start_thread (arg=0x7f0c15c30700) at pthread_create.c:311
#11 0x00007f0cc89209cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f0ccc1597c0 (LWP 6029)):
[KCrash Handler]
#6  0x0000000600000001 in ?? ()
#7  0x00007f0ccb650560 in KDevelop::DocumentationController::initialize (this=0x2849ff0) at ../../shell/documentationcontroller.cpp:84
#8  0x00007f0ccb5fd2e9 in KDevelop::CorePrivate::initialize (this=0x2756ed0, mode=mode@entry=KDevelop::Core::Default, session=...) at ../../shell/core.cpp:261
#9  0x00007f0ccb5fe3e4 in KDevelop::Core::initialize (splash=splash@entry=0x2162780, mode=mode@entry=KDevelop::Core::Default, session=...) at ../../shell/core.cpp:331
#10 0x000000000040f90a in main (argc=<optimized out>, argv=<optimized out>) at ../../app/main.cpp:469

Possible duplicates by query: bug 250983, bug 249107, bug 247972, bug 247625.

Reported using DrKonqi
Comment 1 Alexander Opitz 2014-01-08 11:38:18 UTC
The missing hint in this backtrace was

#6  0x00007f83ed0013d8 in ExecuteBrowserPlugin::_browserAppConfigTypeId () from /usr/lib/kde4/kdevexecutebrowser.so

I got it on a later start. So KDevelop isn't save for failing plugins. Removing self compiled plugins like kdevexecutebrowser.so got KDevelop working again.