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

List:       kdevelop-bugs
Subject:    [Bug 261457] New: KDevelop crashes at close
From:       Andrei Sebastian Cimpean <andreiamenta () gmail ! com>
Date:       2010-12-28 14:22:56
Message-ID: bug-261457-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: KDevelop crashes at close
           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:
Was working on a PHP project. After I closed KDevelop the crash appeared. All
the files was saved. As a sidenote, i am using git controlled manually from
Konsole, although I don't think it could have any influence.

The crash can be reproduced every time.

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

Thread 8 (Thread 0x7f4d11422710 (LWP 8617)):
#0  0x00007f4d24bb4709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f4d26118222 in wait (this=<value optimized out>, mutex=0xb1c080,
time=200000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0xb1c080,
time=200000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4d227d245e in KDevelop::DUChainPrivate::CleanupThread::run
(this=0xb1c060) at
/usr/src/debug/kdevplatform-1.1.0/language/duchain/duchain.cpp:286
#4  0x00007f4d26117bf5 in QThreadPrivate::start (arg=0xb1c060) at
thread/qthread_unix.cpp:248
#5  0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4d02375710 (LWP 8624)):
#0  0x00007f4d24e8d6b3 in poll () from /lib64/libc.so.6
#1  0x00007f4d1fd17fd4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f4d1fd18510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00007f4d262276d6 in QEventDispatcherGlib::processEvents (this=0x148a760,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f4d261fe292 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4d261fe495 in QEventLoop::exec (this=0x7f4d02374e20, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f4d261152cf in QThread::exec (this=<value optimized out>) at
thread/qthread.cpp:487
#7  0x00007f4d26117bf5 in QThreadPrivate::start (arg=0x1487e30) at
thread/qthread_unix.cpp:248
#8  0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4d02b76710 (LWP 8634)):
#0  0x00007f4d24bb439c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f4d261182bb in wait (this=<value optimized out>, mutex=0x986840,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x986840,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4d1d0ca3f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa17510,
th=0x22baa80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4d1d0cce45 in waitForAvailableJob (this=0x9363a0, th=0x22baa80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x9363a0, th=0x22baa80)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f4d1d0cce5e in ThreadWeaver::WorkingHardState::applyForWork
(this=0x9363a0, th=0x22baa80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f4d1d0ca7ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7f4d02b75e30, parent=0xa17510, th=0x22baa80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#8  0x00007f4d1d0ca878 in ThreadWeaver::Thread::run (this=0x22baa80) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#9  0x00007f4d26117bf5 in QThreadPrivate::start (arg=0x22baa80) at
thread/qthread_unix.cpp:248
#10 0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4cff5b2710 (LWP 8635)):
#0  0x00007f4d24bb439c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f4d261182bb in wait (this=<value optimized out>, mutex=0x986840,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x986840,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4d1d0ca3f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa17510,
th=0x22d0340) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4d1d0cce45 in waitForAvailableJob (this=0x9363a0, th=0x22d0340) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x9363a0, th=0x22d0340)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f4d1d0ca7ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7f4cff5b1e30, parent=0xa17510, th=0x22d0340) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f4d1d0ca878 in ThreadWeaver::Thread::run (this=0x22d0340) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f4d26117bf5 in QThreadPrivate::start (arg=0x22d0340) at
thread/qthread_unix.cpp:248
#9  0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4cfedb1710 (LWP 8652)):
#0  0x00007f4d24bb439c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f4d1197ee30 in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f4d11c64220) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f4d1197ee69 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=0x7f4d11c722ec) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4cfde3b710 (LWP 10594)):
#0  0x00007f4d24bb439c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f4d261182bb in wait (this=<value optimized out>, mutex=0x2faffc0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2faffc0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4d1d0ca3f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2eba840,
th=0x30a3a70) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4d1d0cce45 in waitForAvailableJob (this=0x32565f0, th=0x30a3a70) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x32565f0, th=0x30a3a70)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f4d1d0ca7ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7f4cfde3ae30, parent=0x2eba840, th=0x30a3a70) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f4d1d0ca878 in ThreadWeaver::Thread::run (this=0x30a3a70) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f4d26117bf5 in QThreadPrivate::start (arg=0x30a3a70) at
thread/qthread_unix.cpp:248
#9  0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4cfd63a710 (LWP 10595)):
#0  0x00007f4d24bb439c in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00007f4d261182bb in wait (this=<value optimized out>, mutex=0x2faffc0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2faffc0,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f4d1d0ca3f6 in
ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2eba840,
th=0x2fd57c0) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4d1d0cce45 in waitForAvailableJob (this=0x32565f0, th=0x2fd57c0) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WeaverImpl.cpp:356
#5  ThreadWeaver::WorkingHardState::applyForWork (this=0x32565f0, th=0x2fd57c0)
at /usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007f4d1d0ca7ef in ThreadWeaver::ThreadRunHelper::run
(this=0x7f4cfd639e30, parent=0x2eba840, th=0x2fd57c0) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f4d1d0ca878 in ThreadWeaver::Thread::run (this=0x2fd57c0) at
/usr/src/debug/kdelibs-4.5.4/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f4d26117bf5 in QThreadPrivate::start (arg=0x2fd57c0) at
thread/qthread_unix.cpp:248
#9  0x00007f4d24bafa4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f4d24e9682d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4d278e5760 (LWP 8616)):
[KCrash Handler]
#6  0x00007f4cf8194be0 in ?? ()
#7  0x00007f4d11cead61 in KateSmartRange::checkFeedback (this=<value optimized
out>) at /usr/src/debug/kdelibs-4.5.4/kate/smart/katesmartrange.cpp:220
#8  0x00007f4d26b57414 in KTextEditor::SmartRange::removeWatcher
(this=0x7f4cf80111f0, watcher=0x2675118) at
/usr/src/debug/kdelibs-4.5.4/interfaces/ktexteditor/smartrange.cpp:902
#9  0x00007f4d11d356b1 in KateViewInternal::removeWatcher (this=0x26750f0,
range=0x7f4cf80111f0, watcher=0x2675118) at
/usr/src/debug/kdelibs-4.5.4/kate/view/kateviewinternal.cpp:232
#10 0x00007f4d11d35725 in KateViewInternal::removeWatcher (this=0x26750f0,
range=0x2fe2410, watcher=0x2675118) at
/usr/src/debug/kdelibs-4.5.4/kate/view/kateviewinternal.cpp:237
#11 0x00007f4d11d5d86f in KateViewInternal::removeHighlightRange
(this=0x26750f0, range=0x2fe2410) at
/usr/src/debug/kdelibs-4.5.4/kate/view/kateviewinternal.cpp:3538
#12 0x00007f4d11d5d946 in KateView::removeExternalHighlight (this=0x26748a0,
topRange=0x2fe2410) at /usr/src/debug/kdelibs-4.5.4/kate/view/kateview.cpp:2049
#13 0x00007f4d11dad0aa in KateView::~KateView (this=0x26748a0, __in_chrg=<value
optimized out>) at /usr/src/debug/kdelibs-4.5.4/kate/view/kateview.cpp:277
#14 0x00007f4d11dad2b9 in KateView::~KateView (this=0x26748a0, __in_chrg=<value
optimized out>) at /usr/src/debug/kdelibs-4.5.4/kate/view/kateview.cpp:286
#15 0x00007f4d2620f8b4 in QObjectPrivate::deleteChildren (this=0x27a6450) at
kernel/qobject.cpp:1986
#16 0x00007f4d25644535 in QWidget::~QWidget (this=0x27b72c0, __in_chrg=<value
optimized out>) at kernel/qwidget.cpp:1476
#17 0x00007f4d26de80b9 in KDevelop::TextEditorWidget::~TextEditorWidget
(this=0x27b72c0, __in_chrg=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:639
#18 0x00007f4d26de7be4 in KDevelop::TextView::~TextView (this=0x1d51470,
__in_chrg=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:524
#19 0x00007f4d26de7c19 in KDevelop::TextView::~TextView (this=0x1d51470,
__in_chrg=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:527
#20 0x00007f4d26de73a8 in KDevelop::PartDocument::close (this=0x1d60a00,
mode=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/partdocument.cpp:136
#21 0x00007f4d26de7c48 in KDevelop::TextDocument::close (this=0x1d60a00,
mode=<value optimized out>) at
/usr/src/debug/kdevplatform-1.1.0/shell/textdocument.cpp:496
#22 0x00007f4d26def18d in KDevelop::DocumentController::cleanup (this=0x984a70)
at /usr/src/debug/kdevplatform-1.1.0/shell/documentcontroller.cpp:448
#23 0x00007f4d26dd48ea in KDevelop::Core::cleanup (this=0x7a9a00) at
/usr/src/debug/kdevplatform-1.1.0/shell/core.cpp:322
#24 0x00007f4d26dc472d in KDevelop::MainWindow::~MainWindow (this=0x7c97f0,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdevplatform-1.1.0/shell/mainwindow.cpp:122
#25 0x00007f4d26dc4789 in KDevelop::MainWindow::~MainWindow (this=0x7c97f0,
__in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)
    at /usr/src/debug/kdevplatform-1.1.0/shell/mainwindow.cpp:128
#26 0x00007f4d2621052d in QObject::event (this=0x7c97f0, e=0x3886240) at
kernel/qobject.cpp:1231
#27 0x00007f4d2564076d in QWidget::event (this=0x7c97f0, event=0x3886240) at
kernel/qwidget.cpp:8501
#28 0x00007f4d259eca6b in QMainWindow::event (this=0x7c97f0, event=0x3886240)
at widgets/qmainwindow.cpp:1414
#29 0x00007f4d2670fc73 in KXmlGuiWindow::event (this=0x7c97f0, ev=0x3886240) at
/usr/src/debug/kdelibs-4.5.4/kdeui/xmlgui/kxmlguiwindow.cpp:132
#30 0x00007f4d255f04d4 in QApplicationPrivate::notify_helper (this=0x63f830,
receiver=0x7c97f0, e=0x3886240) at kernel/qapplication.cpp:4302
#31 0x00007f4d255f8aca in QApplication::notify (this=<value optimized out>,
receiver=0x7c97f0, e=0x3886240) at kernel/qapplication.cpp:4185
#32 0x00007f4d26694816 in KApplication::notify (this=0x7fffa6ab0330,
receiver=0x7c97f0, event=0x3886240) at
/usr/src/debug/kdelibs-4.5.4/kdeui/kernel/kapplication.cpp:310
#33 0x00007f4d261fee4c in QCoreApplication::notifyInternal
(this=0x7fffa6ab0330, receiver=0x7c97f0, event=0x3886240) at
kernel/qcoreapplication.cpp:726
#34 0x00007f4d262025ba 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 0x00007f4d26227173 in sendPostedEvents (s=<value optimized out>) at
kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=<value optimized out>) at
kernel/qeventdispatcher_glib.cpp:276
#38 0x00007f4d1fd17a93 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#39 0x00007f4d1fd18270 in ?? () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f4d1fd18510 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#41 0x00007f4d2622767f in QEventDispatcherGlib::processEvents (this=0x61e010,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#42 0x00007f4d2569114e in QGuiEventDispatcherGlib::processEvents (this=<value
optimized out>, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f4d261fe292 in QEventLoop::processEvents (this=<value optimized
out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f4d261fe495 in QEventLoop::exec (this=0x7fffa6ab0080, flags=...) at
kernel/qeventloop.cpp:201
#45 0x00007f4d2620288b in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1003
#46 0x000000000040933c in main (argc=<value optimized out>,
argv=0x7fffa6ab1db8) at /usr/src/debug/kdevelop-4.1.0/app/main.cpp:380

This bug may be a duplicate of or related to bug 249920.

Possible duplicates by query: bug 261430, 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