[Kde-games-devel] Crash in KScoreDialog

Matt Williams matt at milliams.com
Fri Jun 8 21:15:29 CEST 2007


On Thursday 07 June 2007 19:41:52 Dmitry Suzdalev wrote:
> Hello!
>
> While writing most recent fix for katomic, I catched a crash in
> KScoreDialog.
>
> Unfortunately I can't call this crash 100% reproducible. I tried several
> times. It happens _sometimes_ after I complete the level, enter my name in
> KScoreDialog and hit "OK". Good news is that I have a backtrace :-). Here
> it is (I guess #8 is of interest):
>
> #3  0xb5e52fb9 in abort () from /lib/tls/i686/cmov/libc.so.6
> #4  0xb7e51cc2 in qt_message_output (msgType=QtFatalMsg,
>     buf=0xbfe31500 "ASSERT failure in QList<T>::at: \"index out of range\",
> file
> /home/kde-devel/KDE-SVN/qt-copy/include/QtCore/../../src/corelib/tools/qlis
>t.h, line 371")  at global/qglobal.cpp:2145
> #5  0xb7e51d27 in qFatal (msg=0xb7f44090 "ASSERT failure in %s: \"%s\",
> file %s, line %d") at global/qglobal.cpp:2376
> #6  0xb7e51d6c in qt_assert_x (where=0xb705f922 "QList<T>::at",
> what=0xb705f8fa "index out of range",
> file=0xb705f8a0
> "/home/kde-devel/KDE-SVN/qt-copy/include/QtCore/../../src/corelib/tools/qli
>st.h", line=371) at global/qglobal.cpp:1912
> #7  0xb7002842 in QList<QLabel*>::at (this=0x8118164, i=0)
> at
> /home/kde-devel/KDE-SVN/qt-copy/include/QtCore/../../src/corelib/tools/qlis
>t.h:371
>
> #8  0xb6ffea15 in KScoreDialog::KScoreDialogPrivate::aboutToShow
> (this=0x812f620)
> at
> /home/kde-devel/KDE-SVN/kdegames/libkdegames/highscore/kscoredialog.cpp:291
>
> #9  0xb6ffefd0 in KScoreDialog::exec (this=0x812d060)
> at
> /home/kde-devel/KDE-SVN/kdegames/libkdegames/highscore/kscoredialog.cpp:472
> #10 0x0805ea81 in GameWidget::gameOver (this=0x809ff38, moves=51)
> at /home/kde-devel/KDE-SVN/kdegames/katomic/gamewidget.cpp:112
>
> Btw, while playing katomic I repeatedly see this debug output (maybe it'll
> be of some help?):
>
> libkdegames (Highscores): The current high score group "Highscores Level 3"
> isn't in the list, adding it
> libkdegames (Highscores): The current high score group "Highscores Level 4"
> isn't in the list, adding it
> libkdegames (Highscores): Removing group "Highscores Level 4" since it's
> unused.
> libkdegames (Highscores): The current high score group "Highscores Level 4"
> isn't in the list, adding it
> libkdegames (Highscores): Removing group "Highscores Level 4" since it's
> unused.
> etc etc...
>
> Sorry, currently I lack motivation to fix that myself :). Hope that someone
> (Matt?) will look into it.
>
> Cheers,
> Dmitry.

Sure, I'll take a look. It shouldn't be anything too hard to find. However, 
I'm pretty busy with exams at the moment so it'll be about a week before I 
have time.

-- 
Matt Williams
http://milliams.com


More information about the kde-games-devel mailing list