[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 265092] New: KDevelop crashing when editing a function header
From: Markus Brueckner <kde-bugs () slash-me ! net>
Date: 2011-02-01 14:03:36
Message-ID: bug-265092-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=265092
Summary: KDevelop crashing when editing a function header
Product: kdevelop
Version: 4.2.0
Platform: Ubuntu Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs@kdevelop.org
ReportedBy: kde-bugs@slash-me.net
Application: kdevelop (4.2.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10
-- Information about the crash:
I inserted a function header via Copy'n'Paste and tried to edit the argument
list (removing "struct" keywords as this was copied from C to a C++ program).
Every edit leads to a crash (no matter whether I remove or add anything). If I
comment out the block and edit then, everything works ok.
The crash can be reproduced every time.
-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1ef7f38760 (LWP 17212))]
Thread 11 (Thread 0x7f1ee00d3700 (LWP 17213)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1 0x00007f1ef63bcda2 in wait (this=<value optimized out>, mutex=0x3066420,
time=1000) at thread/qwaitcondition_unix.cpp:86
#2 QWaitCondition::wait (this=<value optimized out>, mutex=0x3066420,
time=1000) at thread/qwaitcondition_unix.cpp:160
#3 0x00007f1ef298801b in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x3066400) at ../../language/duchain/duchain.cpp:286
#4 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x3066400) at
thread/qthread_unix.cpp:266
#5 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#6 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()
Thread 10 (Thread 0x7f1ed5dc1700 (LWP 17214)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f1ef63bce3b in wait (this=<value optimized out>, mutex=0x1ed1ce0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<value optimized out>, mutex=0x1ed1ce0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x00007f1eee1f1d64 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3919790,
th=0x3021e20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4 0x00007f1eee1f4f6b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1ef8730, th=0x3021e20) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5 0x00007f1eee1f34df in ThreadWeaver::ThreadRunHelper::run
(this=0x7f1ed5dc0e00, parent=0x3919790, th=0x3021e20) at
../../../threadweaver/Weaver/Thread.cpp:87
#6 0x00007f1eee1f3a38 in ThreadWeaver::Thread::run (this=0x3021e20) at
../../../threadweaver/Weaver/Thread.cpp:142
#7 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x3021e20) at
thread/qthread_unix.cpp:266
#8 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x7f1ecea83700 (LWP 17255)):
#0 0x00007f1ef50b0203 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f1ef049b009 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007f1ef049b45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3 0x00007f1ef64dc1e6 in QEventDispatcherGlib::processEvents (this=0x3b23770,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4 0x00007f1ef64aea02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5 0x00007f1ef64aedec in QEventLoop::exec (this=0x7f1ecea82db0, flags=) at
kernel/qeventloop.cpp:201
#6 0x00007f1ef63b92fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7 0x00007f1ef648e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x3b22f00)
at io/qfilesystemwatcher_inotify.cpp:248
#8 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x3b22f00) at
thread/qthread_unix.cpp:266
#9 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#10 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x7f1ecf284700 (LWP 17269)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f1ee0865334 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f1ee0b70160) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2 0x00007f1ee0865369 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f1ee0b7e234) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#4 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x7f1ec97e5700 (LWP 17288)):
#0 0x00007f1ef50b0203 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f1ef049b009 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007f1ef049b45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3 0x00007f1ef64dc1e6 in QEventDispatcherGlib::processEvents (this=0x3a92cb0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4 0x00007f1ef64aea02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5 0x00007f1ef64aedec in QEventLoop::exec (this=0x7f1ec97e4df0, flags=) at
kernel/qeventloop.cpp:201
#6 0x00007f1ef63b92fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x4361540) at
thread/qthread_unix.cpp:266
#8 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7f1ec8fe4700 (LWP 17289)):
#0 0x00007f1ef50b0203 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f1ef049b009 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007f1ef049b45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#3 0x00007f1ef64dc1e6 in QEventDispatcherGlib::processEvents (this=0x433e190,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4 0x00007f1ef64aea02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#5 0x00007f1ef64aedec in QEventLoop::exec (this=0x7f1ec8fe3df0, flags=) at
kernel/qeventloop.cpp:201
#6 0x00007f1ef63b92fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#7 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x43498a0) at
thread/qthread_unix.cpp:266
#8 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7f1ec8283700 (LWP 17336)):
#0 0x00007f1ef049b107 in ?? () from /lib/libglib-2.0.so.0
#1 0x00007f1ef049b45c in g_main_context_iteration () from
/lib/libglib-2.0.so.0
#2 0x00007f1ef64dc1e6 in QEventDispatcherGlib::processEvents (this=0x58ecac0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#3 0x00007f1ef64aea02 in QEventLoop::processEvents (this=<value optimized
out>, flags=) at kernel/qeventloop.cpp:149
#4 0x00007f1ef64aedec in QEventLoop::exec (this=0x7f1ec8282db0, flags=) at
kernel/qeventloop.cpp:201
#5 0x00007f1ef63b92fd in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:490
#6 0x00007f1ef648e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x58eba40)
at io/qfilesystemwatcher_inotify.cpp:248
#7 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x58eba40) at
thread/qthread_unix.cpp:266
#8 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7f1ec7a1c700 (LWP 17354)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f1eeda1b20e in ?? () from /usr/lib/libQtWebKit.so.4
#2 0x00007f1eeda1b329 in ?? () from /usr/lib/libQtWebKit.so.4
#3 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#4 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7f1ec5fbf700 (LWP 17358)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f1ef63bce3b in wait (this=<value optimized out>, mutex=0x2111760,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<value optimized out>, mutex=0x2111760,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x00007f1eee1f1d64 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2173660,
th=0x545b4f0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4 0x00007f1eee1f4f6b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x206e960, th=0x545b4f0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5 0x00007f1eee1f4f84 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x206e960, th=0x545b4f0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6 0x00007f1eee1f4f84 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x206e960, th=0x545b4f0) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7 0x00007f1eee1f34df in ThreadWeaver::ThreadRunHelper::run
(this=0x7f1ec5fbee00, parent=0x2173660, th=0x545b4f0) at
../../../threadweaver/Weaver/Thread.cpp:87
#8 0x00007f1eee1f3a38 in ThreadWeaver::Thread::run (this=0x545b4f0) at
../../../threadweaver/Weaver/Thread.cpp:142
#9 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x545b4f0) at
thread/qthread_unix.cpp:266
#10 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#11 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7f1ec57be700 (LWP 17359)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007f1ef63bce3b in wait (this=<value optimized out>, mutex=0x2111760,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<value optimized out>, mutex=0x2111760,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x00007f1eee1f1d64 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2173660,
th=0x5422670) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4 0x00007f1eee1f4f6b in ThreadWeaver::WorkingHardState::applyForWork
(this=0x206e960, th=0x5422670) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5 0x00007f1eee1f34df in ThreadWeaver::ThreadRunHelper::run
(this=0x7f1ec57bde00, parent=0x2173660, th=0x5422670) at
../../../threadweaver/Weaver/Thread.cpp:87
#6 0x00007f1eee1f3a38 in ThreadWeaver::Thread::run (this=0x5422670) at
../../../threadweaver/Weaver/Thread.cpp:142
#7 0x00007f1ef63bc27e in QThreadPrivate::start (arg=0x5422670) at
thread/qthread_unix.cpp:266
#8 0x00007f1ef4446971 in start_thread (arg=<value optimized out>) at
pthread_create.c:304
#9 0x00007f1ef50bc92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7f1ef7f38760 (LWP 17212)):
[KCrash Handler]
#6 m_argumentsSize (this=0x0) at
../../language/duchain/types/typesystemdata.h:157
#7 KDevelop::FunctionType::arguments (this=0x0) at
../../language/duchain/types/functiontype.cpp:120
#8 0x00007f1ef29e070a in
KDevelop::AbstractFunctionDeclaration::defaultParameterForArgument
(this=0x7f1ec007acd0, index=0) at
../../language/duchain/abstractfunctiondeclaration.cpp:69
#9 0x00007f1eca018466 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#10 0x00007f1eca014b95 in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#11 0x00007f1eca01519c in ?? () from /usr/lib/kde4/kdevcpplanguagesupport.so
#12 0x00007f1ef64c1bde in QObject::event (this=0x4bebc00, e=0x7ffff526fee0) at
kernel/qobject.cpp:1219
#13 0x00007f1ef5816fdc in QApplicationPrivate::notify_helper (this=0x1daacc0,
receiver=0x4bebc00, e=0x6099a40) at kernel/qapplication.cpp:4396
#14 0x00007f1ef581caed in QApplication::notify (this=0x7ffff5271190,
receiver=0x4bebc00, e=0x6099a40) at kernel/qapplication.cpp:4277
#15 0x00007f1ef6cbda36 in KApplication::notify (this=0x7ffff5271190,
receiver=0x4bebc00, event=0x6099a40) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x0000000000404c89 in _start ()
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.
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic