Crash / freeze when playing chess

Bug #376832 reported by David Erosa
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gcompris (Ubuntu)
Fix Released
Undecided
Rolf Leggewie

Bug Description

Binary package hint: gcompris

Playing level 2 of chess, I get random freezes and crashes. Seems to happen at random times, as I could not reproduce it every time.

Couldn't get a backtrace with gdb of a crash, but I backtraced a freeze (had to press ctrl+c in order to get it). Not very helpful:

(gdb) run
...
^C
Program received signal SIGINT, Interrupt.
0xb74ef2f3 in memmove () from /lib/tls/i686/cmov/libc.so.6
(gdb) bt
#0 0xb74ef2f3 in memmove () from /lib/tls/i686/cmov/libc.so.6
#1 0xb5b3b4eb in ?? () from /usr/lib/gcompris/libchess.so
#2 0xb781edad in ?? () from /usr/lib/libglib-2.0.so.0
#3 0xb77e7b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#4 0xb77eb0eb in ?? () from /usr/lib/libglib-2.0.so.0
#5 0xb77eb5ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#6 0xb7d8d7d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#7 0x0806843c in main ()
(gdb)

Revision history for this message
LaserJock (laserjock) wrote :

Is this still a problem? The backtrace is not very helpful and there's not a lot to go on.

Changed in gcompris (Ubuntu):
status: New → Incomplete
Revision history for this message
Mario B. (boonekamp-deactivatedaccount-deactivatedaccount) wrote :

I get these freezes as well. Besides that, the computer opponent sometimes just stops playing but you can shut down the program normally.

To reproduce a freeze, just play the game where you have to checkmate the computer opponent with a king and two bishops. I never made it to the end because of the random freezes (chess training, level 3).

I started with --debug and redirected stderr (see attached file).

Changed in gcompris (Ubuntu):
status: Incomplete → New
Revision history for this message
cyber_rigger (cyber-rigger) wrote :

I can confirm the bug. When trying to use the chess part, gcompris immediately dies and disappears with no message to the command line.

I'm using amd64 karmic 2.6.31-17-generic SMP.

Revision history for this message
RPHegde (rphegde) wrote :

I also have the same issue.
Using 2.6.31-20-generic - amd64

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote :

I made some refactoring of the chess code, hopefuly this bug is no more.

Changed in gcompris (Ubuntu):
status: New → In Progress
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Thanks, Bruno.

@all: does this ever occur for you in trusty or later?

Changed in gcompris (Ubuntu):
assignee: nobody → Rolf Leggewie (r0lf)
status: In Progress → Incomplete
Rolf Leggewie (r0lf)
Changed in gcompris (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.