Closed ChemBro closed 13 years ago
And this is what I get, if I'm trying to start the game with the open source driver (Radeon Gallium3D):
$ berusky2
* buffer overflow detected *: berusky2 terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x45)[0xb73ce5d5]
/lib/libc.so.6(+0xe6477)[0xb73cc477]
/lib/libc.so.6(+0xe6c23)[0xb73ccc23]
berusky2[0x804ca33]
/lib/libc.so.6(__libc_start_main+0xf3)[0xb72ff223]
berusky2[0x804cf59]
======= Memory map: ========
08048000-081ce000 r-xp 00000000 08:07 307581 /usr/bin/berusky2
081ce000-081cf000 r--p 00185000 08:07 307581 /usr/bin/berusky2
081cf000-081d1000 rw-p 00186000 08:07 307581 /usr/bin/berusky2
081d1000-0847e000 rw-p 00000000 00:00 0
0853d000-0855e000 rw-p 00000000 00:00 0 [heap]
b7250000-b7253000 rw-p 00000000 00:00 0
b7253000-b725a000 r-xp 00000000 08:07 521764 /lib/librt-2.14.so
b725a000-b725b000 r--p 00006000 08:07 521764 /lib/librt-2.14.so
b725b000-b725c000 rw-p 00007000 08:07 521764 /lib/librt-2.14.so
b725c000-b7260000 r-xp 00000000 08:07 281933 /usr/lib/libXdmcp.so.6.0.0
b7260000-b7261000 rw-p 00003000 08:07 281933 /usr/lib/libXdmcp.so.6.0.0
b7261000-b7262000 rw-p 00000000 00:00 0
b7262000-b7264000 r-xp 00000000 08:07 282121 /usr/lib/libXau.so.6.0.0
b7264000-b7265000 rw-p 00001000 08:07 282121 /usr/lib/libXau.so.6.0.0
b7265000-b7268000 r-xp 00000000 08:07 521755 /lib/libdl-2.14.so
b7268000-b7269000 r--p 00002000 08:07 521755 /lib/libdl-2.14.so
b7269000-b726a000 rw-p 00003000 08:07 521755 /lib/libdl-2.14.so
b726a000-b7281000 r-xp 00000000 08:07 521241 /lib/libpthread-2.14.so
b7281000-b7282000 r--p 00016000 08:07 521241 /lib/libpthread-2.14.so
b7282000-b7283000 rw-p 00017000 08:07 521241 /lib/libpthread-2.14.so
b7283000-b7285000 rw-p 00000000 00:00 0
b7285000-b728f000 r-xp 00000000 08:07 263712 /usr/lib/libdrm.so.2.4.0
b728f000-b7290000 rw-p 0000a000 08:07 263712 /usr/lib/libdrm.so.2.4.0
b7290000-b72ad000 r-xp 00000000 08:07 282222 /usr/lib/libxcb.so.1.1.0
b72ad000-b72ae000 rw-p 0001d000 08:07 282222 /usr/lib/libxcb.so.1.1.0
b72ae000-b72c2000 r-xp 00000000 08:07 282227 /usr/lib/libxcb-glx.so.0.0.0
b72c2000-b72c3000 rw-p 00014000 08:07 282227 /usr/lib/libxcb-glx.so.0.0.0
b72c3000-b72c4000 rw-p 00000000 00:00 0
b72c4000-b72c5000 r-xp 00000000 08:07 264928 /usr/lib/libX11-xcb.so.1.0.0
b72c5000-b72c6000 rw-p 00000000 08:07 264928 /usr/lib/libX11-xcb.so.1.0.0
b72c6000-b72ca000 r-xp 00000000 08:07 289492 /usr/lib/libXxf86vm.so.1.0.0
b72ca000-b72cb000 rw-p 00003000 08:07 289492 /usr/lib/libXxf86vm.so.1.0.0
b72cb000-b72cf000 r-xp 00000000 08:07 283509 /usr/lib/libXfixes.so.3.1.0
b72cf000-b72d0000 rw-p 00003000 08:07 283509 /usr/lib/libXfixes.so.3.1.0
b72d0000-b72d2000 r-xp 00000000 08:07 289857 /usr/lib/libXdamage.so.1.1.0
b72d2000-b72d3000 rw-p 00001000 08:07 289857 /usr/lib/libXdamage.so.1.1.0
b72d3000-b72e4000 r-xp 00000000 08:07 265403 /usr/lib/libXext.so.6.4.0
b72e4000-b72e5000 rw-p 00010000 08:07 265403 /usr/lib/libXext.so.6.4.0
b72e5000-b72e6000 rw-p 00000000 00:00 0
b72e6000-b7447000 r-xp 00000000 08:07 521750 /lib/libc-2.14.so
b7447000-b7449000 r--p 00161000 08:07 521750 /lib/libc-2.14.so
b7449000-b744a000 rw-p 00163000 08:07 521750 /lib/libc-2.14.so
b744a000-b744d000 rw-p 00000000 00:00 0
b744d000-b7469000 r-xp 00000000 08:07 262748 /usr/lib/libgcc_s.so.1
b7469000-b746a000 rw-p 0001b000 08:07 262748 /usr/lib/libgcc_s.so.1
b746a000-b7492000 r-xp 00000000 08:07 521751 /lib/libm-2.14.so
b7492000-b7493000 r--p 00027000 08:07 521751 /lib/libm-2.14.so
b7493000-b7494000 rw-p 00028000 08:07 521751 /lib/libm-2.14.so
b7494000-b7577000 r-xp 00000000 08:07 262728 /usr/lib/libstdc++.so.6.0.16
b7577000-b757b000 r--p 000e2000 08:07 262728 /usr/lib/libstdc++.so.6.0.16
b757b000-b757c000 rw-p 000e6000 08:07 262728 /usr/lib/libstdc++.so.6.0.16
b757c000-b7583000 rw-p 00000000 00:00 0
b7583000-b76b5000 r-xp 00000000 08:07 264927 /usr/lib/libX11.so.6.3.0
b76b5000-b76b9000 rw-p 00131000 08:07 264927 /usr/lib/libX11.so.6.3.0
b76b9000-b76c4000 r-xp 00000000 08:07 321656 /usr/lib/libSDL_image-1.2.so.0.8.2
b76c4000-b76c5000 rw-p 0000a000 08:07 321656 /usr/lib/libSDL_image-1.2.so.0.8.2
b76c5000-b76d6000 rw-p 00000000 00:00 0
b76d6000-b7747000 r-xp 00000000 08:07 300842 /usr/lib/libSDL-1.2.so.0.11.3
b7747000-b7748000 rw-p 00071000 08:07 300842 /usr/lib/libSDL-1.2.so.0.11.3
b7748000-b7772000 rw-p 00000000 00:00 0
b7772000-b77e1000 r-xp 00000000 08:07 263299 /usr/lib/libGLU.so.1.3.071200
b77e1000-b77e2000 rw-p 0006f000 08:07 263299 /usr/lib/libGLU.so.1.3.071200
b77e2000-b77f8000 r-xp 00000000 08:07 266482 /usr/lib/libz.so.1.2.5
b77f8000-b77f9000 r--p 00015000 08:07 266482 /usr/lib/libz.so.1.2.5
b77f9000-b77fa000 rw-p 00016000 08:07 266482 /usr/lib/libz.so.1.2.5
b77fa000-b7853000 r-xp 00000000 08:07 263302 /usr/lib/libGL.so.1.2
b7853000-b785e000 rwxp 00059000 08:07 263302 /usr/lib/libGL.so.1.2
b785e000-b785f000 rwxp 00000000 00:00 0
b7885000-b7887000 rw-p 00000000 00:00 0
b7887000-b7888000 r-xp 00000000 00:00 0 [vdso]
b7888000-b78a7000 r-xp 00000000 08:07 521752 /lib/ld-2.14.so
b78a7000-b78a8000 r--p 0001e000 08:07 521752 /lib/ld-2.14.so
b78a8000-b78a9000 rw-p 0001f000 08:07 521752 /lib/ld-2.14.so
bfec5000-bfee6000 rw-p 00000000 00:00 0 [stack]
Yes, I know about it. You have to comment out
feenableexcept(FE_DIVBYZERO|FE_INVALID);
in main(). It's already fixed at git.
Not sure about the buffer overflow...may check it later.
Please try the latest version (0.5).
Tried 0.5 on both closed-source and open-source driver, both worked. (besides no sound, but I'll write a bug report tomorrow, or so.)
Okay, I don't know, how this system works (github), so I reopened, but this problem is solved. Closing it would be the right way?
No need to file a report about missing sound/music...is not implemented yet. I'll create some TODO page.
Hi. I'm on Arch Linux (32bit) with an AMD Radeon HD 4650 and Catalyst 11.8. I compiled (Version 0.3 with Dataversion 0.4) the game myself and am trying to start it, but I get this:
$ berusky2 SDL Init... Init video surface...
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "v- &" after 38 requests (38 known processed) with 0 events remaining.
I also get an error message with the open source driver (Radeon Gallium3D). I'll post it later.