You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When logging is enabled in privat_settings.h, various testcases are failing with unknown file: error: SEH exception with code 0xc0000005 thrown in the test body.. The likely cause is that the buffer mapTxToLogId is not properly initialized since initLogging() is probably not being called.
Current Behavior
Example error in test/assets.cpp with the following stacktrace:
Description
When logging is enabled in
privat_settings.h
, various testcases are failing withunknown file: error: SEH exception with code 0xc0000005 thrown in the test body.
. The likely cause is that the buffermapTxToLogId
is not properly initialized sinceinitLogging()
is probably not being called.Current Behavior
Example error in
test/assets.cpp
with the following stacktrace:Two Possible Solutions
I see two potential approaches to resolve this issue:
Disable logging for tests
private_settings.h
including a note in the test'sReadme.md
about this configurationInitialize logging properly
initLogging()
within the test setup when logging is enabledmapTxToLogId
buffer is properly initializedFailing tests
[ FAILED ] TestCoreAssets.AssetIteratorOwnershipAndPossession
[ FAILED ] ContractQx.IssueAsset
[ FAILED ] ContractQvault.END_EPOCH
[ FAILED ] TestCoreSpectrum.AntiDustOneRichRandomDust
The text was updated successfully, but these errors were encountered: