[Freeciv-Dev] [bug #20045] assertion failed with civ2civ3 over S2_4

2014-05-12 Thread pepeto
Follow-up Comment #18, bug #20045 (project freeciv):

It could be also something like bug #21899 if units were bounced for any
reason.


___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2013-04-28 Thread Marko Lindqvist
Follow-up Comment #17, bug #20045 (project freeciv):

If allied transports are involved, this could be bug #20727 (transport moving
out of sight, getting unloaded for removal from client end before cargo moves)

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2013-03-29 Thread Jacob Nevins
Follow-up Comment #16, bug #20045 (project freeciv):

 in unit_transport_unload() [unit.c::2072]: assertion
'same_pos(unit_tile(pcargo), unit_tile(ptrans))' failed.
I've seen this assertion failing in 2.4.0-beta1 on the client a couple of
times when testing with loading/unloading submarines and cruise missiles to
try to reproduce bug #20668.

I haven't worked out exactly what triggers it yet. I've not seen it with the
head of S2_4 but that's not conclusive; however I suspect changes since beta1
(notably bug #20085) are likely to have perturbed this area.

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2013-03-13 Thread Marko Lindqvist
Follow-up Comment #15, bug #20045 (project freeciv):

Another fixed bug of which this could be duplicate: bug #20498

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-27 Thread David Fernandez
Follow-up Comment #14, bug #20045 (project freeciv):

I'm afraid it keeps failing with the same error. I tested S_4 r21843 that
includes the mentioned patch.
The error appears when I reload the savegame posted here, and also when I
start a new clean game.


1: in unit_virtual_destroy() [unit.c::1715]: assertion
'!unit_transported(punit)' failed.



___

Reply to this item at:

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

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20045] assertion failed with civ2civ3 over S2_4

2012-08-23 Thread Marko Lindqvist
Follow-up Comment #13, bug #20045 (project freeciv):

So unit unloading failure. I'm not sure if bug #20085 could explain this, but
it would be worth testing if now committed fix to it fixed this too.

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread David Fernandez
Follow-up Comment #3, bug #20045 (project freeciv):

I'm still curious to know the reason of this error, even if it only happens to
me. Else I'm not going to be able to test any freeciv version until there is a
window installer.

I have successfully installed the new v2.4 beta1 over ubuntu 9.04 (with make
install), I have installed the new civ2civ3 v2.4-2 (with freeciv-modpack), and
I still get the same assertion error in every game.

The error keeps appearing when I launch the installed freeciv-gtk2, so it is
not related to the script fcgui.
I have never seen this error with default rules, only with civ2civ3. It
happens when I use freeciv-modpack to install the mod, when I manually copy
the files to data folder, and also when I overwrite the default ruleset
files.
(this last method used to solve the problem with the other assertion error
that I reported bug #19925).

___

Reply to this item at:

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

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Marko Lindqvist
Follow-up Comment #4, bug #20045 (project freeciv):

Oh, does the assert happen in server or client side? You haven't actually said
that, but for some reason I've tried to reproduce server side crash.

Attached is the autogame I tested:
- civ2civ3.serv settings
- Random seed from the savegame you provided
- Minplayers setting set to 0 (I'm still curios of how you started the all-ai
game when minplayers setting was not 0 - had you first human player that was
then turned to ai?)
- timeout set to -1 (proceed as fast as you can) This requires --enable-debug
build


Can you test if this asserts for you?

(file #16381)
___

Additional Item Attachment:

File name: c2c3rp.servSize:0 KB


___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Jacob Nevins
Follow-up Comment #5, bug #20045 (project freeciv):

I was about to ask the same thing re client vs server assertions.

I've just built 2.4.0-beta1 and downloaded the v2.4-2 modpack via
freeciv-modpack and I also can't provoke the savegame into any assertions.
Perhaps an exact sequence of steps? -- I wasn't sure which player to /take,
for instance.

 assertion 'same_pos(unit_tile(pcargo), unit_tile(ptrans))' failed.
We know we have a lurking problem with the client not being kept up to date
with unit state (bug #19612, bug #19904). If this message is from the client,
could be more of the same?

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Marko Lindqvist
Follow-up Comment #6, bug #20045 (project freeciv):

Is it possible that you have old version of some ruleset file in the
FREECIV_DATA_PATH so that it (that single) file gets used instead of correct
one? You could start server with -d 3 and read output after rulesetdir
civ2civ3 carefully to see that every file is read from correct path.

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Jacob Nevins
Follow-up Comment #7, bug #20045 (project freeciv):

Hey, hey, I got one of these assertion failures. At some point. Lost it. Darn.
I'll try again.

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Jacob Nevins
Follow-up Comment #8, bug #20045 (project freeciv):

...and it was on the client. I'd left the server just running with the client
as global observer.


1: in unit_transport_unload() [unit.c::2072]: assertion
'same_pos(unit_tile(pcargo), unit_tile(ptrans))' failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in unit_transport_unload() [unit.c::2072]: assertion
'same_pos(unit_tile(pcargo), unit_tile(ptrans))' failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in unit_virtual_destroy() [unit.c::1724]: assertion
'unit_list_size(punit-transporting) == 0' failed.
1: Please report this message at http://gna.org/projects/freeciv/
Segmentation fault


___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread David Fernandez
Follow-up Comment #9, bug #20045 (project freeciv):

Right, it is client side error... Sorry I didn't realize it.

- Minplayers setting set to 0 (I'm still curios of how you started the all-ai
game when minplayers setting was not 0 - had you first human player that was
then turned to ai?)
Yes, I start with human, then I turn to ai, and then I set timeout.
It is the only way I have found since timeout = -1 does not work for me and
the code does not compile for me when I try ./autogen.sh --enable-debug

I must say I have not been able to reproduce the error with the previous
version of the mod v2.4-1, so it seems someway related to my latest changes
for v2.4-2.

I'm glad you catched the same error. Thanks for the help, I'll keep testing.



___

Reply to this item at:

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

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Marko Lindqvist
Follow-up Comment #10, bug #20045 (project freeciv):

 the code does not compile for me when I try
 ./autogen.sh --enable-debug

Could you raise this as separate bug ticket? With exact error message from the
compiler.

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread David Fernandez
Follow-up Comment #11, bug #20045 (project freeciv):

Can you test if this asserts for you?
When I launch your .serv (that includes set timeout -1), it seems to work even
without debug enabled, and I do get the assertion error in the client. 

You could start server with -d 3 and read output after rulesetdir
civ2civ3 carefully to see that every file is read from correct path.
Good point. It seems to load the right files from correct paths. The lua
scripts and the nations are taken from default rules, I never know if I should
include those unmoded files in my packs.

___

Reply to this item at:

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

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20045] assertion failed with civ2civ3 over S2_4

2012-08-12 Thread Jacob Nevins
Follow-up Comment #12, bug #20045 (project freeciv):

OK, reproduced an assertion failure.

Client asserted (and died since I used -F) between T0110 and T0111.

Client backtrace:


#0  0x7f01516b17bb in raise (sig=value optimised out)
at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:42
No locals.
#1  0x0056c98c in fc_assert_fail (file=0x5eb397 unit.c, 
function=0x5ebb10 unit_transport_unload, line=2072, 
assertion=value optimised out, message=0x5eca0a nologmsg:%s)
at log.c:520
level = LOG_FATAL
#2  0x0056652b in unit_transport_unload (pcargo=0x45d7d50)
at unit.c:2072
ptrans = value optimised out
__FUNCTION__ = unit_transport_unload
#3  0x00444bee in handle_unit_remove (unit_id=value optimised out)
at packhand.c:373
pcargo_iter = value optimised out
punit = value optimised out
cargos = value optimised out
powner = 0x7f013b9b8cd0
#4  0x00449983 in client_handle_packet (type=value optimised out, 
packet=0x0) at packhand_gen.c:141
No locals.
#5  0x0041f8be in client_packet_input (packet=value optimised out, 
type=62) at client_main.c:654
__FUNCTION__ = client_packet_input
#6  0x004251a5 in input_from_server (fd=value optimised out)
at clinet.c:421
result = true
packet = 0x0
type = PACKET_UNIT_REMOVE
nb = value optimised out
__FUNCTION__ = input_from_server
#7  0x00415070 in get_net_input (source=value optimised out, 
condition=value optimised out, data=value optimised out)
at gui_main.c:1882
No locals.
#8  0x7f014b48e8c2 in g_main_context_dispatch () from
/lib/libglib-2.0.so.0
No symbol table info available.
#9  0x7f014b492748 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#10 0x7f014b492c55 in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#11 0x7f014da35bc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x00418579 in ui_main (argc=1, argv=0x7fff4f9e0878)
at gui_main.c:1673
home = value optimised out
sig = value optimised out
__FUNCTION__ = ui_main
#13 0x0041fd93 in client_main (argc=value optimised out, 
argv=0x7fff4f9e0878) at client_main.c:590
i = 2
loglevel = LOG_NORMAL
ui_options = value optimised out
ui_separator = 96
option = value optimised out
user_tileset = false
fatal_assertions = 6
__FUNCTION__ = client_main
#14 0x7f014f55cc4d 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=0x7fff4f9e0868)
at libc-start.c:226
result = value optimised out
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 2995556625538939496, 
4278096, 140734529144944, 0, 0, -2995802098214307224, 
-2913613134088308120}, mask_was_saved = 0}}, priv = {pad = {
  0x0, 0x0, 0x5a7f20, 0x7fff4f9e0878}, data = {prev = 0x0, 
  cleanup = 0x0, canceltype = 5930784}}}
not_first_call = value optimised out
#15 0x00414779 in _start ()
No symbol table info available.


___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-10 Thread Marko Lindqvist
Follow-up Comment #1, bug #20045 (project freeciv):

I can't reproduce the crash from the savegame. It's curious savegame, though,
in that all players are under AI control, but minplayers setting prevents
starting the game again without human taking one player.

I'm currently running autogame with default civ2civ3 settings (its .serv file)
and randseed from the savegame to see if I can reproduce this way. Are these
the settings you used?

___

Reply to this item at:

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

___
  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 #20045] assertion failed with civ2civ3 over S2_4

2012-08-10 Thread David Fernandez
Follow-up Comment #2, bug #20045 (project freeciv):

Are these the settings you used?
Yes, with those settings my games always end crashing around turn 100 to 150.
Actually, the savegame I uploaded always crashes to me when I end the turn.

It is an autosave from a game that I was playing under AI control, with /set
timeout 10 and I did not change the settings before saving, sorry.
I wonder if the time limit could be affecting the AI? Is there any other way
to play the game under AI contol?

If this savegame does not crash to you after the end of turn,
I'd assume there is some issue in my installation or the way I compile the
code that is causing these assertion errors, like the latest one I
reported.

I have revised the files of this updated civ2civ3 pack and I did not change
anything related to transports or unit types. If it does not crash to you, I'd
say the pack is ready to replace the previous version.

I'll test it again as soon as there is a version of the next beta that I do
not need to compile... to be sure.

___

Reply to this item at:

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

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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


[Freeciv-Dev] [bug #20045] assertion failed with civ2civ3 over S2_4

2012-08-09 Thread David Fernandez
URL:
  http://gna.org/bugs/?20045

 Summary: assertion failed with civ2civ3 over S2_4
 Project: Freeciv
Submitted by: bardo
Submitted on: vie 10 ago 2012 02:03:47 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Status: None
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Release: 
 Discussion Lock: Any
Operating System: None
 Planned Release: 

___

Details:

I have updated the modpack civ2civ3 for v2.4.
The attached modpack is supposed to be ready to replace the previous v2.4-1.

However, in a couple of tests with S2_4 rev21764, the game have ended with
this error:


1: in unit_transport_unload() [unit.c::2072]: assertion
'same_pos(unit_tile(pcargo), unit_tile(ptrans))' failed.
1: Please report this message at http://gna.org/projects/freeciv/
1: in unit_virtual_destroy() [unit.c::1724]: assertion
'unit_list_size(punit-transporting) == 0' failed.
1: Please report this message at http://gna.org/projects/freeciv/


Attached savegame at the turn just before the error happens.



___

File Attachments:


---
Date: vie 10 ago 2012 02:03:47 GMT  Name: civ2civ3_v2.4.zip  Size: 64kB   By:
bardo

http://gna.org/bugs/download.php?file_id=16366
---
Date: vie 10 ago 2012 02:03:47 GMT  Name: freeciv-T0079-Y-0525-auto.sav.gz 
Size: 181kB   By: bardo

http://gna.org/bugs/download.php?file_id=16367

___

Reply to this item at:

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

___
  Mensaje enviado vía/por Gna!
  http://gna.org/


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