https://bugs.kde.org/show_bug.cgi?id=356940
--- Comment #8 from Peter Wu <pe...@lekensteyn.nl> ---
Sigh... wiped breeze before testing it, here is the stacktrace including
breeze:

...
    #17 0x7fe4c3f9788f in QObject::~QObject() kernel/qobject.cpp:1048
    #18 0x7fe4ab14d7d4 in Breeze::Style::~Style() ../kstyle/breezestyle.cpp:199
    #19 0x7fe4ab14d7ef in Breeze::Style::~Style() ../kstyle/breezestyle.cpp:203
    #20 0x7fe4ab1913ef in operator() ../kstyle/breezestyleplugin.cpp:45
    #21 0x7fe4ab1919b5 in call /usr/include/qt/QtCore/qobjectdefs_impl.h:501
    #22 0x7fe4ab191996 in call<QtPrivate::List<>, void>
/usr/include/qt/QtCore/qobjectdefs_impl.h:558
    #23 0x7fe4ab191927 in impl /usr/include/qt/QtCore/qobject_impl.h:198
    #24 0x7fe4c3f8559a in QtPrivate::QSlotObjectBase::call(QObject*, void**)
src/corelib/kernel/qobject_impl.h:130
    #25 0x7fe4c3f8559a in QMetaObject::activate(QObject*, int, int, void**)
kernel/qobject.cpp:3723
    #26 0x7fe4c3f86323 in QObject::destroyed(QObject*) .moc/moc_qobject.cpp:213
    #27 0x7fe4c3f97a18 in QObject::~QObject() kernel/qobject.cpp:920
    #28 0x7fe4ab1915dd in Breeze::StylePlugin::~StylePlugin()
../kstyle/breezestyleplugin.cpp:54
    #29 0x7fe4ab1915f9 in Breeze::StylePlugin::~StylePlugin()
../kstyle/breezestyleplugin.cpp:57
    #30 0x7fe4c3f049f6 in QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag)
plugin/qlibrary.cpp:557
    #31 0x7fe4c3eedea0 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate()
plugin/qfactoryloader.cpp:86
    #32 0x7fe4c3eee1a0 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate()
plugin/qfactoryloader.cpp:89
    #33 0x7fe4c3f978e9 in
QScopedPointerDeleter<QObjectData>::cleanup(QObjectData*)
src/corelib/tools/qscopedpointer.h:60
    #34 0x7fe4c3f978e9 in QScopedPointer<QObjectData,
QScopedPointerDeleter<QObjectData> >::~QScopedPointer()
src/corelib/tools/qscopedpointer.h:107
    #35 0x7fe4c3f978e9 in QObject::~QObject() kernel/qobject.cpp:900
    #36 0x7fe4c3eec2e3 in QFactoryLoader::~QFactoryLoader()
plugin/qfactoryloader.cpp:205
    #37 0x7fe4c4889bf8 in ~Holder styles/qstylefactory.cpp:72
    #38 0x7fe4c308a98f in __run_exit_handlers (/usr/lib/libc.so.6+0x3598f)
    #39 0x7fe4c308a9e9 in __GI_exit (/usr/lib/libc.so.6+0x359e9)
    #40 0x403337 in MainWindow::ping() (Trial+0x403337)
    #41 0x7fe4c3f84fb6 in QMetaObject::activate(QObject*, int, int, void**)
kernel/qobject.cpp:3740
    #42 0x7fe4c3fa65b3 in QTimer::timerEvent(QTimerEvent*)
kernel/qtimer.cpp:254
    #43 0x7fe4c3f8770b in QObject::event(QEvent*) kernel/qobject.cpp:1285
    #44 0x7fe4c473e417 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
kernel/qapplication.cpp:3799
    #45 0x7fe4c4750b8d in QApplication::notify(QObject*, QEvent*)
kernel/qapplication.cpp:3641
    #46 0x7fe4c3f180a1 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
kernel/qcoreapplication.cpp:988
    #47 0x7fe4c3fef9b4 in QCoreApplication::sendEvent(QObject*, QEvent*)
src/corelib/kernel/qcoreapplication.h:231
    #48 0x7fe4c3fef9b4 in QTimerInfoList::activateTimers()
kernel/qtimerinfo_unix.cpp:644
    #49 0x7fe4c3ff0ac2 in timerSourceDispatch
kernel/qeventdispatcher_glib.cpp:182
    #50 0x7fe4c0a18dd6 in g_main_context_dispatch
(/usr/lib/libglib-2.0.so.0+0x49dd6)
    #51 0x7fe4c0a1903f  (/usr/lib/libglib-2.0.so.0+0x4a03f)
    #52 0x7fe4c0a190eb in g_main_context_iteration
(/usr/lib/libglib-2.0.so.0+0x4a0eb)
    #53 0x7fe4c3ff19b1 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
kernel/qeventdispatcher_glib.cpp:425
    #54 0x7fe4c3f146a4 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
kernel/qeventloop.cpp:210
    #55 0x7fe4c3f26d1e in QCoreApplication::exec()
kernel/qcoreapplication.cpp:1261
    #56 0x402ff6 in main (Trial+0x402ff6)
    #57 0x7fe4c3075290 in __libc_start_main (/usr/lib/libc.so.6+0x20290)
    #58 0x403179 in _start (Trial+0x403179)

0x602000005930 is located 0 bytes inside of 16-byte region
[0x602000005930,0x602000005940)
freed by thread T0 here:
    #0 0x7fe4c56415d0 in operator delete(void*)
/build/gcc-multilib/src/gcc/libsanitizer/asan/asan_new_delete.cc:92
    #1 0x7fe4ab109cc6 in QtSharedPointer::ExternalRefCountData::operator
delete(void*) /usr/include/qt/QtCore/qsharedpointer_impl.h:171
    #2 0x7fe4ab10a7de in QWeakPointer<QObject>::~QWeakPointer()
/usr/include/qt/QtCore/qsharedpointer_impl.h:607
    #3 0x7fe4ab114545 in
QWeakPointer<QObject>::operator=(QWeakPointer<QObject>&&)
/usr/include/qt/QtCore/qsharedpointer_impl.h:634
    #4 0x7fe4ab11394b in QWeakPointer<QObject>&
QWeakPointer<QObject>::assign<QObject>(QObject*)
/usr/include/qt/QtCore/qsharedpointer_impl.h:719
    #5 0x7fe4ab1b3ccc in QPointer<QObject>::operator=(QObject*)
/usr/include/qt/QtCore/qpointer.h:83
    #6 0x7fe4ab1ab364 in qt_plugin_instance
kstyle/moc_breezestyleplugin.cpp:165
    #7 0x7fe4c3eeca02 in QFactoryLoader::instance(int) const
plugin/qfactoryloader.cpp:283
    #8 0x7fe4c4883e87 in QStyle* qLoadPlugin<QStyle,
QStylePlugin>(QFactoryLoader const*, QString const&)
src/corelib/plugin/qfactoryloader_p.h:101
    #9 0x7fe4c4883e87 in QStyleFactory::create(QString const&)
styles/qstylefactory.cpp:158
    #10 0x7fe4c48df51b in QProxyStylePrivate::ensureBaseStyle() const
styles/qproxystyle.cpp:99
    #11 0x7fe4c48e191d in QProxyStyle::event(QEvent*)
styles/qproxystyle.cpp:386
    #12 0x7fe4c473e417 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
kernel/qapplication.cpp:3799
    #13 0x7fe4c4750b8d in QApplication::notify(QObject*, QEvent*)
kernel/qapplication.cpp:3641
    #14 0x7fe4c3f180a1 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
kernel/qcoreapplication.cpp:988
    #15 0x7fe4c3f963e1 in QCoreApplication::sendEvent(QObject*, QEvent*)
src/corelib/kernel/qcoreapplication.h:231
    #16 0x7fe4c3f963e1 in QObjectPrivate::setParent_helper(QObject*)
kernel/qobject.cpp:1996
    #17 0x7fe4c3f9788f in QObject::~QObject() kernel/qobject.cpp:1048
    #18 0x7fe4ab14d7d4 in Breeze::Style::~Style() ../kstyle/breezestyle.cpp:199
    #19 0x7fe4ab14d7ef in Breeze::Style::~Style() ../kstyle/breezestyle.cpp:203
    #20 0x7fe4ab1913ef in operator() ../kstyle/breezestyleplugin.cpp:45
    #21 0x7fe4ab1919b5 in call /usr/include/qt/QtCore/qobjectdefs_impl.h:501
    #22 0x7fe4ab191996 in call<QtPrivate::List<>, void>
/usr/include/qt/QtCore/qobjectdefs_impl.h:558
    #23 0x7fe4ab191927 in impl /usr/include/qt/QtCore/qobject_impl.h:198
    #24 0x7fe4c3f8559a in QtPrivate::QSlotObjectBase::call(QObject*, void**)
src/corelib/kernel/qobject_impl.h:130
    #25 0x7fe4c3f8559a in QMetaObject::activate(QObject*, int, int, void**)
kernel/qobject.cpp:3723
    #26 0x7fe4c3f86323 in QObject::destroyed(QObject*) .moc/moc_qobject.cpp:213
    #27 0x7fe4c3f97a18 in QObject::~QObject() kernel/qobject.cpp:920
    #28 0x7fe4ab1915dd in Breeze::StylePlugin::~StylePlugin()
../kstyle/breezestyleplugin.cpp:54
    #29 0x7fe4ab1915f9 in Breeze::StylePlugin::~StylePlugin()
../kstyle/breezestyleplugin.cpp:57
    #30 0x7fe4c3f049f6 in QLibraryPrivate::unload(QLibraryPrivate::UnloadFlag)
plugin/qlibrary.cpp:557
    #31 0x7fe4c3eedea0 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate()
plugin/qfactoryloader.cpp:86
    #32 0x7fe4c3eee1a0 in QFactoryLoaderPrivate::~QFactoryLoaderPrivate()
plugin/qfactoryloader.cpp:89

previously allocated by thread T0 here:
    #0 0x7fe4c5640f50 in operator new(unsigned long)
/build/gcc-multilib/src/gcc/libsanitizer/asan/asan_new_delete.cc:60
    #1 0x7fe4c3c05928 in
QtSharedPointer::ExternalRefCountData::getAndRef(QObject const*)
tools/qsharedpointer.cpp:1344
    #2 0x7fe4ab1143f1 in QWeakPointer<QObject>::QWeakPointer<QObject>(QObject*,
bool) /usr/include/qt/QtCore/qsharedpointer_impl.h:723
    #3 0x7fe4ab113938 in QWeakPointer<QObject>&
QWeakPointer<QObject>::assign<QObject>(QObject*)
/usr/include/qt/QtCore/qsharedpointer_impl.h:719
    #4 0x7fe4ab1b3ccc in QPointer<QObject>::operator=(QObject*)
/usr/include/qt/QtCore/qpointer.h:83
    #5 0x7fe4ab1ab364 in qt_plugin_instance
kstyle/moc_breezestyleplugin.cpp:165
    #6 0x7fe4c3eeca02 in QFactoryLoader::instance(int) const
plugin/qfactoryloader.cpp:283
    #7 0x7fe4c4883e87 in QStyle* qLoadPlugin<QStyle,
QStylePlugin>(QFactoryLoader const*, QString const&)
src/corelib/plugin/qfactoryloader_p.h:101
    #8 0x7fe4c4883e87 in QStyleFactory::create(QString const&)
styles/qstylefactory.cpp:158
    #9 0x7fe4c4748e7c in QApplication::style() kernel/qapplication.cpp:1138
    #10 0x7fe4c47494f4 in QApplicationPrivate::initialize()
kernel/qapplication.cpp:651
    #11 0x7fe4c47495ea in QApplicationPrivate::init()
kernel/qapplication.cpp:592
    #12 0x402fd9 in main (Trial+0x402fd9)
    #13 0x7fe4c3075290 in __libc_start_main (/usr/lib/libc.so.6+0x20290)
    #14 0x403179 in _start (Trial+0x403179)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to