Bug 186449 - Editing CMakeLists.txt outside KDevelop crashes KDevelop
Summary: Editing CMakeLists.txt outside KDevelop crashes KDevelop
Status: RESOLVED DUPLICATE of bug 226600
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: language (show other bugs)
Version: git master
Platform: Compiled Sources Linux
: HI crash
Target Milestone: 1.0.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
: 186669 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-07 15:03 UTC by LukasT
Modified: 2010-11-30 18:13 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LukasT 2009-03-07 15:03:30 UTC
Version:            (using KDE 4.2.0)
Compiler:          gcc 4.3.2 
OS:                Linux
Installed from:    Compiled From Sources

I'm using trunk SVN r935956.

Steps to reproduce:
1. Open CMake based project
2. Open CMakeLists.txt in KDevelop4
3. Edit file with e.g. Kate 
4. Go back to KDevelop4, on query select "Reload File"
5. Crash

[konsole:]
ASSERT: "uint(m_dynamicData->m_rangesForUses.count()) == d->m_usesSize()" in file /home/lukas/src/kdevplatform/language/duchain/ducontext.cpp, line 221

Application: KDevelop (kdevelop), signal SIGABRT
[Current thread is 1 (Thread 0xb7f94770 (LWP 17583))]

Thread 3 (Thread 0xb5758b90 (LWP 17584)):
#0  0x00933416 in __kernel_vsyscall ()
#1  0x053643d1 in select () from /lib/libc.so.6
#2  0x00bb2f87 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00ae30be in ?? () from /usr/lib/libQtCore.so.4
#4  0x0080251f in start_thread (arg=0xb5758b90) at pthread_create.c:297
#5  0x0536c04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb4d57b90 (LWP 17590)):
#0  0x00933416 in __kernel_vsyscall ()
#1  0x00806432 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:179
#2  0x00ae40dc in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x012a9554 in KDevelop::DUChainPrivate::CleanupThread::run (this=0x917d2e8) at /home/lukas/src/kdevplatform/language/duchain/duchain.cpp:245
#4  0x00ae30be in ?? () from /usr/lib/libQtCore.so.4
#5  0x0080251f in start_thread (arg=0xb4d57b90) at pthread_create.c:297
#6  0x0536c04e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7f94770 (LWP 17583)):
[KCrash Handler]
#6  0x00933416 in __kernel_vsyscall ()
#7  0x052b3460 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x052b4e28 in abort () at abort.c:88
#9  0x00adb1b5 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0x00adb292 in qFatal () from /usr/lib/libQtCore.so.4
#11 0x00adb335 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0x012afb3c in KDevelop::DUContext::synchronizeUsesFromSmart (this=0x989ac30) at /home/lukas/src/kdevplatform/language/duchain/ducontext.cpp:221
#13 0x012afdca in KDevelop::DUContext::uses (this=0x989ac30) at /home/lukas/src/kdevplatform/language/duchain/ducontext.cpp:1462
#14 0x0130e50e in KDevelop::DUChainUtils::itemUnderCursor (url=@0xbfacae90, c=@0xbfacaef4) at /home/lukas/src/kdevplatform/language/duchain/duchainutils.cpp:283
#15 0x084c4b39 in ContextBrowserPlugin::findDeclaration (this=0x9119840, view=0x9a97d08, position=@0xbfacaef4, mouseHighlight=false)
    at /home/lukas/src/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:445
#16 0x084c4ed5 in ContextBrowserPlugin::updateBrowserWidgetFor (this=0x9119840, view=0x9a97d08) at /home/lukas/src/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:541
#17 0x084c5082 in ContextBrowserPlugin::updateViews (this=0x9119840) at /home/lukas/src/kdevplatform/plugins/contextbrowser/contextbrowser.cpp:563
#18 0x084c5333 in ContextBrowserPlugin::qt_metacall (this=0x9119840, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfacb038)
    at /home/lukas/src/build/kdevplatform/plugins/contextbrowser/contextbrowser.moc:116
#19 0x00be8750 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0x00be94d2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0x00c23597 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#22 0x00bef0fe in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#23 0x00be322f in QObject::event () from /usr/lib/libQtCore.so.4
#24 0x07307fec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#25 0x0730fe2e in QApplication::notify () from /usr/lib/libQtGui.so.4
#26 0x01599fdd in KApplication::notify () from /usr/lib/libkdeui.so.5
#27 0x00bd3b21 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#28 0x00c019e1 in ?? () from /usr/lib/libQtCore.so.4
#29 0x00bfe200 in ?? () from /usr/lib/libQtCore.so.4
#30 0x01853238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x018568e3 in ?? () from /lib/libglib-2.0.so.0
#32 0x01856aa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00bfe158 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#34 0x073a0e75 in ?? () from /usr/lib/libQtGui.so.4
#35 0x00bd21ea in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#36 0x00bd23aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#37 0x00bd4a65 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#38 0x07307e67 in QApplication::exec () from /usr/lib/libQtGui.so.4
#39 0x0804ed10 in main (argc=4739408, argv=0x8dc9dd0) at /home/lukas/src/kdevelop/app/main.cpp:203
Comment 1 David Nolden 2009-03-09 14:37:25 UTC
*** Bug 186669 has been marked as a duplicate of this bug. ***
Comment 2 David Nolden 2009-03-11 00:31:43 UTC
Fixed now
Comment 3 Milian Wolff 2010-11-30 18:13:55 UTC

*** This bug has been marked as a duplicate of bug 226600 ***