Re: [Freeciv-Dev] (PR#14236) Error: choose_random_tech

2007-05-08 Thread William Allen Simpson

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

This can probably be closed.  The message is gone from the source, and
all the places the function is called check for A_UNSET now.



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


[Freeciv-Dev] (PR#39126) Nuke bug

2007-05-08 Thread Guest

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

Apply the patch in reverse mode (i did a mistake with source and
destination with diff): patch -Rp1

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


[Freeciv-Dev] (PR#39364) 2.1.0b4 crash on opening scenarios screen

2007-05-08 Thread William Allen Simpson

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

Recently compiled on iMacG5 with MacOS 10.3.9 and MacPorts.

export LDFLAGS=-L/opt/local/lib
export CPPFLAGS=-I/opt/local/include
export CC=gcc -no-cpp-precomp

./configure --disable-nls --enable-client=gtk2 
--prefix=/Users/wastrel/freeciv-test

make

...
Making all in scenario
/usr/bin/gzip --best -c british-isles-85x80-v2.80.sav  
british-isles-85x80-v2.80.sav.gz
/usr/bin/gzip --best -c earth-160x90-v2.sav  earth-160x90-v2.sav.gz
/usr/bin/gzip --best -c earth-80x50-v2.sav  earth-80x50-v2.sav.gz
/usr/bin/gzip --best -c europe-200x100-v2.sav  europe-200x100-v2.sav.gz
/usr/bin/gzip --best -c hagworld-120x60-v1.2.sav  hagworld-120x60-v1.2.sav.gz
/usr/bin/gzip --best -c iberian-peninsula-136x100-v1.0.sav  
iberian-peninsula-136x100-v1.0.sav.gz
/usr/bin/gzip --best -c tutorial.sav  tutorial.sav.gz
...

Invoked with ./civ, main screen, click scenario button.  Reproducible.

===
Date/Time:  2007-05-05 14:00:03 -0400
OS Version: 10.3.9 (Build 7W98)
Report Version: 2

Command: civclient
Path:/Users/wastrel/Projects/freeciv-2.1.0-beta4/client/civclient
Version: ??? (???)
PID: 1425
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:  KERN_INVALID_ADDRESS (0x0001) at 0x01df003c

Thread 0 Crashed:
0   libSystem.B.dylib   0x90007220 strlen + 0x20
1   libglib-2.0.0.dylib 0x012e3094 g_strdup + 0x20
2   libgobject-2.0.0.dylib  0x01133524 value_collect_string + 0x40
3   libgtk-x11-2.0.0.dylib  0x0163fc78 gtk_list_store_set_valist_internal + 
0x390
4   libgtk-x11-2.0.0.dylib  0x0163ff08 gtk_list_store_set_valist + 0x17c
5   libgtk-x11-2.0.0.dylib  0x0163ffd4 gtk_list_store_set + 0x4c
6   civclient   0x000b16a8 update_scenario_page + 0x12c 
(pages.c:1841)
7   civclient   0x000b2430 set_client_page + 0x100 
(pages.c:2166)
8   civclient   0x000ad154 start_scenario_callback + 0x18 
(pages.c:106)
9   libgobject-2.0.0.dylib  0x0110f964 g_closure_invoke + 0x130
10  libgobject-2.0.0.dylib  0x01124100 signal_emit_unlocked_R + 0x8e8
11  libgobject-2.0.0.dylib  0x01123374 g_signal_emit_valist + 0x760
12  libgobject-2.0.0.dylib  0x01123614 g_signal_emit + 0x28
13  libgtk-x11-2.0.0.dylib  0x015161bc gtk_button_clicked + 0xd0
14  libgtk-x11-2.0.0.dylib  0x01517d24 gtk_real_button_released + 0x6c
15  libgobject-2.0.0.dylib  0x0110f964 g_closure_invoke + 0x130
16  libgobject-2.0.0.dylib  0x01123d58 signal_emit_unlocked_R + 0x540
17  libgobject-2.0.0.dylib  0x01123374 g_signal_emit_valist + 0x760
18  libgobject-2.0.0.dylib  0x01123614 g_signal_emit + 0x28
19  libgtk-x11-2.0.0.dylib  0x015160d8 gtk_button_released + 0xd0
20  libgtk-x11-2.0.0.dylib  0x015179c8 gtk_button_button_release + 0x3c
21  libgtk-x11-2.0.0.dylib  0x01648aa8 _gtk_marshal_BOOLEAN__BOXED + 0x124
22  libgobject-2.0.0.dylib  0x0110f964 g_closure_invoke + 0x130
23  libgobject-2.0.0.dylib  0x011242e0 signal_emit_unlocked_R + 0xac8
24  libgobject-2.0.0.dylib  0x011233b4 g_signal_emit_valist + 0x7a0
25  libgobject-2.0.0.dylib  0x01123614 g_signal_emit + 0x28
26  libgtk-x11-2.0.0.dylib  0x017fe908 gtk_widget_event_internal + 0x370
27  libgtk-x11-2.0.0.dylib  0x017fe1f4 gtk_widget_event + 0x150
28  libgtk-x11-2.0.0.dylib  0x01646864 gtk_propagate_event + 0x328
29  libgtk-x11-2.0.0.dylib  0x01644bcc gtk_main_do_event + 0x49c
30  libgdk-x11-2.0.0.dylib  0x010576c4 gdk_event_dispatch + 0xc0
31  libglib-2.0.0.dylib 0x012c93c4 g_main_dispatch + 0x1ac
32  libglib-2.0.0.dylib 0x012ca724 g_main_context_dispatch + 0x98
33  libglib-2.0.0.dylib 0x012cabd4 g_main_context_iterate + 0x430
34  libglib-2.0.0.dylib 0x012cb3a8 g_main_loop_run + 0x360
35  libgtk-x11-2.0.0.dylib  0x01643d50 gtk_main + 0x140
36  civclient   0x000a77a0 ui_main + 0x4ec (gui_main.c:1361)
37  civclient   0x6c44 main + 0x788 (civclient.c:360)
38  civclient   0x1fe8 _start + 0x188 (crt.c:267)
39  dyld0x8fe1a31c _dyld_start + 0x64

PPC Thread State:
   srr0: 0x90007220 srr1: 0x0200f030vrsave: 0x
 cr: 0x28242244  xer: 0x   lr: 0x012e3094  ctr: 0x90007200
 r0: 0x012e3094   r1: 0xbfffe370   r2: 0x011334e4   r3: 0x01df0038
 r4: 0x   r5: 0xfefefeff   r6: 0x80808080   r7: 0xbfffe600
 r8: 0x01bc1670   r9: 0x01df003c  r10: 0x  r11: 0x0133659c
r12: 0x90007200  r13: 0xbfffe900  r14: 0x013362e8  r15: 0x01143820
r16: 0xbfffe810  r17: 0x01b3fb50  r18: 0x013362e0  r19: 0x00561de0
r20: 0xbfffe7f8  r21: 0x007c9088  r22: 0x013362e8  r23: 0x
r24: 0x0017ed6c  r25: 0x01b406e0  r26: 0xbfffe640  r27: 0x01bc0f10
r28: 0x  r29: 0x01bc13a0  r30: 0x01df003c  r31: 0x0163f900

Binary Images Description:
 0x1000 -0xe civclient  ./client/civclient
   0x564000 -   0x565fff 

[Freeciv-Dev] (PR#39365) 2.1.0b4 random number seed not saved correctly

2007-05-08 Thread William Allen Simpson

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

Recent (2006 May 2) MacOS compile of freeciv-2.1.0-beta4.tar.bz2.

This is a very obscure error, and likely not worth fixing before release,
unless a new beta is produced.  It should be fixed in any subsequent
2.1.n release.

Reproduce using the default.ruleset:

  1. Save just before hitting a hut, or building/naming a city, or whatever.

  2. Hit the hut (or whatever), and note result.

  3. Quit, and load the saved game.

  4. Do the same action again, and note the different result.

  5. Quit, and load the saved game.

  6. Do the same action again, and note the same result as the reload.

  7. Repeating seems to confirm the latter result.

Correctly saving/restoring the seed state is essential to testing.

Note that civ1 and civ2 did not save the state, and that was a common
cheat method (reload for a different result).  However, civ3 does this
correctly and is highly reproducible.



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


Re: [Freeciv-Dev] (PR#39365) 2.1.0b4 random number seed not saved correctly

2007-05-08 Thread Daniel Doran

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

I have never experienced any other behavior from Freeciv.  freeciv-1.x 
versions on Win and Linux exhibited the precise behavior described.

William Allen Simpson wrote:
 URL: http://bugs.freeciv.org/Ticket/Display.html?id=39365 

 Recent (2006 May 2) MacOS compile of freeciv-2.1.0-beta4.tar.bz2.

 This is a very obscure error, and likely not worth fixing before release,
 unless a new beta is produced.  It should be fixed in any subsequent
 2.1.n release.

 Reproduce using the default.ruleset:

   1. Save just before hitting a hut, or building/naming a city, or whatever.

   2. Hit the hut (or whatever), and note result.

   3. Quit, and load the saved game.

   4. Do the same action again, and note the different result.

   5. Quit, and load the saved game.

   6. Do the same action again, and note the same result as the reload.

   7. Repeating seems to confirm the latter result.

 Correctly saving/restoring the seed state is essential to testing.

 Note that civ1 and civ2 did not save the state, and that was a common
 cheat method (reload for a different result).  However, civ3 does this
 correctly and is highly reproducible.



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

   



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