Arts causing memory corruption
Dirk Mueller
mueller at kde.org
Tue Oct 29 10:55:58 GMT 2002
Hi,
I regularly see crashes caused by arts:
==9739== Invalid read of size 1
==9739== at 0x49F8FAC7: magic_create (../../../flow/gsl/gslmagic.c:440)
==9739== by 0x49F8F340: gsl_magic_create
(../../../flow/gsl/gslmagic.c:148)
==9739== by 0x49FA6D75: gsl_loader_register
(../../../flow/gsl/gslloader.c:73)
==9739== by 0x49F90C84: _gsl_init_loader_wav
(../../../flow/gsl/gslglib.h:261)
==9739== by 0x49F8D34D: gsl_init (../../../flow/gsl/gslcommon.c:1647)
==9739== by 0x49F40D54: Arts::StdFlowSystem::StdFlowSystem()
(../../flow/gslschedule.cc:846)
==9739== by 0x49F43975: ??? (../../flow/gslschedule.cc:1074)
==9739== by 0x4A80E34E: Arts::StartupManager::startup()
(/usr/include/g++/bits/stl_list.h:90)
==9739== by 0x4A7F2B28: Arts::Dispatcher::Dispatcher(Arts::IOManager*,
Arts::Dispatcher::StartServer) (../../mcop/dispatcher.cc:230)
==9739== by 0x49CBD578: KArtsDispatcher::KArtsDispatcher(QObject*, char
const*) (/home/dirk/src/kde/kdelibs/arts/kde/kartsdispatcher.cc:37)
==9739== by 0x443C79EE: KonqSoundPlayerImpl::KonqSoundPlayerImpl() (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x443C8554: KonqSoundFactory::createObject(QObject*, char
const*, char const*, QStringList const&) (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x409CAF0E: KLibFactory::create(QObject*, char const*, char
const*, QStringList const&)
(/home/dirk/src/kde/kdelibs/kdecore/klibloader.cpp:85)
==9739== by 0x4032CFBE: KonqIconViewWidget::startImagePreview(QStringList
const&, bool) (in /opt/kde3/lib/libkonq.so.4.1.0)
==9739== by 0x48515A73: KonqKfmIconView::mimeTypeDeterminationFinished()
(in /opt/kde3/lib/kde3/konq_iconview.so)
==9739== by 0x485191EF: (within /opt/kde3/lib/kde3/konq_iconview.so)
==9739== Address 0x48407D7F is 0 bytes after a block of size 79 alloc'd
==9739== at 0x4003CA75: malloc (vg_clientfuncs.c:100)
==9739== by 0x49FD7BDD: gsl_g_malloc (../../../flow/gsl/gslglib.c:13)
==9739== by 0x49FD7DBE: gsl_g_strdup (../../../flow/gsl/gslglib.c:23)
==9739== by 0x49F8F335: gsl_magic_create
(../../../flow/gsl/gslmagic.c:147)
==9739== by 0x49FA6D75: gsl_loader_register
(../../../flow/gsl/gslloader.c:73)
==9739== by 0x49F90C84: _gsl_init_loader_wav
(../../../flow/gsl/gslglib.h:261)
==9739== by 0x49F8D34D: gsl_init (../../../flow/gsl/gslcommon.c:1647)
==9739== by 0x49F40D54: Arts::StdFlowSystem::StdFlowSystem()
(../../flow/gslschedule.cc:846)
==9739== by 0x49F43975: ??? (../../flow/gslschedule.cc:1074)
==9739== by 0x4A80E34E: Arts::StartupManager::startup()
(/usr/include/g++/bits/stl_list.h:90)
==9739== by 0x4A7F2B28: Arts::Dispatcher::Dispatcher(Arts::IOManager*,
Arts::Dispatcher::StartServer) (../../mcop/dispatcher.cc:230)
==9739== by 0x49CBD578: KArtsDispatcher::KArtsDispatcher(QObject*, char
const*) (/home/dirk/src/kde/kdelibs/arts/kde/kartsdispatcher.cc:37)
==9739== by 0x443C79EE: KonqSoundPlayerImpl::KonqSoundPlayerImpl() (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x443C8554: KonqSoundFactory::createObject(QObject*, char
const*, char const*, QStringList const&) (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x409CAF0E: KLibFactory::create(QObject*, char const*, char
const*, QStringList const&)
(/home/dirk/src/kde/kdelibs/kdecore/klibloader.cpp:85)
==9739== by 0x4032CFBE: KonqIconViewWidget::startImagePreview(QStringList
const&, bool) (in /opt/kde3/lib/libkonq.so.4.1.0)
==9739==
and
==9739== Invalid read of size 4
==9739== at 0x4A7F6F10: Arts::Dispatcher::connectUrl(std::string const&)
(../../mcop/dispatcher.cc:926)
==9739== by 0x4A7F6DAD:
Arts::Dispatcher::connectObjectRemote(Arts::ObjectReference&)
(/usr/include/g++/bits/stl_iterator.h:593)
==9739== by 0x49D99DEB:
Arts::SoundServerV2_base::_fromReference(Arts::ObjectReference, bool)
(soundserver.cc:1697)
==9739== by 0x49D99AFF: Arts::SoundServerV2_base::_fromString(std::string
const&) (soundserver.cc:1671)
==9739== by 0x443C7A8A: KonqSoundPlayerImpl::KonqSoundPlayerImpl() (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x443C8554: KonqSoundFactory::createObject(QObject*, char
const*, char const*, QStringList const&) (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x409CAF0E: KLibFactory::create(QObject*, char const*, char
const*, QStringList const&)
(/home/dirk/src/kde/kdelibs/kdecore/klibloader.cpp:85)
==9739== by 0x4032CFBE: KonqIconViewWidget::startImagePreview(QStringList
const&, bool) (in /opt/kde3/lib/libkonq.so.4.1.0)
==9739== by 0x48515A73: KonqKfmIconView::mimeTypeDeterminationFinished()
(in /opt/kde3/lib/kde3/konq_iconview.so)
==9739== by 0x485191EF: (within /opt/kde3/lib/kde3/konq_iconview.so)
==9739== by 0x4052752C: KMimeTypeResolverHelper::qt_invoke(int,
QUObject*) (kmimetyperesolver.moc:94)
==9739== by 0x40D68906: QObject::activate_signal(QConnectionList*,
QUObject*) (kernel/qobject.cpp:2197)
==9739== by 0x40D687D9: QObject::activate_signal(int)
(kernel/qobject.cpp:2171)
==9739== by 0x4105ED26: QTimer::timeout()
(.moc/debug-shared-mt/moc_qtimer.cpp:83)
==9739== by 0x40D8C41D: QTimer::event(QEvent*) (kernel/qtimer.cpp:219)
==9739== by 0x40D028BA: QApplication::internalNotify(QObject*, QEvent*)
(kernel/qapplication.cpp:2298)
==9739== Address 0x4372C144 is 24 bytes inside a block of size 60 free'd
==9739== at 0x4003CDAB: __builtin_delete (vg_clientfuncs.c:194)
==9739== by 0x4003CDD2: operator delete(void*) (vg_clientfuncs.c:204)
==9739== by 0x4A80310F: ??? (../../mcop/pool.h:52)
==9739== by 0x4A7CF630: Arts::Connection::_release()
(../../mcop/connection.cc:73)
==9739== by 0x4A7F7660:
Arts::Dispatcher::handleConnectionClose(Arts::Connection*)
(/usr/include/g++/bits/stl_list.h:365)
==9739== by 0x4A8025F0: Arts::SocketConnection::notifyIO(int, int)
(../../mcop/socketconnection.cc:181)
==9739== by 0x4A7F8DE2: Arts::StdIOManager::processOneEvent(bool)
(/usr/include/g++/bits/stl_deque.h:869)
==9739== by 0x49D4CDFB: Arts::QIOManager::processOneEvent(bool)
(../../qtmcop/qiomanager.cc:169)
==9739== by 0x4A7F6F4A: Arts::Dispatcher::connectUrl(std::string const&)
(../../mcop/dispatcher.cc:927)
==9739== by 0x4A7F6DAD:
Arts::Dispatcher::connectObjectRemote(Arts::ObjectReference&)
(/usr/include/g++/bits/stl_iterator.h:593)
==9739== by 0x49D99DEB:
Arts::SoundServerV2_base::_fromReference(Arts::ObjectReference, bool)
(soundserver.cc:1697)
==9739== by 0x49D99AFF: Arts::SoundServerV2_base::_fromString(std::string
const&) (soundserver.cc:1671)
==9739== by 0x443C7A8A: KonqSoundPlayerImpl::KonqSoundPlayerImpl() (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x443C8554: KonqSoundFactory::createObject(QObject*, char
const*, char const*, QStringList const&) (in
/opt/kde3/lib/kde3/konq_sound.so)
==9739== by 0x409CAF0E: KLibFactory::create(QObject*, char const*, char
const*, QStringList const&)
(/home/dirk/src/kde/kdelibs/kdecore/klibloader.cpp:85)
==9739== by 0x4032CFBE: KonqIconViewWidget::startImagePreview(QStringList
const&, bool) (in /opt/kde3/lib/libkonq.so.4.1.0)
==9739==
does anyone care fixing it ? We can hardly release KDE 3.1 with such memory
corruptions in such a central place.
--
Dirk (received 315 mails today)
More information about the kde-multimedia
mailing list