#57 testapp crashes in main.cpp w/ JSON_MEMORY_CALLBACKS

open
nobody
None
5
2012-07-16
2012-07-16
Anonymous
No

libjson v7.6.1 [MSVC v1600 32bit (x86)] Jul 16 2012, 10:31:56
Compilation options:
JSON_DEBUG JSON_SAFE JSON_STDERROR JSON_PREPARSE JSON_REF_COUNT JSON_BINARY JSON_ITERATORS JSON_STREAM JSON_MEMORY_CALLBACKS JSON_OCTAL JSON_COMMENTS JSON_VALIDATE

An access violation occurs in main.cpp at line 76 in testfree() trying to use global var mem_mapping. This happens after main() has already returned, so I think that mem_mapping has already been destructed when another global var destructor fires that tries to call it.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks