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

List:       kdevelop-bugs
Subject:    [Bug 285208] New: Crashed when closing project in session
From:       Mateusz Loskot <mateusz () loskot ! net>
Date:       2011-10-28 20:56:19
Message-ID: bug-285208-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Crashed when closing project in session
           Product: kdevelop
           Version: 4.2.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: mateusz@loskot.net


Application: kdevelop (4.2.2)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Linux Mint 11 Katya

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

I launched kdevelop and my last session loaded with single project attached.
I noticed I see the project attached twice to the session, means I see two
projects with the same name.
I right-clicked at last one and selected Close Project.
Then KDevelop crashed.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f90883f4780 (LWP 4371))]

Thread 12 (Thread 0x7f9076d9f700 (LWP 4372)):
#0  0x00007f90807bb9f6 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f90776fec44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#2  0x00007f90807e23e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f90849b7d8c in start_thread (arg=0x7f9076d9f700) at
pthread_create.c:304
#4  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f90635b3700 (LWP 4388)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:216
#1  0x00007f90868f979e in wait (this=<value optimized out>, mutex=0x29c7fe0,
time=1000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x29c7fe0,
time=1000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f9082f1e22b in KDevelop::DUChainPrivate::CleanupThread::run
(this=0x29c7fc0) at ../../language/duchain/duchain.cpp:286
#4  0x00007f90868f9175 in QThreadPrivate::start (arg=0x29c7fc0) at
thread/qthread_unix.cpp:320
#5  0x00007f90849b7d8c in start_thread (arg=0x7f90635b3700) at
pthread_create.c:304
#6  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f90520e5700 (LWP 4409)):
#0  0x00007f9085622f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f90807bb104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f90807bb639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9086a0b446 in QEventDispatcherGlib::processEvents (this=0x33f9420,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f90869df882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f90869dfabc in QEventLoop::exec (this=0x7f90520e4e00, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f90868f6924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#7  0x00007f90868f9175 in QThreadPrivate::start (arg=0x341c6f0) at
thread/qthread_unix.cpp:320
#8  0x00007f90849b7d8c in start_thread (arg=0x7f90520e5700) at
pthread_create.c:304
#9  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f90518e4700 (LWP 4410)):
#0  0x00007f90807e3570 in g_thread_self () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f90807bb629 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9086a0b446 in QEventDispatcherGlib::processEvents (this=0x3403030,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f90869df882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f90869dfabc in QEventLoop::exec (this=0x7f90518e3e00, flags=...) at
kernel/qeventloop.cpp:201
#5  0x00007f90868f6924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#6  0x00007f90868f9175 in QThreadPrivate::start (arg=0x33f2ea0) at
thread/qthread_unix.cpp:320
#7  0x00007f90849b7d8c in start_thread (arg=0x7f90518e4700) at
pthread_create.c:304
#8  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f90505f5700 (LWP 4483)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90641992a2 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f90644b2180) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f90641992d9 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f90644c0254) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f90849b7d8c in start_thread (arg=0x7f90505f5700) at
pthread_create.c:304
#4  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f904f74a700 (LWP 4519)):
#0  0x00007f9085622f03 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f90807bb104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f90807bb639 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9086a0b446 in QEventDispatcherGlib::processEvents (this=0x4f36930,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f90869df882 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f90869dfabc in QEventLoop::exec (this=0x7f904f749dd0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f90868f6924 in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:492
#7  0x00007f90869c1c2f in QInotifyFileSystemWatcherEngine::run
(this=0x7f905c4c5130) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f90868f9175 in QThreadPrivate::start (arg=0x7f905c4c5130) at
thread/qthread_unix.cpp:320
#9  0x00007f90849b7d8c in start_thread (arg=0x7f904f74a700) at
pthread_create.c:304
#10 0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9047dd1700 (LWP 4748)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f907da9e832 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f90849b7d8c in start_thread (arg=0x7f9047dd1700) at
pthread_create.c:304
#3  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f904633a700 (LWP 4749)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90868f982b in wait (this=<value optimized out>, mutex=0x1b01830,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b01830,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f907e2f30b4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b04fc0,
th=0x3375e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f907e2f5723 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1af2ae0, th=0x3375e50) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f907e2f573c in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1af2ae0, th=0x3375e50) at
../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f907e2f453f in ThreadWeaver::ThreadRunHelper::run
(this=0x7f9046339e20, parent=0x1b04fc0, th=0x3375e50) at
../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f907e2f45cb in ThreadWeaver::Thread::run (this=0x3375e50) at
../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f90868f9175 in QThreadPrivate::start (arg=0x3375e50) at
thread/qthread_unix.cpp:320
#9  0x00007f90849b7d8c in start_thread (arg=0x7f904633a700) at
pthread_create.c:304
#10 0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9045b39700 (LWP 4750)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90868f982b in wait (this=<value optimized out>, mutex=0x1b01830,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1b01830,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f907e2f30b4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1b04fc0,
th=0x5561d10) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f907e2f5723 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x1af2ae0, th=0x5561d10) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f907e2f453f in ThreadWeaver::ThreadRunHelper::run
(this=0x7f9045b38e20, parent=0x1b04fc0, th=0x5561d10) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f907e2f45cb in ThreadWeaver::Thread::run (this=0x5561d10) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f90868f9175 in QThreadPrivate::start (arg=0x5561d10) at
thread/qthread_unix.cpp:320
#8  0x00007f90849b7d8c in start_thread (arg=0x7f9045b39700) at
pthread_create.c:304
#9  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9061e87700 (LWP 9944)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90868f982b in wait (this=<value optimized out>, mutex=0x6319ac0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x6319ac0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f907e2f30b4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81cdb60,
th=0x7d6e090) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f907e2f5723 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x779ee00, th=0x7d6e090) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f907e2f453f in ThreadWeaver::ThreadRunHelper::run
(this=0x7f9061e86e20, parent=0x81cdb60, th=0x7d6e090) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f907e2f45cb in ThreadWeaver::Thread::run (this=0x7d6e090) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f90868f9175 in QThreadPrivate::start (arg=0x7d6e090) at
thread/qthread_unix.cpp:320
#8  0x00007f90849b7d8c in start_thread (arg=0x7f9061e87700) at
pthread_create.c:304
#9  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f906f7ac700 (LWP 9945)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f90868f982b in wait (this=<value optimized out>, mutex=0x6319ac0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x6319ac0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f907e2f30b4 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x81cdb60,
th=0x6e5ff00) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f907e2f5723 in ThreadWeaver::WorkingHardState::applyForWork
(this=0x779ee00, th=0x6e5ff00) at
../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f907e2f453f in ThreadWeaver::ThreadRunHelper::run
(this=0x7f906f7abe20, parent=0x81cdb60, th=0x6e5ff00) at
../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f907e2f45cb in ThreadWeaver::Thread::run (this=0x6e5ff00) at
../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f90868f9175 in QThreadPrivate::start (arg=0x6e5ff00) at
thread/qthread_unix.cpp:320
#8  0x00007f90849b7d8c in start_thread (arg=0x7f906f7ac700) at
pthread_create.c:304
#9  0x00007f908563004d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f90883f4780 (LWP 4371)):
[KCrash Handler]
#6  0x000000000644aa60 in ?? ()
#7  0x00007f908350abbe in KDevelop::ProjectModel::data (this=<value optimized
out>, index=<value optimized out>, role=<value optimized out>) at
../../project/projectmodel.cpp:841
#8  0x00007f908633604c in QSortFilterProxyModel::data (this=<value optimized
out>, index=..., role=1) at itemviews/qsortfilterproxymodel.cpp:1715
#9  0x00007f908351648e in ProjectProxyModel::data (this=<value optimized out>,
index=<value optimized out>, role=<value optimized out>) at
../../project/projectproxymodel.cpp:60
#10 0x00007f90863577f4 in data (this=0x4b81020, option=0x7fff1806c0b0,
index=...) at
../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#11 QStyledItemDelegate::initStyleOption (this=0x4b81020,
option=0x7fff1806c0b0, index=...) at itemviews/qstyleditemdelegate.cpp:340
#12 0x00007f9086358a6e in QStyledItemDelegate::sizeHint (this=0x4b81020,
option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445
#13 0x00007f90862f33a9 in QTreeView::sizeHintForColumn (this=<value optimized
out>, column=0) at itemviews/qtreeview.cpp:2737
#14 0x00007f90862c6cc9 in QHeaderViewPrivate::resizeSections (this=0x4b81730,
globalMode=QHeaderView::Interactive, useGlobalMode=false) at
itemviews/qheaderview.cpp:3008
#15 0x00007f90862c77a9 in executePostedResize (this=<value optimized out>,
position=0) at
../../include/QtGui/private/../../../src/gui/itemviews/qheaderview_p.h:230
#16 QHeaderView::visualIndexAt (this=<value optimized out>, position=0) at
itemviews/qheaderview.cpp:587
#17 0x00007f90862eec03 in QTreeView::indexRowSizeHint (this=0x4b7fd70,
index=...) at itemviews/qtreeview.cpp:2762
#18 0x00007f90862f2859 in QTreeViewPrivate::itemHeight (this=0x4b7e450, item=0)
at itemviews/qtreeview.cpp:3229
#19 0x00007f90862f2aff in QTreeViewPrivate::updateScrollBars (this=0x4b7e450)
at itemviews/qtreeview.cpp:3456
#20 0x00007f90862f2eed in QTreeView::updateGeometries (this=0x4b7fd70) at
itemviews/qtreeview.cpp:2686
#21 0x00007f90862ae485 in QAbstractItemView::doItemsLayout (this=0x4b7fd70) at
itemviews/qabstractitemview.cpp:1148
#22 0x00007f90862f7fc9 in QTreeView::doItemsLayout (this=0x4b7fd70) at
itemviews/qtreeview.cpp:2027
#23 0x00007f90862f4205 in executePostedLayout (this=0x4b7fd70) at
../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:212
#24 QTreeView::verticalOffset (this=0x4b7fd70) at itemviews/qtreeview.cpp:2072
#25 0x00007f90862be56e in QAbstractItemViewPrivate::contentsOffset (this=<value
optimized out>) at
../../include/QtGui/private/../../../src/gui/itemviews/qabstractitemview_p.h:294
#26 0x00007f9085de665d in QWidgetPrivate::paintBackground (this=<value
optimized out>, painter=0x7fff1806ccc0, rgn=..., flags=0) at
kernel/qwidget.cpp:2355
#27 0x00007f9085debf3c in QWidgetPrivate::drawWidget (this=0x4b7ff70,
pdev=0x29ae1a8, rgn=..., offset=..., flags=68, sharedPainter=0x0,
backingStore=0x29ad5b0) at kernel/qwidget.cpp:5470
#28 0x00007f9085fb298f in QWidgetBackingStore::sync (this=0x29ad5b0) at
painting/qbackingstore.cpp:1325
#29 0x00007f9085de1f60 in QWidgetPrivate::syncBackingStore (this=0x192c450) at
kernel/qwidget.cpp:1842
#30 0x00007f9085def194 in QWidget::event (this=0x192c340, event=0x6008420) at
kernel/qwidget.cpp:8552
#31 0x00007f90861bac0b in QMainWindow::event (this=0x192c340, event=0x6008420)
at widgets/qmainwindow.cpp:1480
#32 0x00007f90872c3afe in KXmlGuiWindow::event (this=0x192c340, ev=0x6008420)
at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#33 0x00007f9085d9d9f4 in QApplicationPrivate::notify_helper (this=0x16e6320,
receiver=0x192c340, e=0x6008420) at kernel/qapplication.cpp:4462
#34 0x00007f9085da23ba in QApplication::notify (this=<value optimized out>,
receiver=0x192c340, e=0x6008420) at kernel/qapplication.cpp:4341
#35 0x00007f90871c86c6 in KApplication::notify (this=0x7fff1806dfb0,
receiver=0x192c340, event=0x6008420) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x0000000000404bf6 in _start ()

Possible duplicates by query: bug 247378.

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