Bug 216177 - obsolete sourceformatter plugin leads to crash when opening document
Summary: obsolete sourceformatter plugin leads to crash when opening document
Status: RESOLVED NOT A BUG
Alias: None
Product: kdevelop
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 216490 217080 220717 220845 221934 223140 223223 223922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-25 23:41 UTC by Jurian Sluiman
Modified: 2010-01-23 15:39 UTC (History)
9 users (show)

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


Attachments
New crash information added by DrKonqi (18.80 KB, text/plain)
2010-01-07 19:27 UTC, Christoph Thielecke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jurian Sluiman 2009-11-25 23:41:14 UTC
Application that crashed: kdevelop
Version of the application: 3.9.97 (using KDevPlatform 0.9.97)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Compiled KDevelop from trunk (5min ago). Working with kdevplatform, kdevelop, php plugin

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

Thread 3 (Thread 0xb494ab70 (LWP 11899)):
#0  0x008fe422 in __kernel_vsyscall ()
#1  0x00d5f142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0211d7e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00b67def in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#4  0x061f5fdc in KDevelop::DUChainPrivate::CleanupThread::run (this=0x8f12710) at /home/jurian/Downloads/Kde/kde4/kdevplatform/language/duchain/duchain.cpp:280
#5  0x00b66e32 in ?? () from /usr/lib/libQtCore.so.4
#6  0x00d5a80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x021107ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb22a4b70 (LWP 11903)):
#0  0x00dd7e06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x00c83bf3 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00c83de1 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00c8488c in ?? () from /usr/lib/libQtCore.so.4
#4  0x00c82210 in ?? () from /usr/lib/libQtCore.so.4
#5  0x025d9f80 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#6  0x025da341 in ?? () from /lib/libglib-2.0.so.0
#7  0x025da853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#8  0x00c82067 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x00c55c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0x00c560ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0x00b63b73 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0x0631ba61 in KDevelop::CompletionWorkerThread::run (this=0x90104f8) at /home/jurian/Downloads/Kde/kde4/kdevplatform/language/codecompletion/codecompletionmodel.cpp:82
#13 0x00b66e32 in ?? () from /usr/lib/libQtCore.so.4
#14 0x00d5a80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#15 0x021107ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7839700 (LWP 11898)):
[KCrash Handler]
#6  0x00eb4947 in typeinfo name for KDevelop::SelectionController () from /home/jurian/Downloads/Kde/compiled/kde4/lib/libkdevplatformshell.so.1
#7  0x05f172b5 in SourceFormatterPlugin::activeDocumentChanged (this=0x902c558, doc=0x93ef0e8) at /home/jurian/Downloads/Kde/kde4/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp:184
#8  0x05f1853e in SourceFormatterPlugin::qt_metacall (this=0x902c558, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfee6f38)
    at /home/jurian/Downloads/Kde/.build/kde4/kdevplatform/plugins/sourceformatter/sourceformatterplugin.moc:74
#9  0x00c6d263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00c6dec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x00db14c0 in KDevelop::IDocumentController::documentActivated (this=0x8ea91d0, _t1=0x93ef0e8) at /home/jurian/Downloads/Kde/.build/kde4/kdevplatform/interfaces/idocumentcontroller.moc:193
#12 0x00dadeba in KDevelop::IDocument::notifyActivated (this=0x93ef0e8) at /home/jurian/Downloads/Kde/kde4/kdevplatform/interfaces/idocument.cpp:79
#13 0x00e4ea76 in KDevelop::PartDocument::activate (this=0x93ef0d8, activeView=0x93c9da8, mainWindow=0x8d66a20) at /home/jurian/Downloads/Kde/kde4/kdevplatform/shell/partdocument.cpp:172
#14 0x00e29e54 in KDevelop::MainWindowPrivate::changeActiveView (this=0x8d8a940, view=0x93c9da8) at /home/jurian/Downloads/Kde/kde4/kdevplatform/shell/mainwindow_p.cpp:172
#15 0x00e2cb5c in KDevelop::MainWindowPrivate::qt_metacall (this=0x8d8a940, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfee7158)
    at /home/jurian/Downloads/Kde/.build/kde4/kdevplatform/shell/mainwindow_p.moc:122
#16 0x00c6d263 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#17 0x00c6dec2 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0x063d1b58 in Sublime::MainWindow::activeViewChanged (this=0x8d66a20, _t1=0x93c9da8) at /home/jurian/Downloads/Kde/.build/kde4/kdevplatform/sublime/mainwindow.moc:143
#19 0x063d0775 in Sublime::MainWindow::setActiveView (this=0x8d66a20, view=0x93c9da8) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/mainwindow.cpp:206
#20 0x063d06b5 in Sublime::MainWindow::activateView (this=0x8d66a20, view=0x93c9da8) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/mainwindow.cpp:192
#21 0x063d8311 in Sublime::MainWindowPrivate::activateFirstVisibleView (this=0x8d69650) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/mainwindow_p.cpp:567
#22 0x063d0352 in Sublime::MainWindow::setArea (this=0x8d66a20, area=0x8d90468) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/mainwindow.cpp:119
#23 0x063dcd60 in Sublime::MainWindowOperator::setArea (this=0x8d69888, w=0x8d66a20, area=0x8d90468) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/mainwindowoperator.cpp:27
#24 0x063cae73 in Sublime::Controller::showAreaInternal (this=0x8d69888, area=0x8d90468, mainWindow=0x8d66a20) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/controller.cpp:142
#25 0x063cae41 in Sublime::Controller::showArea (this=0x8d69888, area=0x8d90468, mainWindow=0x8d66a20) at /home/jurian/Downloads/Kde/kde4/kdevplatform/sublime/controller.cpp:133
#26 0x00e1e99d in ~DisconnectMainWindowsFromArea (this=0xbfee7388, __in_chrg=<value optimized out>) at /home/jurian/Downloads/Kde/kde4/kdevplatform/shell/workingsetcontroller.cpp:256
#27 0x00e15333 in KDevelop::WorkingSet::loadToArea (this=0x8d69eb0, area=0x8d90468, areaIndex=0x8d90670, clear=false)
    at /home/jurian/Downloads/Kde/kde4/kdevplatform/shell/workingsetcontroller.cpp:336
#28 0x00e17d9c in KDevelop::WorkingSet::changedWorkingSet (this=0x8d69eb0, area=0x8d90468, from=..., to=...) at /home/jurian/Downloads/Kde/kde4/kdevplatform/shell/workingsetcontroller.cpp:624
#29 0x00e1bba0 in KDevelop::WorkingSet::qt_metacall (this=0x8d69eb0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x913b7c0)
    at /home/jurian/Downloads/Kde/.build/kde4/kdevplatform/shell/workingsetcontroller.moc:84
#30 0x00c65f0b in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#31 0x00c675fe in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#32 0x017c6f54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x017ce67c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x014e6bfa in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#35 0x00c576cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#36 0x00c582b2 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#37 0x00c5847d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#38 0x00c823ff in ?? () from /usr/lib/libQtCore.so.4
#39 0x025d6e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x025da720 in ?? () from /lib/libglib-2.0.so.0
#41 0x025da853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00c8202c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x01867be5 in ?? () from /usr/lib/libQtGui.so.4
#44 0x00c55c79 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00c560ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00c5853f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#47 0x017c6dd7 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#48 0x0804d688 in main (argc=1, argv=0xbfee8184) at /home/jurian/Downloads/Kde/kde4/kdevelop/app/main.cpp:193

This bug may be a duplicate of or related to bug 216036

Reported using DrKonqi
Comment 1 Milian Wolff 2009-11-26 00:04:16 UTC
your setup is borked, you'll have to clean your _install_ dir (not build dir) to remove the now obsolete sourceformatter plugin.
Comment 2 Dario Andres 2009-11-28 14:11:01 UTC
*** Bug 216490 has been marked as a duplicate of this bug. ***
Comment 3 alexey 2009-11-30 17:03:52 UTC
I cleared install dir, now kdevelop opens file correctly, but when i go to Settings -> Configure KDevelop -> Source Formatter Settings, kdevelop crashes.
Comment 4 Milian Wolff 2009-11-30 17:16:15 UTC
Same issue. You should not see the source formatter at all. it got moved to playground. Make sure you really removed it, I did this:

find PATH/TO/INSTALL/DIR -name "*sourceform*" -delete
Comment 5 Milian Wolff 2009-12-02 16:38:09 UTC
*** Bug 217080 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2009-12-30 21:40:54 UTC
*** Bug 220717 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-12-31 22:40:45 UTC
*** Bug 220845 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Thielecke 2010-01-07 19:27:16 UTC
Created attachment 39659 [details]
New crash information added by DrKonqi

I use quickopen input field to let a source file open. it found the file and i press enter. It load it and crash.
Comment 9 Dario Andres 2010-01-09 19:30:56 UTC
*** Bug 221934 has been marked as a duplicate of this bug. ***
Comment 10 Milian Wolff 2010-01-09 22:01:10 UTC
updated title to reflect crash.

@Christoph: find /path/to/your/kdevelop/install/dir -name "*sourceform*" -delete

that will "fix" kdevelop
Comment 11 Milian Wolff 2010-01-17 14:47:32 UTC
*** Bug 223140 has been marked as a duplicate of this bug. ***
Comment 12 Milian Wolff 2010-01-18 00:44:34 UTC
*** Bug 223223 has been marked as a duplicate of this bug. ***
Comment 13 Milian Wolff 2010-01-23 15:39:39 UTC
*** Bug 223922 has been marked as a duplicate of this bug. ***