[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-11-05 Thread Matthias Pfafferodt

Update of bug #18549 (project freeciv):

  Status:  Ready For Test = Fixed  
 Assigned to:None = syntron
 Open/Closed:Open = Closed 

___

Follow-up Comment #37:

applied to S2_3, S2_4 and trunk

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-11-04 Thread Jacob Nevins

Follow-up Comment #34, bug #18549 (project freeciv):

Matthias, will you apply these patches?
(I can do it if you don't have time.)

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-30 Thread Jacob Nevins

Follow-up Comment #28, bug #18549 (project freeciv):

I'd definitely like this fix in 2.3.1, otherwise it will be a regression from
2.3.0.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-30 Thread Matthias Pfafferodt

Follow-up Comment #29, bug #18549 (project freeciv):

Ok - seems to be that I did not used S2_3; In this version virtual tiles have
the index = -1, so a special check is needed. Could you test it with the
attached file added on top of the two patches (file #14161, file #14160)?

(file #14325)
___

Additional Item Attachment:

File name: 0003-fix-for-S2_3.patchSize:0 KB


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-30 Thread Joan Creus

Follow-up Comment #30, bug #18549 (project freeciv):

OK, now I don't get any errors. However, I can't play long. Since I upgraded
Ubuntu, I just can't see anything on the map view. I must have a problem with
GTK.

I will open a separate bug for that, but this one looks OK. Before this late
patch, I got assertions just by starting the game, and every time I clicked
Turn Done.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-30 Thread Jacob Nevins

Follow-up Comment #31, bug #18549 (project freeciv):

Re not seeing anything on the map view: you haven't ended up with Gtk 2.24.5,
have you? There's known problems with that version -- see bug #18243. If it's
ended up in a mainstream Linux distro, that's bad...

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-30 Thread Jacob Nevins

Follow-up Comment #32, bug #18549 (project freeciv):

I confirm that with file #14325 on S2_3 r20364, I no longer get any assertion
failures, at startup and following the procedure of comment #12.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-30 Thread Joan Creus

Follow-up Comment #33, bug #18549 (project freeciv):

According to dpkg, I have Gtk 2.24.6. I've opened bug #18891

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-28 Thread Joan Creus

Follow-up Comment #25, bug #18549 (project freeciv):

No, it kept happening all the time, when moving units, and when pressing
Turn Done.

However, I haven't been able to test for a few days because of problems
during the kubuntu update. I finally managed to get a working system late
yesterday. I tried to make clean and recompile, but got a compilation error.
I'll try again tonight (CET), and report back.



___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-28 Thread Jacob Nevins

Follow-up Comment #26, bug #18549 (project freeciv):

I can reproduce jcreus' new assertion of comment #21 with the two patches
(file #14161, file #14160) applied to S2_3 r20341.

I get them when starting a new game, but for the sake of reproducibility, I
also get them with the savegame for reproducing this (file #14028). First one
happens as soon as client connects. With -F:


Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8
0: in tile_virtual_check() [tile.c::911]: assertion '0 = tindex  tindex 
map_num_tiles()' failed.
0: Please report this message at http://gna.org/projects/freeciv/
Aborted (core dumped)


Backtrace:


#0  0x7f5bb93cc7bb in raise (sig=value optimised out)
at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x0056024f in fc_assert_fail (file=0x5c55a0 tile.c,
function=0x5c56e0 tile_virtual_check, line=911,
assertion=value optimised out, message=0x0) at log.c:476
level = LOG_FATAL
#2  0x00558316 in tile_virtual_check (vtile=0x93607e0) at tile.c:911
tindex = -1
__FUNCTION__ = tile_virtual_check
#3  0x00558ebd in tile_set_terrain (ptile=0x93607e0,
pterrain=0x6412)
at tile.c:128
__FUNCTION__ = tile_set_terrain
#4  0x00558fc5 in tile_change_terrain (ptile=0x6412,
pterrain=0x6412)
at tile.c:477
No locals.
#5  0x00559196 in tile_transform (ptile=0x93607e0,
act=value optimised out) at tile.c:620
No locals.
#6  tile_apply_activity (ptile=0x93607e0, act=value optimised out)
at tile.c:665
__FUNCTION__ = tile_apply_activity
#7  0x00479472 in get_tile_change_menu_text (
ptile=value optimised out, activity=ACTIVITY_IRRIGATE) at menu.c:1884
newtile = 0x93607e0
text = value optimised out
#8  0x00479e54 in real_menus_update () at menu.c:2151
punit = value optimised out
safe_group = 0x91a0cf0
edit_group = 0x91a0f20
unit_group = 0x91c3c50
playing_group = 0x91c39e0
punits = 0x454f200
units_all_same_tile = value optimised out
units_all_same_type = true
menu = value optimised out
acttext =
 00 01 00 00 00 00 00 00i216\ 00 00 00 00 00240 03 00 00 00 00 00 00BnV 00 00 
00 00 00f 01 00 00 00 00 00 00i216\ 00 00 00 00 00P 00 00 00 00 00 00 00BnV 00 
00 00 00 00240 03,
' 00' repeats 30 times,  NF 00 00 00 00 00EvV, ' 00' repeats 14
times213,  65351270o 06220
irrtext = `h247230377177 00 00200 00 00 00 00 00 00 00
 00 00 00 00 00 00 00@216;271[177 00 00 21 01 00 00 00 00 00 00240 03 00 00 00 
00 00 00240 03 00 00 00 00 00 00240 03 00 00 00 00 00 00 35 00 00 00 00 00 00 
00216ev271[177 00 00P 00 00 00 00 00 00 00P 00 00 00 00 00 00 00 35 00 00 00 00 
00 00 00216ev271[177 00 00 00 00 00377377377377310DX 00 00 00 00
mintext =
300h247230377177 00 00@225 31t 00 00 00 00P332S 04 00 00 00 00 21wc271[177 00 
00P332S 04 00 00 00 00 00 00 00 00 00 00 00@225 31t,
' 00' repeats 12 times300,
h247230377177 00 00@225 31t 00 00 00 00P332S 04 00 00 00 00~t200272[177 00 
00360g247230377177 00 00300 03 00 00 00 00 00 00 20 00 00 00 00 00 00 00; 00 00 
00 00 64 00
transtext =
0g247230377177 00 00qec271[177 00 00 00 00 00 00 00340n 00\g247230377177 00 00 
60g247230377177 00 00@g247230377177,
' 00' repeats 11 times210,
 05 00 00 64 00 00`n213271[177 00 00 25sc271[177 00 00`n213271[177 00 00 20b 
30t 00( 00 00 20 00 00 00 00 00 00 00P332S 04 00 00 00 00@225 31t 00 00 00 00 
20b 30t 00 00 00
pterrain = 0x920580
__FUNCTION__ = real_menus_update
#9  0x00465193 in update_unqueue (data=value optimised out)
at update_queue.c:311
MY_it_MY_iter = 0x7fff98a76950
#10 0x0041384a in idle_callback_wrapper (data=0x44f63c0)
at gui_main.c:2006
No locals.
#11 0x7f5bb96188c2 in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
No symbol table info available.
#12 0x7f5bb961c748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x7f5bb961cc55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x7f5bfbb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0x0041700f in ui_main (argc=1, argv=0x7fff98a76f98)
at gui_main.c:1667
home = value optimised out
sig = value optimised out
__FUNCTION__ = ui_main
#16 0x0041efc8 in client_main (argc=value optimised out, 
argv=0x7fff98a76f98) at client_main.c:516
i = 2
loglevel = LOG_NORMAL
ui_options = value optimised out
ui_separator = 192
option = value optimised out
user_tileset = false
fatal_assertions = 6
__FUNCTION__ = client_main
#17 0x7f5bb9058c4d in __libc_start_main (main=value optimised out, 
argc=value optimised out, ubp_av=value optimised out, 
init=value optimised out, fini=value optimised out, 
rtld_fini=value optimised out, stack_end=0x7fff98a76f88)
at 

[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-28 Thread Joan Creus

Follow-up Comment #27, bug #18549 (project freeciv):

Yes, I'm reproducing them again. I also don't get the map view right, or the
window decoration, but then it must be something I've done wrong when
recompiling or when installing the required libraries.

The assertions seem to come from the helper function from the patch on the
other bug.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-27 Thread Matthias Pfafferodt

Follow-up Comment #24, bug #18549 (project freeciv):

I tried again to reproduce the error stated in comment #21 but can't. Does it
is related to swamps? At which point does it happen?

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-23 Thread Joan Creus

Follow-up Comment #21, bug #18549 (project freeciv):

OK, now I can compile. I have applied only the second file in patch #2957 and
both of the patches in this bug.

The original assertion doesn't show up any more. But there's a new one. Now,
almost every unit generates an assert error like

1: in tile_virtual_check() [tile.c::917]: assertion '0 = tindex  tindex 
map_num_tiles()' failed.

I could add savegames, but it really happens all the time.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-23 Thread Matthias Pfafferodt

Follow-up Comment #22, bug #18549 (project freeciv):

Thanks for testing this; I will check the error. It is the client or the
server? At the moment I'm checking the client side of the transporter patch as
there are also some errors ..

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-23 Thread Matthias Pfafferodt

Follow-up Comment #23, bug #18549 (project freeciv):

do you have a core dump or a backtrace? which of the patches is the reason
for the message?

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-22 Thread Joan Creus

Follow-up Comment #19, bug #18549 (project freeciv):

Sorry for the delay. I didn't realise this was a different patch. I have
reverted the previous one, and tested the new one, but I get a linking error:

../common/.libs/libfreeciv.a(tile.o): In function `tile_set_terrain':
/home/joanc/freeciv/freeciv-2.3/common/tile.c:128: undefined reference to
`tile_virtual_check'

I must be doing something wrong... I have even run autogen.sh again, just in
case, but I still get the same error.


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-10-22 Thread Jacob Nevins

Follow-up Comment #20, bug #18549 (project freeciv):

The new patch depends on patch #2957 being applied first.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-25 Thread Matthias Pfafferodt

Follow-up Comment #18, bug #18549 (project freeciv):

 However, this is the only difference I have noticed. Before
 applying the patch, the city tile couldn't be transformed to
 ocean, even by Engineers. 
It should be the only difference. The assert happend due to a virtual tile
which did had the index (or coordinates) of the real tile with the city. Thus,
the assert got called on the check if the tile can be transformed ...

But this check is at the wrong place. The attached patch moves the check into
tile_set_terrain(). There, it is tested if ptile is a virtual one. It also
adds a comment explaining the assert test as this cost me lots of time!

Please test this patch!

(file #14160)
___

Additional Item Attachment:

File name: 0029-add-check-to-tile_transform.patch Size:1 KB


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-25 Thread Matthias Pfafferodt

Update of bug #18549 (project freeciv):

  Depends on: = patch #2957


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-24 Thread Joan Creus

Follow-up Comment #17, bug #18549 (project freeciv):

I have just tested the patch, and the assertion has disappeared, so it seems
to work.

However, this is the only difference I have noticed. Before applying the
patch, the city tile couldn't be transformed to ocean, even by Engineers.


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-21 Thread Matthias Pfafferodt

Update of bug #18549 (project freeciv):

  Status:   Confirmed = Ready For Test 

___

Follow-up Comment #16:

and now as patch; how to test it:

- start a game
- use the editor to change a tile to swap
- check the work menu for a settler/engineer; it should show transformation
to ocean
- build a city on swamp
- without patch: the city tile can be transformed to ocean = assert
- with patch: city tile can't be transformed (option shown as Transform:
Swamp; this is perhaps not optimal?!)

(file #14116)
___

Additional Item Attachment:

File name: 0006-add-check-to-tile_transform.patch Size:1 KB


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-04 Thread Matthias Pfafferodt

Follow-up Comment #15, bug #18549 (project freeciv):

So its the test for the activity result (transform) on a virtual tile on
which a city is located. I think the solution would be to add a check in
tile_transform:

untested patch (check from tile_set_terrain()):
++
static void tile_transform(struct tile *ptile)
{
  struct terrain *pterrain = tile_terrain(ptile);

  if (pterrain-transform_result != T_NONE
   (NULL != tile_city(ptile)
  || !terrain_has_flag(pterrain-transform_result, TER_NO_CITIES)) {
tile_change_terrain(ptile, pterrain-transform_result);
  }
}
--

If something like this is applied, the check in tile_set_terrain() is moved
up the toolchain ...

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Jacob Nevins

Follow-up Comment #9, bug #18549 (project freeciv):

See also bug #18598.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Joan Creus

Follow-up Comment #10, bug #18549 (project freeciv):

I have a way to reproduce the problem. The assertion fails whenever the focus
moves to a unit inside the problematic city. If the city is empty, nothing
happens. If you move a unit into it (or if a unit is built inside the city),
the message appears.

You can try the savegame I'm adjoining. Just go to Tarragona, change
production from Settlers to Warriors, and Turn Done. The focus will pass
several units, and when the newly built warriors get the focus, the assertion
fails. If the unit goes into sentry, the problem disappears.

(file #14028)
___

Additional Item Attachment:

File name: freeciv-T0010-Y-3500-auto.sav.gz Size:26 KB


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Jacob Nevins

Update of bug #18549 (project freeciv):

  Status:None = Confirmed  

___

Follow-up Comment #11:

Yep, confirmed that I can reproduce given those instructions. Brilliant,
thanks.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Jacob Nevins

Update of bug #18549 (project freeciv):

Category:None = client 


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Jacob Nevins

Follow-up Comment #12, bug #18549 (project freeciv):

Hm, actually, it seems to depend exactly when/how you move the unit, so
here's my reproduction case:
* Take these Workers:  [l tgt=unit id=107 name=Workers /] 
** Move them North. Turn Done.
** North again. Turn Done.
** North-west. Assertion fires.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Jacob Nevins

Follow-up Comment #13, bug #18549 (project freeciv):

...and here's a Gtk client backtrace (S2_3 r20223):


#0  0x7f9219b3d7bb in raise (sig=value optimised out)
at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x005601bf in fc_assert_fail (file=0x5c53fb tile.c,
function=0x5c5600 tile_set_terrain, line=127,
assertion=value optimised out,
message=0x5c5338 At (%d, %d), the terrain %s (nb %d) doesn't support
cities, whereas %s (nb %d) is built there.) at log.c:476
level = LOG_FATAL
#2  0x00558f07 in tile_set_terrain (ptile=0x7bce780,
pterrain=0x91f4c0)
at tile.c:120
__FUNCTION__ = tile_set_terrain
#3  0x00558f35 in tile_change_terrain (ptile=0xd8a, pterrain=0xd8a)
at tile.c:468
No locals.
#4  0x00559106 in tile_transform (ptile=0x7bce780,
act=value optimised out) at tile.c:611
No locals.
#5  tile_apply_activity (ptile=0x7bce780, act=value optimised out)
at tile.c:656
__FUNCTION__ = tile_apply_activity
#6  0x00479452 in get_tile_change_menu_text (
ptile=value optimised out, activity=ACTIVITY_TRANSFORM) at menu.c:1884
newtile = 0x7bce780
text = value optimised out
#7  0x00479ee3 in real_menus_update () at menu.c:2172
punit = value optimised out
safe_group = 0x8e804a0
edit_group = 0x8e82190
unit_group = 0x40fc5e0
playing_group = 0x8e965e0
punits = 0x41ee750
units_all_same_tile = value optimised out
units_all_same_type = true
menu = value optimised out
acttext = ' 00' repeats 16 times260,
344364b 00 00 00 00`237372204377177 00 00300JF 00 00 00 00 00dUF, ' 00'
repeats 21 times260, 344364b 00 00 00 00] 23G, ' 00' repeats 29 times,
0} 36 04, ' 00' repeats 12 times, bKF 00 00 00 00
irrtext = Change to
Grassland 00 00 00 00 00240331G 00 00 00 00 00 21 01 00 00 00 00 00 00 20Jnt 00 
00 00 00240331G,
' 00' repeats 21 times360, 226vt 00 00 00 00t 00 00 00 00 00 00 00z330V,
' 00' repeats 13 times, 
Ont 00 00 00 00 16 22 00 00 00 00 00 00240331G 00 00 00 00
mintext = Change to
Forest 00200266 00 00 00 00 00300200266 00 00 00 00 00 60274276 00 00 00 00 
00267246203 27222177 00 00 00 00 00 00 00 00 00 00 30,
' 00' repeats 15 times203,
216202 31222177 00 00 60274276 00 00 00 00 00@236262 31222177 00 00b 00 00 00 
00 00 00 00 20 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 20 00 00 00 00 00 
00
transtext =  00 00 00 00 00 00 00 00@236262 31222177 00 00
 00 00 00 00 00 00 00qu332 31222177 00 00
 00 00 00 00 00 00 00@236262 31222177 00 00 00365266 00 00 00 00 00263|205 
27222177 00 00
236372204377177 00 00,236372204377177 00 00 00 00 00 00 00 00 00 00216u202 
31222177 00 00360=351b 00 00 00 00214%f 3177 00 00 25 00 00 00 00 00 00 
00300200266 00 00 00 00
pterrain = value optimised out
__FUNCTION__ = real_menus_update
#8  0x004651d3 in update_unqueue (data=value optimised out)
at update_queue.c:311
MY_it_MY_iter = 0x7fff84fa9f60
#9  0x0041384a in idle_callback_wrapper (data=0x909c050)
at gui_main.c:2006
No locals.
#10 0x7f9219d898c2 in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
No symbol table info available.
#11 0x7f9219d8d748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#12 0x7f9219d8dc55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#13 0x7f921c330bb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0x0041700f in ui_main (argc=1, argv=0x7fff84faa5a8)
at gui_main.c:1667
home = value optimised out
sig = value optimised out
__FUNCTION__ = ui_main
#15 0x0041efc8 in client_main (argc=value optimised out, 
argv=0x7fff84faa5a8) at client_main.c:516
i = 5
loglevel = LOG_NORMAL
ui_options = value optimised out
ui_separator = 192
option = value optimised out
user_tileset = false
fatal_assertions = 6
__FUNCTION__ = client_main
#16 0x7f92197c9c4d in __libc_start_main (main=value optimised out, 
argc=value optimised out, ubp_av=value optimised out, 
init=value optimised out, fini=value optimised out, 
rtld_fini=value optimised out, stack_end=0x7fff84faa598)
at libc-start.c:226
result = value optimised out
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -4343537129987645052,

4272608, 140735424406944, 0, 0, 4343631727956976004, 
4367529597857554820}, mask_was_saved = 0}}, priv = {pad = {
  0x0, 0x0, 0x580c90, 0x7fff84faa5a8}, data = {prev = 0x0, 
  cleanup = 0x0, canceltype = 5770384}}}
not_first_call = value optimised out
#17 0x00413209 in _start ()
No symbol table info available.


Looks like it's when the client is updating the menus and working out
possible transformations of the tile.


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-09-03 Thread Jacob Nevins

Update of bug #18549 (project freeciv):

 Planned Release: = 2.3.1,2.4.0

___

Follow-up Comment #14:

This seems to have come in with patch #2866 (post-2.3.0), which seems
plausible.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-08-30 Thread Jacob Nevins

Follow-up Comment #7, bug #18549 (project freeciv):

Should have said: this is S2_3 r20191.

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-08-30 Thread Matthias Pfafferodt

Follow-up Comment #8, bug #18549 (project freeciv):

Do you know if there was 'real' ocean at the tile or was it something like a
test if the change would improve the terrain?

___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-08-29 Thread Jacob Nevins

Follow-up Comment #6, bug #18549 (project freeciv):

I've now seen this in my own game. Again, Kapellen is a city in a swamp.
Belongs to an AI so I don't know what it's up to. I noticed this on the
console after several turns of play, so I don't have a precise savegame.


1: in tile_set_terrain() [tile.c::127]: assertion 'NULL == pterrain ||
!terrain_has_flag(pterrain, TER_NO_CITIES) || NULL == tile_city(ptile)'
failed.
1: At (42, 41), the terrain Ocean (nb 1) doesn't support cities, whereas
Kapellen (nb 309) is built there.
1: SVP, rapportez ce bogue à http://gna.org/projects/freeciv/
1: in tile_set_terrain() [tile.c::127]: assertion 'NULL == pterrain ||
!terrain_has_flag(pterrain, TER_NO_CITIES) || NULL == tile_city(ptile)'
failed.
1: At (42, 41), the terrain Ocean (nb 1) doesn't support cities, whereas
Kapellen (nb 309) is built there.


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #18549] Sanity check fails on city in swamp

2011-08-23 Thread Jacob Nevins

Update of bug #18549 (project freeciv):

 Summary: Sanity check fails on city in swap = Sanity check
fails on city in swamp


___

Reply to this item at:

  http://gna.org/bugs/?18549

___
  Message sent via/by Gna!
  http://gna.org/


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