Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] (PR#14395) Valgrind errors when loading savedgame
Home

[Freeciv-Dev] (PR#14395) Valgrind errors when loading savedgame

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14395) Valgrind errors when loading savedgame
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Thu, 20 Oct 2005 09:25:46 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14395 >

==10892==
==10892== Invalid read of size 1
==10892==    at 0x1B905A80: strcmp (mac_replace_strmem.c:249)
==10892==    by 0x80BD715: hash_fcmp_string (hash.c:199)
==10892==    by 0x80BDD82: internal_lookup (hash.c:482)
==10892==    by 0x80BE26F: hash_lookup (hash.c:683)
==10892==    by 0x815AA7E: internal_signal_free (script_signal.c:215)
==10892==    by 0x815AE39: script_signals_free (script_signal.c:366)
==10892==    by 0x815A6C9: script_free (script.c:301)
==10892==    by 0x80967F8: load_rulesets (ruleset.c:3121)
==10892==    by 0x80A6866: game_load (savegame.c:3368)
==10892==    by 0x805C6CE: load_command (stdinhand.c:3238)
==10892==    by 0x805D380: handle_stdin_input (stdinhand.c:3500)
==10892==    by 0x80A9805: handle_readline_input_callback (sernet.c:178)
==10892==  Address 0x1BB9FE18 is 0 bytes inside a block of size 15  
free'd
==10892==    at 0x1B904B04: free (vg_replace_malloc.c:152)
==10892==    by 0x815AB20: internal_signal_free (script_signal.c:227)
==10892==    by 0x815AE39: script_signals_free (script_signal.c:366)
==10892==    by 0x815A6C9: script_free (script.c:301)
==10892==    by 0x80967F8: load_rulesets (ruleset.c:3121)
==10892==    by 0x80A6866: game_load (savegame.c:3368)
==10892==    by 0x805C6CE: load_command (stdinhand.c:3238)
==10892==    by 0x805D380: handle_stdin_input (stdinhand.c:3500)
==10892==    by 0x80A9805: handle_readline_input_callback (sernet.c:178)
==10892==    by 0x1B938F49: rl_callback_read_char (in  
/lib/libreadline.so.5.0)
==10892==    by 0x80AA77D: sniff_packets (sernet.c:652)
==10892==    by 0x8053890: srv_loop (srv_main.c:1750)







[Prev in Thread] Current Thread [Next in Thread]