#728402 tuxmath: Error in `tuxmath': double free or corruption

Package:
tuxmath
Source:
tuxmath
Description:
math game for kids with Tux
Submitter:
Vaclav Ovsik
Date:
2015-12-26 15:03:08 UTC
Severity:
normal
#728402#5
Date:
2013-10-31 20:04:17 UTC
From:
To:
Package: tuxmath
Version: 1.8.0-5
Severity: normal

Dear Maintainer,
my son played tuxmath subsection
    Factoroids! / Factors
and tuxmath segfaults while intensive shooting.
This can be reproduced by quickly pressing the space-bar (shoot).

Core was generated by `tuxmath'.
Program terminated with signal 6, Aborted.
#0  0x00007fafcb5fd1e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007fafcb5fd1e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fafcb600398 in __GI_abort () at abort.c:90
#2  0x00007fafcb6387cb in __libc_message (do_abort=do_abort@entry=2,
    fmt=fmt@entry=0x7fafcb734ca8 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#3  0x00007fafcb642a26 in malloc_printerr (action=3, str=0x7fafcb734db0 "double free or corruption (!prev)", ptr=<optimized out>)
    at malloc.c:4923
#4  0x00007fafcb6437a3 in _int_free (av=<optimized out>, p=0x7fafcfeacea0, have_lock=0) at malloc.c:3779
#5  0x00007fafcde44ffd in ?? ()
#6  0x00007fafcde45bc5 in ?? ()
#7  0x00007fafcde3b049 in ?? ()
#8  0x00007fafcde3d3ef in ?? ()
#9  0x00007fafcde3c81e in ?? ()
#10 0x00007fafcde3daa7 in ?? ()
#11 0x00007fafcde3a065 in ?? ()
#12 0x00007fafcde36dda in main ()

Thanks for packaging tuxmath!
Cheers

#728402#10
Date:
2014-09-10 11:19:23 UTC
From:
To:
control: tags -1 + moreinfo

Hi,

can you please check if you can confirm this issue even with 2.0.3-1?!


thanks & cheers,
	Holger

#728402#15
Date:
2014-09-10 11:19:23 UTC
From:
To:
control: tags -1 + moreinfo

Hi,

can you please check if you can confirm this issue even with 2.0.3-1?!


thanks & cheers,
	Holger

#728402#20
Date:
2014-09-10 11:57:15 UTC
From:
To:
Hi,

zito@bobek:~$ tuxmath --version
Tux, of Math Command ("tuxmath")
Version 2.0.3

(gdb) run
Starting program: /usr/games/tuxmath
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Initializing Tux4Kids-Common 0.1.1
[New Thread 0x7fffe5f40700 (LWP 9543)]
[Thread 0x7fffe5f40700 (LWP 9543) exited]
[New Thread 0x7fffe5f40700 (LWP 9544)]
[New Thread 0x7fffdfbbd700 (LWP 9545)]

Could not find high score table.
T4K_BlackOutline(): invalid ptr parameter, returning.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000414700 in ?? ()

The problem is still there :(.

#728402#25
Date:
2014-09-10 12:06:57 UTC
From:
To:
control: tags -1 - moreinfo

Hi Václav,

thanks for confirming!


cheers,
	Holger

#728402#32
Date:
2015-12-26 14:45:05 UTC
From:
To:
Hi,

Fedora tuxmath (co)maintainer here, I've just fixed what I believe
is the same bug in the Fedora package, you can find the patch
fixing this here:

http://pkgs.fedoraproject.org/cgit/tuxmath.git/tree/tuxmath_w_fonts-2.0.1-powerup-crash.patch

Regards,

Hans

#728402#37
Date:
2015-12-26 15:00:09 UTC
From:
To:
Hi Hans,

cool, thanks for reaching out!


cheers,
	Holger