Bug 289317 - KDevelop crash on startup
Summary: KDevelop crash on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.2.60
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: 4.2.3
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-18 22:03 UTC by Valentin Rusu
Modified: 2012-01-01 19:18 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 Valentin Rusu 2011-12-18 22:03:50 UTC
Application: kdevelop (4.2.60)
KDE Platform Version: 4.7.4 (4.7.4) (Compiled from sources)
Qt Version: 4.7.4
Operating System: Linux 3.1.5-1-ARCH x86_64

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to launch KDevelop by the means of the "Pick session" dialog. I choose a new session and got the crash just after the splash screen. In fact, KDevelop no longer starts on my system!

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f62c8eab760 (LWP 6514))]

Thread 2 (Thread 0x7f62af17e700 (LWP 6515)):
#0  0x00007f62c48e3ecb in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f62c4b98117 in QWaitConditionPrivate::wait (this=0x1dd9af0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f62c4b97edd in QWaitCondition::wait (this=0x1df9bc8, mutex=0x1df9bd0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f62c0bb9e8c in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1df9bb0) at /home/kde/src/kdevplatform/language/duchain/duchain.cpp:282
#4  0x00007f62c4b96c37 in QThreadPrivate::start (arg=0x1df9bb0) at thread/qthread_unix.cpp:331
#5  0x00007f62c48dfdf0 in start_thread () from /lib/libpthread.so.0
#6  0x00007f62c2c472ed in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f62c8eab760 (LWP 6514)):
[KCrash Handler]
#6  0x00007f62c8244095 in QBasicAtomicInt::ref (this=0x7f62c855f4bd) at /home/qt/4/include/QtCore/qatomic_x86_64.h:121
#7  0x00007f62c824427a in QString::QString (this=0x1fd33a8, other=...) at /home/qt/4/include/QtCore/qstring.h:729
#8  0x00007f62c82c6682 in KDevelop::SourceFormatterStyle::SourceFormatterStyle (this=0x1fd3390) at /home/kde/src/kdevplatform/interfaces/isourceformatter.h:31
#9  0x00007f62a3ae029f in QList<KDevelop::SourceFormatterStyle>::node_construct (this=0x7fff962101a0, n=0x1fcbc68, t=...) at /home/kde/include/QtCore/qlist.h:372
#10 0x00007f62a3adfcdf in QList<KDevelop::SourceFormatterStyle>::append (this=0x7fff962101a0, t=...) at /home/kde/include/QtCore/qlist.h:512
#11 0x00007f62a3adf469 in QList<KDevelop::SourceFormatterStyle>::operator<< (this=0x7fff962101a0, t=...) at /home/kde/include/QtCore/qlist.h:334
#12 0x00007f62a3add399 in IndentPlugin::predefinedStyles (this=0x1fa6ff0) at /home/kde/src/kdevelop/formatters/indent/indent_plugin.cpp:194
#13 0x00007f62a3adc07e in IndentPlugin::IndentPlugin (this=0x1fa6ff0, parent=0x16f86a0) at /home/kde/src/kdevelop/formatters/indent/indent_plugin.cpp:47
#14 0x00007f62a3adf97a in KPluginFactory::createInstance<IndentPlugin, QObject> (parentWidget=0x0, parent=0x16f86a0, args=...) at /home/kde/include/KDE/../kpluginfactory.h:477
#15 0x00007f62c89e29e3 in KPluginFactory::create (this=0x1fecac0, iface=0x7f62c856d1e0 "KDevelop::IPlugin", parentWidget=0x0, parent=0x16f86a0, args=..., keyword=...) at /home/kde/src/kdelibs/kdecore/util/kpluginfactory.cpp:203
#16 0x00007f62c826d9c0 in KPluginFactory::create<KDevelop::IPlugin> (this=0x1fecac0, parentWidget=0x0, parent=0x16f86a0, keyword=..., args=...) at /home/kde/include/kpluginfactory.h:531
#17 0x00007f62c826d3b0 in KService::createInstance<KDevelop::IPlugin> (this=0x1fff790, parentWidget=0x0, parent=0x16f86a0, args=..., error=0x7fff96210580) at /home/kde/include/KDE/../kservice.h:553
#18 0x00007f62c826c6ef in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., parentWidget=0x0, parent=0x16f86a0, constraint=..., args=..., error=0x7fff96210580) at /home/kde/include/KDE/../kservicetypetrader.h:184
#19 0x00007f62c826b47a in KServiceTypeTrader::createInstanceFromQuery<KDevelop::IPlugin> (serviceType=..., constraint=..., parent=0x16f86a0, args=..., error=0x7fff96210580) at /home/kde/include/KDE/../kservicetypetrader.h:157
#20 0x00007f62c8267151 in KDevelop::PluginController::loadPluginInternal (this=0x1747d00, pluginId=...) at /home/kde/src/kdevplatform/shell/plugincontroller.cpp:436
#21 0x00007f62c8265e05 in KDevelop::PluginController::initialize (this=0x1747d00) at /home/kde/src/kdevplatform/shell/plugincontroller.cpp:268
#22 0x00007f62c826f684 in KDevelop::CorePrivate::initialize (this=0x198d0e0, mode=KDevelop::Core::Default, session=...) at /home/kde/src/kdevplatform/shell/core.cpp:231
#23 0x00007f62c826fc07 in KDevelop::Core::initialize (splash=0x18a6e00, mode=KDevelop::Core::Default, session=...) at /home/kde/src/kdevplatform/shell/core.cpp:290
#24 0x000000000040a288 in main (argc=2, argv=0x7fff962130a8) at /home/kde/src/kdevelop/app/main.cpp:358

Reported using DrKonqi
Comment 1 Niko Sams 2011-12-18 22:24:25 UTC
I think I had the same crash, solved it by deleting all installed files and reinstalling. Probably some library got removed or renamed and the old one is binary incompatible or something...
Comment 2 Valentin Rusu 2011-12-28 11:09:38 UTC
Well, that won't solve it for me. I did "make uninstall" for both kdevplatform and kdevelop, the reinstalled it. The crash is still producing.
Comment 3 Valentin Rusu 2011-12-28 11:36:30 UTC
I'm trying to debug kdevelop and the last message before the crash is:

kdevelop(24054)/kdevplatform (shell) KDevelop::PluginController::loadPluginInternal: Checked... starting to load: "Indent Formatter Backend" type: QVariant(, )

Debugging in progress...
Comment 4 Niko Sams 2011-12-29 18:25:11 UTC
Make uninstall wont help,  as its an old plugin file.  Delete your whole pr.efix
Comment 5 Valentin Rusu 2012-01-01 19:16:45 UTC
I removed the files 
/home/kde/share/kde4/services/kdevindent.desktop
/home/kde/lib64/kde4/kdevindent.so

Now KDevelop starts again.