[Tile-serving] [osm2pgsql] Memory leaks of C++ version (Windows-only?) (#228)
alex85k
notifications at github.com
Sat Dec 6 17:21:00 UTC 2014
Strdup-related one:
```
Start 1: test-parse-xml2
1: Test command: D:\build_d2\osm2pgsql-cmake\Debug\test-parse-xml2.exe
1: Test timeout computed to be: 1500
1: Visual Leak Detector Version 2.4RC2 installed.
1: WARNING: Visual Leak Detector detected memory leaks!
1: ---------- Block 8 at 0x000000005035DBC0: 7 bytes ----------
1: Leak Hash: 0x1CA7D0A4, Count: 1, Total 7 bytes
1: Call Stack (TID 6824):
1: 0x00000000D138A6C0 (File and line number not available): MSVCR120D.dll!strdup
1: d:\build_d2\osm2pgsql-cmake\osm2pgsql-cpp\taginfo.cpp (24): test-parse-xml2.exe!flagsname::flagsname + 0x33 bytes
1: d:\build_d2\osm2pgsql-cmake\osm2pgsql-cpp\taginfo.cpp (37): test-parse-xml2.exe!`dynamic initializer for 'tagflags'' + 0x79 bytes
1: 0x00000000D13555AC (File and line number not available): MSVCR120D.dll!initterm + 0x2C bytes
1: f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (551): test-parse-xml2.exe!__tmainCRTStartup
1: f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (466): test-parse-xml2.exe!mainCRTStartup
1: 0x00000000EDA916AD (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xD bytes
1: 0x00000000EE234409 (File and line number not available): ntdll.dll!RtlUserThreadStart + 0x1D bytes
1: Data:
1: 64 65 6C 65 74 65 00 delete.. ........
1:
1:
1: ---------- Block 7 at 0x000000005035DC10: 8 bytes ----------
1: Leak Hash: 0xE57F6FE3, Count: 1, Total 8 bytes
1: Call Stack (TID 6824):
1: 0x00000000D138A6C0 (File and line number not available): MSVCR120D.dll!strdup
1: d:\build_d2\osm2pgsql-cmake\osm2pgsql-cpp\taginfo.cpp (24): test-parse-xml2.exe!flagsname::flagsname + 0x33 bytes
1: d:\build_d2\osm2pgsql-cmake\osm2pgsql-cpp\taginfo.cpp (37): test-parse-xml2.exe!`dynamic initializer for 'tagflags'' + 0x60 bytes
1: 0x00000000D13555AC (File and line number not available): MSVCR120D.dll!initterm + 0x2C bytes
1: f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (551): test-parse-xml2.exe!__tmainCRTStartup
1: f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c (466): test-parse-xml2.exe!mainCRTStartup
1: 0x00000000EDA916AD (File and line number not available): KERNEL32.DLL!BaseThreadInitThunk + 0xD bytes
1: 0x00000000EE234409 (File and line number not available): ntdll.dll!RtlUserThreadStart + 0x1D bytes
1: Data:
1: 6E 6F 63 61 63 68 65 00 nocache. ........
1:
```
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/228#issuecomment-65906010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20141206/03e0fa36/attachment.html>
More information about the Tile-serving
mailing list