Bug 250436 - Edit large cpp file
Summary: Edit large cpp file
Status: RESOLVED DUPLICATE of bug 250369
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: 4.1.60
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 4.1.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-07 13:03 UTC by Maxim Prohorenko
Modified: 2010-09-07 17:59 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 Maxim Prohorenko 2010-09-07 13:03:16 UTC
Application: kdevelop (4.1.60)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.6.3
Operating System: Linux 2.6.34.6-47.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
No criminal in file, macro include functions.
Edit large if construction, i only try to add new line
if () 
  {
    blabla
    new line
  }

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7fafb9996820 (LWP 28366))]

Thread 8 (Thread 0x7fafadbd3710 (LWP 28367)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000003183672092 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fafbb9210fb in KDevelop::DUChainPrivate::CleanupThread::run() () from /home/maxim/src/KDE4/all-for-kdevelop/build.rel/install/lib64/libkdevplatformlanguage.so.3
#3  0x00000031836711a5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00000031a8e07761 in start_thread (arg=0x7fafadbd3710) at pthread_create.c:301
#5  0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7faf97fff710 (LWP 28524)):
#0  0x00000031a8e09191 in __pthread_mutex_lock (mutex=0x7faf880022b8) at pthread_mutex_lock.c:61
#1  0x00000031a9a3dc2b in IA__g_main_context_acquire (context=0x7faf880022b0) at gmain.c:2047
#2  0x00000031a9a3f635 in g_main_context_iterate (context=0x7faf880022b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2535
#3  0x00000031a9a3fc9c in IA__g_main_context_iteration (context=0x7faf880022b0, may_block=1) at gmain.c:2654
#4  0x00000031837798b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x0000003183752822 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x0000003183752aec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x000000318366f05b in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00000031836711a5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00000031a8e07761 in start_thread (arg=0x7faf97fff710) at pthread_create.c:301
#10 0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7faf9cd3a710 (LWP 28525)):
#0  IA__g_main_context_iteration (context=0x7faf90013a80, may_block=<value optimized out>) at gmain.c:2655
#1  0x00000031837798b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#2  0x0000003183752822 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#3  0x0000003183752aec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x000000318366f05b in QThread::exec() () from /usr/lib64/libQtCore.so.4
#5  0x00000031836711a5 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00000031a8e07761 in start_thread (arg=0x7faf9cd3a710) at pthread_create.c:301
#7  0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7faf8e68f710 (LWP 28527)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x0000003183670b15 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x0000003183670c80 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4
#3  0x00007faf8f18ff01 in UIBlockTester::UIBlockTesterThread::run (this=0x45a6f90) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00000031836711a5 in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00000031a8e07761 in start_thread (arg=0x7faf8e68f710) at pthread_create.c:301
#6  0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7faf8d903710 (LWP 28548)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000318c52a056 in ?? () from /usr/lib64/libQtScript.so.4
#2  0x000000318c52a099 in ?? () from /usr/lib64/libQtScript.so.4
#3  0x00000031a8e07761 in start_thread (arg=0x7faf8d903710) at pthread_create.c:301
#4  0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7faf83fff710 (LWP 28584)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000318367212b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000318e60a096 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000318e60c56b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000318e60c584 in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000318e60c584 in ?? () from /usr/lib64/libthreadweaver.so.4
#6  0x000000318e60af4f in ?? () from /usr/lib64/libthreadweaver.so.4
#7  0x000000318e60b428 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#8  0x00000031836711a5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00000031a8e07761 in start_thread (arg=0x7faf83fff710) at pthread_create.c:301
#10 0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7faf835fe710 (LWP 28585)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000318367212b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000318e60a096 in ?? () from /usr/lib64/libthreadweaver.so.4
#3  0x000000318e60c56b in ?? () from /usr/lib64/libthreadweaver.so.4
#4  0x000000318e60af4f in ?? () from /usr/lib64/libthreadweaver.so.4
#5  0x000000318e60b428 in ThreadWeaver::Thread::run() () from /usr/lib64/libthreadweaver.so.4
#6  0x00000031836711a5 in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00000031a8e07761 in start_thread (arg=0x7faf835fe710) at pthread_create.c:301
#8  0x00000031a82e14ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fafb9996820 (LWP 28366)):
[KCrash Handler]
#6  0x00007faf9d73d5e0 in Kate::TextHistory::Entry::transformCursor(int&, int&, bool) const () from /usr/lib64/libkatepartinterfaces.so.4
#7  0x00007faf9d73da81 in Kate::TextHistory::transformCursor(int&, int&, KTextEditor::MovingCursor::InsertBehavior, long long, long long) () from /usr/lib64/libkatepartinterfaces.so.4
#8  0x00007fafbb8f9dda in KDevelop::DocumentChangeTracker::transformBetweenRevisions (this=0x79fa3e0, cursor=..., fromRevision=-1, toRevision=3, behavior=KTextEditor::MovingCursor::StayOnInsert)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/backgroundparser/documentchangetracker.cpp:296
#9  0x00007fafbb8f9e56 in KDevelop::DocumentChangeTracker::transformToRevision (this=<value optimized out>, cursor=<value optimized out>, toRevision=<value optimized out>, 
    behavior=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/backgroundparser/documentchangetracker.cpp:309
#10 0x00007fafbb95fddf in KDevelop::DUChainBase::transformToLocalRevision (this=<value optimized out>, cursor=...)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainbase.cpp:184
#11 0x00007fafbb98386c in KDevelop::DUChainUtils::declarationInLine (_cursor=..., ctx=0x54721b0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchainutils.cpp:323
#12 0x00007faf8f1f9bfa in Cpp::AdaptDefinitionSignatureAssistant::AdaptDefinitionSignatureAssistant (this=0xd4db990, view=<value optimized out>, inserted=<value optimized out>)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/codegen/signatureassistant.cpp:67
#13 0x00007faf8f1f8149 in Cpp::StaticCodeAssistant::eventuallyStartAssistant (this=0x4df2790, document=<value optimized out>, range=<incomplete type>)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/codegen/codeassistant.cpp:100
#14 0x00007faf8f1f89da in Cpp::StaticCodeAssistant::qt_metacall (this=0x4df2790, _c=<value optimized out>, _id=<value optimized out>, _a=<value optimized out>)
    at /home/maxim/src/KDE4/all-for-kdevelop/build.rel/kdevelop/languages/cpp/codeassistant.moc:96
#15 0x0000003183762f31 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#16 0x0000003184fab39c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x0000003184fb165b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x000000318661be66 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#19 0x0000000000404519 in KDevelopApplication::notify (this=0x7fffcbb64940, receiver=0x4df2790, event=0xe96fa00) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/app/main.cpp:87
#20 0x0000003183753ddc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x0000003183755ed4 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#22 0x0000003183779d23 in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00000031a9a3bd02 in g_main_dispatch (context=0x20f7520) at gmain.c:1960
#24 IA__g_main_context_dispatch (context=0x20f7520) at gmain.c:2513
#25 0x00000031a9a3fae8 in g_main_context_iterate (context=0x20f7520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#26 0x00000031a9a3fc9c in IA__g_main_context_iteration (context=0x20f7520, may_block=1) at gmain.c:2654
#27 0x0000003183779863 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x000000318504a84e in ?? () from /usr/lib64/libQtGui.so.4
#29 0x0000003183752822 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x0000003183752aec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00000031837561bb in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#32 0x0000000000409d1d in main (argc=<value optimized out>, argv=0x7fffcbb66378) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/app/main.cpp:402

Possible duplicates by query: bug 250369, bug 231993.

Reported using DrKonqi
Comment 1 Milian Wolff 2010-09-07 17:59:51 UTC

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