Closed ingwinlu closed 6 years ago
Thank you for reporting the problem.
@sanssecours Did xerces work for you with ASAN in some clang version?
Did xerces work for you with ASAN in some clang version?
As far as I can tell from a recent Travis build, the combination
14.04
6.0.1
3.1
ENABLE_ASAN
seems to work. The test fails on my computer (macOS 10.13.4
, Xerces 3.2.1
, LLVM 6.0.0
) though:
Input: src/plugins/xerces/README.md
kdb mount xerces.xml user/tests/xercesfile xerces
ERROR - RET:
Return value “1” does not match “0”
kdb set user/tests/xercesfile foo
ERROR - RET:
Return value “1” does not match “0”
kdb setmeta user/tests/xercesfile xerces/rootname xerces
ERROR - RET:
Return value “1” does not match “0”
kdb set user/tests/xercesfile/bar bar
ERROR - RET:
Return value “1” does not match “0”
kdb setmeta user/tests/xercesfile/bar meta "da_ta"
ERROR - RET:
Return value “1” does not match “0”
kdb getmeta user/tests/xercesfile xerces/rootname
ERROR - RET:
Return value “1” does not match “0”
kdb get user/tests/xercesfile/bar
ERROR - RET:
Return value “1” does not match “0”
kdb export user/tests/xercesfile xerces
ERROR - RET:
Return value “1” does not match “0”
kdb rm -r user/tests/xercesfile
ERROR - RET:
Return value “1” does not match “0”
kdb umount user/tests/xercesfile
ERROR - RET:
Return value “1” does not match “0”
shell_recorder /var/folders/hx/flbncdhj4fs87095gzxvnj3h0000gn/T/tmp.0lRmptmF RESULTS: 13 test(s) done 10 error(s).
—— Protocol ————————————————————————————————————————————————————
CMD: kdb mount xerces.xml user/tests/xercesfile xerces
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51220==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x10ad35177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10ad3306e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10e9b1e50 (<unknown module>)
#22 0x10e8a0c2a (<unknown module>)
#23 0x10e8a0ab6 (<unknown module>)
#24 0x10e824cd5 (<unknown module>)
#25 0x10ac01350 in elektraPluginOpen plugin.c:292
#26 0x10a7d9637 in kdb::tools::Plugin::Plugin(kdb::tools::PluginSpec const&, kdb::KeySet&) plugin.cpp:39
#27 0x10a7d8ec2 in kdb::tools::Modules::load(kdb::tools::PluginSpec const&) modules.cpp:49
#28 0x10a7d8c5c in kdb::tools::Modules::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, kdb::KeySet const&) modules.cpp:44
#29 0x10a83853a in kdb::tools::ModulesPluginDatabase::status(kdb::tools::PluginSpec const&) const plugindatabase.cpp:201
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x10ad35177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10ad3306e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10e9b1e50 (<unknown module>)
#22 0x10e8a0c2a (<unknown module>)
#23 0x10e8a0ab6 (<unknown module>)
#24 0x10e824cd5 (<unknown module>)
#25 0x10ac01350 in elektraPluginOpen plugin.c:292
#26 0x10a7d9637 in kdb::tools::Plugin::Plugin(kdb::tools::PluginSpec const&, kdb::KeySet&) plugin.cpp:39
#27 0x10a7d8ec2 in kdb::tools::Modules::load(kdb::tools::PluginSpec const&) modules.cpp:49
#28 0x10a7d8c5c in kdb::tools::Modules::load(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, kdb::KeySet const&) modules.cpp:44
#29 0x10a83853a in kdb::tools::ModulesPluginDatabase::status(kdb::tools::PluginSpec const&) const plugindatabase.cpp:201
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
CMD: kdb set user/tests/xercesfile foo
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51257==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x10da14177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10da1206e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x1114dde50 (<unknown module>)
#22 0x1113ccc2a (<unknown module>)
#23 0x1113ccab6 (<unknown module>)
#24 0x111350cd5 (<unknown module>)
#25 0x10d8dc350 in elektraPluginOpen plugin.c:292
#26 0x10d8da7f8 in elektraProcessPlugins plugin.c:185
#27 0x10d8afb73 in backendOpen backend.c:206
#28 0x10d8c525b in mountOpen mount.c:67
#29 0x10d8b75c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x10da14177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10da1206e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x1114dde50 (<unknown module>)
#22 0x1113ccc2a (<unknown module>)
#23 0x1113ccab6 (<unknown module>)
#24 0x111350cd5 (<unknown module>)
#25 0x10d8dc350 in elektraPluginOpen plugin.c:292
#26 0x10d8da7f8 in elektraProcessPlugins plugin.c:185
#27 0x10d8afb73 in backendOpen backend.c:206
#28 0x10d8c525b in mountOpen mount.c:67
#29 0x10d8b75c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
STDOUT: Create a new key user/tests/xercesfile with string "foo"
CMD: kdb setmeta user/tests/xercesfile xerces/rootname xerces
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51294==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x1078e8177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x1078e606e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10b396e50 (<unknown module>)
#22 0x10b285c2a (<unknown module>)
#23 0x10b285ab6 (<unknown module>)
#24 0x10b209cd5 (<unknown module>)
#25 0x1077b0350 in elektraPluginOpen plugin.c:292
#26 0x1077ae7f8 in elektraProcessPlugins plugin.c:185
#27 0x107783b73 in backendOpen backend.c:206
#28 0x10779925b in mountOpen mount.c:67
#29 0x10778b5c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x1078e8177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x1078e606e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10b396e50 (<unknown module>)
#22 0x10b285c2a (<unknown module>)
#23 0x10b285ab6 (<unknown module>)
#24 0x10b209cd5 (<unknown module>)
#25 0x1077b0350 in elektraPluginOpen plugin.c:292
#26 0x1077ae7f8 in elektraProcessPlugins plugin.c:185
#27 0x107783b73 in backendOpen backend.c:206
#28 0x10779925b in mountOpen mount.c:67
#29 0x10778b5c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
CMD: kdb set user/tests/xercesfile/bar bar
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51331==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x1010ac177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x1010aa06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x104b70e50 (<unknown module>)
#22 0x104a5fc2a (<unknown module>)
#23 0x104a5fab6 (<unknown module>)
#24 0x1049e3cd5 (<unknown module>)
#25 0x100f8a350 in elektraPluginOpen plugin.c:292
#26 0x100f887f8 in elektraProcessPlugins plugin.c:185
#27 0x100f5db73 in backendOpen backend.c:206
#28 0x100f7325b in mountOpen mount.c:67
#29 0x100f655c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x1010ac177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x1010aa06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x104b70e50 (<unknown module>)
#22 0x104a5fc2a (<unknown module>)
#23 0x104a5fab6 (<unknown module>)
#24 0x1049e3cd5 (<unknown module>)
#25 0x100f8a350 in elektraPluginOpen plugin.c:292
#26 0x100f887f8 in elektraProcessPlugins plugin.c:185
#27 0x100f5db73 in backendOpen backend.c:206
#28 0x100f7325b in mountOpen mount.c:67
#29 0x100f655c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
STDOUT: Create a new key user/tests/xercesfile/bar with string "bar"
CMD: kdb setmeta user/tests/xercesfile/bar meta "da_ta"
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51368==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x1039ad177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x1039ab06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10746ae50 (<unknown module>)
#22 0x107359c2a (<unknown module>)
#23 0x107359ab6 (<unknown module>)
#24 0x1072ddcd5 (<unknown module>)
#25 0x103889350 in elektraPluginOpen plugin.c:292
#26 0x1038877f8 in elektraProcessPlugins plugin.c:185
#27 0x10385cb73 in backendOpen backend.c:206
#28 0x10387225b in mountOpen mount.c:67
#29 0x1038645c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x1039ad177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x1039ab06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10746ae50 (<unknown module>)
#22 0x107359c2a (<unknown module>)
#23 0x107359ab6 (<unknown module>)
#24 0x1072ddcd5 (<unknown module>)
#25 0x103889350 in elektraPluginOpen plugin.c:292
#26 0x1038877f8 in elektraProcessPlugins plugin.c:185
#27 0x10385cb73 in backendOpen backend.c:206
#28 0x10387225b in mountOpen mount.c:67
#29 0x1038645c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
CMD: kdb getmeta user/tests/xercesfile xerces/rootname
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51411==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x10f5ae177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10f5ac06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x113058e50 (<unknown module>)
#22 0x112f47c2a (<unknown module>)
#23 0x112f47ab6 (<unknown module>)
#24 0x112ecbcd5 (<unknown module>)
#25 0x10f47c350 in elektraPluginOpen plugin.c:292
#26 0x10f47a7f8 in elektraProcessPlugins plugin.c:185
#27 0x10f44fb73 in backendOpen backend.c:206
#28 0x10f46525b in mountOpen mount.c:67
#29 0x10f4575c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x10f5ae177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10f5ac06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x113058e50 (<unknown module>)
#22 0x112f47c2a (<unknown module>)
#23 0x112f47ab6 (<unknown module>)
#24 0x112ecbcd5 (<unknown module>)
#25 0x10f47c350 in elektraPluginOpen plugin.c:292
#26 0x10f47a7f8 in elektraProcessPlugins plugin.c:185
#27 0x10f44fb73 in backendOpen backend.c:206
#28 0x10f46525b in mountOpen mount.c:67
#29 0x10f4575c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
STDOUT: xerces
CMD: kdb get user/tests/xercesfile/bar
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51458==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x10c9c4177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10c9c206e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x110476e50 (<unknown module>)
#22 0x110365c2a (<unknown module>)
#23 0x110365ab6 (<unknown module>)
#24 0x1102e9cd5 (<unknown module>)
#25 0x10c893350 in elektraPluginOpen plugin.c:292
#26 0x10c8917f8 in elektraProcessPlugins plugin.c:185
#27 0x10c866b73 in backendOpen backend.c:206
#28 0x10c87c25b in mountOpen mount.c:67
#29 0x10c86e5c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x10c9c4177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10c9c206e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x110476e50 (<unknown module>)
#22 0x110365c2a (<unknown module>)
#23 0x110365ab6 (<unknown module>)
#24 0x1102e9cd5 (<unknown module>)
#25 0x10c893350 in elektraPluginOpen plugin.c:292
#26 0x10c8917f8 in elektraProcessPlugins plugin.c:185
#27 0x10c866b73 in backendOpen backend.c:206
#28 0x10c87c25b in mountOpen mount.c:67
#29 0x10c86e5c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
STDOUT: bar
CMD: kdb export user/tests/xercesfile xerces
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51505==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x10842a177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10842806e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10beede50 (<unknown module>)
#22 0x10bddcc2a (<unknown module>)
#23 0x10bddcab6 (<unknown module>)
#24 0x10bd60cd5 (<unknown module>)
#25 0x108301350 in elektraPluginOpen plugin.c:292
#26 0x1082ff7f8 in elektraProcessPlugins plugin.c:185
#27 0x1082d4b73 in backendOpen backend.c:206
#28 0x1082ea25b in mountOpen mount.c:67
#29 0x1082dc5c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x10842a177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10842806e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10beede50 (<unknown module>)
#22 0x10bddcc2a (<unknown module>)
#23 0x10bddcab6 (<unknown module>)
#24 0x10bd60cd5 (<unknown module>)
#25 0x108301350 in elektraPluginOpen plugin.c:292
#26 0x1082ff7f8 in elektraProcessPlugins plugin.c:185
#27 0x1082d4b73 in backendOpen backend.c:206
#28 0x1082ea25b in mountOpen mount.c:67
#29 0x1082dc5c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
STDOUT: <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<xerces>foo
<bar meta="da_ta">bar</bar>
</xerces>
CMD: kdb rm -r user/tests/xercesfile
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51546==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x104d0a177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x104d0806e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x1087dde50 (<unknown module>)
#22 0x1086ccc2a (<unknown module>)
#23 0x1086ccab6 (<unknown module>)
#24 0x108650cd5 (<unknown module>)
#25 0x104be1350 in elektraPluginOpen plugin.c:292
#26 0x104bdf7f8 in elektraProcessPlugins plugin.c:185
#27 0x104bb4b73 in backendOpen backend.c:206
#28 0x104bca25b in mountOpen mount.c:67
#29 0x104bbc5c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x104d0a177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x104d0806e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x1087dde50 (<unknown module>)
#22 0x1086ccc2a (<unknown module>)
#23 0x1086ccab6 (<unknown module>)
#24 0x108650cd5 (<unknown module>)
#25 0x104be1350 in elektraPluginOpen plugin.c:292
#26 0x104bdf7f8 in elektraProcessPlugins plugin.c:185
#27 0x104bb4b73 in backendOpen backend.c:206
#28 0x104bca25b in mountOpen mount.c:67
#29 0x104bbc5c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
CMD: kdb umount user/tests/xercesfile
RET: 1
=== FAILED return value does not match expected pattern 0
STDERR:
=================================================================
==51583==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x10b6dc177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10b6da06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10f187e50 (<unknown module>)
#22 0x10f076c2a (<unknown module>)
#23 0x10f076ab6 (<unknown module>)
#24 0x10effacd5 (<unknown module>)
#25 0x10b5ad350 in elektraPluginOpen plugin.c:292
#26 0x10b5ab7f8 in elektraProcessPlugins plugin.c:185
#27 0x10b580b73 in backendOpen backend.c:206
#28 0x10b59625b in mountOpen mount.c:67
#29 0x10b5885c6 in kdbOpen kdb.c:336
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x10b6dc177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10b6da06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x10f187e50 (<unknown module>)
#22 0x10f076c2a (<unknown module>)
#23 0x10f076ab6 (<unknown module>)
#24 0x10effacd5 (<unknown module>)
#25 0x10b5ad350 in elektraPluginOpen plugin.c:292
#26 0x10b5ab7f8 in elektraProcessPlugins plugin.c:185
#27 0x10b580b73 in backendOpen backend.c:206
#28 0x10b59625b in mountOpen mount.c:67
#29 0x10b5885c6 in kdbOpen kdb.c:336
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
————————————————————————————————————————————————————————————————
. The test testmod_xerces
also reports memory leaks on my computer:
XERCES TESTS
==================
test basics
test basics finished
test simple read
0x60600002fa20 key: /sw/elektra/tests/xerces, string: value of xerces
0x606000030e60 key: /sw/elektra/tests/xerces/cdata, string: this is some cdata text "'<>&ä ", more-s_päcials: 1 & 2 are < 3
0x60600000f200 key: /sw/elektra/tests/xerces/fizz/#0, string: , buzz: fizzBuzz
0x60600000f980 key: /sw/elektra/tests/xerces/fizz/#1, string:
0x60600000fe00 key: /sw/elektra/tests/xerces/fizz/#2, string: , without: buzz
0x606000030980 key: /sw/elektra/tests/xerces/späciöl_-keüs1, string: >"&<', attr: ", attr2: $%(){}``äüö²[/\'>"<'&
0x6060000303e0 key: /sw/elektra/tests/xerces/userKey, string: withValue, user: key
test simple read finished
test simple write
test simple write finished
test maven pom
test maven pom finished
test jenkins config
test jenkins config finished
testmod_xerces Results: 550 Tests done — 0 errors.
=================================================================
==51617==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 136 byte(s) in 1 object(s) allocated from:
#0 0x105170177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff72c34ce9 in class_createInstance (libobjc.A.dylib:x86_64h+0x6ce9)
#2 0x7fff73822c61 in _os_object_alloc_realized (libdispatch.dylib:x86_64+0x1c61)
#3 0x7fff73823f75 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f75)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10516e06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x104ea7e50 in xercesc_3_2::MacOSUnicodeConverter::MacOSUnicodeConverter(xercesc_3_2::MemoryManager*) (libxerces-c-3.2.dylib:x86_64+0x115e50)
#22 0x104d96c2a in xercesc_3_2::XMLPlatformUtils::makeTransService() (libxerces-c-3.2.dylib:x86_64+0x4c2a)
#23 0x104d96ab6 in xercesc_3_2::XMLPlatformUtils::Initialize(char const*, char const*, xercesc_3_2::PanicHandler*, xercesc_3_2::MemoryManager*) (libxerces-c-3.2.dylib:x86_64+0x4ab6)
#24 0x108904cd5 (<unknown module>)
#25 0x104d2d350 in elektraPluginOpen plugin.c:292
#26 0x104c920c0 in main testmod_xerces.c:26
#27 0x7fff7385c014 in start (libdyld.dylib:x86_64+0x1014)
Indirect leak of 64 byte(s) in 1 object(s) allocated from:
#0 0x105170177 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x57177)
#1 0x7fff738237fb in _dispatch_calloc (libdispatch.dylib:x86_64+0x27fb)
#2 0x7fff7383f65c in _dispatch_unote_create (libdispatch.dylib:x86_64+0x1e65c)
#3 0x7fff73823f58 in dispatch_source_create (libdispatch.dylib:x86_64+0x2f58)
#4 0x7fff73840b2e in _dispatch_kq_poll (libdispatch.dylib:x86_64+0x1fb2e)
#5 0x7fff73840273 in _dispatch_event_loop_poke (libdispatch.dylib:x86_64+0x1f273)
#6 0x10516e06e in wrap_dispatch_async_f (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x5506e)
#7 0x7fff73bbcba7 in _xpc_connection_activate_if_needed (libxpc.dylib:x86_64+0x16ba7)
#8 0x7fff73baefc2 in xpc_connection_resume (libxpc.dylib:x86_64+0x8fc2)
#9 0x7fff4b51c890 in __CFXNotificationCenterSetupConnection (CoreFoundation:x86_64h+0x5f890)
#10 0x7fff4b50063f in __CFXNotificationCenterCreate (CoreFoundation:x86_64h+0x4363f)
#11 0x7fff4b51c719 in __CFNotificationCenterGetDistributedCenter_block_invoke (CoreFoundation:x86_64h+0x5f719)
#12 0x7fff73822e07 in _dispatch_client_callout (libdispatch.dylib:x86_64+0x1e07)
#13 0x7fff73822dba in dispatch_once_f (libdispatch.dylib:x86_64+0x1dba)
#14 0x7fff4b51c6f7 in CFNotificationCenterGetDistributedCenter (CoreFoundation:x86_64h+0x5f6f7)
#15 0x7fff4c6cd244 in InitUnicodeUtilities (CarbonCore:x86_64+0x2e244)
#16 0x7fff73b7495d in __pthread_once_handler (libsystem_pthread.dylib:x86_64+0x395d)
#17 0x7fff73b69eff in _os_once (libsystem_platform.dylib:x86_64+0xeff)
#18 0x7fff73b748f8 in pthread_once (libsystem_pthread.dylib:x86_64+0x38f8)
#19 0x7fff4c6cd0cf in UCRefreshThreadGlobals (CarbonCore:x86_64+0x2e0cf)
#20 0x7fff4c6cd60e in UCCreateCollator (CarbonCore:x86_64+0x2e60e)
#21 0x104ea7e50 in xercesc_3_2::MacOSUnicodeConverter::MacOSUnicodeConverter(xercesc_3_2::MemoryManager*) (libxerces-c-3.2.dylib:x86_64+0x115e50)
#22 0x104d96c2a in xercesc_3_2::XMLPlatformUtils::makeTransService() (libxerces-c-3.2.dylib:x86_64+0x4c2a)
#23 0x104d96ab6 in xercesc_3_2::XMLPlatformUtils::Initialize(char const*, char const*, xercesc_3_2::PanicHandler*, xercesc_3_2::MemoryManager*) (libxerces-c-3.2.dylib:x86_64+0x4ab6)
#24 0x108904cd5 (<unknown module>)
#25 0x104d2d350 in elektraPluginOpen plugin.c:292
#26 0x104c920c0 in main testmod_xerces.c:26
#27 0x7fff7385c014 in start (libdyld.dylib:x86_64+0x1014)
-----------------------------------------------------
Suppressions used:
count bytes template
2 200 *_os_trace*
-----------------------------------------------------
SUMMARY: AddressSanitizer: 200 byte(s) leaked in 2 allocation(s).
.
Alright, fully disabling it is.
It seems like with
Ubuntu 14.04
Clang 6.0.1
Xerces 3.1
ENABLE_ASAN works. Why disabling it then? Do we have Ubuntu already as Docker Image?
Why disabling it then?
I think it makes sense to disable the plugin too. Since the AddressSanitizer
3.2.1
)I assume we have a real memory leak here.
Okay, thank you for the info.
I assume we have a real memory leak here.
Which is most likely part of xerces itself. The leak seem to happen in XMLPlatformUtils::Initialize (); (I did not look at all occurrences, though)
could it be that we have the memory leak in the mount
command? It was the same for the validation.md test with ASAN builds.
The memory management in libtools (which implements mount) is not done manually (but via C++ RAII) so it is unlikely that there are memory leaks but it is possible. libstdc++ itself, however, usually has memory leaks (They internally allocate some memory pools which are never freed. Valgrind suppresses these pools.). Yesterday @waht reported that the dump plugin might be affected by this problem (and thus nearly every mount command because dump is the default storage).
It would be interesting if ini as default plugin (KDB_DEFAULT_STORAGE=ini) improves the ASAN situation.
Which mount command in validation.md causes the problem?
When compiling elektra with xerces + clang5.0 + asan testlib_xerces passes but testshell_markdown_xerces fails:
The plugin is already disabled for ASAN builds with GCC. Should I just disable it for ASAN builds in general? Or is this linked to the markdown test?
Logs on Build Server