[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 245181] New: KDevelop crashes on "Configure Launches"
From:       Alexander <ashaduri () gmail ! com>
Date:       2010-07-19 21:49:32
Message-ID: bug-245181-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=245181

           Summary: KDevelop crashes on "Configure Launches"
           Product: kdevelop
           Version: SVN
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: ashaduri@gmail.com


Version:           SVN (using KDE 4.4.3) 
OS:                Linux

KDevelop crashes every time I click "Run -> Configure Launches..." in my
C++/cmake/Qt project.

Here's a backtrace:

Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f69606dd760 (LWP 13576))]

Thread 10 (Thread 0x7f694ed3c950 (LWP 13594)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f695d041537 in wait (this=0x9f8118, mutex=0x9f8120, time=200000) at
thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x9f8118, mutex=0x9f8120, time=200000) at
thread/qwaitcondition_unix.cpp:159
#3  0x00007f6959cc30de in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x9f8100) at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/language/duchain/duchain.cpp:286
#4  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x9f8100) at
thread/qthread_unix.cpp:248
#5  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 9 (Thread 0x7f6945fa9950 (LWP 13595)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f695d041537 in wait (this=0x1435968, mutex=0x1435960, time=30000) at
thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=0x1435968, mutex=0x1435960, time=30000) at
thread/qwaitcondition_unix.cpp:159
#3  0x00007f695d036521 in QThreadPoolThread::run (this=0x14359b0) at
concurrent/qthreadpool.cpp:140
#4  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x14359b0) at
thread/qthread_unix.cpp:248
#5  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 8 (Thread 0x7f693e725950 (LWP 13624)):
#0  0x00007f6955d6c4d9 in clock_gettime (clock_id=1, tp=0x7f693e724dc0) at
../sysdeps/unix/clock_gettime.c:100
#1  0x00007f695d160edf in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00007f695d165edd in QTimerInfoList::updateCurrentTime (this=0x1) at
kernel/qeventdispatcher_unix.cpp:340
#3  0x00007f695d165f05 in QTimerInfoList::timerWait (this=0x1, tm=...) at
kernel/qeventdispatcher_unix.cpp:443
#4  0x00007f695d163e2d in timerSourcePrepareHelper (src=<value optimized out>,
timeout=0x7f693e724ed4) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00007f695d163ed5 in timerSourcePrepare (source=0x1,
timeout=0x7f693e724dc0) at kernel/qeventdispatcher_glib.cpp:169
#6  0x00007f6955adf242 in g_main_context_prepare () from
/usr/lib64/libglib-2.0.so.0
#7  0x00007f6955adf5ef in g_main_context_iterate () from
/usr/lib64/libglib-2.0.so.0
#8  0x00007f6955adfabc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#9  0x00007f695d163c16 in QEventDispatcherGlib::processEvents (this=0x6d8e50,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00007f695d137d92 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f695d13816c in QEventLoop::exec (this=0x7f693e725060, flags=...) at
kernel/qeventloop.cpp:201
#12 0x00007f695d03db27 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#13 0x00007f695d0406a5 in QThreadPrivate::start (arg=0x15feb50) at
thread/qthread_unix.cpp:248
#14 0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#15 0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 7 (Thread 0x7f693ef26950 (LWP 13748)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x1e5fcf8, decr=1) at
pthread_mutex_unlock.c:58
#1  0x00007f6955adef27 in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f6955adf811 in g_main_context_iterate () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f6955adfabc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#4  0x00007f695d163c16 in QEventDispatcherGlib::processEvents (this=0x1e4e050,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f695d137d92 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f695d13816c in QEventLoop::exec (this=0x7f693ef26060, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007f695d03db27 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#8  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x1e68f20) at
thread/qthread_unix.cpp:248
#9  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#10 0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 6 (Thread 0x7f6939430950 (LWP 13749)):
#0  0x00007f695b494396 in __poll (fds=0x1e06a30, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6955adf7c9 in g_main_context_iterate () from
/usr/lib64/libglib-2.0.so.0
#2  0x00007f6955adfabc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f695d163c16 in QEventDispatcherGlib::processEvents (this=0x143a8c0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f695d137d92 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f695d13816c in QEventLoop::exec (this=0x7f6939430060, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f695d03db27 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x1e5cea0) at
thread/qthread_unix.cpp:248
#8  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 5 (Thread 0x7f6938b87950 (LWP 13750)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:217
#1  0x00007f695d03ffd5 in thread_sleep (ti=0x7f6938b87020) at
thread/qthread_unix.cpp:398
#2  0x00007f695d04013e in QThread::msleep (msecs=30) at
thread/qthread_unix.cpp:424
#3  0x00007f6939c02721 in UIBlockTester::UIBlockTesterThread::run
(this=0x1e61c70) at
/0S/0tmp/DL-CVS/kdevelop/kdevelop/languages/cpp/cpplanguagesupport.cpp:678
#4  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x1e61c70) at
thread/qthread_unix.cpp:248
#5  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 4 (Thread 0x7f6938371950 (LWP 13762)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f695a87f346 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f695ab5e220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f695a87f389 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f695ab6c2ec) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#4  0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 3 (Thread 0x7f6936bda950 (LWP 13804)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f695d041559 in wait (this=0x87dfc8, mutex=0x9319e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x87dfc8, mutex=0x9319e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f695ebb3324 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87dfa0,
th=0x2c25890) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f695ebb4ccb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x893460, th=0x2c25890) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f695ebb4ce4 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x893460, th=0x2c25890) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f695ebaffff in ThreadWeaver::ThreadRunHelper::run
(this=0x7f6936bda070, parent=0x87dfa0, th=0x2c25890) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f695ebb0f69 in ThreadWeaver::Thread::run (this=0x2c25890) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x2c25890) at
thread/qthread_unix.cpp:248
#9  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#10 0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 2 (Thread 0x7f69363d9950 (LWP 13806)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f695d041559 in wait (this=0x87dfc8, mutex=0x9319e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x87dfc8, mutex=0x9319e0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f695ebb3324 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x87dfa0,
th=0x1802620) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f695ebb4ccb in ThreadWeaver::WorkingHardState::applyForWork
(this=0x893460, th=0x1802620) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f695ebaffff in ThreadWeaver::ThreadRunHelper::run
(this=0x7f69363d9070, parent=0x87dfa0, th=0x1802620) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f695ebb0f69 in ThreadWeaver::Thread::run (this=0x1802620) at
/usr/src/debug/kdelibs-4.4.3/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f695d0406a5 in QThreadPrivate::start (arg=0x1802620) at
thread/qthread_unix.cpp:248
#8  0x00007f695cdb1070 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#9  0x00007f695b49d11d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112

Thread 1 (Thread 0x7f69606dd760 (LWP 13576)):
[KCrash Handler]
#5  NativeAppConfigPage::loadFromConfiguration (this=0x2dc3740, cfg=...,
project=0x0) at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/plugins/execute/nativeappconfig.cpp:70
#6  0x00007f695fc34f70 in
KDevelop::LaunchConfigPagesContainer::setLaunchConfiguration (this=0x2eea120,
l=<value optimized out>)
    at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/shell/launchconfigurationdialog.cpp:719
#7  0x00007f695fc39c36 in KDevelop::LaunchConfigurationDialog::selectionChanged
(this=0x7fff7b3729e0, selected=..., deselected=...)
    at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/shell/launchconfigurationdialog.cpp:201
#8  0x00007f695fc3a5eb in KDevelop::LaunchConfigurationDialog::qt_metacall
(this=0x7fff7b3729e0, _c=<value optimized out>, _id=<value optimized out>,
_a=0x7fff7b372530)
    at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/0build9/shell/launchconfigurationdialog.moc:200
#9  0x00007f695d14ce97 in QMetaObject::activate (sender=0x2b22630, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3293
#10 0x00007f695c840cd7 in QItemSelectionModel::selectionChanged
(this=0x7f695b71ea00, _t1=<value optimized out>, _t2=<value optimized out>) at
.moc/release-shared/moc_qitemselectionmodel.cpp:152
#11 0x00007f695c843aae in QItemSelectionModel::emitSelectionChanged
(this=0x2b22630, newSelection=..., oldSelection=...) at
itemviews/qitemselectionmodel.cpp:1536
#12 0x00007f695c8490c1 in QItemSelectionModel::select (this=0x2b22630,
selection=<value optimized out>, command=<value optimized out>) at
itemviews/qitemselectionmodel.cpp:1099
#13 0x00007f695fc381dc in
KDevelop::LaunchConfigurationDialog::LaunchConfigurationDialog
(this=0x7fff7b3729e0, parent=<value optimized out>)
    at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/shell/launchconfigurationdialog.cpp:95
#14 0x00007f695fc0f05a in configureLaunches (this=0x8d70a0,
_c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7b372ba0) at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/shell/runcontroller.cpp:142
#15 KDevelop::RunController::qt_metacall (this=0x8d70a0, _c=InvokeMetaMethod,
_id=<value optimized out>, _a=0x7fff7b372ba0)
    at
/0S/0tmp/DL-CVS/kdevelop/kdevplatform.p/0build9/shell/runcontroller.moc:105
#16 0x00007f695d14ce97 in QMetaObject::activate (sender=0x884840, m=<value
optimized out>, local_signal_index=<value optimized out>, argv=0x0) at
kernel/qobject.cpp:3293
#17 0x00007f695c2ae292 in QAction::triggered (this=0x7f695b71ea00, _t1=false)
at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f695c2b0360 in QAction::activate (this=0x884840, event=<value
optimized out>) at kernel/qaction.cpp:1255
#19 0x00007f695c70126d in QMenuPrivate::activateCausedStack (this=0x9ac990,
causedStack=..., action=0x884840, action_e=Trigger, self=true) at
widgets/qmenu.cpp:1011
#20 0x00007f695c706cef in QMenuPrivate::activateAction (this=0x9ac990,
action=0x884840, action_e=Trigger, self=64) at widgets/qmenu.cpp:1103
#21 0x00007f695d874491 in KMenu::mouseReleaseEvent (this=0x9bc6b0,
e=0x7fff7b373890) at /usr/src/debug/kdelibs-4.4.3/kdeui/widgets/kmenu.cpp:471
#22 0x00007f695c30cbad in QWidget::event (this=0x7f695b71ea00,
event=0x7fff7b373890) at kernel/qwidget.cpp:7998
#23 0x00007f695c708ee3 in QMenu::event (this=0x9bc6b0, e=0x7fff7b373890) at
widgets/qmenu.cpp:2414
#24 0x00007f695c2b463d in QApplicationPrivate::notify_helper (this=0x637460,
receiver=0x9bc6b0, e=0x7fff7b373890) at kernel/qapplication.cpp:4300
#25 0x00007f695c2bca2c in QApplication::notify (this=<value optimized out>,
receiver=0x9bc6b0, e=0x7fff7b373890) at kernel/qapplication.cpp:3865
#26 0x00007f695d889a1b in KApplication::notify (this=0x7fff7b374820,
receiver=0x9bc6b0, event=0x7fff7b373890) at
/usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302
#27 0x00007f695d1394cc in QCoreApplication::notifyInternal
(this=0x7fff7b374820, receiver=0x9bc6b0, event=0x7fff7b373890) at
kernel/qcoreapplication.cpp:704
#28 0x00007f695c2bb533 in sendEvent (receiver=0x9bc6b0, event=0x7fff7b373890,
alienWidget=0x0, nativeWidget=0x9bc6b0, buttonDown=<value optimized out>,
lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x9bc6b0,
event=0x7fff7b373890, alienWidget=0x0, nativeWidget=0x9bc6b0, buttonDown=<value
optimized out>, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#30 0x00007f695c33f153 in QETWidget::translateMouseEvent (this=0x9bc6b0,
event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#31 0x00007f695c33dbc8 in QApplication::x11ProcessEvent (this=0x7fff7b374820,
event=0x7fff7b374220) at kernel/qapplication_x11.cpp:3501
#32 0x00007f695c36794a in x11EventSourceDispatch (s=0x63b040, callback=0,
user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f6955adbf6a in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#34 0x00007f6955adf8f8 in g_main_context_iterate () from
/usr/lib64/libglib-2.0.so.0
#35 0x00007f6955adfabc in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#36 0x00007f695d163bfc in QEventDispatcherGlib::processEvents (this=0x637420,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x00007f695c3674df in QGuiEventDispatcherGlib::processEvents
(this=0x7f695b71ea00, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f695d137d92 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f695d13816c in QEventLoop::exec (this=0x7fff7b374550, flags=...) at
kernel/qeventloop.cpp:201
#40 0x00007f695d13a696 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:981
#41 0x0000000000408e65 in main (argc=1, argv=0x7fff7b3760e8) at
/0S/0tmp/DL-CVS/kdevelop/kdevelop/app/main.cpp:379


Reproducible: Always




openSUSE 11.1 x86_64

-- 
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