[Bug 465899] New: Freeciv: building a city always loses connection with server (game repo)
https://bugzilla.novell.com/show_bug.cgi?id=465899 Summary: Freeciv: building a city always loses connection with server (game repo) Classification: openSUSE Product: openSUSE 11.1 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: cymerio@gmail.com QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; es-ES; rv:1.9.0.5) Gecko/2008121300 SUSE/3.0.5-1.1 Firefox/3.0.5 Running civclient from the commandline with "-d 3" gives the following 3 lines when clicking OK: 3: sending packet type=PACKET_UNIT_BUILD_CITY(53) len=13 3: sending request 9 2: lost connection to server If I run "civserver -d 3" and then connect to it with civclient, I can see the following lines when I try to build a city: 3: got packet type=(PACKET_UNIT_BUILD_CITY)53 len=16 3: sending packet type=PACKET_PROCESSING_STARTED(0) len=3 3: sending packet type=PACKET_TILE_INFO(14) len=12 3: sending packet type=PACKET_TILE_INFO(14) len=17 3: sending packet type=PACKET_TILE_INFO(14) len=13 3: el mensaje anterior se ha repetido 2 veces 3: sending packet type=PACKET_TILE_INFO(14) len=24 3: sending packet type=PACKET_TILE_INFO(14) len=13 3: el mensaje anterior se ha repetido 2 veces 3: el mensaje anterior se ha repetido 2 veces (en total 4 veces) 3: el mensaje anterior se ha repetido 3 veces (en total 7 veces) 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c 3: Warning: calloc with size 0 at line 576 of cm.c 3: Warning: calloc with size 0 at line 577 of cm.c civserver: cityturn.c:276: auto_arrange_workers: La declaración `cmr.found_a_valid' no se cumple. Abortado Reproducible: Always Steps to Reproduce: * Start civclient from the command line or from the menu * Click "Start a new game" 1. Click "Start" 2. If you haven't changed the defaults, press spacebar 3 times, so your next move is the settler unit 3. Press 'b' to build a city. A dialog appears. 4. Click OK. Actual Results: The game returns to the initial screen and a message appears at the bottom saying "You have lost the connection to the server" or something similar. Expected Results: A city should be built. Connection to the server should not end prematurely and the game should continue. I have "freeciv-2.1.6-1.6" installed from the game repo, with "zypper in freeciv". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c1
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c2
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User cymerio@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c3
asd asd
https://bugzilla.novell.com/show_bug.cgi?id=465899
User cymerio@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c4
--- Comment #4 from asd asd
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c5
Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c6
--- Comment #6 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c7
--- Comment #7 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User cymerio@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c8
asd asd
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c9
--- Comment #9 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c10
--- Comment #10 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c11
--- Comment #11 from Dominique Leuenberger
From the changes file I seem to have found when it was removed:
Mon Sep 24 12:36:27 CEST 2007 - sndirsch@suse.de - disabled workaround for gcc optimization bug, which meanwhile has been fixed (Bug #300410) For the time being the entire package is built with -O1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c12
--- Comment #12 from Stefan Dirsch
in bug #300410 you mention that -fno-tree-vrp solved it 'back then', but I could not see this option anywhere added in the spec file... only -fno-strict-aliasing was added to the $RPM_OPT_FLAGS. Maybe that flag got optimized out at one point?
From the changes file I seem to have found when it was removed: ------------------------------------------------------------------- Mon Sep 24 12:36:27 CEST 2007 - sndirsch@suse.de
- disabled workaround for gcc optimization bug, which meanwhile has been fixed (Bug #300410)
Exactly. We removed that option after fixing the optimization in gcc. :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c13
--- Comment #13 from Stefan Dirsch
For the time being the entire package is built with -O1.
I suggest to install -debuginfo/debugsource package for freeciv, attach gdb to the process and check with a backtrace, which files possibly need to be compiled without optimization. Maybe you can isolate the miscompilation to one file. Then our gcc guys can have a look at the generated code. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=465899
User cymerio@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c14
--- Comment #14 from asd asd
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c15
--- Comment #15 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=465899
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c16
--- Comment #16 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c17
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=465899
User dominique.leuenberger@tmf-group.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c18
--- Comment #18 from Dominique Leuenberger
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c19
--- Comment #19 from Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=465899
User sndirsch@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=465899#c20
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=465899
Stefan Dirsch
participants (1)
-
bugzilla_noreply@novell.com