It seems that the code isn't 64-bit safe. The function constants in empire.h are specified as ints, but are assigned to longs. Example: #define WFTRANSPORT -11 /* army boards a transport */ should be #define WFTRANSPORT -11L /* army boards a transport */ Everytime it crashed for me, an objects func was something like FFFFFFF5 instead of -11. Also, when showing info for items in edit mode, the func would be "4294967285" instead of "transport". Changing the constants fixes it.
I'd be happy to update the source code repository, if someone will point me at info regarding how to do that. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/367514 Title: Empire game randomly segfaults To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/empire/+bug/367514/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs