z-man wrote:AFAIK, there is no x86_64 binary for 0.3.0 at all. I tested the 32 bit exe today on our work machines that are running 32 bit Drake Kubuntu without problems. Of course, lacking root rights, I installed it into ~/.local/, maybe that's the crucial difference? Try installing as normal user without sudo, after uninstalling the previous stuff ("sudo armagetronad-uninstall" should take care of that).
I tried reinstalling Kubuntu in hopes that it would fix the illegal instruction error and some other annoyances I had with the last Kubuntu install, but no luck. I chose the local install without using sudo this time, which made no difference.
z-man wrote:Anyway, it would be nice to know what gdb thinks the error is; "illegal instruction" is a bit cryptic. Just do
Code: Select all
gdb armagetronad
r
<wait for crash>
backtrace
and send in the output.
Code: Select all
---Type <return> to continue, or q <return> to quit---
Program received signal SIGILL, Illegal instruction.
[Switching to Thread -1215973696 (LWP 18615)]
0xb7ed4d98 in png_handle_gAMA () from /home/anjori/.local/lib/libSDL_image-1.2.so.0
(gdb) backtrace
#0 0xb7ed4d98 in png_handle_gAMA () from /home/anjori/.local/lib/libSDL_image-1.2.so.0
#1 0xb7ec1061 in png_read_info () from /home/anjori/.local/lib/libSDL_image-1.2.so.0
#2 0xb7eab243 in IMG_LoadPNG_RW () from /home/anjori/.local/lib/libSDL_image-1.2.so.0
#3 0xb7ea7ca4 in IMG_LoadTyped_RW () from /home/anjori/.local/lib/libSDL_image-1.2.so.0
#4 0xb7ea7ac2 in IMG_Load () from /home/anjori/.local/lib/libSDL_image-1.2.so.0
#5 0x081652fc in std::basic_iostream<char, std::char_traits<char> >::~basic_iostream ()
#6 0x08050a06 in ?? ()
#7 0x08051590 in ?? ()
#8 0xb7b02ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#9 0x0804edd1 in ?? ()
z-man wrote:Oh wait, what CPU do you have exactly? It may be that the binary is "optimized" for the wrong type and uses special AMD instructions. I'm not passing any special flags to GCC during the build, IIRC, but maybe something tickled down from the gentoo ebuild configuration.
AMD Athlon 1333.
z-man wrote:And just a clarification: newbie and anjori, does 0.2.8.2.1 work for you?
It
is 0.2.8.2.1 that I'm getting the error with. Though I also tried 0.3 to see if I'd have any better luck with that, and same error.
Unfortunately, that's about the extent of any debugging I can do as this is on my spare (test) machine and I'll be going back to a Debian pure install shortly. I fail to see what all the hype with (K)ubuntu is about as I've had nothing but problems and every time I fix one issue, another arises. So, time to scratch it off the list and move on.