Re: [Freeciv-Dev] (PR#39620) [Bug] gtk2: Cannot sell buildings

2008-01-30 Thread Marko Lindqvist

URL: http://bugs.freeciv.org/Ticket/Display.html?id=39620 

On 30/01/2008, William Allen Simpson  wrote:

 Marko, the requisite time has passed -- are you committing this, or am I?

 I can commit tonight - but go ahead if you have opportunity earlier.


 - ML



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] What's this?

2008-01-30 Thread Christian Knoke
William Allen Simpson wrote on Jan 29, 21:11 (-0500):
 Christian Knoke wrote:
  #: data/default/script.lua:30
  #, fuzzy, c-format
  msgid 
  The %s have acquired %s from ancient scrolls of  
  wisdom.
  
 Some months ago, the 2.2 (then trunk) had the hut code moved to lua scripts.
 
 Doesn't it work properly now?

Not tested.

 And why the long spaces?

That's why I wrote. The long spaces are in the code.

Christian

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

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] (PR#40060) civserver core dump on debug command

2008-01-30 Thread Christian Knoke

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40060 

Du schriebst am 29. Jan um 02:49 Uhr:
 Christian Knoke wrote:
  debug
  Speicherzugriffsfehler (core dumped)
  
 Unable to reproduce.  Works here for both 2.1 and 2.2.

Here's backtrace for revison 14351 on Debian Etch:

[EMAIL PROTECTED]:~$ civserver
Freeciv Version 2.1.99-test Server
Weitere Informationen zu Freeciv finden Sie auf http://www.freeciv.org/.
2: Lade Regelsätze
2: Warte auf Spieler...

'help' gibt Erläuterungen zur Verwendung der Online-Hilfe.
 debug
Befehl kann nur nach Spielbeginn verwendet werden.
 create chris
 start
Spiel begonnen.

2: Peter McQueen beherrscht die Muskogee.
 debug
Speicherzugriffsfehler (core dumped)

warning: Can't read pathname for load map: Eingabe-/Ausgabefehler.
Reading symbols from /lib/libreadline.so.5...done.
Loaded symbols for /lib/libreadline.so.5
Reading symbols from /lib/tls/i686/cmov/libm.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/tls/i686/cmov/libc.so.6...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Core was generated by `civserver'.
Program terminated with signal 11, Segmentation fault.
#0  0x080b5dce in debug_command (caller=0x0, str=value optimized out, 
check=false) at stdinhand.c:2393
2393  } else if (strcmp(arg[0], ferries) == 0) {

(gdb) bt full
#0  0x080b5dce in debug_command (caller=0x0, str=value optimized out, 
check=false) at stdinhand.c:2393
buf = '\0' repeats 296 times, 
\203\000ַ\2108*\b��M\b�\237M\b0\000ַ\224O��b෰OM\b\000\000\000\000\000\000\000\000�O��\t\000\000\0004P���\006ַ�O��`���0\000ַ\000\000\000\000\000\000\000\000\2108*\b\005,
 '\0' repeats 19 times, (server 
prompt)\000�\231�g��\025\b\t\000\000\000`���0\000ַ\213�\004\b��\025\b\230XM\b,
 '\0' repeats 12 times, 
L\225�\000\000X��\020\000\000\000^\000\000\000\230V��\t...
arg = {0x0, 0x5e Address 0x5e out of bounds, 0x816be09 %s: '%s %s'}
ntokens = 0
i = value optimized out
#1  0x080bb1c3 in handle_stdin_input (caller=0x0, str=0x8587370 debug, 
check=false) at stdinhand.c:3635
idx = value optimized out
command = 
debug\000\000\000��?�0\225X\b\210\225X\b\000\000\000\000\004\000\000\000H\230;[EMAIL
 PROTECTED];[EMAIL 
PROTECTED];\b\000\000\000\000�\237��\000\000\000\000`\230;\b�Y��U\222շ�\224X\bd\225X\b�Y��`\230;\b\000\000\000\000(Z��\000\000\000\000\000\000\000\0006sX\b\200\177\000\000�\237���\224X\bd\225X\b�\037ڷ\004\000\000\0006sX\b\000\000\000\000�\027\b\024*ڷ�Y��\004\000\000\000...
arg = '\0' repeats 248 times, �\217շ\000\000\000\000\024*ڷ, '\0' 
repeats 24 times, 
~:N\b\002\000\000\000��淠X��\000\000\000\000\004\000\000\000\201\000\000\000�X��\000\000\000\000X��/�M\b\000\000\000\000
 
Y��\fj*\b�X��\000\000\000\000\004\000\000\000/�M\b\000\000\000\000��淰\224X\b\020\000\000\000}:N\b\020\000\000\000�X��\000\000\000\000\206\fڷ,
 '\0' repeats 12 times, 
�\237��\221\022\000\000\000\000\000\000��淰\022\000\000�\224X\b�X...
allargs = '\0' repeats 511 times
full_command = debug, '\0' repeats 63 times, 
\203�ٷ\000\000\000\000\000\000\000\000�\020ٷQ�\025\bQ�\025\b\005\000\000\000�\237��$�\026\b\000\000\000\000\030Y��_\217׷Y��$�\026\b\000\000\000\000_\217׷LY���\017��\204X��\035\213׷\000\000\000\000\000\000\000\000�X��\035\213׷\000\000\000\000\000\000\000\000\000Y��,
 '\0' repeats 32 times, �Y��\000\000\000\000\200K?G\000\000\000\000�Y��, 
'\0' repeats 20 times, \005\000\000\000$�\026\b �\026\b\204X��\001, 
'\0' repeats 69 times,  s, '\0' repeats 14 times...
cptr_s = value optimized out
cptr_d = value optimized out
i = -1
cmd = CMD_DEBUG
__PRETTY_FUNCTION__ = handle_stdin_input
#2  0x080fc115 in handle_readline_input_callback (line=0x8587330 debug) at 
sernet.c:187
line_internal = 0x8587370 debug
#3  0xb7ec71a0 in rl_callback_read_char () from /lib/libreadline.so.5
No symbol table info available.
#4  0x080fc9bf in server_sniff_all_input () at sernet.c:696
myiter = value optimized out
pconn = value optimized out
max_desc = value optimized out
readfs = {fds_bits = {1, 0 repeats 31 times}}
writefs = {fds_bits = {0 repeats 32 times}}
exceptfs = {fds_bits = {0 repeats 32 times}}
tv = {tv_sec = 0, tv_usec = 56}
last_noplayers = 0
connections = false
#5  0x080b0f05 in srv_running () at srv_main.c:1840
pplayer = value optimized out
eot_timer = (struct timer *) 0x8587730
save_counter = 1
is_new_turn = true
__PRETTY_FUNCTION__ = srv_running
#6  

[Freeciv-Dev] (PR#40064) Server crash

2008-01-30 Thread Christian Knoke

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40064 


SVN S2_2 Revision 14354 30 JAN 2008 GTK2

Attached savegame crashes if you load it and press turn done. Backtrace:

Core was generated by `civserver -p 5556 -q 1 -e --saves ~/.freeciv/saves'.
Program terminated with signal 6, Aborted.
#0  0xb7f18410 in ?? ()
(gdb) bt full
#0  0xb7f18410 in ?? ()
No symbol table info available.
#1  0xbf8557f8 in ?? ()
No symbol table info available.
#2  0x0006 in ?? ()
No symbol table info available.
#3  0x32da in ?? ()
No symbol table info available.
#4  0xb7d8e811 in raise () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#5  0xb7d8ffb9 in abort () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#6  0xb7d87fbf in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#7  0x0804da78 in cat_snprintf (str=0xbf855a0c  1: Die gro�\237artigen 
Azteken\n, n=4096, format=0x0)
at shared.c:689
len = value optimized out
ret = value optimized out
ap = value optimized out
__PRETTY_FUNCTION__ = cat_snprintf
#8  0x080dd56c in historian_generic (which_news=HISTORIAN_RICHEST) at 
report.c:231
pplayer = value optimized out
i = value optimized out
j = 4
rank = 9
buffer =  1: Die gro�\237artigen Azteken\n, '\0' repeats 29 times, 
\002\000\003\000\000\000\001\003\000\000\000\000\001, '\0' repeats 11 
times, 
\003\000\003\000\000\000\000\001\002\000\000\000\001\000\000\000\000\000\001\000\000\000\000\000\002\000\000\000\000\000\002\000\002\000\000\000\000\001\000\000\000\000\003\001\003\000\000\000\001\002\000\000\000\000\003\000\003\000\000\000\001\002\002\000\000\000\001\003\000\000\000\000\001\000\003\000\000\000\001\000\003\000\000\000\001\000\003\000\000\000\000\000\000\000\000\000\001\000\003\000\000\000\001\000\003\000\000\000\001\000\003,
 '\0' repeats 11 times, 
\001\000\000\000\003\000\000\000\006\000\000\000\000\000\000\000\002...
title = 
�H(\b\000\000\000\000���\b\030o\205��\205\f\b�H(\b\b[*\b���\b`;��, '\0' 
repeats 172 times, '�' repeats 12 times, \000\000\000\000, '�' repeats 
36 times, 
\000\000\000\000\220k\205�Hk\205�\023t\005\b�H(\b\000\000\000\000Hk\205��\213\n\b\220k\205�a\000\000\000hk\205�p|N\b�{N\b\000\000\000\000\230k\205�\177Y\006\b�H(\b,
 '\0' repeats 16 times, \004�\030\b\000\000\000\000 
|N\b\001\000\000\000�k\205�\2101�\b\000\000\000\000�H(\b\000\000\000\000\001\000\000\000�H(\b\000\000\000\000\020l\205�...
#9  0x080ddbf1 in make_history_report () at report.c:1107
No locals.
#10 0x080b08ab in end_turn () at srv_main.c:867
No locals.
#11 0x080b145d in srv_running () at srv_main.c:1864
pplayer_index = value optimized out
eot_timer = (struct timer *) 0x8c20658
save_counter = 1
is_new_turn = true
__PRETTY_FUNCTION__ = srv_running
#12 0x080b1a0c in srv_main () at srv_main.c:2191
No locals.
#13 0x0804aaea in main (argc=Cannot access memory at address 0x32da
) at civserver.c:265
inx = 8
showhelp = false
showvers = false
option = value optimized out
(gdb) quit

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



22testa-1450m.sav.gz
Description: Binary data
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#40065) governor settings for cities not saved

2008-01-30 Thread Christian Knoke

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40065 


SVN S2_2 rev 14354 GTK2

It seems that the governor settings for all cities are not saved in savegame
any more. This happens with a S2_2 born game.

[EMAIL PROTECTED]:~$ LANG= civclient
2: Old attributes detected and removed.

Christian

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



___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] (PR#40064) Server crash

2008-01-30 Thread Jason Short

URL: http://bugs.freeciv.org/Ticket/Display.html?id=40064 

Looks like this is cause by 40063.

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev