Bug 234450

Summary: Change files from external and use in kdevelop
Product: [Applications] kdevelop Reporter: Maxim Prohorenko <Maxim.Prohorenko>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maxim Prohorenko 2010-04-15 16:19:38 UTC
Application: kdevelop (3.10.1 (using KDevPlatform 0.10.1))
KDE Platform Version: 4.4.2 (KDE 4.4.2) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.11-99.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
Use git and change files with update from external git
Use kdevepol3 and edit qmake project files and build
Switch to kdevelop4 build -> crash

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

Thread 9 (Thread 0x7fc787f94710 (LWP 20029)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x0000003daee71802 in wait (this=<value optimized out>, mutex=0x145c310, time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x145c310, time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fc794e1ec2e in KDevelop::DUChainPrivate::CleanupThread::run (this=0x145c2f0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/language/duchain/duchain.cpp:286
#4  0x0000003daee709a5 in QThreadPrivate::start (arg=0x145c2f0) at thread/qthread_unix.cpp:248
#5  0x0000003da7a06a3a in start_thread (arg=0x7fc787f94710) at pthread_create.c:297
#6  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fc77eca7710 (LWP 20031)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003daee7189b in wait (this=<value optimized out>, mutex=0x118d140, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x118d140, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000345fe09f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db1fd0, th=0x1da9940) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000345fe0c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x118f910, th=0x1da9940) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000345fe0ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc77eca6d50, parent=0x1db1fd0, th=0x1da9940) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x000000345fe0b358 in ThreadWeaver::Thread::run (this=0x1da9940) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003daee709a5 in QThreadPrivate::start (arg=0x1da9940) at thread/qthread_unix.cpp:248
#8  0x0000003da7a06a3a in start_thread (arg=0x7fc77eca7710) at pthread_create.c:297
#9  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fc76da02710 (LWP 20150)):
#0  0x0000003da7a0a249 in __pthread_mutex_unlock_usercnt (mutex=0x7fc7680009b8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7fc7680009b8) at pthread_mutex_unlock.c:290
#2  0x0000003da923c131 in IA__g_main_context_check (context=0x7fc7680009b0, max_priority=2147483647, fds=<value optimized out>, n_fds=<value optimized out>) at gmain.c:2467
#3  0x0000003da923c91d in g_main_context_iterate (context=0x7fc7680009b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2588
#4  0x0000003da923cd4a in IA__g_main_context_iteration (context=0x7fc7680009b0, may_block=1) at gmain.c:2654
#5  0x0000003daef7d0b6 in QEventDispatcherGlib::processEvents (this=0x7fc768002040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x0000003daef56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x0000003daef5645c in QEventLoop::exec (this=0x7fc76da01d40, flags=...) at kernel/qeventloop.cpp:201
#8  0x0000003daee6e8d9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x0000003daee709a5 in QThreadPrivate::start (arg=0x249cc80) at thread/qthread_unix.cpp:248
#10 0x0000003da7a06a3a in start_thread (arg=0x7fc76da02710) at pthread_create.c:297
#11 0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fc76e403710 (LWP 20151)):
#0  0xffffffffff60013b in ?? ()
#1  0x00007fc76e402a30 in ?? ()
#2  0x00007fff1cdff882 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 0x7fc76584b710 (LWP 20152)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x0000003daee70315 in thread_sleep (ti=0x7fc76584ad00) at thread/qthread_unix.cpp:398
#2  0x0000003daee70480 in QThread::msleep (msecs=973388000) at thread/qthread_unix.cpp:424
#3  0x00007fc7668b94f1 in UIBlockTester::UIBlockTesterThread::run (this=0x24a74c0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x0000003daee709a5 in QThreadPrivate::start (arg=0x24a74c0) at thread/qthread_unix.cpp:248
#5  0x0000003da7a06a3a in start_thread (arg=0x7fc76584b710) at pthread_create.c:297
#6  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fc764e4a710 (LWP 20164)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003dc05274f6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3dc0800b20) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x0000003dc0527539 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3dc080ebec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x0000003da7a06a3a in start_thread (arg=0x7fc764e4a710) at pthread_create.c:297
#4  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc75f2d2710 (LWP 20211)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003daee7189b in wait (this=<value optimized out>, mutex=0x1316c10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1316c10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000345fe09f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13182e0, th=0x76e6840) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000345fe0c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x13169e0, th=0x76e6840) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000345fe0ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc75f2d1d50, parent=0x13182e0, th=0x76e6840) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#6  0x000000345fe0b358 in ThreadWeaver::Thread::run (this=0x76e6840) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003daee709a5 in QThreadPrivate::start (arg=0x76e6840) at thread/qthread_unix.cpp:248
#8  0x0000003da7a06a3a in start_thread (arg=0x7fc75f2d2710) at pthread_create.c:297
#9  0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc75e8d1710 (LWP 20212)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003daee7189b in wait (this=<value optimized out>, mutex=0x1316c10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1316c10, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x000000345fe09f86 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x13182e0, th=0x564d7f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000345fe0c4ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x13169e0, th=0x564d7f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000345fe0c4c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x13169e0, th=0x564d7f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000345fe0ae6f in ThreadWeaver::ThreadRunHelper::run (this=0x7fc75e8d0d50, parent=0x13182e0, th=0x564d7f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:87
#7  0x000000345fe0b358 in ThreadWeaver::Thread::run (this=0x564d7f0) at /usr/src/debug/kdelibs-4.4.2/threadweaver/Weaver/Thread.cpp:142
#8  0x0000003daee709a5 in QThreadPrivate::start (arg=0x564d7f0) at thread/qthread_unix.cpp:248
#9  0x0000003da7a06a3a in start_thread (arg=0x7fc75e8d1710) at pthread_create.c:297
#10 0x0000003da6ede65d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc794499840 (LWP 20026)):
[KCrash Handler]
#5  KDevelop::IPlugin::core (this=0x0) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/interfaces/iplugin.cpp:171
#6  0x00007fc79591a8b9 in KDevelop::IPlugin::extensionManager (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/interfaces/iplugin.cpp:177
#7  0x00007fc786ac971d in extension<ICMakeBuilder> (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/build.rel/install/include/kdevplatform/interfaces/iplugin.h:174
#8  CMakeManager::builder (this=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/projectmanagers/cmake/cmakemanager.cpp:683
#9  0x00007fc7953d98b0 in KDevelop::BuilderJobPrivate::addJob (this=0xa110650, t=<value optimized out>, item=0x7fc770ef9320)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/project/builderjob.cpp:70
#10 0x00007fc76c592d49 in BuildItemBuilderJob::BuildItemBuilderJob (this=0x20befd0, t=Build, items=<value optimized out>)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/projectmanagerview/builditembuilderjob.cpp:35
#11 0x00007fc76c587bd8 in ProjectManagerViewPlugin::runBuilderJob (this=<value optimized out>, t=Build)
    at /home/maxim/src/KDE4/all-for-kdevelop/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.cpp:350
#12 0x00007fc76c58a9cc in ProjectManagerViewPlugin::qt_metacall (this=0x1ee41b0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff1ccce980)
    at /home/maxim/src/KDE4/all-for-kdevelop/build.rel/kdevplatform/plugins/projectmanagerview/projectmanagerviewplugin.moc:109
#13 0x0000003daef6a2af in QMetaObject::activate (sender=0x1ca7b30, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff1ccce980) at kernel/qobject.cpp:3293
#14 0x0000003daf5a5b52 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x0000003daf5a728b in QAction::activate (this=0x1ca7b30, event=<value optimized out>) at kernel/qaction.cpp:1255
#16 0x0000003daf5a8347 in QAction::event (this=<value optimized out>, e=<value optimized out>) at kernel/qaction.cpp:1181
#17 0x000000345994bd7d in KAction::event (this=<value optimized out>, event=0x7fff1ccceff0) at /usr/src/debug/kdelibs-4.4.2/kdeui/actions/kaction.cpp:129
#18 0x0000003daf5aa9dc in QApplicationPrivate::notify_helper (this=0xfe04c0, receiver=0x1ca7b30, e=0x7fff1ccceff0) at kernel/qapplication.cpp:4300
#19 0x0000003daf5b0aab in QApplication::notify (this=<value optimized out>, receiver=0x1ca7b30, e=0x7fff1ccceff0) at kernel/qapplication.cpp:4183
#20 0x0000003459a06856 in KApplication::notify (this=0x7fff1ccd06c0, receiver=0x1ca7b30, event=0x7fff1ccceff0) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#21 0x0000003daef5774c in QCoreApplication::notifyInternal (this=0x7fff1ccd06c0, receiver=0x1ca7b30, event=0x7fff1ccceff0) at kernel/qcoreapplication.cpp:704
#22 0x0000003daf5ddae6 in sendEvent (this=<value optimized out>, e=0x7fff1cccf5f0) at ../../src/corelib/kernel/qcoreapplication.h:215
#23 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fff1cccf5f0) at kernel/qshortcutmap.cpp:879
#24 0x0000003daf5df997 in QShortcutMap::tryShortcutEvent (this=0xfe05e8, o=<value optimized out>, e=0x7fff1cccf5f0) at kernel/qshortcutmap.cpp:364
#25 0x0000003daf5b25db in QApplication::notify (this=0x7fff1ccd06c0, receiver=0x5ccc600, e=0x7fff1cccf5f0) at kernel/qapplication.cpp:3746
#26 0x0000003459a06856 in KApplication::notify (this=0x7fff1ccd06c0, receiver=0x5ccc600, event=0x7fff1cccf5f0) at /usr/src/debug/kdelibs-4.4.2/kdeui/kernel/kapplication.cpp:302
#27 0x0000003daef5774c in QCoreApplication::notifyInternal (this=0x7fff1ccd06c0, receiver=0x5ccc600, event=0x7fff1cccf5f0) at kernel/qcoreapplication.cpp:704
#28 0x0000003daf64493a in QKeyMapper::sendKeyEvent (keyWidget=0x5ccc600, grab=<value optimized out>, type=KeyPress, code=16777271, modifiers=<value optimized out>, text=..., autorepeat=false, count=
    1, nativeScanCode=74, nativeVirtualKey=65477, nativeModifiers=0) at kernel/qkeymapper_x11.cpp:1861
#29 0x0000003daf646d50 in QKeyMapperPrivate::translateKeyEvent (this=<value optimized out>, keyWidget=0x5ccc600, event=<value optimized out>, grab=<value optimized out>)
    at kernel/qkeymapper_x11.cpp:1831
#30 0x0000003daf620ee4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1ccd01c0) at kernel/qapplication_x11.cpp:3399
#31 0x0000003daf649d82 in x11EventSourceDispatch (s=0xfe4230, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#32 0x0000003da923923e in g_main_dispatch (context=0xfe3120) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0xfe3120) at gmain.c:2513
#34 0x0000003da923cc28 in g_main_context_iterate (context=0xfe3120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#35 0x0000003da923cd4a in IA__g_main_context_iteration (context=0xfe3120, may_block=1) at gmain.c:2654
#36 0x0000003daef7d063 in QEventDispatcherGlib::processEvents (this=0x78b850, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x0000003daf649a4e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x0000003daef56192 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x0000003daef5645c in QEventLoop::exec (this=0x7fff1ccd04f0, flags=...) at kernel/qeventloop.cpp:201
#40 0x0000003daef58749 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#41 0x00000000004084bf in main (argc=<value optimized out>, argv=<value optimized out>) at /home/maxim/src/KDE4/all-for-kdevelop/kdevelop/app/main_internal.cpp:232

This bug may be a duplicate of or related to bug 194483.

Possible duplicates by query: bug 216090, bug 214361, bug 214076, bug 209495.

Reported using DrKonqi
Comment 1 Andreas Pakulat 2010-04-15 19:29:49 UTC

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