Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2679) XAW client dumping core when used with isome
Home

[Freeciv-Dev] Re: (PR#2679) XAW client dumping core when used with isome

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2679) XAW client dumping core when used with isometric tileset?
From: "ChrisK@xxxxxxxx via RT" <rt@xxxxxxxxxxxxxx>
Date: Mon, 30 Dec 2002 15:39:51 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, Dec 30, 2002 at 09:30:46AM -0800, Jason Short via RT wrote:
> On Sun, 2002-12-29 at 07:44, ChrisK@xxxxxxxx via RT wrote:
> 
> > chris@max:~> civclient -t isotrident -P none --debug 1
> > 1: Client does not support isometric tilesets. Using default tileset
> > instead.
> > civclient: support.c:212: mystrlcpy: Zusicherung �»src != ((void *)0)�« 
> > nicht
> > erfÃ?Å?llt.
> > Abgebrochen (core dumped)
> > 
> > I think it should not dump core in this case.
> 
> This does not appear to be the same as PR#1873 (which was introduced and
> fixed after the 1.14 branch), and I cannot reproduce it.  Can you verify
> it and send a backtrace?

Sure.

1.14.1 HEAD CVS 30 DEC 2002 Linux i386 Xaw3d

chris@max:~> LANG= civclient -t isotrident -P none
1: Client does not support isometric tilesets. Using default tileset
instead.
civclient: support.c:212: mystrlcpy: Assertion 'src != ((void *)0)' failed.
Abgebrochen (core dumped)

(gdb) bt
#0  0x402bf861 in kill () from /lib/libc.so.6
#1  0x402bf665 in raise () from /lib/libc.so.6
#2  0x402c0c81 in abort () from /lib/libc.so.6
#3  0x402b9a52 in Letext () from /lib/libc.so.6
#4  0x080a2bdd in mystrlcpy (dest=0x81eb800 "trident", src=0x0, n=512) at 
support.c:212
#5  0x08060a0e in tilespec_read_toplevel (tileset_name=0x0) at tilespec.c:459
#6  0x080607b4 in tilespec_read_toplevel (tileset_name=0x80ec0a0 "isotrident")
    at tilespec.c:399
#7  0x0804e4b7 in main (argc=5, argv=0xbffff614) at civclient.c:234
#8  0x402ae7ee in __libc_start_main () from /lib/libc.so.6

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.



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