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

List:       kdevelop-bugs
Subject:    [Bug 242428] New: Crash on application start
From:       David Irvine <david.irvine () maidsafe ! net>
Date:       2010-06-21 22:24:02
Message-ID: bug-242428-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Crash on application start
           Product: kdevelop
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: david.irvine@maidsafe.net


Application: kdevelop (4.0.0 (using KDevPlatform 1.0.0))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
using ubuntu 10.04
altering cmakelists.txt in project to try and recodinse kdevelop (useing build
dir  == kdev) every restart crashes on startup. Hope this is useful. Cmake
integration is not complete I do not think. We build based on build dirs and
rename exe (use postfix based on build type) which we do have to ignore for the
likes of msvc and kdev.

The crash can be reproduced every time.

 -- Backtrace:
Application: KDevelop (kdevelop.bin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77a5710 (LWP 20508))]

Thread 7 (Thread 0xb4c28b70 (LWP 20510)):
#0  0x00a7b422 in __kernel_vsyscall ()
#1  0x00249342 in pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:179
#2  0x02b55a34 in __pthread_cond_timedwait (cond=0xa350740, mutex=0xa350728,
abstime=0xb4c282b0) at forward.c:152
#3  0x00aebddf in QWaitConditionPrivate::wait (this=0xa43c3ec, mutex=0xa43c3f0,
time=200000) at thread/qwaitcondition_unix.cpp:85
#4  QWaitCondition::wait (this=0xa43c3ec, mutex=0xa43c3f0, time=200000) at
thread/qwaitcondition_unix.cpp:159
#5  0x09a234e5 in KDevelop::DUChainPrivate::CleanupThread::run (this=0xa43c3e0)
at ../../language/duchain/duchain.cpp:286
#6  0x00aeaefe in QThreadPrivate::start (arg=0xa43c3e0) at
thread/qthread_unix.cpp:248
#7  0x0024496e in start_thread (arg=0xb4c28b70) at pthread_create.c:300
#8  0x02b48a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xb4416b70 (LWP 20511)):
#0  0x00a7b422 in __kernel_vsyscall ()
#1  0x00249015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02b559dd in __pthread_cond_wait (cond=0xa4a6be0, mutex=0xa4a6bc8) at
forward.c:139
#3  0x00aebe57 in QWaitConditionPrivate::wait (this=0xa4bb270, mutex=0xa269f20,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa4bb270, mutex=0xa269f20, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5  0x029a0870 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa4bb258,
th=0xa255220) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x029a338c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xa183bf8, th=0xa255220) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0299f27b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xa4bb258, th=0xa255220) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x029a3482 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa183bf8,
th=0xa255220) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x029a04d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa4bb258,
th=0xa255220, previous=0xa4e0310) at
../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x029a151e in ThreadWeaver::ThreadRunHelper::run (this=0xb44162f4,
parent=0xa4bb258, th=0xa255220) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x029a1c3b in ThreadWeaver::Thread::run (this=0xa255220) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00aeaefe in QThreadPrivate::start (arg=0xa255220) at
thread/qthread_unix.cpp:248
#13 0x0024496e in start_thread (arg=0xb4416b70) at pthread_create.c:300
#14 0x02b48a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb3c15b70 (LWP 20512)):
[KCrash Handler]
#6  QString::operator< (this=0xa4783b0, other=...) at tools/qstring.cpp:2124
#7  0x05571b56 in CMakeCondition::typeName(QString const&) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#8  0x05571df7 in CMakeCondition::prevOperator(QList<QString>::const_iterator,
QList<QString>::const_iterator) const () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#9  0x05571e6f in
CMakeCondition::evaluateCondition(QList<QString>::const_iterator,
QList<QString>::const_iterator) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#10 0x05572bc7 in
CMakeCondition::evaluateCondition(QList<QString>::const_iterator,
QList<QString>::const_iterator) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#11 0x0557375b in CMakeCondition::condition(QStringList const&) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#12 0x055976a9 in CMakeProjectVisitor::visit(IfAst const*) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#13 0x0556d958 in ?? () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#14 0x0557ace4 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&,
int, bool) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#15 0x02712783 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#16 0x02049110 in KDevelop::ImportProjectJobPrivate::import (this=0xa4aaa50,
folder=0xa49d890) at ../../project/importprojectjob.cpp:53
#17 0x02048c04 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void,
KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*,
KDevelop::ProjectFolderItem*>::runFunctor (this=0xa4a63e8)
    at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#18 0x02048f2e in QtConcurrent::RunFunctionTask<void>::run (this=0xa4a63e8) at
/usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#19 0x00ae0a2c in QThreadPoolThread::run (this=0xa4a6730) at
concurrent/qthreadpool.cpp:106
#20 0x00aeaefe in QThreadPrivate::start (arg=0xa4a6730) at
thread/qthread_unix.cpp:248
#21 0x0024496e in start_thread (arg=0xb3c15b70) at pthread_create.c:300
#22 0x02b48a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb2afeb70 (LWP 20521)):
#0  0x00a7b422 in __kernel_vsyscall ()
#1  0x00249015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02b559dd in __pthread_cond_wait (cond=0xa4a6be0, mutex=0xa4a6bc8) at
forward.c:139
#3  0x00aebe57 in QWaitConditionPrivate::wait (this=0xa4bb270, mutex=0xa269f20,
time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xa4bb270, mutex=0xa269f20, time=4294967295) at
thread/qwaitcondition_unix.cpp:159
#5  0x029a0870 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa4bb258,
th=0xa43c1d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x029a338c in ThreadWeaver::WorkingHardState::waitForAvailableJob
(this=0xa183bf8, th=0xa43c1d8) at
../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x0299f27b in ThreadWeaver::WeaverImpl::waitForAvailableJob
(this=0xa4bb258, th=0xa43c1d8) at
../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x029a3482 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa183bf8,
th=0xa43c1d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x029a04d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa4bb258,
th=0xa43c1d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x029a151e in ThreadWeaver::ThreadRunHelper::run (this=0xb2afe2f4,
parent=0xa4bb258, th=0xa43c1d8) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x029a1c3b in ThreadWeaver::Thread::run (this=0xa43c1d8) at
../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00aeaefe in QThreadPrivate::start (arg=0xa43c1d8) at
thread/qthread_unix.cpp:248
#13 0x0024496e in start_thread (arg=0xb2afeb70) at pthread_create.c:300
#14 0x02b48a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb22fdb70 (LWP 20524)):
#0  0x00a7b422 in __kernel_vsyscall ()
#1  0x02b41971 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x00c16087 in qt_safe_select (nfds=11, fdread=0xb22fbb88,
fdwrite=0xb22fbb08, fdexcept=0x0, orig_timeout=0xb22fba98) at
kernel/qcore_unix.cpp:153
#3  0x00bc61fe in select_msecs (nfds=11, fdread=0xb22fbb88, fdwrite=0xb22fbb08,
timeout=29997) at io/qprocess_unix.cpp:885
#4  0x00bc70be in QProcessPrivate::waitForFinished (this=0xaf5088d8,
msecs=29999) at io/qprocess_unix.cpp:1101
#5  0x00b834ae in QProcess::waitForFinished (this=0xb22fbd14, msecs=29999) at
io/qprocess.cpp:1688
#6  0x0558b6f2 in CMakeProjectVisitor::visit(ExecProgramAst const*) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#7  0x0556d6d8 in ?? () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#8  0x0557ace4 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&,
int, bool) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#9  0x05597908 in CMakeProjectVisitor::visit(IfAst const*) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#10 0x0556d958 in ?? () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#11 0x0557ace4 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&,
int, bool) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#12 0x05593fdc in CMakeProjectVisitor::visit(FindPackageAst const*) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#13 0x0556d7b8 in ?? () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#14 0x0557ace4 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&,
int, bool) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#15 0x055950c3 in CMakeProjectVisitor::visit(IncludeAst const*) () from
/usr/lib/libkdev4cmakecommon.so.4.0.0
#16 0x0556d978 in ?? () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#17 0x0557ace4 in CMakeProjectVisitor::walk(QList<CMakeFunctionDesc> const&,
int, bool) () from /usr/lib/libkdev4cmakecommon.so.4.0.0
#18 0x02712783 in ?? () from /usr/lib/kde4/kdevcmakemanager.so
#19 0x02049110 in KDevelop::ImportProjectJobPrivate::import (this=0xa4ded88,
folder=0xa4de410) at ../../project/importprojectjob.cpp:53
#20 0x02048c04 in QtConcurrent::VoidStoredMemberFunctionPointerCall1<void,
KDevelop::ImportProjectJobPrivate, KDevelop::ProjectFolderItem*,
KDevelop::ProjectFolderItem*>::runFunctor (this=0xa4ec250)
    at /usr/include/qt4/QtCore/qtconcurrentstoredfunctioncall.h:426
#21 0x02048f2e in QtConcurrent::RunFunctionTask<void>::run (this=0xa4ec250) at
/usr/include/qt4/QtCore/qtconcurrentrunbase.h:120
#22 0x00ae0a2c in QThreadPoolThread::run (this=0xa4ec408) at
concurrent/qthreadpool.cpp:106
#23 0x00aeaefe in QThreadPrivate::start (arg=0xa4ec408) at
thread/qthread_unix.cpp:248
#24 0x0024496e in start_thread (arg=0xb22fdb70) at pthread_create.c:300
#25 0x02b48a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xafe99b70 (LWP 20672)):
#0  0x00a7b422 in __kernel_vsyscall ()
#1  0x00249015 in pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x02b559dd in __pthread_cond_wait (cond=0x32fe48c, mutex=0x32fe474) at
forward.c:139
#3  0x03220db7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x32f93a0) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#4  0x03220e01 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x32f93a0) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#5  0x0024496e in start_thread (arg=0xafe99b70) at pthread_create.c:300
#6  0x02b48a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77a5710 (LWP 20508)):
#0  0x00a7b422 in __kernel_vsyscall ()
#1  0x02b3ab86 in *__GI___poll (fds=0x2bd0ff4, nfds=1, timeout=-1) at
../sysdeps/unix/sysv/linux/poll.c:87
#2  0x07f28d60 in ?? () from /usr/lib/libxcb.so.1
#3  0x07f2a9b2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x033eaf96 in _XReply () from /usr/lib/libX11.so.6
#5  0x033c8729 in XGetSelectionOwner () from /usr/lib/libX11.so.6
#6  0x009bcc21 in KWindowSystem::compositingActive () at
../../kdeui/windowmanagement/kwindowsystem_x11.cpp:761
#7  0x026c69c5 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#8  0x00bec5fa in QCoreApplicationPrivate::sendThroughObjectEventFilters
(this=0x9ffaa08, receiver=0xa6d3570, event=0xbf8a2ea0) at
kernel/qcoreapplication.cpp:819
#9  0x00e5c319 in QApplicationPrivate::notify_helper (this=0x9ffaa08,
receiver=0xa6d3570, e=0xbf8a2ea0) at kernel/qapplication.cpp:4296
#10 0x00e62f59 in QApplication::notify (this=0xbf8a3208, receiver=0xa6d3570,
e=0xbf8a2ea0) at kernel/qapplication.cpp:4265
#11 0x0085ef2a in KApplication::notify (this=0xbf8a3208, receiver=0xa6d3570,
event=0xbf8a2ea0) at ../../kdeui/kernel/kapplication.cpp:302
#12 0x00bed35b in QCoreApplication::notifyInternal (this=0xbf8a3208,
receiver=0xa6d3570, event=0xbf8a2ea0) at kernel/qcoreapplication.cpp:704
#13 0x00ec0305 in QCoreApplication::sendEvent (this=0xa6db748) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#14 QWidgetPrivate::show_helper (this=0xa6db748) at kernel/qwidget.cpp:7196
#15 0x00ec0523 in QWidgetPrivate::show_recursive (this=0xa6db748) at
kernel/qwidget.cpp:7067
#16 0x00ec061c in QWidgetPrivate::showChildren (this=0xa1e92c8,
spontaneous=false) at kernel/qwidget.cpp:7504
#17 0x00ec0201 in QWidgetPrivate::show_helper (this=0xa1e92c8) at
kernel/qwidget.cpp:7143
#18 0x00ec27fb in QWidget::setVisible (this=0xa1fe7e8, visible=true) at
kernel/qwidget.cpp:7418
#19 0x0015ee1a in KDevelop::MainWindow::setVisible (this=0xa1fe7e8,
visible=true) at ../../shell/mainwindow.cpp:293
#20 0x001729fc in QWidget::show (this=0xa193518, mode=KDevelop::Core::Default)
at /usr/include/qt4/QtGui/qwidget.h:485
#21 KDevelop::CorePrivate::initialize (this=0xa193518,
mode=KDevelop::Core::Default) at ../../shell/core.cpp:196
#22 0x00173e46 in KDevelop::Core::initialize (splash=0xa1900f0,
mode=KDevelop::Core::Default) at ../../shell/core.cpp:230
#23 0x0804e9e6 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