Bug 270834 - KDevelop crash for automatic change declaration function
Summary: KDevelop crash for automatic change declaration function
Status: RESOLVED DUPLICATE of bug 306695
Alias: None
Product: kdevelop
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 4.2.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-13 14:44 UTC by Jowany
Modified: 2012-12-01 20:49 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 Jowany 2011-04-13 14:44:35 UTC
Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.12-88.fc14.x86_64 x86_64
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
I was write code in C++, i change definicion head function, kdevelop offered automatic change declaration head.

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

Thread 8 (Thread 0x7f941a318700 (LWP 12458)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x0000003bea272d42 in wait (this=<value optimized out>, mutex=0x29f5ee0, time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x29f5ee0, time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003d6d4ae7fb in KDevelop::DUChainPrivate::CleanupThread::run() () from /usr/lib64/libkdevplatformlanguage.so.3
#4  0x0000003bea2726ee in QThreadPrivate::start (arg=0x29f5ec0) at thread/qthread_unix.cpp:285
#5  0x0000003be2a06ccb in start_thread (arg=0x7f941a318700) at pthread_create.c:301
#6  0x0000003be22e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f940ddd3700 (LWP 12463)):
#0  0xffffffffff600136 in ?? ()
#1  0x00007f940ddd2a40 in ?? ()
#2  0x00007fff125ff7b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 0x7f940645b700 (LWP 12464)):
#0  0x0000003be22d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003be4242374 in g_main_context_poll (context=0x7f93f80009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3093
#2  g_main_context_iterate (context=0x7f93f80009b0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2775
#3  0x0000003be42428ad in g_main_context_iteration (context=0x7f93f80009b0, may_block=1) at gmain.c:2843
#4  0x0000003bea386916 in QEventDispatcherGlib::processEvents (this=0x7f93f80008c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x0000003bea35ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003bea35ad8c in QEventLoop::exec (this=0x7f940645ad40, flags=...) at kernel/qeventloop.cpp:201
#7  0x0000003bea26fed4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x0000003bea2726ee in QThreadPrivate::start (arg=0x344cfa0) at thread/qthread_unix.cpp:285
#9  0x0000003be2a06ccb in start_thread (arg=0x7f940645b700) at pthread_create.c:301
#10 0x0000003be22e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f9405be1700 (LWP 12469)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003bfeb93d84 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3bfeeab4e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003bfeb93db9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3bfeeb95b4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003be2a06ccb in start_thread (arg=0x7f9405be1700) at pthread_create.c:301
#4  0x0000003be22e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f9404d2e700 (LWP 12506)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003bea272ddb in wait (this=<value optimized out>, mutex=0x1a83e80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1a83e80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c0360a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1adda30, th=0x4f8be90) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c0360c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x199a280, th=0x4f8be90) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c0360b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9404d2dd50, parent=0x1adda30, th=0x4f8be90) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003c0360b5b8 in ThreadWeaver::Thread::run (this=0x4f8be90) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003bea2726ee in QThreadPrivate::start (arg=0x4f8be90) at thread/qthread_unix.cpp:285
#8  0x0000003be2a06ccb in start_thread (arg=0x7f9404d2e700) at pthread_create.c:301
#9  0x0000003be22e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f93fffff700 (LWP 12507)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003bea272ddb in wait (this=<value optimized out>, mutex=0x1a83e80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1a83e80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x0000003c0360a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1adda30, th=0x44a5e80) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003c0360c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x199a280, th=0x44a5e80) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003c0360c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x199a280, th=0x44a5e80) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x0000003c0360b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f93ffffed50, parent=0x1adda30, th=0x44a5e80) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/Thread.cpp:87
#7  0x0000003c0360b5b8 in ThreadWeaver::Thread::run (this=0x44a5e80) at /usr/src/debug/kdelibs-4.6.1/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003bea2726ee in QThreadPrivate::start (arg=0x44a5e80) at thread/qthread_unix.cpp:285
#9  0x0000003be2a06ccb in start_thread (arg=0x7f93fffff700) at pthread_create.c:301
#10 0x0000003be22e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f93ff7fe700 (LWP 12508)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003c051287f4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003be2a06ccb in start_thread (arg=0x7f93ff7fe700) at pthread_create.c:301
#3  0x0000003be22e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f9426ad0840 (LWP 12456)):
[KCrash Handler]
#6  ref (this=0x5a1a710) at /usr/include/QtCore/qatomic_x86_64.h:121
#7  QList (this=0x5a1a710) at /usr/include/QtCore/qlist.h:118
#8  Signature (this=0x5a1a710) at /usr/src/debug/kdevelop-4.2.2/languages/cpp/codegen/signatureassistant.h:36
#9  AdaptSignatureAction::execute (this=0x5a1a710) at /usr/src/debug/kdevelop-4.2.2/languages/cpp/codegen/signatureassistant.cpp:247
#10 0x0000003d6d018205 in KDevelop::IAssistantAction::qt_metacall (this=0x5a1a710, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /usr/src/debug/kdevplatform-1.2.2/x86_64-redhat-linux-gnu/interfaces/iassistant.moc:74
#11 0x0000003bea36fb4a in QObject::event (this=0x5a1a710, e=<value optimized out>) at kernel/qobject.cpp:1211
#12 0x0000003bef3b78c4 in QApplicationPrivate::notify_helper (this=0x17698e0, receiver=0x5a1a710, e=0x62245f0) at kernel/qapplication.cpp:4445
#13 0x0000003bef3bc3da in QApplication::notify (this=<value optimized out>, receiver=0x5a1a710, e=0x62245f0) at kernel/qapplication.cpp:4324
#14 0x0000003bf0240466 in KApplication::notify (this=0x7fff1248e230, receiver=0x5a1a710, event=0x62245f0) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#15 0x0000000000404d39 in KDevelopApplication::notify (this=0x7fff1248e230, receiver=0x5a1a710, event=0x62245f0) at /usr/src/debug/kdevelop-4.2.2/app/main.cpp:90
#16 0x0000003bea35b7ac in QCoreApplication::notifyInternal (this=0x7fff1248e230, receiver=0x5a1a710, event=0x62245f0) at kernel/qcoreapplication.cpp:732
#17 0x0000003bea35ef95 in sendEvent (receiver=0x0, event_type=0, data=0x1740280) at kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1740280) at kernel/qcoreapplication.cpp:1373
#19 0x0000003bea386723 in sendPostedEvents (s=0x176e8e0) at kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=0x176e8e0) at kernel/qeventdispatcher_glib.cpp:277
#21 0x0000003be4241e33 in g_main_dispatch (context=0x176e800) at gmain.c:2149
#22 g_main_context_dispatch (context=0x176e800) at gmain.c:2702
#23 0x0000003be4242610 in g_main_context_iterate (context=0x176e800, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#24 0x0000003be42428ad in g_main_context_iteration (context=0x176e800, may_block=1) at gmain.c:2843
#25 0x0000003bea3868bf in QEventDispatcherGlib::processEvents (this=0x173f970, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#26 0x0000003bef45c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#27 0x0000003bea35ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#28 0x0000003bea35ad8c in QEventLoop::exec (this=0x7fff1248def0, flags=...) at kernel/qeventloop.cpp:201
#29 0x0000003bea35f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x000000000040b57b in main (argc=<value optimized out>, argv=0x7fff124900d8) at /usr/src/debug/kdevelop-4.2.2/app/main.cpp:467

Reported using DrKonqi
Comment 1 Milian Wolff 2011-04-14 17:48:42 UTC
is this reproducible? the backtrace looks fishy I can't see how this can crash. please run through valgrind and report us the log
Comment 2 Kevin Funk 2012-12-01 20:49:33 UTC

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