Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2004:
[Freeciv-Dev] (PR#10981) sig11 with string output
Home

[Freeciv-Dev] (PR#10981) sig11 with string output

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#10981) sig11 with string output
From: "Christian Knoke" <chrisk@xxxxxxxxx>
Date: Thu, 11 Nov 2004 11:15:10 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=10981 >


CVS 11 NOV 2004 S2 GTK2

I get this reproducible crash when attempting to sabotage city:

(gdb) bt
#0  0x40100b9f in strlen () from /lib/libc.so.6
#1  0x400d4315 in vfprintf () from /lib/libc.so.6
#2  0x400f2240 in vsnprintf () from /lib/libc.so.6
#3  0x0804d3ec in my_vsnprintf (
    str=0xbfffddc0 "Game: You caught Lithuanian Diplomat attempting to sabotage 
the \027ùð£VósÓ¬\231\236&æ\021F\rZ\005ö\215IT|\t8Þÿ¿\017L\v\b3", n=1536, 
    format=0x2889 <Address 0x2889 out of bounds>, ap=0x0) at support.c:341
#4  0x0807c5b4 in vnotify_conn_ex (dest=0x0, ptile=0x403895e8, 
event=E_CITY_CANTBUILD, 
    format=0x0, vargs=0x0) at plrhand.c:1295
#5  0x0807c76c in notify_player_ex (pplayer=0x0, ptile=0x0, 
event=E_CITY_CANTBUILD, 
    format=0x0) at plrhand.c:1359
#6  0x080a3538 in diplomat_sabotage (pplayer=0x81ea0b0, pdiplomat=0x829cf90, 
    pcity=0x8680d88, improvement=3) at diplomats.c:1041
#7  0x08074a98 in server_handle_packet (type=PACKET_UNIT_DIPLOMAT_ACTION, 
    packet=0xffffffff, pplayer=0x81ea0b0, pconn=0x2889) at hand_gen.c:238
#8  0x0805019f in handle_packet_input (pconn=0x8175c00, packet=0x2889, type=70)
    at srv_main.c:999
#9  0x08097cb8 in sniff_packets () at sernet.c:623
#10 0x080511b5 in main_loop () at srv_main.c:1555
#11 0x08051356 in srv_main () at srv_main.c:1648
#12 0x0804a619 in main (argc=5, argv=0xbffff8c4) at civserver.c:170

Savegame available.

Christian

-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.





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