Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#3061 closed defect (fixed)

compress_touche: crash after some compression

Reported by: SF/sebschub Owned by: cyxx
Priority: normal Component: Tools
Version: Keywords:
Cc: Game:


compress_touche crashes after about 10 seconds not depending on the chosen encoder. I use Gentoo Linux on an x86 machine with fairly recent software (eg gcc 4.1.1).

*** glibc detected *** /tmp/sebschub/touche/compress_touche: double free or corruption (top): 0x0804e170 *** ======= Backtrace: ========= /lib/[0x43adfdb0] /lib/[0x43ae13f4] /lib/[0x43ad12fb] /tmp/sebschub/touche/compress_touche[0x8048f4b] /lib/[0x43a92878] /tmp/sebschub/touche/compress_touche[0x80486e1] ======= Memory map: ======== 08048000-0804b000 r-xp 00000000 03:07 81584 /tmp/sebschub/touche/compress_touche 0804b000-0804c000 rw-p 00003000 03:07 81584 /tmp/sebschub/touche/compress_touche 0804c000-0806f000 rw-p 0804c000 00:00 0 [heap] 43a5f000-43a79000 r-xp 00000000 03:05 131905 /lib/ 43a79000-43a7a000 r--p 00019000 03:05 131905 /lib/ 43a7a000-43a7b000 rw-p 0001a000 03:05 131905 /lib/ 43a7d000-43b94000 r-xp 00000000 03:05 525750 /lib/ 43b94000-43b96000 r--p 00116000 03:05 525750 /lib/ 43b96000-43b98000 rw-p 00118000 03:05 525750 /lib/ 43b98000-43b9b000 rw-p 43b98000 00:00 0 43e15000-43e1f000 r-xp 00000000 03:05 2236713 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/ 43e1f000-43e20000 rw-p 00009000 03:05 2236713 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/ b7d00000-b7d21000 rw-p b7d00000 00:00 0 b7d21000-b7e00000 ---p b7d21000 00:00 0 b7f11000-b7f12000 rw-p b7f11000 00:00 0 b7f26000-b7f27000 rw-p b7f26000 00:00 0 b7f28000-b7f2a000 rw-p b7f28000 00:00 0 b7f2a000-b7f2b000 r-xp b7f2a000 00:00 0 [vdso] bfdce000-bfde5000 rw-p bfdce000 00:00 0 [stack]

Program received signal SIGABRT, Aborted.

I hope this is enough information. The backtrace includes a lot of "??" and some "from /lib/" although I only used your Makefile (including -g). (Missing debug information in the rest of my system?)

Ticket imported from: #1659892. Ticket imported from: bugs/3061.

Change History (8)

comment:1 by SF/sebschub, 17 years ago

Summary: compress_touche: after some compressioncompress_touche: crash after some compression

comment:2 by cyxx, 17 years ago

Owner: set to cyxx

comment:3 by cyxx, 17 years ago

Should be fixed with latest SVN

comment:4 by cyxx, 17 years ago

Status: newpending

comment:5 by SF/sebschub, 17 years ago

Resolution: fixed
Status: pendingnew

comment:6 by SF/sebschub, 17 years ago

It works. Thank you!

Could you add a hint to the README which files are needed after compression? I suppose touche.dat and touche.soX .

comment:7 by cyxx, 17 years ago

Yes, after compression, only touche.dat and touche.soX are needed (Vxxx and OBJ can be deleted).

comment:8 by cyxx, 17 years ago

Status: newclosed
Note: See TracTickets for help on using tickets.