[Bug 230727] New: KDevelop crashes when trying to open a file

janitor048 at googlemail.com janitor048 at googlemail.com
Sun Mar 14 15:33:17 GMT 2010


https://bugs.kde.org/show_bug.cgi?id=230727

           Summary: KDevelop crashes when trying to open a file
           Product: kde
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: unassigned-bugs at kde.org
        ReportedBy: janitor048 at googlemail.com


Application that crashed: kdevelop.bin
Version of the application: 3.9.99 (using KDevPlatform 0.9.99)
KDE Version: 4.3.4 (KDE 4.3.4)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
KDevelop (3.9.99 from svn) crashes when I try to open any file (.cpp and .h
files for what it is worth) either via the file->open dialog or directly by
double-clicking in the project overview. This bug is reproducable.

Cheers,
Oliver

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f494230f750 (LWP 4831))]

Thread 9 (Thread 0x7f492ffe1910 (LWP 4832)):
#0  0x00007f493a19a82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f493ef7d462 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x00007f493bdcbdce in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x2a47ee0) at
/home/oli/Develop/KDE4/src/kdevplatform/language/duchain/duchain.cpp:286
#3  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f493d6d780d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4925dbd910 (LWP 4833)):
#0  0x00007f493a19a82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f493ef7d462 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x00007f493ef734f2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f493d6d780d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4924dbb910 (LWP 4843)):
#0  0x00007f493a19a82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f493ef7d462 in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x00007f493ef734f2 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#5  0x00007f493d6d780d in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f491f43c910 (LWP 5004)):
#0  0x00007f493d6cb3c3 in poll () from /lib/libc.so.6
#1  0x00007f49390bf37c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f49390bf6c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3  0x00007f493f08b1fe in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#4  0x00007f493f061532 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#5  0x00007f493f061904 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x00007f493ef796cb in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007f493d6d780d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f491fc3d910 (LWP 5005)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f491fc3cd80 in ?? ()
#2  0x00007fffb21ff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 0x7f4917fff910 (LWP 5006)):
#0  0x00007f493a19a82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f493ef7bed5 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f493ef7c040 in QThread::msleep(unsigned long) () from
/usr/lib/libQtCore.so.4
#3  0x00007f491cea2b01 in UIBlockTester::UIBlockTesterThread::run
(this=0x56cce70) at
/home/oli/Develop/KDE4/src/kdevelop/languages/cpp/cpplanguagesupport.cpp:672
#4  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#6  0x00007f493d6d780d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f49177fe910 (LWP 5007)):
#0  0x00007f493a19a5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f493ef7d4fb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x00007f4940788326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f494078a45b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f494078a474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f4940788a5f in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f4940788eb8 in ThreadWeaver::Thread::run() () from
/usr/lib/libthreadweaver.so.4
#7  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#9  0x00007f493d6d780d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4916ffd910 (LWP 5009)):
#0  0x00007f493a19a5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x00007f493ef7d4fb in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x00007f4940788326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f494078a45b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f4940788a5f in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f4940788eb8 in ThreadWeaver::Thread::run() () from
/usr/lib/libthreadweaver.so.4
#6  0x00007f493ef7c445 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f493a195a04 in start_thread () from /lib/libpthread.so.0
#8  0x00007f493d6d780d in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f494230f750 (LWP 4831)):
[KCrash Handler]
#5  0x00007f4941e94b28 in KSycocaEntry::name() const () from
/usr/lib/libkdecore.so.5
#6  0x00007f494180fb98 in KDevelop::SourceFormatterController::styleForMimeType
(this=0x7fffb21be540, mime=<value optimized out>)
    at
/home/oli/Develop/KDE4/src/kdevplatform/shell/sourceformattercontroller.cpp:396
#7  0x00007f491e821153 in SourceFormatterPlugin::activeDocumentChanged
(this=0x7f491801d630, doc=<value optimized out>)
    at
/home/oli/Develop/KDE4/src/kdevplatform/plugins/sourceformatter/sourceformatterplugin.cpp:184
#8  0x00007f491e8212fc in SourceFormatterPlugin::qt_metacall
(this=0x7f491801d630, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized
out>, _a=0x7fffb21be6a0)
    at
/home/oli/Develop/KDE4/src/kdevplatform/build/plugins/sourceformatter/sourceformatterplugin.moc:74
#9  0x00007f493f077ddc in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQtCore.so.4
#10 0x00007f4941a9c36f in KDevelop::IDocumentController::documentActivated
(this=0x7fffb21be490, _t1=0x7f492814e440)
    at
/home/oli/Develop/KDE4/src/kdevplatform/build/interfaces/idocumentcontroller.moc:210
#11 0x00007f49417c5be3 in KDevelop::MainWindowPrivate::qt_metacall
(this=0x2aceec0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>,
_a=0x7fffb21be7f0)
    at /home/oli/Develop/KDE4/src/kdevplatform/build/shell/mainwindow_p.moc:127
#12 0x00007f493f077ddc in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQtCore.so.4
#13 0x00007f493bae22e2 in Sublime::MainWindow::activeViewChanged
(this=0x7fffb21be490, _t1=0x7f492814dfa0) at
/home/oli/Develop/KDE4/src/kdevplatform/build/sublime/mainwindow.moc:149
#14 0x00007f493bae2ab1 in Sublime::MainWindow::activateView (this=0x2aef810,
view=0x7f492814dfa0) at
/home/oli/Develop/KDE4/src/kdevplatform/sublime/mainwindow.cpp:216
#15 0x00007f49417f111e in
KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x2bd4f30,
doc=0x7f492814e440, range=<value optimized out>, activationParams=)
    at /home/oli/Develop/KDE4/src/kdevplatform/shell/documentcontroller.cpp:357
#16 0x00007f49417f1b76 in
KDevelop::DocumentControllerPrivate::openDocumentInternal (this=0x2bd4f30,
inputUrl=<value optimized out>, prefName=<value optimized out>, range=<value
optimized out>, 
    encoding=<value optimized out>, activationParams=) at
/home/oli/Develop/KDE4/src/kdevplatform/shell/documentcontroller.cpp:280
#17 0x00007f49417eee5c in KDevelop::DocumentController::openDocument
(this=0x2bcd060, inputUrl=..., range=..., activationParams=<value optimized
out>, encoding=<value optimized out>)
    at /home/oli/Develop/KDE4/src/kdevplatform/shell/documentcontroller.cpp:548
#18 0x00007f491dfaf675 in ProjectManagerView::openUrl (this=<value optimized
out>, url=...) at
/home/oli/Develop/KDE4/src/kdevplatform/plugins/projectmanagerview/projectmanagerview.cpp:182
#19 0x00007f491dfafd5b in ProjectManagerView::qt_metacall (this=0x39ef920,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb21bf180)
    at
/home/oli/Develop/KDE4/src/kdevplatform/build/plugins/projectmanagerview/projectmanagerview.moc:74
#20 0x00007f493f077ddc in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQtCore.so.4
#21 0x00007f491dfb16c2 in ProjectTreeView::activateUrl (this=0x7fffb21be490,
_t1=<value optimized out>)
    at
/home/oli/Develop/KDE4/src/kdevplatform/build/plugins/projectmanagerview/projecttreeview.moc:88
#22 0x00007f491dfb1893 in ProjectTreeView::slotActivated (this=0x39cdfa0,
index=...) at
/home/oli/Develop/KDE4/src/kdevplatform/plugins/projectmanagerview/projecttreeview.cpp:148
#23 0x00007f491dfb2b31 in ProjectTreeView::qt_metacall (this=0x39cdfa0,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffb21bf300)
    at
/home/oli/Develop/KDE4/src/kdevplatform/build/plugins/projectmanagerview/projecttreeview.moc:74
#24 0x00007f493f077ddc in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib/libQtCore.so.4
#25 0x00007f493e77fc05 in QAbstractItemView::doubleClicked(QModelIndex const&)
() from /usr/lib/libQtGui.so.4
#26 0x00007f493e7ccb93 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) ()
from /usr/lib/libQtGui.so.4
#27 0x00007f493e301808 in QWidget::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#28 0x00007f493e65d2a6 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#29 0x00007f493e79021b in QAbstractItemView::viewportEvent(QEvent*) () from
/usr/lib/libQtGui.so.4
#30 0x00007f493e7c7420 in QTreeView::viewportEvent(QEvent*) () from
/usr/lib/libQtGui.so.4
#31 0x00007f493f061f47 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/libQtCore.so.4
#32 0x00007f493e2b2ecc in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQtGui.so.4
#33 0x00007f493e2ba011 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#34 0x00007f493f7e9e56 in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#35 0x00007f493f062c2c in QCoreApplication::notifyInternal(QObject*, QEvent*)
() from /usr/lib/libQtCore.so.4
#36 0x00007f493e2b98e0 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) () from
/usr/lib/libQtGui.so.4
#37 0x00007f493e31fa0e in ?? () from /usr/lib/libQtGui.so.4
#38 0x00007f493e31eaa9 in QApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/libQtGui.so.4
#39 0x00007f493e347d0c in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007f49390bbbce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#41 0x00007f49390bf598 in ?? () from /lib/libglib-2.0.so.0
#42 0x00007f49390bf6c0 in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#43 0x00007f493f08b1a6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#44 0x00007f493e3474be in ?? () from /usr/lib/libQtGui.so.4
#45 0x00007f493f061532 in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#46 0x00007f493f061904 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#47 0x00007f493f063ab9 in QCoreApplication::exec() () from
/usr/lib/libQtCore.so.4
#48 0x0000000000408a0f in main (argc=<value optimized out>, argv=<value
optimized out>) at
/home/oli/Develop/KDE4/src/kdevelop/app/main_internal.cpp:222

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list