Bug 249667

Summary: ksudoku crashes loading saved game
Product: [Applications] ksudoku Reporter: marco <marcsky>
Component: generalAssignee: Johannes.Bergmeier
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde-games-bugs
Priority: NOR    
Version: 0.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description marco 2010-08-31 21:59:31 UTC
Application: ksudoku (0.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-24-generic x86_64
Distribution: Ubuntu 10.04.1 LTS

-- Information about the crash:
Each time I try to load a Samurai saved game ksudoku crashes. The crash does not occurr when loading a sudoku saved game.

The crash can be reproduced every time.

 -- Backtrace:
Application: KSudoku (ksudoku), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa515ffa7a0 (LWP 10271))]

Thread 2 (Thread 0x7fa50662d710 (LWP 10291)):
#0  0x00007fffa83ff904 in clock_gettime ()
#1  0x00007fa50b83a09f in *__GI_clock_gettime (clock_id=1, tp=0x7fa50662cac0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007fa511d7f83f in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007fa511d8450d in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007fa511d84535 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007fa511d825fd in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7fa50662cbdc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007fa511d826a5 in timerSourcePrepare (source=0x1, timeout=0x7fa50662cac0) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007fa50c0f3eb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007fa50c0f4318 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007fa50c0f48fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007fa511d82406 in QEventDispatcherGlib::processEvents (this=0x130f360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007fa511d576c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007fa511d57a9c in QEventLoop::exec (this=0x7fa50662cd70, flags=) at kernel/qeventloop.cpp:201
#13 0x00007fa511c668db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007fa511d37dd8 in QInotifyFileSystemWatcherEngine::run (this=0x130a7f0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007fa511c68f95 in QThreadPrivate::start (arg=0x130a7f0) at thread/qthread_unix.cpp:248
#16 0x00007fa5119d89ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007fa510b5c72d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa515ffa7a0 (LWP 10271)):
[KCrash Handler]
#5  0x0000000000432fbe in QVector<ksudoku::CellGraphicsItem*>::operator[] (this=0x1d1e720, cell=-1) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/views/view2d.cpp:446
#6  ksudoku::View2DScene::hover (this=0x1d1e720, cell=-1) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/views/view2d.cpp:446
#7  0x0000000000433b65 in ksudoku::View2DScene::init (this=0x1d1e720, game=<value optimized out>) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/views/view2d.cpp:406
#8  0x0000000000433d9a in View2D (this=0x19d1b80, parent=<value optimized out>, game=..., gameActions=0x11ea780) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/views/view2d.cpp:614
#9  0x0000000000428ca9 in ksudoku::KsView::createView (this=0x144bb90) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/views/ksview.cpp:66
#10 0x0000000000416526 in KSudoku::startGame (this=0x11edf20, game=...) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/ksudoku.cpp:217
#11 0x00000000004174cf in KSudoku::gameOpen (this=0x11edf20) at /build/buildd/kdegames-4.4.5/ksudoku/src/gui/ksudoku.cpp:509
#12 0x000000000041a156 in KSudoku::qt_metacall (this=0x11edf20, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffa83dd710)
    at /build/buildd/kdegames-4.4.5/obj-x86_64-linux-gnu/ksudoku/src/gui/ksudoku.moc:117
#13 0x00007fa511d6c036 in QMetaObject::activate (sender=0x1283cb0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3295
#14 0x00007fa512227a12 in QAction::triggered (this=0x1d1e720, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#15 0x00007fa512229a8b in QAction::activate (this=0x1283cb0, event=<value optimized out>) at kernel/qaction.cpp:1255
#16 0x00007fa51266a691 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=..., action=0x1283cb0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#17 0x00007fa512670222 in QMenuPrivate::activateAction (this=0x12ceed0, action=0x1283cb0, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1094
#18 0x00007fa51398e48e in KMenu::mouseReleaseEvent (this=0x12ac2d0, e=0xffffffff) at ../../kdeui/widgets/kmenu.cpp:471
#19 0x00007fa512283f12 in QWidget::event (this=0x12ac2d0, event=0x7fffa83de360) at kernel/qwidget.cpp:8044
#20 0x00007fa51267241b in QMenu::event (this=0x12ac2d0, e=0x7fffa83de360) at widgets/qmenu.cpp:2421
#21 0x00007fa51222dc0c in QApplicationPrivate::notify_helper (this=0x114c9c0, receiver=0x12ac2d0, e=0x7fffa83de360) at kernel/qapplication.cpp:4302
#22 0x00007fa5122348bb in QApplication::notify (this=0x7fffa83df060, receiver=0x12ac2d0, e=0x7fffa83de360) at kernel/qapplication.cpp:3867
#23 0x00007fa5138b1a16 in KApplication::notify (this=0x7fffa83df060, receiver=0x12ac2d0, event=0x7fffa83de360) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007fa511d58d9c in QCoreApplication::notifyInternal (this=0x7fffa83df060, receiver=0x12ac2d0, event=0x7fffa83de360) at kernel/qcoreapplication.cpp:726
#25 0x00007fa512233a9e in QCoreApplication::sendEvent (receiver=0x12ac2d0, event=0x7fffa83de360, alienWidget=0x0, nativeWidget=0x12ac2d0, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x12ac2d0, event=0x7fffa83de360, alienWidget=0x0, nativeWidget=0x12ac2d0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, 
    spontaneous=true) at kernel/qapplication.cpp:2967
#27 0x00007fa5122b401d in QETWidget::translateMouseEvent (this=0x12ac2d0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4314
#28 0x00007fa5122b24ec in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffa83dec80) at kernel/qapplication_x11.cpp:3513
#29 0x00007fa5122de5a2 in x11EventSourceDispatch (s=0x1142ed0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007fa50c0f08c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#31 0x00007fa50c0f4748 in ?? () from /lib/libglib-2.0.so.0
#32 0x00007fa50c0f48fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#33 0x00007fa511d823b3 in QEventDispatcherGlib::processEvents (this=0x1139770, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#34 0x00007fa5122de18e in QGuiEventDispatcherGlib::processEvents (this=0x1d1e720, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007fa511d576c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#36 0x00007fa511d57a9c in QEventLoop::exec (this=0x7fffa83defb0, flags=) at kernel/qeventloop.cpp:201
#37 0x00007fa511d5c73b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#38 0x0000000000415cee in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdegames-4.4.5/ksudoku/src/main.cpp:94

This bug may be a duplicate of or related to bug 182267.

Possible duplicates by query: bug 182267.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-10-12 03:11:23 UTC

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