[gcompris-devel] seg fault in memory board
Bruno Coudoin
bruno.coudoin at free.fr
Wed Mar 20 14:15:03 UTC 2002
Good point, thanks to have found this one.
I was sure there was a major bug in memory but never spend the time to
track and extermine it ;)
To thanks you for your time, tell your daughter she can move the fishes
by dragging while the shift key is kept active...
I already fixed the CVS, next release will be fixed.
Of course you are welcome to find more bugs ;)
Bruno.
Ehreth Imre wrote:
>Hi
>
> I found a bug in the memory board, causing a segmentation fault.
>The bug is in src/boards/memory.c in line 432 in the get_image function.
>
>The line should be
>i = lowerImageIndex + rand()%(upperImageIndex-lowerImageIndex);
>
>instead of
>i = lowerImageIndex + rand()%(upperImageIndex-lowerImageIndex) -1;
>
>I don't know it is the correct place to send bug reports. I have not
>found information in the project home page where to post them.
>I have also submitted this bug reort to sourceforge.net.
>Is it the correct place?
>
>My daugther loves the game (she is three).
>Nice work.
>
>Best regards
> Imre Ehreth
>
>
>PS: I hope I will have the time to hunt the source of other bugs.
>
>_______________________________________________
>gcompris-devel mailing list
>gcompris-devel at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gcompris-devel
>
More information about the Gcompris-devel
mailing list