Bug 266871 - undo
Summary: undo
Status: RESOLVED WORKSFORME
Alias: None
Product: kigo
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Sascha Peilicke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-22 08:42 UTC by thomas
Modified: 2018-12-01 03:45 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
PATCH: Check that the undo stack and the moves list are not empty before the undo operation. (1.06 KB, patch)
2015-08-06 07:03 UTC, Arseny Krasutsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description thomas 2011-02-22 08:42:04 UTC
Application: kigo (v0.5.5)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-24-generic-pae i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
looked at an old game. tried to undo a move. crash.

 -- Backtrace:
Application: Kigo (kigo), signal: Segmentation fault
[KCrash Handler]
#6  0xb5cb4cf3 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0xb69a7f36 in QListData::remove (this=0x952b2e8, i=<value optimized out>) at /usr/include/bits/string3.h:59
#8  0xb69a7faa in QListData::erase (this=0x952b2e8, xi=0xa8cf35c) at tools/qlist.cpp:349
#9  0x08059010 in QList<Kigo::Move>::erase (this=0x952b2c8) at /usr/include/qt4/QtCore/qlist.h:436
#10 QList<Kigo::Move>::removeLast (this=0x952b2c8) at /usr/include/qt4/QtCore/qlist.h:268
#11 QList<Kigo::Move>::takeLast (this=0x952b2c8) at /usr/include/qt4/QtCore/qlist.h:463
#12 Kigo::Game::undoMove (this=0x952b2c8) at /build/buildd/kdegames-4.4.5/kigo/src/game/game.cpp:454
#13 0x0805f87d in Kigo::MainWindow::undo (this=0x9598370) at /build/buildd/kdegames-4.4.5/kigo/src/gui/mainwindow.cpp:276
#14 0x08060903 in Kigo::MainWindow::qt_metacall (this=0x9598370, _c=QMetaObject::InvokeMetaMethod, _id=53, _a=0xbfd97c58)
    at /build/buildd/kdegames-4.4.5/obj-i486-linux-gnu/kigo/src/moc_mainwindow.cpp:102
#15 0xb6a8fc9a in QMetaObject::metacall (object=0x9598370, cl=4293812960, idx=53, argv=0xbfd97c58) at kernel/qmetaobject.cpp:237
#16 0xb6a9e3d5 in QMetaObject::activate (sender=0x9712740, m=0xb6892d58, local_signal_index=1, argv=0xbfd97c58) at kernel/qobject.cpp:3293
#17 0xb5f63bd9 in QAction::triggered (this=0x9712740, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0xb5f65dcc in QAction::activate (this=0x9712740, event=QAction::Trigger) at kernel/qaction.cpp:1255
#19 0xb6458bd2 in QAction::trigger (this=0xa9e9000) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#20 QToolButton::nextCheckState (this=0xa9e9000) at widgets/qtoolbutton.cpp:1147
#21 0xb6375cb3 in QAbstractButtonPrivate::click (this=0x983ad00) at widgets/qabstractbutton.cpp:528
#22 0xb6375fae in QAbstractButton::mouseReleaseEvent (this=0x984f938, e=0xbfd983c0) at widgets/qabstractbutton.cpp:1121
#23 0xb645909c in QToolButton::mouseReleaseEvent (this=0x984f938, e=0xbfd983c0) at widgets/qtoolbutton.cpp:721
#24 0xb5fc87f8 in QWidget::event (this=0x984f938, event=0xbfd983c0) at kernel/qwidget.cpp:7998
#25 0xb6374d4e in QAbstractButton::event (this=0x984f938, e=0xa9e9000) at widgets/qabstractbutton.cpp:1080
#26 0xb645bbca in QToolButton::event (this=0x984f938, event=0xbfd983c0) at widgets/qtoolbutton.cpp:1163
#27 0xb5f6a4dc in QApplicationPrivate::notify_helper (this=0x93ef8d0, receiver=0x984f938, e=0xbfd983c0) at kernel/qapplication.cpp:4300
#28 0xb5f719f7 in QApplication::notify (this=0xbfd98c70, receiver=0x984f938, e=0xbfd983c0) at kernel/qapplication.cpp:3865
#29 0xb759f40a in KApplication::notify (this=0xbfd98c70, receiver=0x984f938, event=0xbfd983c0) at ../../kdeui/kernel/kapplication.cpp:302
#30 0xb6a8aa3b in QCoreApplication::notifyInternal (this=0xbfd98c70, receiver=0x984f938, event=0xbfd983c0) at kernel/qcoreapplication.cpp:704
#31 0xb5f70952 in QCoreApplication::sendEvent (receiver=0x984f938, event=0xbfd983c0, alienWidget=0x984f938, nativeWidget=0x98537f8, buttonDown=0xb68ae058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QApplicationPrivate::sendMouseEvent (receiver=0x984f938, event=0xbfd983c0, alienWidget=0x984f938, nativeWidget=0x98537f8, buttonDown=0xb68ae058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#33 0xb5ffc088 in QETWidget::translateMouseEvent (this=0x98537f8, event=0xbfd988dc) at kernel/qapplication_x11.cpp:4368
#34 0xb5ffb511 in QApplication::x11ProcessEvent (this=0xbfd98c70, event=0xbfd988dc) at kernel/qapplication_x11.cpp:3379
#35 0xb602a60a in x11EventSourceDispatch (s=0x93f3340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#36 0xb5805b15 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#37 0xb580a0d8 in ?? () from /lib/libglib-2.0.so.0
#38 0xb580a2b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#39 0xb6ab65d5 in QEventDispatcherGlib::processEvents (this=0x93eab70, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#40 0xb602a135 in QGuiEventDispatcherGlib::processEvents (this=0x93eab70, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0xb6a89059 in QEventLoop::processEvents (this=0xbfd98bd4, flags=) at kernel/qeventloop.cpp:149
#42 0xb6a894aa in QEventLoop::exec (this=0xbfd98bd4, flags=...) at kernel/qeventloop.cpp:201
#43 0xb6a8d69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#44 0xb5f6a577 in QApplication::exec () at kernel/qapplication.cpp:3579
#45 0x08070951 in main (argc=1, argv=0xbfd98db4) at /build/buildd/kdegames-4.4.5/kigo/src/main.cpp:62

Reported using DrKonqi
Comment 1 Frederik Schwarzer 2011-06-29 15:24:38 UTC
Here the undo action is disabled after loading a game. Was it enabled for you?
Comment 2 Arseny Krasutsky 2015-08-06 07:03:47 UTC
Created attachment 93909 [details]
PATCH: Check that the undo stack and the moves list are not empty before the undo operation.
Comment 3 Andrew Crouthamel 2018-11-01 13:45:56 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-11-16 11:30:42 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-12-01 03:45:27 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!