-
Notifications
You must be signed in to change notification settings - Fork 387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
policyAsset not set in c++ unit tests #408
Comments
yes, thank you |
Do you have a backtrace for the issue? |
Is there a way to get a detailed trace? |
Does your change fix it? That's a good indicator!
…On Wed, Sep 12, 2018, 8:54 AM Nikos Kostoulas ***@***.***> wrote:
FAIL: test/test_elements
========================
Running 210 test cases...
unknown location:0: fatal error: in "tx_validationcache_tests/tx_mempool_block_doublespend": signal: SIGSEGV, si_code: 0 (memory access violation at address: 0x00000000)
test/txvalidationcache_tests.cpp:70: last checkpoint
*** 1 failure is detected in the test module "Bitcoin Test Suite"
Assertion failed: (!pthread_mutex_destroy(&m)), function ~recursive_mutex, file /usr/local/include/boost/thread/pthread/recursive_mutex.hpp, line 104.
FAIL test/test_elements (exit status: 134)
Is there a way to get a detailed trace?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#408 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFgC06zx8D5FHO4yJ6UC7sRaZViUr7sIks5uaS48gaJpZM4WhtWU>
.
|
Yea it does! I was just curious why it was happening. |
We can keep this issue open if you like even if we merge the fix.
…On Wed, Sep 12, 2018, 8:59 AM Nikos Kostoulas ***@***.***> wrote:
Yea it does! I was just curious why it was happening.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#408 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFgC07e3xKLayFjTerWtvaIo5kpgFEHSks5uaS9kgaJpZM4WhtWU>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Policy/fee asset doesn't seem to be set in the src/test unit-tests. I noticed this in txvalidationcache_tests.cpp, where the fee output was discarded when the tx was entered in the mempool as in AcceptToMemoryPoolWorker the following returns 0:
CAmount nFees = tx.GetFee()[policyAsset];
Although it doesn't break anything as zero fees are allowed, it might hide intended functionality if something changed. Do you think it would make sense to add this in the test_bitcoin configuration?
The text was updated successfully, but these errors were encountered: