Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2001:
[Freeciv-Dev] Re: Terrible bug (PR#748)
Home

[Freeciv-Dev] Re: Terrible bug (PR#748)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Leandro Noferini <leandro@xxxxxxxxxxxxxxxx>
Cc: FreeCiv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: Terrible bug (PR#748)
From: Thue <thue@xxxxxxx>
Date: Fri, 20 Apr 2001 23:49:23 +0200

> And this for the server
>
> (gdb) run
> Starting program: /home/leandro/lavoro/freeciv/freeciv/server/civserver
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40079c2e in vfprintf () from /lib/libc.so.6
> (gdb) backtrace
> #0  0x40079c2e in vfprintf () from /lib/libc.so.6
> #1  0x40096b69 in vsnprintf () from /lib/libc.so.6
> #2  0x804b102 in my_vsnprintf (str=0x80d2d00 "", n=128,
>     format=0x401a1037 <Address 0x401a1037 out of bounds>, ap=0xbffffbcc)
>     at support.c:384
> #3  0x804b1f0 in my_snprintf (str=0x80d2d00 "", n=128,
>     format=0x401a1037 <Address 0x401a1037 out of bounds>) at support.c:451
> #4  0x804b23f in freeciv_name_version () at version.c:35
> #5  0x8049878 in main (argc=1, argv=0xbffffc74) at civserver.c:119

The address out of bounds is return from a gettext call. Try giving configure 
the argument "--with-included-gettext". If that doesn't work you might want 
to try "--disable-nls"

-Thue



[Prev in Thread] Current Thread [Next in Thread]