Bug 305825 - Crash when moving lines up or down in C++ source (sometimes)
Summary: Crash when moving lines up or down in C++ source (sometimes)
Status: RESOLVED DUPLICATE of bug 297661
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR critical
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-26 16:30 UTC by Alexander
Modified: 2012-08-26 16:38 UTC (History)
1 user (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 Alexander 2012-08-26 16:30:18 UTC
I'm using KDevelop/KDevPlatform git master from 2012-08-26.

Approximately once a day I see KDevelop crash when editing C++ sources. This happens when I move a line up or down using ctrl-shift-up or ctrl-shift-down, I think mostly when the line (with some definition) enters or exits a scope defined by curly braces.
I'm attaching a kcrashhandler-created backtrace below.

Thanks,
Alexander

-------------------------------------------------------------------------------
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7faca0686760 (LWP 23492))]

Thread 16 (Thread 0x7fac880b7700 (LWP 23495)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:213
#1  0x00007fac9c24142e in wait (time=1000, this=0x1c5fde0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1c67980, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9878c84b in KDevelop::DUChainPrivate::CleanupThread::run (this=0x1c67960) at /0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/language/duchain/duchain.cpp:282
#4  0x00007fac9c241025 in QThreadPrivate::start (arg=0x1c67960) at thread/qthread_unix.cpp:331
#5  0x00007fac9bfb0f05 in start_thread (arg=0x7fac880b7700) at pthread_create.c:301
#6  0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 15 (Thread 0x7fac6f3cf700 (LWP 23498)):
#0  0x00007fff755ff700 in ?? ()
#1  0x00007fff755ff959 in ?? ()
#2  0x00007fac996e7d9a in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fac9c291114 in do_gettime (frac=0x7fac6f3ceba8, sec=0x7fac6f3ceba0) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fac9c352d1d in QTimerInfoList::updateCurrentTime (this=0x7fac680020d0) at kernel/qeventdispatcher_unix.cpp:339
#6  0x00007fac9c353053 in QTimerInfoList::timerWait (this=0x7fac680020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#7  0x00007fac9c351abc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fac6f3cec8c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fac9c351b65 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fac94c01b22 in g_main_context_prepare (context=0x7fac680009b0, priority=0x7fac6f3cecf8) at gmain.c:2746
#10 0x00007fac94c0292d in g_main_context_iterate (context=0x7fac680009b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#11 0x00007fac94c02f59 in g_main_context_iteration (context=0x7fac680009b0, may_block=1) at gmain.c:3136
#12 0x00007fac9c352576 in QEventDispatcherGlib::processEvents (this=0x7fac680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#13 0x00007fac9c326a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fac9c326c1f in QEventLoop::exec (this=0x7fac6f3cee20, flags=...) at kernel/qeventloop.cpp:201
#15 0x00007fac9c23e5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#16 0x00007fac9c241025 in QThreadPrivate::start (arg=0x2671a70) at thread/qthread_unix.cpp:331
#17 0x00007fac9bfb0f05 in start_thread (arg=0x7fac6f3cf700) at pthread_create.c:301
#18 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 14 (Thread 0x7fac6d351700 (LWP 23499)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac993c8852 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fac996c0e80 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fac993c8889 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fac9bfb0f05 in start_thread (arg=0x7fac6d351700) at pthread_create.c:301
#4  0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 13 (Thread 0x7fac67a78700 (LWP 23500)):
#0  qt_gettime () at tools/qelapsedtimer_unix.cpp:149
#1  0x00007fac9c352d1d in QTimerInfoList::updateCurrentTime (this=0x7fac600020d0) at kernel/qeventdispatcher_unix.cpp:339
#2  0x00007fac9c353053 in QTimerInfoList::timerWait (this=0x7fac600020d0, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#3  0x00007fac9c351abc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fac67a77c8c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007fac9c351b65 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007fac94c01b22 in g_main_context_prepare (context=0x7fac600009b0, priority=0x7fac67a77cf8) at gmain.c:2746
#6  0x00007fac94c0292d in g_main_context_iterate (context=0x7fac600009b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#7  0x00007fac94c02f59 in g_main_context_iteration (context=0x7fac600009b0, may_block=1) at gmain.c:3136
#8  0x00007fac9c352576 in QEventDispatcherGlib::processEvents (this=0x7fac600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007fac9c326a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007fac9c326c1f in QEventLoop::exec (this=0x7fac67a77e20, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007fac9c23e5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#12 0x00007fac9c241025 in QThreadPrivate::start (arg=0x299c480) at thread/qthread_unix.cpp:331
#13 0x00007fac9bfb0f05 in start_thread (arg=0x7fac67a78700) at pthread_create.c:301
#14 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7fac67277700 (LWP 23501)):
#0  __pthread_mutex_lock (mutex=0x7fac580009b8) at pthread_mutex_lock.c:131
#1  0x00007fac94c02a5f in g_main_context_poll (n_fds=1, fds=0x7fac580024b0, timeout=-1, context=0x7fac580009b0, priority=<optimized out>) at gmain.c:3381
#2  g_main_context_iterate (context=0x7fac580009b0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007fac94c02f59 in g_main_context_iteration (context=0x7fac580009b0, may_block=1) at gmain.c:3136
#4  0x00007fac9c352576 in QEventDispatcherGlib::processEvents (this=0x7fac580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fac9c326a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fac9c326c1f in QEventLoop::exec (this=0x7fac67276e20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fac9c23e5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fac9c241025 in QThreadPrivate::start (arg=0x29995a0) at thread/qthread_unix.cpp:331
#9  0x00007fac9bfb0f05 in start_thread (arg=0x7fac67277700) at pthread_create.c:301
#10 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7fac66a76700 (LWP 23506)):
#0  0x00007fac9a432ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fac94c02a98 in g_main_context_poll (n_fds=1, fds=0x7fac5c0024c0, timeout=-1, context=0x7fac5c0009b0, priority=<optimized out>) at gmain.c:3386
#2  g_main_context_iterate (context=0x7fac5c0009b0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3068
#3  0x00007fac94c02f59 in g_main_context_iteration (context=0x7fac5c0009b0, may_block=1) at gmain.c:3136
#4  0x00007fac9c352576 in QEventDispatcherGlib::processEvents (this=0x7fac5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fac9c326a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fac9c326c1f in QEventLoop::exec (this=0x7fac66a75df0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fac9c23e5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fac9c309aef in QInotifyFileSystemWatcherEngine::run (this=0x39aa3a0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fac9c241025 in QThreadPrivate::start (arg=0x39aa3a0) at thread/qthread_unix.cpp:331
#10 0x00007fac9bfb0f05 in start_thread (arg=0x7fac66a76700) at pthread_create.c:301
#11 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7fac64dfe700 (LWP 23574)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac930619dc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007fac93061b09 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007fac9bfb0f05 in start_thread (arg=0x7fac64dfe700) at pthread_create.c:301
#4  0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7fac655ff700 (LWP 23575)):
#0  0x00007fac9bfb3014 in __pthread_mutex_lock (mutex=0x7fac54030958) at pthread_mutex_lock.c:61
#1  0x00007fac94c0198d in g_main_context_prepare (context=0x7fac54030950, priority=0x7fac655fecf8) at gmain.c:2674
#2  0x00007fac94c0292d in g_main_context_iterate (context=0x7fac54030950, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#3  0x00007fac94c02f59 in g_main_context_iteration (context=0x7fac54030950, may_block=1) at gmain.c:3136
#4  0x00007fac9c352576 in QEventDispatcherGlib::processEvents (this=0x7fac5402d6e0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fac9c326a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fac9c326c1f in QEventLoop::exec (this=0x7fac655fee20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fac9c23e5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fac9c241025 in QThreadPrivate::start (arg=0x3ebb550) at thread/qthread_unix.cpp:331
#9  0x00007fac9bfb0f05 in start_thread (arg=0x7fac655ff700) at pthread_create.c:301
#10 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7fac0f984700 (LWP 23623)):
#0  0x00007fac9bfb3014 in __pthread_mutex_lock (mutex=0x7fac500bf4a8) at pthread_mutex_lock.c:61
#1  0x00007fac94c0198d in g_main_context_prepare (context=0x7fac500bf4a0, priority=0x7fac0f983cc8) at gmain.c:2674
#2  0x00007fac94c0292d in g_main_context_iterate (context=0x7fac500bf4a0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3053
#3  0x00007fac94c02f59 in g_main_context_iteration (context=0x7fac500bf4a0, may_block=1) at gmain.c:3136
#4  0x00007fac9c352576 in QEventDispatcherGlib::processEvents (this=0x7fac5001a330, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fac9c326a22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fac9c326c1f in QEventLoop::exec (this=0x7fac0f983df0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007fac9c23e5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007fac9c309aef in QInotifyFileSystemWatcherEngine::run (this=0x407e0f0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fac9c241025 in QThreadPrivate::start (arg=0x407e0f0) at thread/qthread_unix.cpp:331
#10 0x00007fac9bfb0f05 in start_thread (arg=0x7fac0f984700) at pthread_create.c:301
#11 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7fac0e21c700 (LWP 23745)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac9c2414bb in wait (time=18446744073709551615, this=0xc6afc0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x9f2680, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9eb0e104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc6b5a0, th=0x2765a00) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fac9eb106ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x91abd0, th=0x2765a00) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fac9eb106c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91abd0, th=0x2765a00) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fac9eb0f56f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac0e21be40, parent=0xc6b5a0, th=0x2765a00) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fac9eb0f5fb in ThreadWeaver::Thread::run (this=0x2765a00) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fac9c241025 in QThreadPrivate::start (arg=0x2765a00) at thread/qthread_unix.cpp:331
#9  0x00007fac9bfb0f05 in start_thread (arg=0x7fac0e21c700) at pthread_create.c:301
#10 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7fac07cd1700 (LWP 23746)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac9c2414bb in wait (time=18446744073709551615, this=0xc6afc0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x9f2680, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9eb0e104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xc6b5a0, th=0x4504f60) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fac9eb106ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x91abd0, th=0x4504f60) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fac9eb0f56f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac07cd0e40, parent=0xc6b5a0, th=0x4504f60) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fac9eb0f5fb in ThreadWeaver::Thread::run (this=0x4504f60) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fac9c241025 in QThreadPrivate::start (arg=0x4504f60) at thread/qthread_unix.cpp:331
#8  0x00007fac9bfb0f05 in start_thread (arg=0x7fac07cd1700) at pthread_create.c:301
#9  0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fac0f183700 (LWP 30480)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac9c2414bb in wait (time=18446744073709551615, this=0x62d11e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x634e600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9eb0e104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3519e90, th=0x6060c80) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fac9eb106ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x5d0a430, th=0x6060c80) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fac9eb0f56f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac0f182e40, parent=0x3519e90, th=0x6060c80) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fac9eb0f5fb in ThreadWeaver::Thread::run (this=0x6060c80) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fac9c241025 in QThreadPrivate::start (arg=0x6060c80) at thread/qthread_unix.cpp:331
#8  0x00007fac9bfb0f05 in start_thread (arg=0x7fac0f183700) at pthread_create.c:301
#9  0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fac0da1b700 (LWP 30481)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac9c2414bb in wait (time=18446744073709551615, this=0x62d11e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x634e600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9eb0e104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3519e90, th=0x63c9760) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fac9eb106ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x5d0a430, th=0x63c9760) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fac9eb106c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x5d0a430, th=0x63c9760) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fac9eb0f56f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac0da1ae40, parent=0x3519e90, th=0x63c9760) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fac9eb0f5fb in ThreadWeaver::Thread::run (this=0x63c9760) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fac9c241025 in QThreadPrivate::start (arg=0x63c9760) at thread/qthread_unix.cpp:331
#9  0x00007fac9bfb0f05 in start_thread (arg=0x7fac0da1b700) at pthread_create.c:301
#10 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fac0d21a700 (LWP 30500)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac9c2414bb in wait (time=18446744073709551615, this=0x62d11e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x634e600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9eb0e104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3519e90, th=0x5bf8530) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fac9eb106ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x5d0a430, th=0x5bf8530) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fac9eb106c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x5d0a430, th=0x5bf8530) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fac9eb0f56f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac0d219e40, parent=0x3519e90, th=0x5bf8530) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#7  0x00007fac9eb0f5fb in ThreadWeaver::Thread::run (this=0x5bf8530) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#8  0x00007fac9c241025 in QThreadPrivate::start (arg=0x5bf8530) at thread/qthread_unix.cpp:331
#9  0x00007fac9bfb0f05 in start_thread (arg=0x7fac0d21a700) at pthread_create.c:301
#10 0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fac0ca19700 (LWP 30501)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fac9c2414bb in wait (time=18446744073709551615, this=0x62d11e0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x634e600, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fac9eb0e104 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3519e90, th=0x362c5a0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fac9eb106ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x5d0a430, th=0x362c5a0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fac9eb0f56f in ThreadWeaver::ThreadRunHelper::run (this=0x7fac0ca18e40, parent=0x3519e90, th=0x362c5a0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x00007fac9eb0f5fb in ThreadWeaver::Thread::run (this=0x362c5a0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x00007fac9c241025 in QThreadPrivate::start (arg=0x362c5a0) at thread/qthread_unix.cpp:331
#8  0x00007fac9bfb0f05 in start_thread (arg=0x7fac0ca19700) at pthread_create.c:301
#9  0x00007fac9a43c10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7faca0686760 (LWP 23492)):
[KCrash Handler]
#6  0x00007faba052f030 in ?? ()
#7  0x00007fac0e279a15 in ?? ()
#8  0x0000000000000000 in ?? ()


Reproducible: Sometimes

Steps to Reproduce:
1. It's difficult to reproduce, but maybe you'll get "lucky":
2. Pick some source line which contains a definition.
3. Move it around with ctrl-shift-up or ctrl-shift-down, entering some if/for/while blocks, etc...



openSUSE 12.1 x86_64, KDE 4.7.2, Qt 4.7.4.
Comment 1 Niko Sams 2012-08-26 16:38:29 UTC
this is a bug in QtScript. luckily already fixed - though we'll have to wait for Qt 4.8.3 to get the fix.

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