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

List:       kdevelop-bugs
Subject:    [Bug 261430] New: Kdevelop crashed when swapping sessions
From:       Andrei Sebastian Cimpean <andreiamenta () gmail ! com>
Date:       2010-12-28 8:22:10
Message-ID: bug-261430-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: Kdevelop crashed when swapping sessions
           Product: kdevelop
           Version: 4.1.0
          Platform: openSUSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: andreiamenta@gmail.com


Application: kdevelop (4.1.0)
KDE Platform Version: 4.5.4 (KDE 4.5.4) "release 9"
Qt Version: 4.6.3
Operating System: Linux 2.6.34.7-0.5-desktop x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
I was working on a PHP project in KDev and needed to see some code from another
project. Instead of opening Dolphin, I simply swapped sessions. I think I had
all the files saved before doing the swap. The other session opened after the
crash error with no problem.

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

Thread 8 (Thread 0x7ff118a12710 (LWP 4149)):
#0  0x00007ff12c1ca709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff12d72e222 in wait (this=<value optimized out>, mutex=0xb1c2e0,
time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb1c2e0,
time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff129de845e in KDevelop::DUChainPrivate::CleanupThread::run
(this=0xb1c2c0) at
/usr/src/debug/kdevplatform-1.1.0/language/duchain/duchain.cpp:286
#4  0x00007ff12d72dbf5 in QThreadPrivate::start (arg=0xb1c2c0) at
thread/qthread_unix.cpp:248
#5  0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ff109a1e710 (LWP 4167)):
#0  0x00007ff12c4a36b3 in poll () from /lib64/libc.so.6
#1  0x00007ff12732dfd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007ff12732e510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007ff12d83d6d6 in QEventDispatcherGlib::processEvents (this=0x14b9610,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007ff12d814292 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007ff12d814495 in QEventLoop::exec (this=0x7ff109a1de20, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007ff12d72b2cf in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007ff12d72dbf5 in QThreadPrivate::start (arg=0x14ce3f0) at
thread/qthread_unix.cpp:248
#8  0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ff10a21f710 (LWP 4188)):
#0  0x00007ff12c1ca39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff12d72e2bb in wait (this=<value optimized out>, mutex=0x900d10,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x900d10,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1246e03f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa18d20,
th=0x3233a80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1246e2e45 in waitForAvailableJob (this=0x9c2300, th=0x3233a80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x9c2300, th=0x3233a80)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007ff1246e2e5e in ThreadWeaver::WorkingHardState::applyForWork
(this=0x9c2300, th=0x3233a80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007ff1246e07ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7ff10a21ee30, parent=0xa18d20, th=0x3233a80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#8  0x00007ff1246e0878 in ThreadWeaver::Thread::run (this=0x3233a80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#9  0x00007ff12d72dbf5 in QThreadPrivate::start (arg=0x3233a80) at
thread/qthread_unix.cpp:248
#10 0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff106750710 (LWP 4189)):
#0  0x00007ff12c1ca39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff12d72e2bb in wait (this=<value optimized out>, mutex=0x900d10,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x900d10,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1246e03f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa18d20,
th=0x3132370) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1246e2e45 in waitForAvailableJob (this=0x9c2300, th=0x3132370) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x9c2300, th=0x3132370)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007ff1246e07ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7ff10674fe30, parent=0xa18d20, th=0x3132370) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff1246e0878 in ThreadWeaver::Thread::run (this=0x3132370) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff12d72dbf5 in QThreadPrivate::start (arg=0x3132370) at
thread/qthread_unix.cpp:248
#9  0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff105f4f710 (LWP 4857)):
#0  0x00007ff12c1ca39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff118f94e30 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7ff11927a220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007ff118f94e69 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7ff1192882ec) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff104da0710 (LWP 4971)):
#0  0x00007ff12c1ca39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff12d72e2bb in wait (this=<value optimized out>, mutex=0x3ea1370,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3ea1370,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1246e03f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x49ef2b0,
th=0x41c0420) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1246e2e45 in waitForAvailableJob (this=0x3ee5c30, th=0x41c0420) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x3ee5c30, th=0x41c0420)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007ff1246e07ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7ff104d9fe30, parent=0x49ef2b0, th=0x41c0420) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff1246e0878 in ThreadWeaver::Thread::run (this=0x41c0420) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff12d72dbf5 in QThreadPrivate::start (arg=0x41c0420) at
thread/qthread_unix.cpp:248
#9  0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff0fffff710 (LWP 4972)):
#0  0x00007ff12c1ca39c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007ff12d72e2bb in wait (this=<value optimized out>, mutex=0x3ea1370,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3ea1370,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007ff1246e03f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x49ef2b0,
th=0x2a07920) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007ff1246e2e45 in waitForAvailableJob (this=0x3ee5c30, th=0x2a07920) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x3ee5c30, th=0x2a07920)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007ff1246e07ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7ff0ffffee30, parent=0x49ef2b0, th=0x2a07920) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007ff1246e0878 in ThreadWeaver::Thread::run (this=0x2a07920) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007ff12d72dbf5 in QThreadPrivate::start (arg=0x2a07920) at
thread/qthread_unix.cpp:248
#9  0x00007ff12c1c5a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007ff12c4ac82d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff12eefb760 (LWP 4147)):
[KCrash Handler]
#6  0x00000000ffffffff in ?? ()
#7  0x00007ff119300d61 in KateSmartRange::checkFeedback (this=<value optimized
out>) at /usr/src/debug/kdelibs-4.5.4/kate/smart/katesmartrange.cpp:220
#8  0x00007ff12e16d414 in KTextEditor::SmartRange::removeWatcher
(this=0x4b88c60, watcher=0x3ee8be8) at
/usr/src/debug/kdelibs-4.5.4/interfaces/ktexteditor/smartrange.cpp:902
#9  0x00007ff11934b6b1 in KateViewInternal::removeWatcher (this=0x3ee8bc0,
range=0x4b88c60, watcher=0x3ee8be8) at
/usr/src/debug/kdelibs-4.5.4/kate/view/kateviewinternal.cpp:232
#10 0x00007ff11934b725 in KateViewInternal::removeWatcher (this=0x3ee8bc0,
range=0x41998a0, watcher=0x3ee8be8) at
/usr/src/debug/kdelibs-4.5.4/kate/view/kateviewinternal.cpp:237
#11 0x00007ff11937386f in KateViewInternal::removeHighlightRange
(this=0x3ee8bc0, range=0x41998a0) at
/usr/src/debug/kdelibs-4.5.4/kate/view/kateviewinternal.cpp:3538
#12 0x00007ff119373946 in KateView::removeExternalHighlight (this=0x3f78f60,
topRange=0x41998a0) at /usr/src/debug/kdelibs-4.5.4/kate/view/kateview.cpp:2049
#13 0x00007ff1193c30aa in KateView::~KateView (this=0x3f78f60, __in_chrg=<value
optimized out>) at /usr/src/debug/kdelibs-4.5.4/kate/view/kateview.cpp:277
#14 0x00007ff1193c32b9 in KateView::~KateView (this=0x3f78f60, __in_chrg=<value
optimized out>) at /usr/src/debug/kdelibs-4.5.4/kate/view/kateview.cpp:286
#15 0x00007ff12d8258b4 in QObjectPrivate::deleteChildren (this=0x4088900) at
kernel/qobject.cpp:1986
#16 0x00007ff12cc5a535 in QWidget::~QWidget (this=0x493be00, __in_chrg=<value
optimized out>) at kernel/qwidget.cpp:1476
#17 0x00007ff12e3fe0b9 in KDevelop::TextEditorWidget::~TextEditorWidget
(this=0x493be00, __in_chrg=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:639
#18 0x00007ff12e3fdbe4 in KDevelop::TextView::~TextView (this=0x3f2ec80,
__in_chrg=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:524
#19 0x00007ff12e3fdc19 in KDevelop::TextView::~TextView (this=0x3f2ec80,
__in_chrg=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:527
#20 0x00007ff12e3fd3a8 in KDevelop::PartDocument::close (this=0x3e47240,
mode=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/partdocument.cpp:136
#21 0x00007ff12e3fdc48 in KDevelop::TextDocument::close (this=0x3e47240,
mode=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:496
#22 0x00007ff12e40518d in KDevelop::DocumentController::cleanup (this=0x8581a0)
at /usr/src/debug/kdevplatform-1.1.0/shell/documentcontroller.cpp:448
#23 0x00007ff12e3ea8ea in KDevelop::Core::cleanup (this=0x763050) at
/usr/src/debug/kdevplatform-1.1.0/shell/core.cpp:322
#24 0x00007ff12e3da72d in KDevelop::MainWindow::~MainWindow (this=0x7f0910,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdevplatform-1.1.0/shell/mainwindow.cpp:122
#25 0x00007ff12e3da789 in KDevelop::MainWindow::~MainWindow (this=0x7f0910,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdevplatform-1.1.0/shell/mainwindow.cpp:128
#26 0x00007ff12d82652d in QObject::event (this=0x7f0910, e=0x2b05420) at
kernel/qobject.cpp:1231
#27 0x00007ff12cc5676d in QWidget::event (this=0x7f0910, event=0x2b05420) at
kernel/qwidget.cpp:8501
#28 0x00007ff12d002a6b in QMainWindow::event (this=0x7f0910, event=0x2b05420)
at widgets/qmainwindow.cpp:1414
#29 0x00007ff12dd25c73 in KXmlGuiWindow::event (this=0x7f0910, ev=0x2b05420) at
/usr/src/debug/kdelibs-4.5.4/kdeui/xmlgui/kxmlguiwindow.cpp:132
#30 0x00007ff12cc064d4 in QApplicationPrivate::notify_helper (this=0x63ee70,
receiver=0x7f0910, e=0x2b05420) at kernel/qapplication.cpp:4302
#31 0x00007ff12cc0eaca in QApplication::notify (this=<value optimized out>,
receiver=0x7f0910, e=0x2b05420) at kernel/qapplication.cpp:4185
#32 0x00007ff12dcaa816 in KApplication::notify (this=0x7fff5dbe3350,
receiver=0x7f0910, event=0x2b05420) at
/usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#33 0x00007ff12d814e4c in QCoreApplication::notifyInternal
(this=0x7fff5dbe3350, receiver=0x7f0910, event=0x2b05420) at
kernel/qcoreapplication.cpp:726
#34 0x00007ff12d8185ba in sendEvent (receiver=0x0, event_type=0, data=0x618560)
at kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x618560) at kernel/qcoreapplication.cpp:1367
#36 0x00007ff12d83d173 in sendPostedEvents (s=<value optimized out>) at
kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#38 0x00007ff12732da93 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#39 0x00007ff12732e270 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007ff12732e510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#41 0x00007ff12d83d67f in QEventDispatcherGlib::processEvents (this=0x61e010,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#42 0x00007ff12cca714e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007ff12d814292 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007ff12d814495 in QEventLoop::exec (this=0x7fff5dbe30a0, flags=...) at
kernel/qeventloop.cpp:201
#45 0x00007ff12d81888b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1003
#46 0x000000000040933c in main (argc=<value optimized out>,
argv=0x7fff5dbe4dd8) at /usr/src/debug/kdevelop-4.1.0/app/main.cpp:380

Possible duplicates by query: bug 258568, bug 249920.

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