Qt4-preview-feedback Archive, April 2007
crash in animationFinished
Message 1 in thread
Hello,
I encounter exactly the same problem as Simon Bourne
(http://lists.trolltech.com/qt4-preview-feedback/2007-03/thread00016-0.html=
) since I updated to Qt 4.3, but on the Linux platform (KDE4). Attached are a
backtrace (corrupted ?) and a valgrind output.
My same app was working well before updating.
Regards,
Kleag
The backtrace copied from gdb (not using the KDE crash handler):
#0 0xb7e3f657 in QMetaObject::cast (this=0xb6fb55b8, obj=0x8222128)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qmetaobject.cpp:191
#1 0xb6d70a3f in QMainWindowLayout::animationFinished (this=0x81bf490,
widget=0x8222128)
at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qobject.h:413
#2 0xb6f1fc7d in QMainWindowLayout::qt_metacall (this=0x81bf490,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x8473e80)
at .moc/release-shared/moc_qmainwindowlayout_p.cpp:70
#3 0xb7e46dcb in QMetaCallEvent::placeMetaCall (this=0x823bac0,
object=0x81bf490)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:520
#4 0xb7e49363 in QObject::event (this=0x81bf490, e=0x823bac0)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1091
#5 0xb6a759d0 in QApplicationPrivate::notify_helper (this=0x812c428,
receiver=0x81bf490, e=0x823bac0)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3468
#6 0xb6a7b82e in QApplication::notify (this=0xbf834398, receiver=0x81bf490,
e=0x823bac0)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3043
#7 0xb782c59a in KApplication::notify (this=0xbf834398, receiver=0x81bf490,
event=0x823bac0)
#8 0xb7e3b0ab in QCoreApplication::notifyInternal (this=0xbf834398,
receiver=0x81bf490, event=0x823bac0)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:506
#9 0xb7e3c0ba in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at ../../include/QtCore/qcoreapplication.h:188
#10 0xb7e5bbcb in postEventSourceDispatch (s=0x81372b8)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:19
4
#11 0xb66131b5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#12 0xb66161d2 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#13 0xb661670c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#14 0xb7e5c348 in QEventDispatcherGlib::processEvents (this=0x812e108,
flags=@0xbf832f78)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:32
3
#15 0xb6aeadf5 in QGuiEventDispatcherGlib::processEvents (this=0x812e108,
flags=@0xbf832fa4)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:178
#16 0xb7e3a5d1 in QEventLoop::processEvents (this=0xbf832ffc,
flags=@0xbf832fc8)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:168
#18 0xb6e02a67 in QDialog::exec (this=0xbf8330f0)
at /home/kde4/kdesvn/qt-copy/src/gui/dialogs/qdialog.cpp:398
#19 0x080dbd8d in Ksirk::KGameWindow::setupPlayers (this=0x81bf208)
at /home/kde4/Developpements/C++/games/ksirk/ksirk/kgamewin.cpp:940
#20 0x080dc52f in Ksirk::KGameWindow::actionNewGame (this=0x81bf208)
at /home/kde4/Developpements/C++/games/ksirk/ksirk/kgamewin.cpp:2085
#21 0x080e8fe1 in Ksirk::KGameWindow::slotNewGame (this=0x81bf208)
at /home/kde4/Developpements/C++/games/ksirk/ksirk/kgamewinslots.cpp:251
#22 0x080cfaad in Ksirk::KGameWindow::qt_metacall (this=0x81bf208,
_c=QMetaObject::InvokeMetaMethod, _id=46, _a=0xbf83377c)
at /home/kde4/Developpements/C++/games/build/ksirk/ksirk/kgamewin.moc:127
#23 0xb7e4c88a in QMetaObject::activate (sender=0x832c8d0,
from_signal_index=5, to_signal_index=6, argv=Variable "argv" is not availabl
e.
)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3037
#24 0xb7e4cb3f in QMetaObject::activate (sender=0x832c8d0, m=0xb6faf0a8,
from_local_signal_index=1, to_local_signal_index=2, argv=0xbf83377c)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3092
#25 0xb6a6fa71 in QAction::triggered (this=0x832c8d0, _t1=false)
at .moc/release-shared/moc_qaction.cpp:208
#26 0xb6a705cf in QAction::activate (this=0x832c8d0, event=QAction::Trigger)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qaction.cpp:1087
#27 0xb6dc9ff2 in QToolButton::nextCheckState (this=0x823cc20)
at ../../include/QtGui/../../../../qt-copy/src/gui/kernel/qaction.h:175
#28 0xb6d167ef in QAbstractButtonPrivate::click (this=0x82281e0)
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:500
#29 0xb6d16a3b in QAbstractButton::mouseReleaseEvent (this=0x823cc20,
e=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1082
#30 0xb6dca0ec in QToolButton::mouseReleaseEvent (this=0x823cc20, e=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qtoolbutton.cpp:636
#31 0xb6ab8113 in QWidget::event (this=0x823cc20, event=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qwidget.cpp:5897
#32 0xb6d15c75 in QAbstractButton::event (this=0x823cc20, e=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qabstractbutton.cpp:1046
#33 0xb6dc9bc4 in QToolButton::event (this=0x823cc20, e=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/widgets/qtoolbutton.cpp:1053
#34 0xb6a759d0 in QApplicationPrivate::notify_helper (this=0x812c428,
receiver=0x823cc20, e=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3468
#35 0xb6a7b936 in QApplication::notify (this=0xbf834398, receiver=0x823cc20,
e=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3167
#36 0xb782c59a in KApplication::notify (this=0xbf834398, receiver=0x823cc20,
event=0xbf833e24)
at /home/kde4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:301
#37 0xb7e3b0ab in QCoreApplication::notifyInternal (this=0xbf834398,
receiver=0x823cc20, event=0xbf833e24)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:506
#38 0xb6ac9de3 in QETWidget::translateMouseEvent (this=0x823cc20,
event=0xbf8340cc)
at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplicat
ion.h:189
#39 0xb6ac94ac in QApplication::x11ProcessEvent (this=0xbf834398,
event=0xbf8340cc)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication_x11.cpp:2884
#40 0xb6aeb00b in x11EventSourceDispatch (s=0x8137378, callback=0,
user_data=0x0)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:122
#41 0xb66131b5 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb66161d2 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#43 0xb661670c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb7e5c348 in QEventDispatcherGlib::processEvents (this=0x812e108,
flags=@0xbf8342b8)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:32
3
#45 0xb6aeadf5 in QGuiEventDispatcherGlib::processEvents (this=0x812e108,
flags=@0xbf8342e4)
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:178
#46 0xb7e3a5d1 in QEventLoop::processEvents (this=0xbf834330,
flags=@0xbf834308)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:126
#47 0xb7e3a6dc in QEventLoop::exec (this=0xbf834330, flags=@0xbf834338)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:168
#48 0xb7e3c3b8 in QCoreApplication::exec ()
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:724
#49 0xb6a751f7 in QApplication::exec ()
at /home/kde4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:2983
#50 0x080c7e18 in main (argc=1, argv=0xbf834484)
at /home/kde4/Developpements/C++/games/ksirk/ksirk/main.cpp:73
(gdb) f 0
#0 0xb7e3f657 in QMetaObject::cast (this=0xb6fb55b8, obj=0x8222128)
at /home/kde4/kdesvn/qt-copy/src/corelib/kernel/qmetaobject.cpp:191
191 const QMetaObject *m = obj->metaObject();
(gdb) list
186 meta-object; otherwise returns 0.
187 */
188 QObject *QMetaObject::cast(QObject *obj) const
189 {
190 if (obj) {
191 const QMetaObject *m = obj->metaObject();
192 do {
193 if (m == this)
194 return const_cast<QObject*>(obj);
195 } while ((m = m->d.superdata));
(gdb) p obj
$3 = (class QObject *) 0x8222128
(gdb) p *obj
$4 = {_vptr.QObject = 0x1, static staticMetaObject = {d = {superdata = 0x0,
stringdata = 0xb7ea2a00 "QObject", data = 0xb7ea2a80, extradata = 0x0}},
d_ptr = 0x0, static staticQtMetaObject = {d = {superdata = 0x0,
stringdata = 0xb7ea57a0 "Qt", data = 0xb7ea73a0, extradata = 0x0}}}
==10495== Memcheck, a memory error detector.
==10495== Memcheck, a memory error detector.
==10495== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al.
==10495== Using LibVEX rev 1606, a library for dynamic binary translation.
==10495== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP.
==10495== Using valgrind-3.2.0, a dynamic binary instrumentation framework.
==10495== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al.
==10495== For more details, rerun with: -v
==10495==
==10495== My PID = 10495, parent PID = 10369. Prog and args are:
==10495== ksirk
==10495==
==10495== Syscall param write(buf) points to uninitialised byte(s)
==10495== at 0x4211323: __write_nocancel (in /lib/i686/libpthread-2.4.so)
==10495== by 0x4E008ED: (within /usr/lib/libX11.so.6.2.0)
==10495== by 0x4E0060E: _X11TransWrite (in /usr/lib/libX11.so.6.2.0)
==10495== by 0x4E060E2: (within /usr/lib/libX11.so.6.2.0)
==10495== by 0x4E061BB: _XReply (in /usr/lib/libX11.so.6.2.0)
==10495== by 0x4DCDDB3: (within /usr/lib/libX11.so.6.2.0)
==10495== Address 0x609E4B4 is 212 bytes inside a block of size 16,384 alloc'd
==10495== at 0x401E65C: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==10495== by 0x4DF0A83: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==10495==
==10495== Syscall param writev(vector[...]) points to uninitialised byte(s)
==10495== at 0x5871C58: writev (in /lib/i686/libc-2.4.so)
==10495== by 0x4E0086D: (within /usr/lib/libX11.so.6.2.0)
==10495== by 0x4E0066E: _X11TransWritev (in /usr/lib/libX11.so.6.2.0)
==10495== by 0x4E05F1A: _XSend (in /usr/lib/libX11.so.6.2.0)
==10495== by 0x4DF5AC8: (within /usr/lib/libX11.so.6.2.0)
==10495== by 0x4DF4AC1: (within /usr/lib/libX11.so.6.2.0)
==10495== by 0x4DF5C49: XPutImage (in /usr/lib/libX11.so.6.2.0)
==10495== by 0x513BBF0: QPixmap::fromImage(QImage const&, QFlags<Qt::ImageConversionFlag>) (qpixmap_x11.cpp:1680)
==10495== by 0x513892E: QPixmap::load(QString const&, char const*, QFlags<Qt::ImageConversionFlag>) (qpixmap.cpp:619)
==10495== by 0x5138BCD: QPixmap::QPixmap(QString const&, char const*, QFlags<Qt::ImageConversionFlag>) (qpixmap.cpp:168)
==10495== by 0x80A4869: Ksirk::GameLogic::ONU::ONU(QString const&) (onu.cpp:102)
==10495== by 0x80E5B06: Ksirk::KGameWindow::newSkin(QString const&) (kgamewin.cpp:272)
==10495== by 0x808B513: Ksirk::GameLogic::GameAutomaton::slotPropertyChanged(KGamePropertyBase*, KGame*) (gameautomaton.cpp:1527)
==10495== by 0x8096928: Ksirk::GameLogic::GameAutomaton::qt_metacall(QMetaObject::Call, int, void**) (gameautomaton.moc:80)
==10495== by 0x419E889: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3037)
==10495== by 0x419F2E9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3083)
==10495== by 0x4D2ABB8: KGame::signalPropertyChanged(KGamePropertyBase*, KGame*) (kgame.moc:211)
==10495== by 0x4D2ABE7: KGame::emitSignal(KGamePropertyBase*) (kgame.cpp:1463)
==10495== by 0x4D37908: KGame::qt_metacall(QMetaObject::Call, int, void**) (kgame.moc:126)
==10495== by 0x809683E: Ksirk::GameLogic::GameAutomaton::qt_metacall(QMetaObject::Call, int, void**) (gameautomaton.moc:73)
==10495== by 0x419E889: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3037)
==10495== by 0x419F2E9: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3083)
==10495== by 0x4D4DEF2: KGamePropertyHandler::signalPropertyChanged(KGamePropertyBase*) (kgamepropertyhandler.moc:83)
==10495== by 0x4D4E095: KGamePropertyHandler::emitSignal(KGamePropertyBase*) (kgamepropertyhandler.cpp:320)
==10495== by 0x4D43CFF: KGamePropertyBase::emitSignal() (kgameproperty.cpp:189)
==10495== by 0x8099295: KGameProperty<QString>::operator=(QString const&) (kgameproperty.h:727)
==10495== by 0x80E700D: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:149)
==10495== by 0x80C763F: main (main.cpp:65)
==10495== Address 0x609E7C3 is 995 bytes inside a block of size 16,384 alloc'd
==10495== at 0x401E65C: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==10495== by 0x4DF0A83: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==10495==
==10495== Conditional jump or move depends on uninitialised value(s)
==10495== at 0x50A8A60: QBoxLayoutPrivate::setupGeom() (qlayoutengine_p.h:109)
==10495== by 0x50A91F2: QBoxLayout::setGeometry(QRect const&) (qboxlayout.cpp:653)
==10495== by 0x50C01DB: QLayoutPrivate::doResize(QSize const&) (qlayout.cpp:560)
==10495== by 0x50C0638: QLayout::activate() (qlayout.cpp:1126)
==10495== by 0x53D69DF: QStatusBar::reformat() (qstatusbar.cpp:495)
==10495== by 0x53D71E4: QStatusBar::insertPermanentWidget(int, QWidget*, int) (qstatusbar.cpp:348)
==10495== by 0x53D72B6: QStatusBar::addPermanentWidget(QWidget*, int) (qstatusbar.cpp:311)
==10495== by 0x4816CAA: KStatusBar::insertItem(QString const&, int, int) (kstatusbar.cpp:100)
==10495== by 0x80CED60: Ksirk::KGameWindow::initStatusBar() (kgamewin.cpp:197)
==10495== by 0x80E7026: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:155)
==10495== by 0x80C763F: main (main.cpp:65)
==10495==
==10495== Use of uninitialised value of size 4
==10495== at 0x50A8A75: QBoxLayoutPrivate::setupGeom() (qlayoutengine_p.h:112)
==10495== by 0x50A91F2: QBoxLayout::setGeometry(QRect const&) (qboxlayout.cpp:653)
==10495== by 0x50C01DB: QLayoutPrivate::doResize(QSize const&) (qlayout.cpp:560)
==10495== by 0x50C0638: QLayout::activate() (qlayout.cpp:1126)
==10495== by 0x53D69DF: QStatusBar::reformat() (qstatusbar.cpp:495)
==10495== by 0x53D71E4: QStatusBar::insertPermanentWidget(int, QWidget*, int) (qstatusbar.cpp:348)
==10495== by 0x53D72B6: QStatusBar::addPermanentWidget(QWidget*, int) (qstatusbar.cpp:311)
==10495== by 0x4816CAA: KStatusBar::insertItem(QString const&, int, int) (kstatusbar.cpp:100)
==10495== by 0x80CED60: Ksirk::KGameWindow::initStatusBar() (kgamewin.cpp:197)
==10495== by 0x80E7026: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:155)
==10495== by 0x80C763F: main (main.cpp:65)
==10495==
==10495== Conditional jump or move depends on uninitialised value(s)
==10495== at 0x48C5E92: (within /lib/libz.so.1.2.3)
==10495== by 0x48C7027: (within /lib/libz.so.1.2.3)
==10495== by 0x48C64A9: deflate (in /lib/libz.so.1.2.3)
==10495== by 0x59999D0: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5999CB3: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599A16C: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E70B: png_write_row (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E931: png_write_image (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5149750: QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int) (qpnghandler.cpp:878)
==10495== by 0x514A3C1: QPngHandler::write(QImage const&) (qpnghandler.cpp:179)
==10495== by 0x512BB8C: QImageWriter::write(QImage const&) (qimagewriter.cpp:564)
==10495== by 0x511BA36: operator<<(QDataStream&, QImage const&) (qimage.cpp:4221)
==10495== by 0x5136B3D: operator<<(QDataStream&, QPixmap const&) (qpixmap.cpp:998)
==10495== by 0x80D37C6: Ksirk::KGameWindow::broadcastChangeItem(Ksirk::GameLogic::KMessageParts&, int, bool) (kgamewin.cpp:1281)
==10495== by 0x80D3E62: Ksirk::KGameWindow::explain() (kgamewin.cpp:2343)
==10495== by 0x80E7075: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:162)
==10495== by 0x80C763F: main (main.cpp:65)
==10495==
==10495== Conditional jump or move depends on uninitialised value(s)
==10495== at 0x48C5E58: (within /lib/libz.so.1.2.3)
==10495== by 0x48C7027: (within /lib/libz.so.1.2.3)
==10495== by 0x48C64A9: deflate (in /lib/libz.so.1.2.3)
==10495== by 0x59999D0: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5999CB3: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599A16C: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E70B: png_write_row (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E931: png_write_image (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5149750: QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int) (qpnghandler.cpp:878)
==10495== by 0x514A3C1: QPngHandler::write(QImage const&) (qpnghandler.cpp:179)
==10495== by 0x512BB8C: QImageWriter::write(QImage const&) (qimagewriter.cpp:564)
==10495== by 0x511BA36: operator<<(QDataStream&, QImage const&) (qimage.cpp:4221)
==10495== by 0x5136B3D: operator<<(QDataStream&, QPixmap const&) (qpixmap.cpp:998)
==10495== by 0x80D37C6: Ksirk::KGameWindow::broadcastChangeItem(Ksirk::GameLogic::KMessageParts&, int, bool) (kgamewin.cpp:1281)
==10495== by 0x80D3E62: Ksirk::KGameWindow::explain() (kgamewin.cpp:2343)
==10495== by 0x80E7075: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:162)
==10495== by 0x80C763F: main (main.cpp:65)
==10495==
==10495== Conditional jump or move depends on uninitialised value(s)
==10495== at 0x48C5EB8: (within /lib/libz.so.1.2.3)
==10495== by 0x48C7027: (within /lib/libz.so.1.2.3)
==10495== by 0x48C64A9: deflate (in /lib/libz.so.1.2.3)
==10495== by 0x59999D0: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5999CB3: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599A16C: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E70B: png_write_row (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E931: png_write_image (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5149750: QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int) (qpnghandler.cpp:878)
==10495== by 0x514A3C1: QPngHandler::write(QImage const&) (qpnghandler.cpp:179)
==10495== by 0x512BB8C: QImageWriter::write(QImage const&) (qimagewriter.cpp:564)
==10495== by 0x511BA36: operator<<(QDataStream&, QImage const&) (qimage.cpp:4221)
==10495== by 0x5136B3D: operator<<(QDataStream&, QPixmap const&) (qpixmap.cpp:998)
==10495== by 0x80D37C6: Ksirk::KGameWindow::broadcastChangeItem(Ksirk::GameLogic::KMessageParts&, int, bool) (kgamewin.cpp:1281)
==10495== by 0x80D4033: Ksirk::KGameWindow::explain() (kgamewin.cpp:2354)
==10495== by 0x80E7075: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:162)
==10495== by 0x80C763F: main (main.cpp:65)
==10495==
==10495== Conditional jump or move depends on uninitialised value(s)
==10495== at 0x48C5EA5: (within /lib/libz.so.1.2.3)
==10495== by 0x48C7027: (within /lib/libz.so.1.2.3)
==10495== by 0x48C64A9: deflate (in /lib/libz.so.1.2.3)
==10495== by 0x59999D0: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5999CB3: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599A16C: (within /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E70B: png_write_row (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x599E931: png_write_image (in /usr/lib/libpng12.so.0.12.0)
==10495== by 0x5149750: QPNGImageWriter::writeImage(QImage const&, int, QString const&, int, int) (qpnghandler.cpp:878)
==10495== by 0x514A3C1: QPngHandler::write(QImage const&) (qpnghandler.cpp:179)
==10495== by 0x512BB8C: QImageWriter::write(QImage const&) (qimagewriter.cpp:564)
==10495== by 0x511BA36: operator<<(QDataStream&, QImage const&) (qimage.cpp:4221)
==10495== by 0x5136B3D: operator<<(QDataStream&, QPixmap const&) (qpixmap.cpp:998)
==10495== by 0x80D37C6: Ksirk::KGameWindow::broadcastChangeItem(Ksirk::GameLogic::KMessageParts&, int, bool) (kgamewin.cpp:1281)
==10495== by 0x80D4033: Ksirk::KGameWindow::explain() (kgamewin.cpp:2354)
==10495== by 0x80E7075: Ksirk::KGameWindow::KGameWindow(QWidget*) (kgamewin.cpp:162)
==10495== by 0x80C763F: main (main.cpp:65)
==10495==
==10495== Invalid read of size 4
==10495== at 0x4191652: QMetaObject::cast(QObject*) const (qmetaobject.cpp:191)
==10495== by 0x5399A3E: QMainWindowLayout::animationFinished(QWidget*) (qobject.h:413)
==10495== by 0x5548C7C: QMainWindowLayout::qt_metacall(QMetaObject::Call, int, void**) (moc_qmainwindowlayout_p.cpp:70)
==10495== by 0x4198DCA: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:520)
==10495== by 0x419B362: QObject::event(QEvent*) (qobject.cpp:1091)
==10495== by 0x509E9CF: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3468)
==10495== by 0x50A482D: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3043)
==10495== by 0x4775599: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:301)
==10495== by 0x418D0AA: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:506)
==10495== by 0x418E0B9: QCoreApplication::sendPostedEvents(QObject*, int) (qcoreapplication.h:188)
==10495== by 0x41ADBCA: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:194)
==10495== by 0x590D1B4: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1200.3)
==10495== by 0x59101D1: (within /usr/lib/libglib-2.0.so.0.1200.3)
==10495== by 0x591070B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.1200.3)
==10495== by 0x41AE347: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:323)
==10495== by 0x5113DF4: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:178)
==10495== by 0x418C5D0: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:126)
==10495== by 0x418C6DB: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:168)
==10495== by 0x542BA66: QDialog::exec() (qdialog.cpp:398)
==10495== by 0x80DB50C: Ksirk::KGameWindow::setupPlayers() (kgamewin.cpp:940)
==10495== by 0x80DBCAE: Ksirk::KGameWindow::actionNewGame() (kgamewin.cpp:2085)
==10495== by 0x80E8760: Ksirk::KGameWindow::slotNewGame() (kgamewinslots.cpp:251)
==10495== by 0x80CF22C: Ksirk::KGameWindow::qt_metacall(QMetaObject::Call, int, void**) (kgamewin.moc:127)
==10495== by 0x419E889: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3037)
==10495== by 0x419EB3E: QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) (qobject.cpp:3092)
==10495== by 0x5098A70: QAction::triggered(bool) (moc_qaction.cpp:208)
==10495== by 0x50995CE: QAction::activate(QAction::ActionEvent) (qaction.cpp:1087)
==10495== by 0x53F2FF1: QToolButton::nextCheckState() (qaction.h:175)
==10495== by 0x533F7EE: QAbstractButtonPrivate::click() (qabstractbutton.cpp:500)
==10495== by 0x533FA3A: QAbstractButton::mouseReleaseEvent(QMouseEvent*) (qabstractbutton.cpp:1082)
==10495== Address 0x5DA5810 is not stack'd, malloc'd or (recently) free'd
==10495==
==10495== Invalid read of size 4
==10495== at 0x4191657: QMetaObject::cast(QObject*) const (qmetaobject.cpp:191)
==10495== by 0x5399A3E: QMainWindowLayout::animationFinished(QWidget*) (qobject.h:413)
==10495== by 0x5548C7C: QMainWindowLayout::qt_metacall(QMetaObject::Call, int, void**) (moc_qmainwindowlayout_p.cpp:70)
==10495== by 0x4198DCA: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:520)
==10495== by 0x419B362: QObject::event(QEvent*) (qobject.cpp:1091)
==10495== by 0x509E9CF: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3468)
==10495== by 0x50A482D: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3043)
==10495== by 0x4775599: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:301)
==10495== by 0x418D0AA: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:506)
==10495== by 0x418E0B9: QCoreApplication::sendPostedEvents(QObject*, int) (qcoreapplication.h:188)
==10495== by 0x41ADBCA: postEventSourceDispatch(_GSource*, int (*)(void*), void*) (qeventdispatcher_glib.cpp:194)
==10495== by 0x590D1B4: g_main_context_dispatch (in /usr/lib/libglib-2.0.so.0.1200.3)
==10495== by 0x59101D1: (within /usr/lib/libglib-2.0.so.0.1200.3)
==10495== by 0x591070B: g_main_context_iteration (in /usr/lib/libglib-2.0.so.0.1200.3)
==10495== by 0x41AE347: QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_glib.cpp:323)
==10495== by 0x5113DF4: QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qguieventdispatcher_glib.cpp:178)
==10495== by 0x418C5D0: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:126)
==10495== by 0x418C6DB: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:168)
==10495== by 0x542BA66: QDialog::exec() (qdialog.cpp:398)
==10495== by 0x80DB50C: Ksirk::KGameWindow::setupPlayers() (kgamewin.cpp:940)
==10495== by 0x80DBCAE: Ksirk::KGameWindow::actionNewGame() (kgamewin.cpp:2085)
==10495== by 0x80E8760: Ksirk::KGameWindow::slotNewGame() (kgamewinslots.cpp:251)
==10495== by 0x80CF22C: Ksirk::KGameWindow::qt_metacall(QMetaObject::Call, int, void**) (kgamewin.moc:127)
==10495== by 0x419E889: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3037)
==10495== by 0x419EB3E: QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**) (qobject.cpp:3092)
==10495== by 0x5098A70: QAction::triggered(bool) (moc_qaction.cpp:208)
==10495== by 0x50995CE: QAction::activate(QAction::ActionEvent) (qaction.cpp:1087)
==10495== by 0x53F2FF1: QToolButton::nextCheckState() (qaction.h:175)
==10495== by 0x533F7EE: QAbstractButtonPrivate::click() (qabstractbutton.cpp:500)
==10495== by 0x533FA3A: QAbstractButton::mouseReleaseEvent(QMouseEvent*) (qabstractbutton.cpp:1082)
==10495== Address 0xD is not stack'd, malloc'd or (recently) free'd
==10495== Warning: invalid file descriptor -1 in syscall write()
==10495== Warning: invalid file descriptor -1 in syscall write()
==10495== Warning: invalid file descriptor -1 in syscall read()
==10495==
==10495== ERROR SUMMARY: 63 errors from 10 contexts (suppressed: 175 from 1)
==10495== malloc/free: in use at exit: 7,447,573 bytes in 32,538 blocks.
==10495== malloc/free: 367,637 allocs, 335,099 frees, 282,941,640 bytes allocated.
==10495== For counts of detected errors, rerun with: -v
==10495== searching for pointers to 32,538 not-freed blocks.
==10495== checked 7,972,700 bytes.
==10495==
==10495== LEAK SUMMARY:
==10495== definitely lost: 24,954 bytes in 461 blocks.
==10495== possibly lost: 76,802 bytes in 2,497 blocks.
==10495== still reachable: 7,345,817 bytes in 29,580 blocks.
==10495== suppressed: 0 bytes in 0 blocks.
==10495== Use --leak-check=full to see details of leaked memory.