Bug 158111 - pressing new -> hint -> new in bovo crash the application
Summary: pressing new -> hint -> new in bovo crash the application
Status: RESOLVED FIXED
Alias: None
Product: bovo
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Aron Boström
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-20 18:39 UTC by Julien Bigot
Modified: 2008-02-24 22:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Bigot 2008-02-20 18:39:15 UTC
Version:            (using KDE 4.0.1)
Installed from:    Gentoo Packages
OS:                Linux

Quite easy to reproduce, so I don't think it's useful to give a lot on informations about my system.
If you can't reproduce, I would be pleased to give more informations.

To reproduce :
 - run bovo (4.0.1 in a KDE 3.5.8 desktop here)
 - press new to start a game
 - ask for a hint with the dedicated toolbar button
 - ask for a new game again
 - look at the beautiful backtrace (compiled without debugging informations here, so it's not as beautiful as it could be)

keep on the good work, and thank you for providing such a great desktop with such great apps !
Comment 1 FiNeX 2008-02-20 19:26:30 UTC
Confirmed on revision 777260.

Here is the backtrace:

Application: Bovo (bovo), signal SIGSEGV
 [?1034hUsing host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb63816d0 (LWP 8634)]
[KCrash handler]
#5  0xb7f135cc in QObject::killTimer (this=0x8144270, id=2)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1521
#6  0xb7f1e50e in QTimer::stop (this=0x8144270)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qtimer.cpp:249
#7  0x080532a9 in gui::HintItem::killAnimation (this=0x80f8768)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/gui/hintitem.cc:67
#8  0x080566ea in gui::Scene::destroyHint (this=0x8160ad8)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/gui/scene.cc:316
#9  0x08056af4 in gui::Scene::updateBoard (this=0x8160ad8, move=@0xbff96e34)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/gui/scene.cc:152
#10 0x08057e78 in gui::Scene::qt_metacall (this=0x8160ad8, 
    _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff96c90)
    at /media/progetti/KDE4/kdesvn/build/kdegames/bovo/gui/scene.moc:87
#11 0xb7f162ec in QMetaObject::activate (sender=0x80fd820, 
    from_signal_index=<value optimized out>, to_signal_index=5, argv=0x0)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:2992
#12 0xb7f166f2 in QMetaObject::activate (sender=0x80fd820, m=0x80679f0, 
    local_signal_index=1, argv=0xbff96c90)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3065
#13 0x0805fc45 in bovo::Game::boardChanged (this=0x80fd820, _t1=@0xbff96e34)
    at /media/progetti/KDE4/kdesvn/build/kdegames/bovo/game/game.moc:112
#14 0x08060995 in bovo::Game::makeMove (this=0x80fd820, move=@0xbff96e34)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/game/game.cc:286
#15 0x08060af5 in bovo::Game::move (this=0x80fd820, move=@0xbff96e34)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/game/game.cc:208
#16 0x080612cc in bovo::Game::qt_metacall (this=0x80fd820, 
    _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff96e10)
    at /media/progetti/KDE4/kdesvn/build/kdegames/bovo/game/game.moc:91
#17 0xb7f162ec in QMetaObject::activate (sender=0x818b7a8, 
    from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:2992
#18 0xb7f166f2 in QMetaObject::activate (sender=0x818b7a8, m=0x8067c60, 
    local_signal_index=0, argv=0xbff96e10)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:3065
#19 0x08063195 in ai::Ai::move (this=0x818b7a8, _t1=@0xbff96e34)
    at /media/progetti/KDE4/kdesvn/build/kdegames/bovo/ai/ai.moc:89
#20 0x08063246 in ai::Ai::slotMove (this=0x818b7a8)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/ai/ai.cc:64
#21 0x0806330d in ai::Ai::qt_metacall (this=0x818b7a8, 
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x80cf768)
    at /media/progetti/KDE4/kdesvn/build/kdegames/bovo/ai/ai.moc:78
#22 0xb7f128bb in QMetaCallEvent::placeMetaCall (this=0x821f338, 
    object=0x818b7a8)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:535
#23 0xb7f148b3 in QObject::event (this=0x818b7a8, e=0x821f338)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qobject.cpp:1128
#24 0xb743c19c in QApplicationPrivate::notify_helper (this=0x80967d0, 
    receiver=0x818b7a8, e=0x821f338)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3757
#25 0xb7442ba9 in QApplication::notify (this=0xbff9759c, receiver=0x818b7a8, 
    e=0x821f338)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3351
#26 0xb714407d in KApplication::notify (this=0xbff9759c, receiver=0x818b7a8, 
    event=0x821f338)
    at /media/progetti/KDE4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:311
#27 0xb7f05ee9 in QCoreApplication::notifyInternal (this=0xbff9759c, 
    receiver=0x818b7a8, event=0x821f338)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:582
#28 0xb7f0722d in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x806ebf0)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#29 0xb7f073dd in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1084
#30 0xb7f2c0df in postEventSourceDispatch (s=0x8098b10)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#31 0xb658b346 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb658e6d2 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#33 0xb658ec8e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7f2c678 in QEventDispatcherGlib::processEvents (this=0x8076150, 
    flags=@0xbff974a8)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:325
#35 0xb74c0145 in QGuiEventDispatcherGlib::processEvents (this=0x8076150, 
    flags=@0xbff974e0)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:204
#36 0xb7f05112 in QEventLoop::processEvents (this=0xbff97530, 
    flags=@0xbff97504)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:146
#37 0xb7f05241 in QEventLoop::exec (this=0xbff97530, flags=@0xbff97538)
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qeventloop.cpp:193
#38 0xb7f0749a in QCoreApplication::exec ()
    at /media/progetti/KDE4/kdesvn/qt-copy/src/corelib/kernel/qcoreapplication.cpp:838
#39 0xb743b897 in QApplication::exec ()
    at /media/progetti/KDE4/kdesvn/qt-copy/src/gui/kernel/qapplication.cpp:3289
#40 0x0805e0b0 in main (argc=1, argv=0xbff97694)
    at /media/progetti/KDE4/kdesvn/kdegames/bovo/gui/main.cc:53
#0  0xb7fe2410 in __kernel_vsyscall ()
Comment 2 Albert Astals Cid 2008-02-24 22:08:47 UTC
This bug was fixed in r777546 in 4.0 branch and i777535 in trunk