Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326861 - =games-arcade/epiar-0.5 crashes
Summary: =games-arcade/epiar-0.5 crashes
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-04 12:34 UTC by Kobboi
Modified: 2010-08-13 19:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2010-07-04 12:34:52 UTC
The ebuilds seems to go fine, but when running, I immediately get:

$ epiar
*** buffer overflow detected ***: epiar terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x48)[0xb7793db8]
/lib/libc.so.6[0xb7791e00]
/lib/libc.so.6[0xb7791488]
/lib/libc.so.6(_IO_default_xsputn+0xa0)[0xb7717600]
/lib/libc.so.6(_IO_vfprintf+0x137)[0xb76ea5b7]
/lib/libc.so.6(__vsprintf_chk+0xa7)[0xb7791537]
/lib/libc.so.6(__sprintf_chk+0x2d)[0xb779147d]
epiar(get_absolute_path+0x2a6)[0x806cb56]
======= Memory map: ========
08048000-08085000 r-xp 00000000 08:03 363493     /usr/games/bin/epiar
08085000-08086000 r--p 0003c000 08:03 363493     /usr/games/bin/epiar
08086000-08087000 rw-p 0003d000 08:03 363493     /usr/games/bin/epiar
08087000-080cd000 rw-p 00000000 00:00 0          [heap]
b75bc000-b75d6000 r-xp 00000000 08:03 334612     /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgcc_s.so.1
b75d6000-b75d7000 r--p 00019000 08:03 334612     /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgcc_s.so.1
b75d7000-b75d8000 rw-p 0001a000 08:03 334612     /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/libgcc_s.so.1
b75d8000-b75da000 rw-p 00000000 00:00 0 
b75da000-b75ec000 r-xp 00000000 08:03 434206     /lib/libz.so.1.2.3
b75ec000-b75ed000 r--p 00011000 08:03 434206     /lib/libz.so.1.2.3
b75ed000-b75ee000 rw-p 00012000 08:03 434206     /lib/libz.so.1.2.3
b75ee000-b7622000 r-xp 00000000 08:03 337399     /usr/lib/libjpeg.so.8.0.1
b7622000-b7623000 r--p 00033000 08:03 337399     /usr/lib/libjpeg.so.8.0.1
b7623000-b7624000 rw-p 00034000 08:03 337399     /usr/lib/libjpeg.so.8.0.1
b7624000-b767f000 r-xp 00000000 08:03 428205     /usr/lib/libtiff.so.3.9.2
b767f000-b7681000 r--p 0005b000 08:03 428205     /usr/lib/libtiff.so.3.9.2
b7681000-b7682000 rw-p 0005d000 08:03 428205     /usr/lib/libtiff.so.3.9.2
b7682000-b76a6000 r-xp 00000000 08:03 146568     /usr/lib/libpng12.so.0.43.0
b76a6000-b76a7000 r--p 00023000 08:03 146568     /usr/lib/libpng12.so.0.43.0
b76a7000-b76a8000 rw-p 00024000 08:03 146568     /usr/lib/libpng12.so.0.43.0
b76a8000-b76a9000 rw-p 00000000 00:00 0 
b76a9000-b76ab000 r-xp 00000000 08:03 434393     /lib/libdl-2.10.1.so
b76ab000-b76ac000 r--p 00001000 08:03 434393     /lib/libdl-2.10.1.so
b76ac000-b76ad000 rw-p 00002000 08:03 434393     /lib/libdl-2.10.1.so
b76ad000-b77ef000 r-xp 00000000 08:03 434182     /lib/libc-2.10.1.so
b77ef000-b77f1000 r--p 00142000 08:03 434182     /lib/libc-2.10.1.so
b77f1000-b77f2000 rw-p 00144000 08:03 434182     /lib/libc-2.10.1.so
b77f2000-b77f5000 rw-p 00000000 00:00 0 
b77f5000-b7800000 r-xp 00000000 08:03 349782     /usr/lib/libSDL_image-1.2.so.0.8.2
b7800000-b7801000 r--p 0000b000 08:03 349782     /usr/lib/libSDL_image-1.2.so.0.8.2
b7801000-b7802000 rw-p 0000c000 08:03 349782     /usr/lib/libSDL_image-1.2.so.0.8.2
b7802000-b7812000 rw-p 00000000 00:00 0 
b7812000-b7827000 r-xp 00000000 08:03 434196     /lib/libpthread-2.10.1.so
b7827000-b7828000 r--p 00014000 08:03 434196     /lib/libpthread-2.10.1.so
b7828000-b7829000 rw-p 00015000 08:03 434196     /lib/libpthread-2.10.1.so
b7829000-b782b000 rw-p 00000000 00:00 0 
b782b000-b7881000 r-xp 00000000 08:03 427837     /usr/lib/libSDL-1.2.so.0.11.2
b7881000-b7882000 r--p 00056000 08:03 427837     /usr/lib/libSDL-1.2.so.0.11.2
b7882000-b7883000 rw-p 00057000 08:03 427837     /usr/lib/libSDL-1.2.so.0.11.2
b7883000-b788c000 rw-p 00000000 00:00 0 
b788c000-b78b0000 r-xp 00000000 08:03 434201     /lib/libm-2.10.1.so
b78b0000-b78b1000 r--p 00023000 08:03 434201     /lib/libm-2.10.1.so
b78b1000-b78b2000 rw-p 00024000 08:03 434201     /lib/libm-2.10.1.so
b78b2000-b78b3000 rw-p 00000000 00:00 0 
b78dd000-b78f9000 r-xp 00000000 08:03 434207     /lib/ld-2.10.1.so
b78f9000-b78fa000 r--p 0001c000 08:03 434207     /lib/ld-2.10.1.so
b78fa000-b78fb000 rw-p 0001d000 08:03 434207     /lib/ld-2.10.1.so
bfa9d000-bfabe000 rw-p 00000000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Aborted

More info available at request

Reproducible: Always
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2010-07-08 13:15:51 UTC
Should be fixed in epiar-0.5-r1, thanks for reporting.
Comment 2 Kobboi 2010-07-08 16:42:21 UTC
Not the same crash, but now I get:

$ epiar
Epiar 0.5.0
http://www.epiar.net/

Please report all bugs at http://bugs.epiar.net/

File "/usr/share/games/epiar/epiar.eaf" is not an EAF archive or is not of EAF version 1.1.0.
File version is 1.0.791752304
Couldn't open epiar.eaf file.
File "/usr/share/games/epiar/main.eaf" is not an EAF archive or is not of EAF version 1.1.0.
File version is 1.0.1802710629
Couldn't open epiar.eaf file.
Could not open '~/.epiar-input.ecf`. Creating ... done.
epiar: src/system/eaf.c:117: eaf_load_png: Assertion `eaf' failed.
Aborted

Does this game really work for you?
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2010-07-08 16:54:43 UTC
I get the same thing on ~amd64 but it works for me on ~x86
Comment 4 Noel Saliba 2010-08-02 02:29:05 UTC
games-arcade/epiar-0.5-r1 works on ~x86 for me.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2010-08-13 19:16:11 UTC
fixed in 0.5-r1