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

List:       kdevelop-bugs
Subject:    [Bug 219105] KDevelop crashed at quit
From:       Milian Wolff <mail () milianw ! de>
Date:       2010-01-07 20:17:42
Message-ID: 20100107201742.A80DD2F448 () immanuel ! kde ! org
[Download RAW message or body]

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


Milian Wolff <mail@milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|NOR                         |VHI
             Status|UNCONFIRMED                 |NEW
          Component|Language Support: CPP       |Build tools: CMake
     Ever Confirmed|0                           |1




--- Comment #7 from Milian Wolff <mail milianw de>  2010-01-07 21:17:36 ---
So, finally hunted it down:

The problem is that the CMakeManager (which is also the LanguageSupport) gets
deleted:

Breakpoint 1, ~CMakeManager (this=0x84b25e8, __in_chrg=<value optimized out>)
at
/home/milianw/projects/kde4/kdevelop/projectmanagers/cmake/cmakemanager.cpp:157
157     CMakeManager::~CMakeManager()
(gdb) bt
#0  ~CMakeManager (this=0x84b25e8, __in_chrg=<value optimized out>) at
/home/milianw/projects/kde4/kdevelop/projectmanagers/cmake/cmakemanager.cpp:157
#1  0xb6e90d35 in qDeleteInEventHandler (o=0x84b25e8) at
kernel/qobject.cpp:3814
#2  0xb6e9260b in QObject::event (this=0x84b25e8, e=0x84c6bb8) at
kernel/qobject.cpp:1093
#3  0xb646ea94 in QApplicationPrivate::notify_helper (this=0x80ec9b8,
receiver=0x84b25e8, e=0x84c6bb8) at kernel/qapplication.cpp:4065
#4  0xb6476bee in QApplication::notify (this=0xbfffe5d4, receiver=0x84b25e8,
e=0x84c6bb8) at kernel/qapplication.cpp:3605
#5  0xb71bb62d in KApplication::notify (this=0xbfffe5d4, receiver=0x84b25e8,
event=0x84c6bb8) at ../../kdeui/kernel/kapplication.cpp:302
#6  0xb6e821eb in QCoreApplication::notifyInternal (this=0xbfffe5d4,
receiver=0x84b25e8, event=0x84c6bb8) at kernel/qcoreapplication.cpp:610
#7  0xb6e82e2e in QCoreApplication::sendEvent (receiver=0x0, event_type=0,
data=0x80532f0)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#8  QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x80532f0) at kernel/qcoreapplication.cpp:1247
#9  0xb6e8300d in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1140
#10 0xb6ead4cf in QCoreApplication::sendPostedEvents (s=0x80eeca0) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#11 postEventSourceDispatch (s=0x80eeca0) at
kernel/qeventdispatcher_glib.cpp:276
#12 0xb5430f28 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#13 0xb54346b3 in ?? () from /lib/libglib-2.0.so.0
#14 0xb5434838 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#15 0xb6ead041 in QEventDispatcherGlib::processEvents (this=0x80ec978,
flags=...) at kernel/qeventdispatcher_glib.cpp:407
#16 0xb650e305 in QGuiEventDispatcherGlib::processEvents (this=0x80ec978,
flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#17 0xb6e8083a in QEventLoop::processEvents (this=0xbfffe510, flags=...) at
kernel/qeventloop.cpp:149
#18 0xb6e80c82 in QEventLoop::exec (this=0xbfffe510, flags=...) at
kernel/qeventloop.cpp:201
#19 0xb6e830d9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#20 0xb646e917 in QApplication::exec () at kernel/qapplication.cpp:3525
#21 0x0804dc46 in main (argc=1, argv=0xbfffeb14) at
/home/milianw/projects/kde4/kdevelop/app/main.cpp:209

Hence the d-pointer in the Language (which does _not_ get deleted!) is invalid
and leads to a crash. I don't know why it gets deleted but my guess is because
it's also a BuildManager. Probably would be good if each would be it's own
class.

-- 
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