Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #2128 All Revisions ] Back to Issue ]
Summary 0002128: Valgrind says there's a memory leak from P_OpenMapData [Server]
Revision 2015-03-19 19:16 by cobalt
Description ==29693== 7,168 bytes in 32 blocks are definitely lost in loss record 4,345 of 4,360
==29693== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29693== by 0x73E6C7: P_OpenMapData(char const*) (p_setup.cpp:277)
==29693== by 0x68F928: NETWORK_Construct(unsigned short, bool) (network.cpp:464)
==29693== by 0x800F04: SERVER_Construct() (sv_main.cpp:395)
==29693== by 0x609E54: D_DoomMain() (d_main.cpp:2843)
==29693== by 0x596262: main (i_main.cpp:336)
==29693==
==29693== LEAK SUMMARY:
==29693== definitely lost: 7,168 bytes in 32 blocks
Revision 2015-03-19 00:47 by Watermelon
Description ==29693== 7,168 bytes in 32 blocks are definitely lost in loss record 4,345 of 4,360
==29693== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29693== by 0x73E6C7: P_OpenMapData(char const*) (p_setup.cpp:277)
==29693== by 0x68F928: NETWORK_Construct(unsigned short, bool) (network.cpp:464)
==29693== by 0x800F04: SERVER_Construct() (sv_main.cpp:395)
==29693== by 0x609E54: D_DoomMain() (d_main.cpp:2843)
==29693== by 0x596262: main (i_main.cpp:336)
==29693==
==29693== LEAK SUMMARY:
==29693== definitely lost: 7,168 bytes in 32 blocks
Revision 2015-03-19 00:42 by Watermelon
Description ==29693== 7,168 bytes in 32 blocks are definitely lost in loss record 4,345 of 4,360
==29693== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29693== by 0x73E6C7: P_OpenMapData(char const*) (p_setup.cpp:277)
==29693== by 0x68F928: NETWORK_Construct(unsigned short, bool) (network.cpp:464)
==29693== by 0x800F04: SERVER_Construct() (sv_main.cpp:395)
==29693== by 0x609E54: D_DoomMain() (d_main.cpp:2843)
==29693== by 0x596262: main (i_main.cpp:336)
==29693==
==29693== LEAK SUMMARY:
==29693== definitely lost: 7,168 bytes in 32 blocks


Is it possibly coming from NETWORK_MapCollectionChecksum( ) @ line 1055 in network.cpp?
Revision 2015-03-19 00:37 by Watermelon
Description ==29693== 7,168 bytes in 32 blocks are definitely lost in loss record 4,345 of 4,360
==29693== at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==29693== by 0x73E6C7: P_OpenMapData(char const*) (p_setup.cpp:277)
==29693== by 0x68F928: NETWORK_Construct(unsigned short, bool) (network.cpp:464)
==29693== by 0x800F04: SERVER_Construct() (sv_main.cpp:395)
==29693== by 0x609E54: D_DoomMain() (d_main.cpp:2843)
==29693== by 0x596262: main (i_main.cpp:336)
==29693==
==29693== LEAK SUMMARY:
==29693== definitely lost: 7,168 bytes in 32 blocks






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker