[Freeciv-Dev] [bug #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #18, bug #16639 (project freeciv): updated patch: * add header to (new) functions Is the original bug still valid? If there is no answer I will close this bug at the time I commit the patch ... (file #12292) ___ Additional Item Attachment: File name: 20110206-fix-dbv-for-tile-vision-client-side-player-data.patch Size:3 KB ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #17, bug #16639 (project freeciv): is this still valid? I found an old patch which does fix some memory leakage. I do not know if this could be related to the bug ... (file #12075) ___ Additional Item Attachment: File name: 20110124-fix-dbv-for-tile-vision-client-side-player-data.patch Size:3 KB ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #16, bug #16639 (project freeciv): @Daniel: do you need to do ulimit -c unlimited first? Sorry, I did forgot this small command as I do it all the time. It is needed to allow the creation of a core dump. Furthermore, a debug build of freeciv is required. ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #12, bug #16639 (project freeciv): Tried both to run with '-F' as well as inside gdb directly, but failed to get a core dump after several tries. If you can reproduce the assert, it should core dump if started with '-F' ... However, it's relatively easy to repro the assert itself. Just start a game with 25 players and run an autogame with timeout 10 while connected with the client as observer. It takes maybe 100 turns before it starts repro'ing, but it will eventually repro. It does not repro from a savegame however. I'm trying at the moment. Do you know if there was a civil war / barbarian war at this point (new player!)? ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #13, bug #16639 (project freeciv): If you can reproduce the assert, it should core dump if started with '-F' ... Where should the dump file be located? I'm trying at the moment. Do you know if there was a civil war / barbarian war at this point (new player!)? Maybe, but I'm not sure. :) ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #14, bug #16639 (project freeciv): Where should the dump file be located? A file named 'core' or 'core.pid' should be in the directory there you started the program. I'm trying at the moment. Do you know if there was a civil war / barbarian war at this point (new player!)? The first try was not successful. The next one is running ... Maybe, but I'm not sure. :) As the creation of the player map is one point there a dynamic bitvector (dbv) is used it would help to find the reason. ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #11, bug #16639 (project freeciv): Tried both to run with '-F' as well as inside gdb directly, but failed to get a core dump after several tries. However, it's relatively easy to repro the assert itself. Just start a game with 25 players and run an autogame with timeout 10 while connected with the client as observer. It takes maybe 100 turns before it starts repro'ing, but it will eventually repro. It does not repro from a savegame however. ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Update of bug #16639 (project freeciv): Status:None = Need Info ___ Follow-up Comment #10: I cannot reproduce neither. ___ Reply to this item at: http://gna.org/bugs/?16639 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #7, bug #16639 (project freeciv): I had to modify your setup to run the game. Is this correct? The reason is that I can't start the game if I connect as global observer (error message: no enough human players). 1)Load savegame in stand-alone server 2)Start client and connect to server 2.1) connect to Rudolf (as user1) 2.2) aitoggle Rudolf 2.3) disconnect 2.4) connect as global observer (as user2) 3)Observe game as global observer 4)Make sure all players are AIs 5)Set 20s timeout 6)After some turns the asserts start appearing - now at turn 590 there are about 20 of them every turn I did not got the assert till now (secound game at turn 500) ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #8, bug #16639 (project freeciv): 2.1) connect to Rudolf (as user1) 2.2) aitoggle Rudolf 2.3) disconnect 2.4) connect as global observer (as user2) Figured it out - simple type '/observe' in the chat and '/aitoggle r' ... Still no error (fourth game to turn 600+) ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #9, bug #16639 (project freeciv): sorry; I can't reproduce the assert. Could you run freeciv with the option -F and send a backtrace? ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Update of bug #16639 (project freeciv): Assigned to: pepeto = None ___ Follow-up Comment #6: The Glib warnings are usually caused by clicking the combo boxes (it's a gtk bug). ___ Reply to this item at: http://gna.org/bugs/?16639 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #3, bug #16639 (project freeciv): Do you have a savegame before the assert was printed? Or a debug output? ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #4, bug #16639 (project freeciv): This was printed to the terminal just before the asserts below started appearing: (freeciv-gtk2:24984): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x10a2dde8' (freeciv-gtk2:24984): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x10a2dde8' (freeciv-gtk2:24984): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3079: signal name `depressed' is invalid for instance `0x10a2dde8' Followed by several hundred asserts in dbv_isset(). ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Additional Item Attachment, bug #16639 (project freeciv): File name: freeciv-T0288-Y01826-auto.sav.bz2 Size:73 KB ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Update of bug #16639 (project freeciv): Status: Fixed = None Open/Closed: Closed = Open ___ Follow-up Comment #5: 1)Load savegame in stand-alone server 2)Start client and connect to server 3)Observe game as global observer 4)Make sure all players are AIs 5)Set 20s timeout 6)After some turns the asserts start appearing - now at turn 590 there are about 20 of them every turn ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Follow-up Comment #2, bug #16639 (project freeciv): Still getting this assert on the exact same line S2_3 r18506 (during the autogame mentioned in bug #17100) ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Update of bug #16639 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?16639 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev
[Freeciv-Dev] [bug #16639] fix assert in dbv_isset() at server exit
URL: http://gna.org/bugs/?16639 Summary: fix assert in dbv_isset() at server exit Project: Freeciv Submitted by: syntron Submitted on: Sonntag 05.09.2010 um 17:06 Category: general Severity: 3 - Normal Priority: 3 - Low Status: Ready For Test Assigned to: None Originator Email: Open/Closed: Open Release: trunk Discussion Lock: Any Operating System: None Planned Release: 2.3.0 ___ Details: 1: in dbv_isset() [bitvector.c::120]: assertion 'pdbv-vec != ((void *)0)' failed. 1: Please report this message at https://gna.org/projects/freeciv/ player_map_free() was called before player_clear() but player_clear() still needs the map data. ___ File Attachments: --- Date: Sonntag 05.09.2010 um 17:06 Name: 20100905-05-trunk-fix-assert-in-dbv_isset-at-server-exit.patch Size: 1kB By: syntron http://gna.org/bugs/download.php?file_id=10178 ___ Reply to this item at: http://gna.org/bugs/?16639 ___ 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 #16639] fix assert in dbv_isset() at server exit
Update of bug #16639 (project freeciv): Assigned to:None = pepeto ___ Reply to this item at: http://gna.org/bugs/?16639 ___ Message posté via/par Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev