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

List:       kdevelop-bugs
Subject:    [Bug 274500] New: Crash on startup (with empty .kdevduchain)
From:       Markus <markus.hauser () vivid-planet ! com>
Date:       2011-05-30 7:28:40
Message-ID: bug-274500-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Crash on startup (with empty .kdevduchain)
           Product: kdevelop
           Version: unspecified
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: markus.hauser@vivid-planet.com


Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

Just started Kdevelop and before any UI was visible, it crashed. emptied
.kdevduchain folder before trying to start - same result.
KDevelop should have opened some bigger PHP Projects.

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
    in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
[Current thread is 1 (Thread 0x7fb953dd8780 (LWP 3089))]

Thread 9 (Thread 0x7fb93bf82700 (LWP 3090)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007fb9522e679e in wait (this=<value optimized out>, mutex=0x3670450,
time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3670450,
time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb94e91122b in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#4  0x00007fb9522e6175 in QThreadPrivate::start (arg=0x3670430) at
thread/qthread_unix.cpp:320
#5  0x00007fb9503a9d8c in start_thread (arg=0x7fb93bf82700) at
pthread_create.c:304
#6  0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fb92b6c5700 (LWP 3099)):
#0  __pthread_mutex_unlock (mutex=0x45db968) at pthread_mutex_unlock.c:289
#1  0x00007fb94c1acfef in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb94c1adf9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb94c1ae639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb9523f8446 in QEventDispatcherGlib::processEvents (this=0x45b32b0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb9523cc882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb9523ccabc in QEventLoop::exec (this=0x7fb92b6c4e00, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007fb9522e3924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#8  0x00007fb9522e6175 in QThreadPrivate::start (arg=0x45d8070) at
thread/qthread_unix.cpp:320
#9  0x00007fb9503a9d8c in start_thread (arg=0x7fb92b6c5700) at
pthread_create.c:304
#10 0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fb92a2fd700 (LWP 3103)):
#0  pthread_mutex_lock (mutex=0x482b728) at forward.c:182
#1  0x00007fb94c1ad0d3 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb94c1adf9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb94c1ae639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb9523f8446 in QEventDispatcherGlib::processEvents (this=0x482b3e0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007fb9523cc882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fb9523ccabc in QEventLoop::exec (this=0x7fb92a2fcdd0, flags=...) at
kernel/qeventloop.cpp:201
#7  0x00007fb9522e3924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#8  0x00007fb9523aec2f in QInotifyFileSystemWatcherEngine::run (this=0x482a900)
at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fb9522e6175 in QThreadPrivate::start (arg=0x482a900) at
thread/qthread_unix.cpp:320
#10 0x00007fb9503a9d8c in start_thread (arg=0x7fb92a2fd700) at
pthread_create.c:304
#11 0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fb929afc700 (LWP 3104)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb93c36a2a2 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7fb93c683180) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fb93c36a2d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7fb93c691254) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fb9503a9d8c in start_thread (arg=0x7fb929afc700) at
pthread_create.c:304
#4  0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb9217ad700 (LWP 3121)):
#0  __pthread_getspecific (key=1) at pthread_getspecific.c:32
#1  0x00007fb94c1d65e9 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb94c1ac630 in g_main_context_acquire () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb94c1adf21 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb94c1ae639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb9523f8446 in QEventDispatcherGlib::processEvents (this=0x54a97a0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007fb9523cc882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb9523ccabc in QEventLoop::exec (this=0x7fb9217acdd0, flags=...) at
kernel/qeventloop.cpp:201
#8  0x00007fb9522e3924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#9  0x00007fb9523aec2f in QInotifyFileSystemWatcherEngine::run (this=0x5461740)
at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fb9522e6175 in QThreadPrivate::start (arg=0x5461740) at
thread/qthread_unix.cpp:320
#11 0x00007fb9503a9d8c in start_thread (arg=0x7fb9217ad700) at
pthread_create.c:304
#12 0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb920f05700 (LWP 3170)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb949491832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007fb9503a9d8c in start_thread (arg=0x7fb920f05700) at
pthread_create.c:304
#3  0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb91f435700 (LWP 3177)):
[KCrash Handler]
#6  0x00007fb94e93d1e1 in KDevelop::Declaration::indexedType() const () from
/usr/lib/libkdevplatformlanguage.so.3
#7  0x00007fb94e94db3a in ?? () from /usr/lib/libkdevplatformlanguage.so.3
#8  0x00007fb92bb7dff2 in Php::TypeBuilder::visitStatement(Php::StatementAst*)
() from /usr/lib/libkdev4phpduchain.so
#9  0x00007fb92bb6c796 in
Php::DeclarationBuilder::visitStatement(Php::StatementAst*) () from
/usr/lib/libkdev4phpduchain.so
#10 0x00007fb92b926f96 in
Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from
/usr/lib/libkdev4phpparser.so
#11 0x00007fb92b92635d in
Php::DefaultVisitor::visitInnerStatementList(Php::InnerStatementListAst*) ()
from /usr/lib/libkdev4phpparser.so
#12 0x00007fb92b926a7a in
Php::DefaultVisitor::visitStatement(Php::StatementAst*) () from
/usr/lib/libkdev4phpparser.so
#13 0x00007fb92bb7dac0 in Php::TypeBuilder::visitStatement(Php::StatementAst*)
() from /usr/lib/libkdev4phpduchain.so
#14 0x00007fb92bb6c796 in
Php::DeclarationBuilder::visitStatement(Php::StatementAst*) () from
/usr/lib/libkdev4phpduchain.so
#15 0x00007fb92b926a96 in
Php::DefaultVisitor::visitStatement(Php::StatementAst*) () from
/usr/lib/libkdev4phpparser.so
#16 0x00007fb92bb7dac0 in Php::TypeBuilder::visitStatement(Php::StatementAst*)
() from /usr/lib/libkdev4phpduchain.so
#17 0x00007fb92bb6c796 in
Php::DeclarationBuilder::visitStatement(Php::StatementAst*) () from
/usr/lib/libkdev4phpduchain.so
#18 0x00007fb92b926f96 in
Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from
/usr/lib/libkdev4phpparser.so
#19 0x00007fb92b92635d in
Php::DefaultVisitor::visitInnerStatementList(Php::InnerStatementListAst*) ()
from /usr/lib/libkdev4phpparser.so
#20 0x00007fb92bb73f5e in
Php::ContextBuilder::visitClassStatement(Php::ClassStatementAst*) () from
/usr/lib/libkdev4phpduchain.so
#21 0x00007fb92bb7cb52 in
Php::TypeBuilder::visitClassStatement(Php::ClassStatementAst*) () from
/usr/lib/libkdev4phpduchain.so
#22 0x00007fb92bb6d59a in
Php::DeclarationBuilder::visitClassStatement(Php::ClassStatementAst*) () from
/usr/lib/libkdev4phpduchain.so
#23 0x00007fb92b92595d in
Php::DefaultVisitor::visitClassBody(Php::ClassBodyAst*) () from
/usr/lib/libkdev4phpparser.so
#24 0x00007fb92bb74b02 in
Php::ContextBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*)
() from /usr/lib/libkdev4phpduchain.so
#25 0x00007fb92bb6a92b in
Php::DeclarationBuilder::visitClassDeclarationStatement(Php::ClassDeclarationStatementAst*)
() from /usr/lib/libkdev4phpduchain.so
#26 0x00007fb92b926fb0 in
Php::DefaultVisitor::visitTopStatement(Php::TopStatementAst*) () from
/usr/lib/libkdev4phpparser.so
#27 0x00007fb92bb6861e in
Php::DeclarationBuilder::visitOuterTopStatement(Php::OuterTopStatementAst*) ()
from /usr/lib/libkdev4phpduchain.so
#28 0x00007fb92b926a4d in Php::DefaultVisitor::visitStart(Php::StartAst*) ()
from /usr/lib/libkdev4phpparser.so
#29 0x00007fb92bb74fbf in Php::ContextBuilder::startVisiting(Php::AstNode*) ()
from /usr/lib/libkdev4phpduchain.so
#30 0x00007fb92bb6fad9 in Php::DeclarationBuilder::supportBuild(Php::AstNode*,
KDevelop::DUContext*) () from /usr/lib/libkdev4phpduchain.so
#31 0x00007fb92bb6a401 in
Php::DeclarationBuilder::build(KDevelop::IndexedString const&, Php::AstNode*,
KDevelop::ReferencedTopDUContext) () from /usr/lib/libkdev4phpduchain.so
#32 0x00007fb92bddd150 in ?? () from /usr/lib/kde4/kdevphplanguagesupport.so
#33 0x00007fb949ce7c21 in ThreadWeaver::JobRunHelper::runTheJob
(this=0x7fb91f434da0, th=0x4e18c10, job=0x7fb9240ff4f0) at
../../../threadweaver/Weaver/Job.cpp:106
#34 0x00007fb949ce7d4c in ThreadWeaver::Job::execute (this=0x7fb9240ff4f0,
th=0x4e18c10) at ../../../threadweaver/Weaver/Job.cpp:135
#35 0x00007fb949ce750f in ThreadWeaver::ThreadRunHelper::run
(this=0x7fb91f434e20, parent=0x276d940, th=0x4e18c10) at
../../../threadweaver/Weaver/Thread.cpp:95
#36 0x00007fb949ce75cb in ThreadWeaver::Thread::run (this=0x4e18c10) at
../../../threadweaver/Weaver/Thread.cpp:142
#37 0x00007fb9522e6175 in QThreadPrivate::start (arg=0x4e18c10) at
thread/qthread_unix.cpp:320
#38 0x00007fb9503a9d8c in start_thread (arg=0x7fb91f435700) at
pthread_create.c:304
#39 0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#40 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb91ec34700 (LWP 3178)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb9522e682b in wait (this=<value optimized out>, mutex=0x270c8c0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x270c8c0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb949ce60b4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x276d940,
th=0x4d02560) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fb949ce8723 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x27125d0, th=0x4d02560) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fb949ce873c in ThreadWeaver::WorkingHardState::applyForWork
(this=0x27125d0, th=0x4d02560) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fb949ce753f in ThreadWeaver::ThreadRunHelper::run
(this=0x7fb91ec33e20, parent=0x276d940, th=0x4d02560) at
../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fb949ce75cb in ThreadWeaver::Thread::run (this=0x4d02560) at
../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fb9522e6175 in QThreadPrivate::start (arg=0x4d02560) at
thread/qthread_unix.cpp:320
#9  0x00007fb9503a9d8c in start_thread (arg=0x7fb91ec34700) at
pthread_create.c:304
#10 0x00007fb95102104d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb953dd8780 (LWP 3089)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb9522e682b in wait (this=<value optimized out>, mutex=0x546a9f0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x546a9f0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb9522e5910 in QThread::wait (this=<value optimized out>,
time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007fb9523a25d0 in QFileSystemWatcher::~QFileSystemWatcher
(this=0x546a670, __in_chrg=<value optimized out>) at
io/qfilesystemwatcher.cpp:446
#5  0x00007fb9523a26a9 in QFileSystemWatcher::~QFileSystemWatcher
(this=0x546a670, __in_chrg=<value optimized out>) at
io/qfilesystemwatcher.cpp:462
#6  0x00007fb9523dfc14 in QObjectPrivate::deleteChildren (this=0x546a5d0) at
kernel/qobject.cpp:1964
#7  0x00007fb9523e45f4 in QObject::~QObject (this=0x5465d50, __in_chrg=<value
optimized out>) at kernel/qobject.cpp:946
#8  0x00007fb94a81f7d9 in Solid::Backends::Fstab::FstabWatcher::~FstabWatcher
(this=0x5465d50, __in_chrg=<value optimized out>) at
../../../solid/solid/backends/fstab/fstabwatcher.cpp:51
#9  0x00007fb950f74961 in __run_exit_handlers (status=1) at exit.c:78
#10 exit (status=1) at exit.c:100
#11 0x00007fb9517fad48 in qt_xio_errhandler () at
kernel/qapplication_x11.cpp:781
#12 0x00007fb952bb3638 in KApplication::xioErrhandler (this=0x7fff125965e0,
dpy=0x22b09c0) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007fb94d63bdee in _XIOError () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fb94d63962d in _XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fb94d629f1f in XEventsQueued () from
/usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fb951835c4c in x11EventSourceCheck (s=0x2296af0) at
kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007fb94c1ad854 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fb94c1ae122 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fb94c1ae639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fb9523f83ef in QEventDispatcherGlib::processEvents (this=0x223a340,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#21 0x00007fb951835dfe in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fb9523cc882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fb9523ccabc in QEventLoop::exec (this=0x7fff125962d0, flags=...) at
kernel/qeventloop.cpp:201
#24 0x00007fb9523d0ecb in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1008
#25 0x000000000040b989 in _start ()

Possible duplicates by query: bug 273128, bug 271763, bug 269369.

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