Bug 219385

Summary: Ksudoku Doesn't survive startup [ksudoku::SymbolItem::setSize, ksudoku::ValueListWidget::resizeEvent, QWidget::event]
Product: [Applications] ksudoku Reporter: Roger Pixley <skreech2>
Component: generalAssignee: Johannes.Bergmeier
Status: RESOLVED DUPLICATE    
Severity: crash CC: iandw.au, kde-games-bugs
Priority: NOR    
Version: 0.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roger Pixley 2009-12-20 07:05:44 UTC
Application: ksudoku (0.5)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-16-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
Ksudoku starts up and shows the initial choice menu then segfaults very shortly after. Happens everytime I open it. I will revisit this for KDE 4.4.0 beta 2 packages

The crash can be reproduced everytime.

 -- Backtrace:
Application: KSudoku (ksudoku), signal: Segmentation fault
[KCrash Handler]
#6  ksudoku::SymbolItem::setSize (this=0x29, size=26) at /build/buildd/kdegames-4.3.80/ksudoku/src/gui/views/valuelistwidget.cpp:63
#7  0x08074320 in ksudoku::ValueListWidget::resizeEvent (this=0x9d1aab8) at /build/buildd/kdegames-4.3.80/ksudoku/src/gui/views/valuelistwidget.cpp:165
#8  0x055c82ad in QWidget::event (this=0x9d1aab8, event=0xbfd1a7b8) at kernel/qwidget.cpp:8128
#9  0x059c1433 in QFrame::event (this=0x9d1aab8, e=0xbfd1a7b8) at widgets/qframe.cpp:557
#10 0x05a5acf2 in QAbstractScrollArea::viewportEvent (this=0x1, e=0x9c81801) at widgets/qabstractscrollarea.cpp:1032
#11 0x05c2e39b in QGraphicsView::viewportEvent (this=0x9d1aab8, event=0xbfd1a7b8) at graphicsview/qgraphicsview.cpp:2747
#12 0x05a5d5e5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9cf7bf0, o=0x9d18010, e=0xbfd1a7b8) at widgets/qabstractscrollarea_p.h:100
#13 QAbstractScrollAreaFilter::eventFilter (this=0x9cf7bf0, o=0x9d18010, e=0xbfd1a7b8) at widgets/qabstractscrollarea_p.h:116
#14 0x08dfb14a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9bdb950, receiver=0x9d18010, event=0xbfd1a7b8) at kernel/qcoreapplication.cpp:819
#15 0x0556b179 in QApplicationPrivate::notify_helper (this=0x9bdb950, receiver=0x9d18010, e=0xbfd1a7b8) at kernel/qapplication.cpp:4238
#16 0x05571eb7 in QApplication::notify (this=0xbfd1b480, receiver=0x9d18010, e=0xbfd1a7b8) at kernel/qapplication.cpp:4207
#17 0x011d8f8a in KApplication::notify (this=0xbfd1b480, receiver=0x9d18010, event=0xbfd1a7b8) at ../../kdeui/kernel/kapplication.cpp:302
#18 0x08dfbeab in QCoreApplication::notifyInternal (this=0xbfd1b480, receiver=0x9d18010, event=0xbfd1a7b8) at kernel/qcoreapplication.cpp:704
#19 0x055c7279 in QCoreApplication::sendEvent (this=0x9d088c0, recursive=true, disableUpdates=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9d088c0, recursive=true, disableUpdates=true) at kernel/qwidget.cpp:7062
#21 0x055c71e7 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9cf1a18, recursive=true, disableUpdates=true) at kernel/qwidget.cpp:7074
#22 0x055c71e7 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9d1d8e0, recursive=true, disableUpdates=true) at kernel/qwidget.cpp:7074
#23 0x055c71e7 in QWidgetPrivate::sendPendingMoveAndResizeEvents (this=0x9c8af70, recursive=true, disableUpdates=true) at kernel/qwidget.cpp:7074
#24 0x055cd17e in QWidgetPrivate::prepareToRender (this=0x9c8af70, region=..., renderFlags=...) at kernel/qwidget.cpp:5146
#25 0x055d239d in QWidget::render (this=0x9c89c78, target=0xbfd1ab6c, targetOffset=..., sourceRegion=..., renderFlags=...) at kernel/qwidget.cpp:4850
#26 0x05661612 in QPixmap::grabWidget (widget=0x9c89c78, rect=...) at image/qpixmap.cpp:1090
#27 0x01721a48 in Oxygen::TransitionWidget::grab (this=0x9d04e28, widget=0x9cfe418, rect=...) at ../../../kstyles/oxygen/transitions/oxygentransitionwidget.cpp:86
#28 0x0171c09b in Oxygen::LabelData::animate (this=0x9d4f620) at ../../../kstyles/oxygen/transitions/oxygenlabeldata.cpp:122
#29 0x0171c263 in Oxygen::LabelData::timerEvent (this=0x9d4f620, event=0xbfd1b120) at ../../../kstyles/oxygen/transitions/oxygenlabeldata.cpp:95
#30 0x08e0c704 in QObject::event (this=0x9d4f620, e=0x9c81801) at kernel/qobject.cpp:1224
#31 0x0556b19c in QApplicationPrivate::notify_helper (this=0x9bdb950, receiver=0x9d4f620, e=0xbfd1b120) at kernel/qapplication.cpp:4242
#32 0x05571df7 in QApplication::notify (this=0xbfd1b480, receiver=0x9d4f620, e=0xbfd1b120) at kernel/qapplication.cpp:3661
#33 0x011d8f8a in KApplication::notify (this=0xbfd1b480, receiver=0x9d4f620, event=0xbfd1b120) at ../../kdeui/kernel/kapplication.cpp:302
#34 0x08dfbeab in QCoreApplication::notifyInternal (this=0xbfd1b480, receiver=0x9d4f620, event=0xbfd1b120) at kernel/qcoreapplication.cpp:704
#35 0x08e2b286 in QCoreApplication::sendEvent (this=0x9bdeebc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QTimerInfoList::activateTimers (this=0x9bdeebc) at kernel/qeventdispatcher_unix.cpp:603
#37 0x08e27f17 in timerSourceDispatch (source=0x9bdf300) at kernel/qeventdispatcher_glib.cpp:184
#38 idleTimerSourceDispatch (source=0x9bdf300) at kernel/qeventdispatcher_glib.cpp:231
#39 0x02083e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x02087720 in ?? () from /lib/libglib-2.0.so.0
#41 0x02087853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x08e27bd5 in QEventDispatcherGlib::processEvents (this=0x9bd5b30, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#43 0x05628b75 in QGuiEventDispatcherGlib::processEvents (this=0x9bd5b30, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#44 0x08dfa4c9 in QEventLoop::processEvents (this=0xbfd1b3e4, flags=) at kernel/qeventloop.cpp:149
#45 0x08dfa91a in QEventLoop::exec (this=0xbfd1b3e4, flags=...) at kernel/qeventloop.cpp:201
#46 0x08dfeb0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x0556b237 in QApplication::exec () at kernel/qapplication.cpp:3570
#48 0x08059479 in main (argc=5, argv=0xbfd1b604) at /build/buildd/kdegames-4.3.80/ksudoku/src/main.cpp:94

Reported using DrKonqi
Comment 1 Johannes.Bergmeier 2010-01-23 01:29:02 UTC
I'm not able to reproduce this. I think the reason for this behavior is something in the configuration of the system. Maybe it is caused by Qt 4.6. I'll try to investigate it.

Can you test the patch from bug https://bugs.kde.org/show_bug.cgi?id=215054 ?
Comment 2 Ian Wadham 2012-02-23 08:21:44 UTC
Fixed in KDE 4.8.1 release.

*** This bug has been marked as a duplicate of bug 294420 ***