<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39344 >
2007/4/17, Jason Dorje Short <[EMAIL PROTECTED]>: > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39344 > > > Ulrik Sverdrup wrote: > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39344 > > > > > Attached a savegame that crashes freeciv 2.1 beta 4 (compiled myself > > from linux source on Ubuntu 6.10/ppc) > > > > Steps to reproduce: Load the attached savegame, and play as the > > hittites (username nn). Press end turn at once, and the game crashes. > > > > gdb backtrace is really short: > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x0fe16fec in strlen () from /lib/libc.so.6 > > > > Seems like some string error/ null pointer thing. > > I suspect this is the same as a bug I fixed yesterday (which I can't > reproduce myself anyway since it depends on your version of libc). > > If you're compiling from source you could consider getting the SVN > version of the 2.1 branch: > > svn co svn://svn.gna.org/svn/freeciv/branches/S2_1 > > otherwise, if you can show a full backtrace that will confirm if it's > the same problem. Take the core file and run "gdb civserver core" then > type "bt". > > -jason > Thanks for the pointers. I tried compiling current svn and trying the civserver with the same savegame, and it still crashes! I can't get it to produce a core file, but with gdb "online", this is the bt backtrace: (gdb) bt #0 0x0fe16fec in strlen () from /lib/libc.so.6 #1 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #2 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #3 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #4 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #5 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #6 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #7 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #8 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #9 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #10 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #11 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #12 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #13 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #14 0x0fde38d0 in vfprintf () from /lib/libc.so.6 #15 0x0fde38d0 in vfprintf () from /lib/libc.so.6 (which doesn't tell me much.) _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
