malloc deadlocks
Dirk Mueller
mueller at kde.org
Mon Feb 10 19:42:33 GMT 2003
On Mon, 10 Feb 2003, Malte Starostik wrote:
> Has anyone else seen KDE's malloc deadlock (w/ high CPU usage) insie this
> loop:?
Yes, its heavy memory corruption in KService that was recently introduced in
HEAD.
The linenumbers are not quite correct anymore because I started hacking on
it already.
==31949== Invalid read of size 4
==31949== at 0x40560C29: KService::~KService()
(/usr/X11/lib/qt/include/qshared.h:50)
==31949== by 0x40576D2C: KRun::runURL(KURL const&, QString const&, bool)
(../../../kdecore/ksharedptr.h:158)
==31949== by 0x486D823F: KHTMLPart::slotViewDocumentSource()
(/usr/X11/lib/qt/include/qstring.h:770)
==31949== by 0x486E7144: KHTMLPart::qt_invoke(int, QUObject*)
(khtml_part.moc:367)
==31949== by 0x40E0C458: QObject::activate_signal(QConnectionList*,
QUObject*) (/home/dirk/src/kde/qt-copy/src/kernel/qobject.cpp:2212)
==31949== by 0x40E0C32B: QObject::activate_signal(int)
(/home/dirk/src/kde/qt-copy/src/kernel/qobject.cpp:2186)
==31949== by 0x4079ACDB: KAction::activated() (kaction.moc:158)
==31949== by 0x4079A2BF: KAction::slotActivated()
(/home/dirk/src/kde/kdelibs/kdeui/kaction.cpp:1059)
==31949== by 0x4079AED2: KAction::qt_invoke(int, QUObject*)
(kaction.moc:181)
==31949== by 0x40E0C458: QObject::activate_signal(QConnectionList*,
QUObject*) (/home/dirk/src/kde/qt-copy/src/kernel/qobject.cpp:2212)
==31949== by 0x41104552: QSignal::signal(QVariant const&)
(/home/dirk/src/kde/qt-copy/src/.moc/debug-shared-mt/moc_qsignal.cpp:100)
==31949== by 0x40E2941D: QSignal::activate()
(/home/dirk/src/kde/qt-copy/src/kernel/qsignal.cpp:204)
==31949== by 0x40F084D6: QPopupMenu::mouseReleaseEvent(QMouseEvent*)
(/home/dirk/src/kde/qt-copy/src/widgets/qpopupmenu.cpp:1640)
==31949== by 0x40E42E9E: QWidget::event(QEvent*)
(/home/dirk/src/kde/qt-copy/src/kernel/qwidget.cpp:4340)
==31949== by 0x40DA607C: QApplication::internalNotify(QObject*, QEvent*)
(/home/dirk/src/kde/qt-copy/src/kernel/qapplication.cpp:2350)
==31949== by 0x40DA5854: QApplication::notify(QObject*, QEvent*)
(/home/dirk/src/kde/qt-copy/src/kernel/qapplication.cpp:2159)
==31949== Address 0x47296CB0 is 0 bytes inside a block of size 4 free'd
==31949== at 0x4003E370: __builtin_delete
(/home/dirk/src/valgrind/vg_clientfuncs.c:194)
==31949== by 0x4003E39D: operator delete(void*)
(/home/dirk/src/valgrind/vg_clientfuncs.c:204)
==31949== by 0x40560C40: KService::~KService()
(/usr/X11/lib/qt/include/qstring.h:770)
==31949== by 0x4057BBB8: KRun::run(KService const&, KURL::List const&,
bool) (../../../kdecore/ksycocaentry.h:79)
==31949== by 0x40576D47: KRun::runURL(KURL const&, QString const&, bool)
(/home/dirk/src/kde/kdelibs/kio/kio/krun.cpp:80)
==31949== by 0x486D823F: KHTMLPart::slotViewDocumentSource()
(/usr/X11/lib/qt/include/qstring.h:770)
==31949== by 0x486E7144: KHTMLPart::qt_invoke(int, QUObject*)
(khtml_part.moc:367)
==31949== by 0x40E0C458: QObject::activate_signal(QConnectionList*,
QUObject*) (/home/dirk/src/kde/qt-copy/src/kernel/qobject.cpp:2212)
==31949== by 0x40E0C32B: QObject::activate_signal(int)
(/home/dirk/src/kde/qt-copy/src/kernel/qobject.cpp:2186)
==31949== by 0x4079ACDB: KAction::activated() (kaction.moc:158)
==31949== by 0x4079A2BF: KAction::slotActivated()
(/home/dirk/src/kde/kdelibs/kdeui/kaction.cpp:1059)
==31949== by 0x4079AED2: KAction::qt_invoke(int, QUObject*)
(kaction.moc:181)
==31949== by 0x40E0C458: QObject::activate_signal(QConnectionList*,
QUObject*) (/home/dirk/src/kde/qt-copy/src/kernel/qobject.cpp:2212)
==31949== by 0x41104552: QSignal::signal(QVariant const&)
(/home/dirk/src/kde/qt-copy/src/.moc/debug-shared-mt/moc_qsignal.cpp:100)
==31949== by 0x40E2941D: QSignal::activate()
(/home/dirk/src/kde/qt-copy/src/kernel/qsignal.cpp:204)
==31949== by 0x40F084D6: QPopupMenu::mouseReleaseEvent(QMouseEvent*)
(/home/dirk/src/kde/qt-copy/src/widgets/qpopupmenu.cpp:1640)
--
Dirk (received 557 mails today)
More information about the kde-core-devel
mailing list