[Freeciv-Dev] [bug #16331] fix sanitycheck.c:check_fow()
Update of bug #16331 (project freeciv): Status:None = Ready For Test Assigned to: syntron = pepeto ___ Follow-up Comment #1: Loading the France scenario I get a segmentation fault: #0 0x004965a3 in check_fow (file=value optimised out, function=value optimised out, line=value optimised out) at sanitycheck.c:109 #1 0x004980e1 in real_sanity_check (file=value optimised out, function=0x5b86ec load_command, line=3619) at sanitycheck.c:570 #2 0x0041242a in load_command (caller=value optimised out, filename=value optimised out, check=value optimised out) at stdinhand.c:3619 #3 0x0040af85 in srv_prepare () at srv_main.c:2170 #4 0x0040b0d3 in srv_main () at srv_main.c:2448 #5 0x004039af in main (argc=value optimised out, argv=0x7fffe308) at civserver.c:376 Your patch fixes the problem. I will commit immediately. ___ Reply to this item at: http://gna.org/bugs/?16331 ___ 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 #16331] fix sanitycheck.c:check_fow()
Update of bug #16331 (project freeciv): Status: Ready For Test = Fixed Open/Closed:Open = Closed ___ Reply to this item at: http://gna.org/bugs/?16331 ___ 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 #16331] fix sanitycheck.c:check_fow()
URL: http://gna.org/bugs/?16331 Summary: fix sanitycheck.c:check_fow() Project: Freeciv Submitted by: syntron Submitted on: Samstag 31.07.2010 um 18:13 Category: general Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: syntron Originator Email: Open/Closed: Open Release: trunk Discussion Lock: Any Operating System: None Planned Release: 2.3.0 ___ Details: after the player pointer patches the private map is allocated _at_ game start; thus the sanity check in check_fow() will try to access an undefined value (player-server.ai-private_map) ___ File Attachments: --- Date: Samstag 31.07.2010 um 18:13 Name: 20100731-11-trunk-fix-sanitycheck.c-check_fow.patch Size: 1kB By: syntron http://gna.org/bugs/download.php?file_id=9642 ___ Reply to this item at: http://gna.org/bugs/?16331 ___ Nachricht geschickt von/durch Gna! http://gna.org/ ___ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev