Skip to content

Instantly share code, notes, and snippets.

@jplatte
Last active July 1, 2022 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jplatte/f5dc46143aca1c1f62e7a50e4f33debb to your computer and use it in GitHub Desktop.
Save jplatte/f5dc46143aca1c1f62e7a50e4f33debb to your computer and use it in GitHub Desktop.
valgrind'ing matrix-sdk-crypto node bindings
jplatte@jp-desktop ..-sdk/bindings/matrix-sdk-crypto-nodejs (git)-[jplatte/valgrind] % valgrind --trace-children=yes node node_modules/.bin/jest --verbose --testTimeout 1000000
==19597== Memcheck, a memory error detector
==19597== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==19597== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==19597== Command: node node_modules/.bin/jest --verbose --testTimeout 1000000
==19597==
==19804==
==19804== HEAP SUMMARY:
==19804== in use at exit: 4,979,697 bytes in 12,575 blocks
==19804== total heap usage: 118,588 allocs, 106,013 frees, 160,485,438 bytes allocated
==19804==
==19804== LEAK SUMMARY:
==19804== definitely lost: 160 bytes in 4 blocks
==19804== indirectly lost: 0 bytes in 0 blocks
==19804== possibly lost: 0 bytes in 0 blocks
==19804== still reachable: 4,979,537 bytes in 12,571 blocks
==19804== of which reachable via heuristic:
==19804== multipleinheritance: 224 bytes in 4 blocks
==19804== suppressed: 0 bytes in 0 blocks
==19804== Rerun with --leak-check=full to see details of leaked memory
==19804==
==19804== For lists of detected and suppressed errors, rerun with: -s
==19804== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==20284== Memcheck, a memory error detector
==20284== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20284== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20284== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20284==
==20286== Memcheck, a memory error detector
==20286== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20286== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20286== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20286==
==20288== Memcheck, a memory error detector
==20288== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20288== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20288== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20288==
==20290== Memcheck, a memory error detector
==20290== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20290== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20290== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20290==
==20294== Memcheck, a memory error detector
==20294== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20294== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20294== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20294==
==20298== Memcheck, a memory error detector
==20298== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20298== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20298== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20298==
==20304== Memcheck, a memory error detector
==20304== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20304== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20304== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20304==
==20310== Memcheck, a memory error detector
==20310== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20310== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20310== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20310==
==20314== Memcheck, a memory error detector
==20314== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20314== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20314== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20314==
==20320== Memcheck, a memory error detector
==20320== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20320== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20320== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20320==
==20328== Memcheck, a memory error detector
==20328== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==20328== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==20328== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==20328==
==20288== Conditional jump or move depends on uninitialised value(s)
==20288== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20288== by 0x982BBA: ??? (in /usr/bin/node)
==20288== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20288== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20288== by 0x978BB6: ??? (in /usr/bin/node)
==20288== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20288== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20288== by 0xB3987D: ??? (in /usr/bin/node)
==20288== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20288== by 0x140F6F8: ??? (in /usr/bin/node)
==20288== by 0x139364F: ??? (in /usr/bin/node)
==20288== by 0x139364F: ??? (in /usr/bin/node)
==20288==
==20288== Conditional jump or move depends on uninitialised value(s)
==20288== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20288== by 0x982CB2: ??? (in /usr/bin/node)
==20288== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20288== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20288== by 0x978BB6: ??? (in /usr/bin/node)
==20288== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20288== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20288== by 0xB3987D: ??? (in /usr/bin/node)
==20288== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20288== by 0x140F6F8: ??? (in /usr/bin/node)
==20288== by 0x139364F: ??? (in /usr/bin/node)
==20288== by 0x139364F: ??? (in /usr/bin/node)
==20288==
==20284== Conditional jump or move depends on uninitialised value(s)
==20284== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x982BBA: ??? (in /usr/bin/node)
==20284== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20284== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x978BB6: ??? (in /usr/bin/node)
==20284== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20284== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20284== by 0xB3987D: ??? (in /usr/bin/node)
==20284== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20284== by 0x140F6F8: ??? (in /usr/bin/node)
==20284== by 0x139364F: ??? (in /usr/bin/node)
==20284== by 0x139364F: ??? (in /usr/bin/node)
==20284==
==20284== Conditional jump or move depends on uninitialised value(s)
==20284== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x982CB2: ??? (in /usr/bin/node)
==20284== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20284== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x978BB6: ??? (in /usr/bin/node)
==20284== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20284== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20284== by 0xB3987D: ??? (in /usr/bin/node)
==20284== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20284== by 0x140F6F8: ??? (in /usr/bin/node)
==20284== by 0x139364F: ??? (in /usr/bin/node)
==20284== by 0x139364F: ??? (in /usr/bin/node)
==20284==
==20290== Conditional jump or move depends on uninitialised value(s)
==20290== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20290== by 0x982BBA: ??? (in /usr/bin/node)
==20290== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20290== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20290== by 0x978BB6: ??? (in /usr/bin/node)
==20290== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20290== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20290== by 0xB3987D: ??? (in /usr/bin/node)
==20290== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20290== by 0x140F6F8: ??? (in /usr/bin/node)
==20290== by 0x139364F: ??? (in /usr/bin/node)
==20290== by 0x139364F: ??? (in /usr/bin/node)
==20290==
==20290== Conditional jump or move depends on uninitialised value(s)
==20290== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20290== by 0x982CB2: ??? (in /usr/bin/node)
==20290== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20290== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20290== by 0x978BB6: ??? (in /usr/bin/node)
==20290== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20290== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20290== by 0xB3987D: ??? (in /usr/bin/node)
==20290== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20290== by 0x140F6F8: ??? (in /usr/bin/node)
==20290== by 0x139364F: ??? (in /usr/bin/node)
==20290== by 0x139364F: ??? (in /usr/bin/node)
==20290==
==20294== Conditional jump or move depends on uninitialised value(s)
==20294== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20294== by 0x982BBA: ??? (in /usr/bin/node)
==20294== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20294== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20294== by 0x978BB6: ??? (in /usr/bin/node)
==20294== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20294== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20294== by 0xB3987D: ??? (in /usr/bin/node)
==20294== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20294== by 0x140F6F8: ??? (in /usr/bin/node)
==20294== by 0x139364F: ??? (in /usr/bin/node)
==20294== by 0x139364F: ??? (in /usr/bin/node)
==20294==
==20294== Conditional jump or move depends on uninitialised value(s)
==20294== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20294== by 0x982CB2: ??? (in /usr/bin/node)
==20294== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20294== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20294== by 0x978BB6: ??? (in /usr/bin/node)
==20294== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20294== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20294== by 0xB3987D: ??? (in /usr/bin/node)
==20294== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20294== by 0x140F6F8: ??? (in /usr/bin/node)
==20294== by 0x139364F: ??? (in /usr/bin/node)
==20294== by 0x139364F: ??? (in /usr/bin/node)
==20294==
==20298== Conditional jump or move depends on uninitialised value(s)
==20298== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20298== by 0x982BBA: ??? (in /usr/bin/node)
==20298== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20298== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20298== by 0x978BB6: ??? (in /usr/bin/node)
==20298== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20298== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20298== by 0xB3987D: ??? (in /usr/bin/node)
==20298== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20298== by 0x140F6F8: ??? (in /usr/bin/node)
==20298== by 0x139364F: ??? (in /usr/bin/node)
==20298== by 0x139364F: ??? (in /usr/bin/node)
==20298==
==20298== Conditional jump or move depends on uninitialised value(s)
==20298== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20298== by 0x982CB2: ??? (in /usr/bin/node)
==20298== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20298== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20298== by 0x978BB6: ??? (in /usr/bin/node)
==20298== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20298== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20298== by 0xB3987D: ??? (in /usr/bin/node)
==20298== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20298== by 0x140F6F8: ??? (in /usr/bin/node)
==20298== by 0x139364F: ??? (in /usr/bin/node)
==20298== by 0x139364F: ??? (in /usr/bin/node)
==20298==
==20286== Conditional jump or move depends on uninitialised value(s)
==20286== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20286== by 0x982BBA: ??? (in /usr/bin/node)
==20286== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20286== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20286== by 0x978BB6: ??? (in /usr/bin/node)
==20286== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20286== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20286== by 0xB3987D: ??? (in /usr/bin/node)
==20286== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20286== by 0x140F6F8: ??? (in /usr/bin/node)
==20286== by 0x139364F: ??? (in /usr/bin/node)
==20286== by 0x139364F: ??? (in /usr/bin/node)
==20286==
==20286== Conditional jump or move depends on uninitialised value(s)
==20286== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20286== by 0x982CB2: ??? (in /usr/bin/node)
==20286== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20286== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20286== by 0x978BB6: ??? (in /usr/bin/node)
==20286== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20286== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20286== by 0xB3987D: ??? (in /usr/bin/node)
==20286== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20286== by 0x140F6F8: ??? (in /usr/bin/node)
==20286== by 0x139364F: ??? (in /usr/bin/node)
==20286== by 0x139364F: ??? (in /usr/bin/node)
==20286==
PASS tests/sync_events.test.js (16.57 s)
DeviceLists
✓ can be empty (170 ms)
✓ can be coerced empty (47 ms)
✓ returns the correct `changed` and `left` (168 ms)
==20304== Conditional jump or move depends on uninitialised value(s)
==20304== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20304== by 0x982BBA: ??? (in /usr/bin/node)
==20304== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20304== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20304== by 0x978BB6: ??? (in /usr/bin/node)
==20304== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20304== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20304== by 0xB3987D: ??? (in /usr/bin/node)
==20304== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20304== by 0x140F6F8: ??? (in /usr/bin/node)
==20304== by 0x139364F: ??? (in /usr/bin/node)
==20304== by 0x139364F: ??? (in /usr/bin/node)
==20304==
==20304== Conditional jump or move depends on uninitialised value(s)
==20304== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==20304== by 0x982CB2: ??? (in /usr/bin/node)
==20304== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==20304== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==20304== by 0x978BB6: ??? (in /usr/bin/node)
==20304== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==20304== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==20304== by 0xB3987D: ??? (in /usr/bin/node)
==20304== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==20304== by 0x140F6F8: ??? (in /usr/bin/node)
==20304== by 0x139364F: ??? (in /usr/bin/node)
==20304== by 0x139364F: ??? (in /usr/bin/node)
==20304==
PASS tests/encryption.test.js (18.167 s)
EncryptionAlgorithm
✓ has the correct variant values (85 ms)
EncryptionSettings
✓ can be instantiated with default values (101 ms)
✓ checks the history visibility values (71 ms)
VerificationState
✓ has the correct variant values (19 ms)
PASS tests/identifiers.test.js (17.768 s)
UserId
✓ cannot be invalid (274 ms)
✓ localpart is present (48 ms)
✓ server name is present (24 ms)
✓ user ID is not historical (9 ms)
✓ can read the user ID as a string (23 ms)
DeviceId
✓ can read the device ID as a string (14 ms)
RoomId
✓ cannot be invalid (18 ms)
✓ localpart is present (23 ms)
✓ server name is present (10 ms)
✓ can read the room ID as string (18 ms)
ServerName
✓ cannot be invalid (32 ms)
✓ host is present (18 ms)
✓ port can be optional (32 ms)
✓ server is not an IP literal (21 ms)
PASS tests/requests.test.js (17.645 s)
RequestType
✓ has the correct variant values (126 ms)
KeysUploadRequest
✓ cannot be instantiated (53 ms)
KeysQueryRequest
✓ cannot be instantiated (12 ms)
KeysClaimRequest
✓ cannot be instantiated (22 ms)
ToDeviceRequest
✓ cannot be instantiated (34 ms)
SignatureUploadRequest
✓ cannot be instantiated (23 ms)
RoomMessageRequest
✓ cannot be instantiated (21 ms)
KeysBackupRequest
✓ cannot be instantiated (25 ms)
PASS tests/events.test.js (17.392 s)
HistoryVisibility
✓ has the correct variant values (92 ms)
PASS tests/responses.test.js (17.529 s)
DecryptedRoomEvent
✓ cannot be instantiated (142 ms)
==20284== Thread 19 tokio-runtime-wo:
==20284== Invalid read of size 8
==20284== at 0x14E947E5: <ruma_common::identifiers::user_id::OwnedUserId as core::convert::AsRef<ruma_common::identifiers::user_id::UserId>>::as_ref (user_id.rs:20)
==20284== by 0x14000B35: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:82)
==20284== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==20284== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==20284== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==20284== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==20284== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==20284== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==20284== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==20284== Address 0x129380a0 is 0 bytes inside a block of size 16 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x142C0CEF: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x14279D53: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==20284== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==20284== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==20284== by 0x14343F2D: napi::bindgen_runtime::callback_info::CallbackInfo<_>::_construct (boxed.rs:200)
==20284== by 0x14348DFF: napi::bindgen_runtime::callback_info::CallbackInfo<_>::construct (callback_info.rs:102)
==20284== by 0x1436612B: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new::{{closure}} (identifiers.rs:23)
==20284== by 0x142F6E16: core::result::Result<T,E>::and_then (result.rs:1332)
==20284== by 0x14365EBC: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new (identifiers.rs:23)
==20284== by 0x885016: ??? (in /usr/bin/node)
==20284== by 0xB3A14D: ??? (in /usr/bin/node)
==20284==
==20284== Invalid read of size 8
==20284== at 0x14E947E8: <ruma_common::identifiers::user_id::OwnedUserId as core::convert::AsRef<ruma_common::identifiers::user_id::UserId>>::as_ref (user_id.rs:20)
==20284== by 0x14000B35: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:82)
==20284== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==20284== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==20284== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==20284== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==20284== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==20284== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==20284== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==20284== Address 0x129380a8 is 8 bytes inside a block of size 16 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x142C0CEF: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x14279D53: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==20284== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==20284== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==20284== by 0x14343F2D: napi::bindgen_runtime::callback_info::CallbackInfo<_>::_construct (boxed.rs:200)
==20284== by 0x14348DFF: napi::bindgen_runtime::callback_info::CallbackInfo<_>::construct (callback_info.rs:102)
==20284== by 0x1436612B: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new::{{closure}} (identifiers.rs:23)
==20284== by 0x142F6E16: core::result::Result<T,E>::and_then (result.rs:1332)
==20284== by 0x14365EBC: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new (identifiers.rs:23)
==20284== by 0x885016: ??? (in /usr/bin/node)
==20284== by 0xB3A14D: ??? (in /usr/bin/node)
==20284==
==20284== Invalid read of size 8
==20284== at 0x14F1C475: <ruma_common::identifiers::device_id::OwnedDeviceId as core::convert::AsRef<ruma_common::identifiers::device_id::DeviceId>>::as_ref (device_id.rs:31)
==20284== by 0x14000BA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:83)
==20284== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==20284== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==20284== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==20284== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==20284== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==20284== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==20284== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==20284== Address 0x12c39790 is 0 bytes inside a block of size 16 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x142B85DF: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x1427A063: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::DeviceId>> (mod.rs:486)
==20284== by 0x140F62DF: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==20284== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==20284== by 0x143439AD: napi::bindgen_runtime::callback_info::CallbackInfo<_>::_construct (boxed.rs:200)
==20284== by 0x14348FFF: napi::bindgen_runtime::callback_info::CallbackInfo<_>::construct (callback_info.rs:102)
==20284== by 0x143A5BF3: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__DeviceId__2::__napi__new::{{closure}} (identifiers.rs:81)
==20284== by 0x142F8916: core::result::Result<T,E>::and_then (result.rs:1332)
==20284== by 0x143A5A0C: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__DeviceId__2::__napi__new (identifiers.rs:81)
==20284== by 0x885016: ??? (in /usr/bin/node)
==20284== by 0xB3A14D: ??? (in /usr/bin/node)
==20284==
==20284== Invalid read of size 8
==20284== at 0x14F1C478: <ruma_common::identifiers::device_id::OwnedDeviceId as core::convert::AsRef<ruma_common::identifiers::device_id::DeviceId>>::as_ref (device_id.rs:31)
==20284== by 0x14000BA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:83)
==20284== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==20284== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==20284== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==20284== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==20284== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==20284== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==20284== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==20284== Address 0x12c39798 is 8 bytes inside a block of size 16 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x142B85DF: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x1427A063: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::DeviceId>> (mod.rs:486)
==20284== by 0x140F62DF: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==20284== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==20284== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==20284== by 0x143439AD: napi::bindgen_runtime::callback_info::CallbackInfo<_>::_construct (boxed.rs:200)
==20284== by 0x14348FFF: napi::bindgen_runtime::callback_info::CallbackInfo<_>::construct (callback_info.rs:102)
==20284== by 0x143A5BF3: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__DeviceId__2::__napi__new::{{closure}} (identifiers.rs:81)
==20284== by 0x142F8916: core::result::Result<T,E>::and_then (result.rs:1332)
==20284== by 0x143A5A0C: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__DeviceId__2::__napi__new (identifiers.rs:81)
==20284== by 0x885016: ??? (in /usr/bin/node)
==20284== by 0xB3A14D: ??? (in /usr/bin/node)
==20284==
==20284== Invalid read of size 8
==20284== at 0x484FA0E: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14FCA026: core::intrinsics::copy_nonoverlapping (intrinsics.rs:2135)
==20284== by 0x14E336AC: alloc::sync::Arc<[T]>::copy_from_slice (sync.rs:1249)
==20284== by 0x14E39A33: <alloc::sync::Arc<[T]> as alloc::sync::ArcFromSlice<T>>::from_slice (sync.rs:1323)
==20284== by 0x14E3A903: <alloc::sync::Arc<[T]> as core::convert::From<&[T]>>::from (sync.rs:2458)
==20284== by 0x14E3761E: <alloc::sync::Arc<str> as core::convert::From<&str>>::from (sync.rs:2476)
==20284== by 0x14E5FE7B: ruma_common::identifiers::user_id::<impl core::convert::From<&ruma_common::identifiers::user_id::UserId> for alloc::sync::Arc<ruma_common::identifiers::user_id::UserId>>::from (user_id.rs:20)
==20284== by 0x14A60E23: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284== by 0x149C4E05: matrix_sdk_crypto::olm::account::ReadOnlyAccount::new (account.rs:495)
==20284== by 0x140BFC0B: matrix_sdk_crypto::machine::OlmMachine::with_store::{{closure}} (machine.rs:235)
==20284== by 0x1435D81E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14000CA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:85)
==20284== Address 0x12920100 is 0 bytes inside a block of size 12 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14E0735A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x14E0B68A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x14E07FE4: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x14F2DF1F: core::ptr::drop_in_place<alloc::boxed::Box<ruma_common::identifiers::user_id::UserId>> (mod.rs:486)
==20284== by 0x14F2AB1A: core::ptr::drop_in_place<ruma_common::identifiers::user_id::OwnedUserId> (mod.rs:486)
==20284== by 0x1427769A: core::ptr::drop_in_place<matrix_sdk_crypto_nodejs::identifiers::UserId> (mod.rs:486)
==20284== by 0x14279D25: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==20284== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14F6840B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x14F68496: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x14F686B9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x14F67428: alloc::raw_vec::RawVec<T,A>::allocate_in (raw_vec.rs:185)
==20284== by 0x14F6769C: alloc::raw_vec::RawVec<T,A>::with_capacity_in (raw_vec.rs:131)
==20284== by 0x14DA93BE: alloc::raw_vec::RawVec<T>::with_capacity (raw_vec.rs:93)
==20284== by 0x14F3CD7D: <alloc::boxed::Box<[T]> as core::convert::From<&[T]>>::from (boxed.rs:1433)
==20284== by 0x14F3B515: <alloc::boxed::Box<str> as core::convert::From<&str>>::from (boxed.rs:1475)
==20284== by 0x14E02822: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284== by 0x14E9478C: ruma_common::identifiers::user_id::OwnedUserId::from_ref (user_id.rs:20)
==20284== by 0x14E94DF2: <ruma_common::identifiers::user_id::UserId as alloc::borrow::ToOwned>::to_owned (user_id.rs:20)
==20284==
==20284== Invalid read of size 2
==20284== at 0x484FA60: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14FCA026: core::intrinsics::copy_nonoverlapping (intrinsics.rs:2135)
==20284== by 0x14E336AC: alloc::sync::Arc<[T]>::copy_from_slice (sync.rs:1249)
==20284== by 0x14E39A33: <alloc::sync::Arc<[T]> as alloc::sync::ArcFromSlice<T>>::from_slice (sync.rs:1323)
==20284== by 0x14E3A903: <alloc::sync::Arc<[T]> as core::convert::From<&[T]>>::from (sync.rs:2458)
==20284== by 0x14E3761E: <alloc::sync::Arc<str> as core::convert::From<&str>>::from (sync.rs:2476)
==20284== by 0x14E5FE7B: ruma_common::identifiers::user_id::<impl core::convert::From<&ruma_common::identifiers::user_id::UserId> for alloc::sync::Arc<ruma_common::identifiers::user_id::UserId>>::from (user_id.rs:20)
==20284== by 0x14A60E23: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284== by 0x149C4E05: matrix_sdk_crypto::olm::account::ReadOnlyAccount::new (account.rs:495)
==20284== by 0x140BFC0B: matrix_sdk_crypto::machine::OlmMachine::with_store::{{closure}} (machine.rs:235)
==20284== by 0x1435D81E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14000CA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:85)
==20284== Address 0x12920108 is 8 bytes inside a block of size 12 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14E0735A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x14E0B68A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x14E07FE4: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x14F2DF1F: core::ptr::drop_in_place<alloc::boxed::Box<ruma_common::identifiers::user_id::UserId>> (mod.rs:486)
==20284== by 0x14F2AB1A: core::ptr::drop_in_place<ruma_common::identifiers::user_id::OwnedUserId> (mod.rs:486)
==20284== by 0x1427769A: core::ptr::drop_in_place<matrix_sdk_crypto_nodejs::identifiers::UserId> (mod.rs:486)
==20284== by 0x14279D25: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==20284== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14F6840B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x14F68496: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x14F686B9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x14F67428: alloc::raw_vec::RawVec<T,A>::allocate_in (raw_vec.rs:185)
==20284== by 0x14F6769C: alloc::raw_vec::RawVec<T,A>::with_capacity_in (raw_vec.rs:131)
==20284== by 0x14DA93BE: alloc::raw_vec::RawVec<T>::with_capacity (raw_vec.rs:93)
==20284== by 0x14F3CD7D: <alloc::boxed::Box<[T]> as core::convert::From<&[T]>>::from (boxed.rs:1433)
==20284== by 0x14F3B515: <alloc::boxed::Box<str> as core::convert::From<&str>>::from (boxed.rs:1475)
==20284== by 0x14E02822: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284== by 0x14E9478C: ruma_common::identifiers::user_id::OwnedUserId::from_ref (user_id.rs:20)
==20284== by 0x14E94DF2: <ruma_common::identifiers::user_id::UserId as alloc::borrow::ToOwned>::to_owned (user_id.rs:20)
==20284==
==20284== Invalid read of size 1
==20284== at 0x484FA90: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14FCA026: core::intrinsics::copy_nonoverlapping (intrinsics.rs:2135)
==20284== by 0x14E336AC: alloc::sync::Arc<[T]>::copy_from_slice (sync.rs:1249)
==20284== by 0x14E39A33: <alloc::sync::Arc<[T]> as alloc::sync::ArcFromSlice<T>>::from_slice (sync.rs:1323)
==20284== by 0x14E3A903: <alloc::sync::Arc<[T]> as core::convert::From<&[T]>>::from (sync.rs:2458)
==20284== by 0x14E3761E: <alloc::sync::Arc<str> as core::convert::From<&str>>::from (sync.rs:2476)
==20284== by 0x14E5FEEB: ruma_common::identifiers::device_id::<impl core::convert::From<&ruma_common::identifiers::device_id::DeviceId> for alloc::sync::Arc<ruma_common::identifiers::device_id::DeviceId>>::from (device_id.rs:31)
==20284== by 0x14A95BB3: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284== by 0x149C4E3E: matrix_sdk_crypto::olm::account::ReadOnlyAccount::new (account.rs:496)
==20284== by 0x140BFC0B: matrix_sdk_crypto::machine::OlmMachine::with_store::{{closure}} (machine.rs:235)
==20284== by 0x1435D81E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==20284== by 0x14000CA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:85)
==20284== Address 0x12a406a2 is 2 bytes inside a block of size 3 free'd
==20284== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14E0735A: alloc::alloc::dealloc (alloc.rs:107)
==20284== by 0x14E0B68A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==20284== by 0x14E0B244: alloc::alloc::box_free (alloc.rs:342)
==20284== by 0x14F2EC1F: core::ptr::drop_in_place<alloc::boxed::Box<ruma_common::identifiers::device_id::DeviceId>> (mod.rs:486)
==20284== by 0x14F2B44A: core::ptr::drop_in_place<ruma_common::identifiers::device_id::OwnedDeviceId> (mod.rs:486)
==20284== by 0x14277B4A: core::ptr::drop_in_place<matrix_sdk_crypto_nodejs::identifiers::DeviceId> (mod.rs:486)
==20284== by 0x1427A035: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::DeviceId>> (mod.rs:486)
==20284== by 0x140F62DF: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==20284== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==20284== by 0x85DB8C: ??? (in /usr/bin/node)
==20284== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==20284== Block was alloc'd at
==20284== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20284== by 0x14F6840B: alloc::alloc::alloc (alloc.rs:89)
==20284== by 0x14F68496: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==20284== by 0x14F686B9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==20284== by 0x14F67428: alloc::raw_vec::RawVec<T,A>::allocate_in (raw_vec.rs:185)
==20284== by 0x14F6769C: alloc::raw_vec::RawVec<T,A>::with_capacity_in (raw_vec.rs:131)
==20284== by 0x14DA93BE: alloc::raw_vec::RawVec<T>::with_capacity (raw_vec.rs:93)
==20284== by 0x14F3CD7D: <alloc::boxed::Box<[T]> as core::convert::From<&[T]>>::from (boxed.rs:1433)
==20284== by 0x14F3B515: <alloc::boxed::Box<str> as core::convert::From<&str>>::from (boxed.rs:1475)
==20284== by 0x14E02822: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284== by 0x14F3CF8C: ruma_common::identifiers::device_id::<impl core::convert::From<&ruma_common::identifiers::device_id::DeviceId> for alloc::boxed::Box<ruma_common::identifiers::device_id::DeviceId>>::from (device_id.rs:31)
==20284== by 0x14F00623: <T as core::convert::Into<U>>::into (mod.rs:550)
==20284==
PASS tests/machine.test.js (240.668 s)
OlmMachine
✓ cannot be instantiated with the constructor (123 ms)
✓ can be instantiated with the async initializer (1303 ms)
✓ can read user ID (106 ms)
✓ can read device ID (79 ms)
✓ can read identity keys (109 ms)
✓ can receive sync changes (246 ms)
✓ can get the outgoing requests that need to be send out (1703 ms)
✓ can update tracked users (107 ms)
can be instantiated with a store
✓ with no passphrase (64071 ms)
✓ with a passphrase (151337 ms)
setup workflow to mark requests as sent
✓ can mark requests as sent (772 ms)
setup workflow to encrypt/decrypt events
✓ can pass keysquery and keysclaim requests directly (540 ms)
✓ can share a room key (900 ms)
✓ can encrypt an event (289 ms)
✓ can decrypt an event (438 ms)
==20294==
==20294== HEAP SUMMARY:
==20294== in use at exit: 91,587 bytes in 374 blocks
==20294== total heap usage: 154,036 allocs, 153,662 frees, 207,383,404 bytes allocated
==20294==
==20286==
==20286== HEAP SUMMARY:
==20286== in use at exit: 91,043 bytes in 373 blocks
==20286== total heap usage: 153,098 allocs, 152,725 frees, 206,269,467 bytes allocated
==20286==
==20298==
==20290==
==20290== HEAP SUMMARY:
==20290== in use at exit: 91,191 bytes in 374 blocks
==20290== total heap usage: 152,254 allocs, 151,880 frees, 205,925,426 bytes allocated
==20290==
==20298== HEAP SUMMARY:
==20298== in use at exit: 91,043 bytes in 373 blocks
==20298== total heap usage: 152,127 allocs, 151,754 frees, 205,252,684 bytes allocated
==20298==
==20304==
==20304== HEAP SUMMARY:
==20304== in use at exit: 91,043 bytes in 373 blocks
==20304== total heap usage: 151,662 allocs, 151,289 frees, 204,948,111 bytes allocated
==20304==
==20294== LEAK SUMMARY:
==20294== definitely lost: 0 bytes in 0 blocks
==20294== indirectly lost: 0 bytes in 0 blocks
==20294== possibly lost: 29,188 bytes in 154 blocks
==20294== still reachable: 62,399 bytes in 220 blocks
==20294== of which reachable via heuristic:
==20294== multipleinheritance: 48 bytes in 1 blocks
==20294== suppressed: 0 bytes in 0 blocks
==20294== Rerun with --leak-check=full to see details of leaked memory
==20294==
==20294== Use --track-origins=yes to see where uninitialised values come from
==20294== For lists of detected and suppressed errors, rerun with: -s
==20294== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==20288==
==20288== HEAP SUMMARY:
==20288== in use at exit: 91,459 bytes in 374 blocks
==20288== total heap usage: 152,074 allocs, 151,700 frees, 205,924,804 bytes allocated
==20288==
==20290== LEAK SUMMARY:
==20290== definitely lost: 0 bytes in 0 blocks
==20290== indirectly lost: 0 bytes in 0 blocks
==20290== possibly lost: 28,792 bytes in 154 blocks
==20290== still reachable: 62,399 bytes in 220 blocks
==20290== of which reachable via heuristic:
==20290== multipleinheritance: 48 bytes in 1 blocks
==20290== suppressed: 0 bytes in 0 blocks
==20290== Rerun with --leak-check=full to see details of leaked memory
==20290==
==20290== Use --track-origins=yes to see where uninitialised values come from
==20290== For lists of detected and suppressed errors, rerun with: -s
==20290== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==20304== LEAK SUMMARY:
==20304== definitely lost: 0 bytes in 0 blocks
==20304== indirectly lost: 0 bytes in 0 blocks
==20304== possibly lost: 28,644 bytes in 153 blocks
==20304== still reachable: 62,399 bytes in 220 blocks
==20304== of which reachable via heuristic:
==20304== multipleinheritance: 48 bytes in 1 blocks
==20304== suppressed: 0 bytes in 0 blocks
==20304== Rerun with --leak-check=full to see details of leaked memory
==20304==
==20304== Use --track-origins=yes to see where uninitialised values come from
==20304== For lists of detected and suppressed errors, rerun with: -s
==20304== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==20298== LEAK SUMMARY:
==20298== definitely lost: 0 bytes in 0 blocks
==20298== indirectly lost: 0 bytes in 0 blocks
==20298== possibly lost: 28,644 bytes in 153 blocks
==20298== still reachable: 62,399 bytes in 220 blocks
==20298== of which reachable via heuristic:
==20298== multipleinheritance: 48 bytes in 1 blocks
==20298== suppressed: 0 bytes in 0 blocks
==20298== Rerun with --leak-check=full to see details of leaked memory
==20298==
==20298== Use --track-origins=yes to see where uninitialised values come from
==20298== For lists of detected and suppressed errors, rerun with: -s
==20298== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==20286== LEAK SUMMARY:
==20286== definitely lost: 0 bytes in 0 blocks
==20286== indirectly lost: 0 bytes in 0 blocks
==20286== possibly lost: 28,644 bytes in 153 blocks
==20286== still reachable: 62,399 bytes in 220 blocks
==20286== of which reachable via heuristic:
==20286== multipleinheritance: 48 bytes in 1 blocks
==20286== suppressed: 0 bytes in 0 blocks
==20286== Rerun with --leak-check=full to see details of leaked memory
==20286==
==20286== Use --track-origins=yes to see where uninitialised values come from
==20286== For lists of detected and suppressed errors, rerun with: -s
==20286== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==20314==
==20314== HEAP SUMMARY:
==20314== in use at exit: 10,125 bytes in 30 blocks
==20314== total heap usage: 18,334 allocs, 18,304 frees, 20,370,952 bytes allocated
==20314==
==20314== LEAK SUMMARY:
==20314== definitely lost: 0 bytes in 0 blocks
==20314== indirectly lost: 0 bytes in 0 blocks
==20314== possibly lost: 304 bytes in 1 blocks
==20314== still reachable: 9,821 bytes in 29 blocks
==20314== suppressed: 0 bytes in 0 blocks
==20314== Rerun with --leak-check=full to see details of leaked memory
==20314==
==20314== For lists of detected and suppressed errors, rerun with: -s
==20314== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==20288== LEAK SUMMARY:
==20288== definitely lost: 0 bytes in 0 blocks
==20288== indirectly lost: 0 bytes in 0 blocks
==20288== possibly lost: 29,188 bytes in 154 blocks
==20288== still reachable: 62,271 bytes in 220 blocks
==20288== of which reachable via heuristic:
==20288== multipleinheritance: 48 bytes in 1 blocks
==20288== suppressed: 0 bytes in 0 blocks
==20288== Rerun with --leak-check=full to see details of leaked memory
==20288==
==20288== Use --track-origins=yes to see where uninitialised values come from
==20288== For lists of detected and suppressed errors, rerun with: -s
==20288== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==20310==
==20310== HEAP SUMMARY:
==20310== in use at exit: 10,125 bytes in 30 blocks
==20310== total heap usage: 18,334 allocs, 18,304 frees, 20,351,104 bytes allocated
==20310==
==20310== LEAK SUMMARY:
==20310== definitely lost: 0 bytes in 0 blocks
==20310== indirectly lost: 0 bytes in 0 blocks
==20310== possibly lost: 304 bytes in 1 blocks
==20310== still reachable: 9,821 bytes in 29 blocks
==20310== suppressed: 0 bytes in 0 blocks
==20310== Rerun with --leak-check=full to see details of leaked memory
==20310==
==20310== For lists of detected and suppressed errors, rerun with: -s
==20310== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==20284==
==20284== HEAP SUMMARY:
==20284== in use at exit: 22,187,233 bytes in 603 blocks
==20284== total heap usage: 165,408 allocs, 164,805 frees, 250,946,747 bytes allocated
==20284==
==20328==
==20328== HEAP SUMMARY:
==20328== in use at exit: 10,125 bytes in 30 blocks
==20328== total heap usage: 18,333 allocs, 18,303 frees, 20,341,016 bytes allocated
==20328==
==20328== LEAK SUMMARY:
==20328== definitely lost: 0 bytes in 0 blocks
==20328== indirectly lost: 0 bytes in 0 blocks
==20328== possibly lost: 304 bytes in 1 blocks
==20328== still reachable: 9,821 bytes in 29 blocks
==20328== suppressed: 0 bytes in 0 blocks
==20328== Rerun with --leak-check=full to see details of leaked memory
==20328==
==20328== For lists of detected and suppressed errors, rerun with: -s
==20328== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==20320==
==20320== HEAP SUMMARY:
==20320== in use at exit: 10,125 bytes in 30 blocks
==20320== total heap usage: 18,333 allocs, 18,303 frees, 20,350,886 bytes allocated
==20320==
==20320== LEAK SUMMARY:
==20320== definitely lost: 0 bytes in 0 blocks
==20320== indirectly lost: 0 bytes in 0 blocks
==20320== possibly lost: 304 bytes in 1 blocks
==20320== still reachable: 9,821 bytes in 29 blocks
==20320== suppressed: 0 bytes in 0 blocks
==20320== Rerun with --leak-check=full to see details of leaked memory
==20320==
==20320== For lists of detected and suppressed errors, rerun with: -s
==20320== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==20284== LEAK SUMMARY:
==20284== definitely lost: 0 bytes in 0 blocks
==20284== indirectly lost: 0 bytes in 0 blocks
==20284== possibly lost: 31,092 bytes in 160 blocks
==20284== still reachable: 22,156,141 bytes in 443 blocks
==20284== of which reachable via heuristic:
==20284== multipleinheritance: 48 bytes in 1 blocks
==20284== suppressed: 0 bytes in 0 blocks
==20284== Rerun with --leak-check=full to see details of leaked memory
==20284==
==20284== Use --track-origins=yes to see where uninitialised values come from
==20284== For lists of detected and suppressed errors, rerun with: -s
==20284== ERROR SUMMARY: 25 errors from 9 contexts (suppressed: 0 from 0)
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
Test Suites: 7 passed, 7 total
Tests: 46 passed, 46 total
Snapshots: 0 total
Time: 263.071 s
Ran all test suites.
==19597==
==19597== HEAP SUMMARY:
==19597== in use at exit: 67,637 bytes in 42 blocks
==19597== total heap usage: 166,192 allocs, 166,150 frees, 227,467,420 bytes allocated
==19597==
==19597== LEAK SUMMARY:
==19597== definitely lost: 0 bytes in 0 blocks
==19597== indirectly lost: 0 bytes in 0 blocks
==19597== possibly lost: 304 bytes in 1 blocks
==19597== still reachable: 67,333 bytes in 41 blocks
==19597== suppressed: 0 bytes in 0 blocks
==19597== Rerun with --leak-check=full to see details of leaked memory
==19597==
==19597== For lists of detected and suppressed errors, rerun with: -s
==19597== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
valgrind --trace-children=yes node node_modules/.bin/jest --verbose 1000000 694.76s user 5.77s system 205% cpu 5:41.43 total
jplatte@jp-desktop ..-sdk/bindings/matrix-sdk-crypto-nodejs (git)-[jplatte/valgrind] % valgrind --trace-children=yes --num-callers=128 node node_modules/.bin/jest --verbose --testTimeout 1000000
==23587== Memcheck, a memory error detector
==23587== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23587== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23587== Command: node node_modules/.bin/jest --verbose --testTimeout 1000000
==23587==
==23772==
==23772== HEAP SUMMARY:
==23772== in use at exit: 4,998,880 bytes in 12,520 blocks
==23772== total heap usage: 118,309 allocs, 105,789 frees, 160,396,076 bytes allocated
==23772==
==23772== LEAK SUMMARY:
==23772== definitely lost: 160 bytes in 4 blocks
==23772== indirectly lost: 0 bytes in 0 blocks
==23772== possibly lost: 0 bytes in 0 blocks
==23772== still reachable: 4,998,720 bytes in 12,516 blocks
==23772== of which reachable via heuristic:
==23772== multipleinheritance: 224 bytes in 4 blocks
==23772== suppressed: 0 bytes in 0 blocks
==23772== Rerun with --leak-check=full to see details of leaked memory
==23772==
==23772== For lists of detected and suppressed errors, rerun with: -s
==23772== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==23809== Memcheck, a memory error detector
==23809== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23809== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23809== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23809==
==23812== Memcheck, a memory error detector
==23812== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23812== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23812== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23812==
==23815== Memcheck, a memory error detector
==23815== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23815== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23815== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23815==
==23827== Memcheck, a memory error detector
==23827== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23827== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23827== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23827==
==23831== Memcheck, a memory error detector
==23831== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23831== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23831== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23831==
==23836== Memcheck, a memory error detector
==23836== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23836== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23836== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23836==
==23850== Memcheck, a memory error detector
==23850== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23850== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23850== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23850==
==23855== Memcheck, a memory error detector
==23855== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23855== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23855== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23855==
==23865== Memcheck, a memory error detector
==23865== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23865== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23865== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23865==
==23884== Memcheck, a memory error detector
==23884== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23884== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23884== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23884==
==23895== Memcheck, a memory error detector
==23895== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==23895== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==23895== Command: /usr/bin/node /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/node_modules/jest-worker/build/workers/processChild.js
==23895==
==23815== Conditional jump or move depends on uninitialised value(s)
==23815== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x982BBA: ??? (in /usr/bin/node)
==23815== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23815== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x978BB6: ??? (in /usr/bin/node)
==23815== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23815== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23815== by 0xB3987D: ??? (in /usr/bin/node)
==23815== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23815== by 0x140F6F8: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0xA5B4CCC: ???
==23815== by 0xA5BDBCD: ???
==23815== by 0xA5B04DC: ???
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0xA5B4CCC: ???
==23815== by 0xA5BDBCD: ???
==23815== by 0xA5B04DC: ???
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x13C733E: ??? (in /usr/bin/node)
==23815== by 0x145FBF0: ??? (in /usr/bin/node)
==23815== by 0x13B8ABA: ??? (in /usr/bin/node)
==23815== by 0x1391B82: ??? (in /usr/bin/node)
==23815== by 0xC12E40: ??? (in /usr/bin/node)
==23815== by 0xC13AE2: ??? (in /usr/bin/node)
==23815== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23815== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23815== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23815== by 0xB3987D: ??? (in /usr/bin/node)
==23815== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23815== by 0x140F6F8: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x1391C5B: ??? (in /usr/bin/node)
==23815== by 0x1391982: ??? (in /usr/bin/node)
==23815== by 0xC12896: ??? (in /usr/bin/node)
==23815== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23815== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23815== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23815== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23815== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23815== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23815== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23815== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23815== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23815== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23815== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23815== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23815== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23815==
==23815== Conditional jump or move depends on uninitialised value(s)
==23815== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x982CB2: ??? (in /usr/bin/node)
==23815== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23815== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x978BB6: ??? (in /usr/bin/node)
==23815== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23815== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23815== by 0xB3987D: ??? (in /usr/bin/node)
==23815== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23815== by 0x140F6F8: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0xA5B4CCC: ???
==23815== by 0xA5BDBCD: ???
==23815== by 0xA5B04DC: ???
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0xA5B4CCC: ???
==23815== by 0xA5BDBCD: ???
==23815== by 0xA5B04DC: ???
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x13C733E: ??? (in /usr/bin/node)
==23815== by 0x145FBF0: ??? (in /usr/bin/node)
==23815== by 0x13B8ABA: ??? (in /usr/bin/node)
==23815== by 0x1391B82: ??? (in /usr/bin/node)
==23815== by 0xC12E40: ??? (in /usr/bin/node)
==23815== by 0xC13AE2: ??? (in /usr/bin/node)
==23815== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23815== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23815== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23815== by 0xB3987D: ??? (in /usr/bin/node)
==23815== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23815== by 0x140F6F8: ??? (in /usr/bin/node)
==23815== by 0x139364F: ??? (in /usr/bin/node)
==23815== by 0x1391C5B: ??? (in /usr/bin/node)
==23815== by 0x1391982: ??? (in /usr/bin/node)
==23815== by 0xC12896: ??? (in /usr/bin/node)
==23815== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23815== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23815== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23815== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23815== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23815== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23815== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23815== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23815== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23815== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23815== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23815== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23815== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23815== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23815==
==23809== Conditional jump or move depends on uninitialised value(s)
==23809== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x982BBA: ??? (in /usr/bin/node)
==23809== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23809== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x978BB6: ??? (in /usr/bin/node)
==23809== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23809== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23809== by 0xB3987D: ??? (in /usr/bin/node)
==23809== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0xA5B4CCC: ???
==23809== by 0xA5BDBCD: ???
==23809== by 0xA5B04DC: ???
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0xA5B4CCC: ???
==23809== by 0xA5BDBCD: ???
==23809== by 0xA5B04DC: ???
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
==23809== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23809== by 0xB3987D: ??? (in /usr/bin/node)
==23809== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x1391C5B: ??? (in /usr/bin/node)
==23809== by 0x1391982: ??? (in /usr/bin/node)
==23809== by 0xC12896: ??? (in /usr/bin/node)
==23809== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23809== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23809== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23809== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23809== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23809== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23809== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23809== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809==
==23809== Conditional jump or move depends on uninitialised value(s)
==23809== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x982CB2: ??? (in /usr/bin/node)
==23809== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23809== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x978BB6: ??? (in /usr/bin/node)
==23809== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23809== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23809== by 0xB3987D: ??? (in /usr/bin/node)
==23809== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0xA5B4CCC: ???
==23809== by 0xA5BDBCD: ???
==23809== by 0xA5B04DC: ???
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0xA5B4CCC: ???
==23809== by 0xA5BDBCD: ???
==23809== by 0xA5B04DC: ???
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
==23809== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23809== by 0xB3987D: ??? (in /usr/bin/node)
==23809== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x1391C5B: ??? (in /usr/bin/node)
==23809== by 0x1391982: ??? (in /usr/bin/node)
==23809== by 0xC12896: ??? (in /usr/bin/node)
==23809== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23809== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23809== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23809== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23809== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23809== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23809== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23809== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809==
==23850== Conditional jump or move depends on uninitialised value(s)
==23850== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x982BBA: ??? (in /usr/bin/node)
==23850== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23850== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x978BB6: ??? (in /usr/bin/node)
==23850== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23850== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23850== by 0xB3987D: ??? (in /usr/bin/node)
==23850== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23850== by 0x140F6F8: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0xA5B32CC: ???
==23850== by 0xA5BC1CD: ???
==23850== by 0xA5AEADC: ???
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0xA5B32CC: ???
==23850== by 0xA5BC1CD: ???
==23850== by 0xA5AEADC: ???
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x13C733E: ??? (in /usr/bin/node)
==23850== by 0x145FBF0: ??? (in /usr/bin/node)
==23850== by 0x13B8ABA: ??? (in /usr/bin/node)
==23850== by 0x1391B82: ??? (in /usr/bin/node)
==23850== by 0xC12E40: ??? (in /usr/bin/node)
==23850== by 0xC13AE2: ??? (in /usr/bin/node)
==23850== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23850== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23850== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23850== by 0xB3987D: ??? (in /usr/bin/node)
==23850== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23850== by 0x140F6F8: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x1391C5B: ??? (in /usr/bin/node)
==23850== by 0x1391982: ??? (in /usr/bin/node)
==23850== by 0xC12896: ??? (in /usr/bin/node)
==23850== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23850== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23850== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23850== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23850== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23850== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23850== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23850== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23850== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23850== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23850== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23850== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23850== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23850==
==23850== Conditional jump or move depends on uninitialised value(s)
==23850== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x982CB2: ??? (in /usr/bin/node)
==23850== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23850== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x978BB6: ??? (in /usr/bin/node)
==23850== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23850== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23850== by 0xB3987D: ??? (in /usr/bin/node)
==23850== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23850== by 0x140F6F8: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0xA5B32CC: ???
==23850== by 0xA5BC1CD: ???
==23850== by 0xA5AEADC: ???
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0xA5B32CC: ???
==23850== by 0xA5BC1CD: ???
==23850== by 0xA5AEADC: ???
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x13C733E: ??? (in /usr/bin/node)
==23850== by 0x145FBF0: ??? (in /usr/bin/node)
==23850== by 0x13B8ABA: ??? (in /usr/bin/node)
==23850== by 0x1391B82: ??? (in /usr/bin/node)
==23850== by 0xC12E40: ??? (in /usr/bin/node)
==23850== by 0xC13AE2: ??? (in /usr/bin/node)
==23850== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23850== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23850== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23850== by 0xB3987D: ??? (in /usr/bin/node)
==23850== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23850== by 0x140F6F8: ??? (in /usr/bin/node)
==23850== by 0x139364F: ??? (in /usr/bin/node)
==23850== by 0x1391C5B: ??? (in /usr/bin/node)
==23850== by 0x1391982: ??? (in /usr/bin/node)
==23850== by 0xC12896: ??? (in /usr/bin/node)
==23850== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23850== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23850== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23850== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23850== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23850== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23850== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23850== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23850== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23850== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23850== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23850== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23850== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23850== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23850==
==23827== Conditional jump or move depends on uninitialised value(s)
==23827== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x982BBA: ??? (in /usr/bin/node)
==23827== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23827== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x978BB6: ??? (in /usr/bin/node)
==23827== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23827== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23827== by 0xB3987D: ??? (in /usr/bin/node)
==23827== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23827== by 0x140F6F8: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0xA5B32CC: ???
==23827== by 0xA5BC1CD: ???
==23827== by 0xA5AEADC: ???
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0xA5B32CC: ???
==23827== by 0xA5BC1CD: ???
==23827== by 0xA5AEADC: ???
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x13C733E: ??? (in /usr/bin/node)
==23827== by 0x145FBF0: ??? (in /usr/bin/node)
==23827== by 0x13B8ABA: ??? (in /usr/bin/node)
==23827== by 0x1391B82: ??? (in /usr/bin/node)
==23827== by 0xC12E40: ??? (in /usr/bin/node)
==23827== by 0xC13AE2: ??? (in /usr/bin/node)
==23827== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23827== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23827== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23827== by 0xB3987D: ??? (in /usr/bin/node)
==23827== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23827== by 0x140F6F8: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x1391C5B: ??? (in /usr/bin/node)
==23827== by 0x1391982: ??? (in /usr/bin/node)
==23827== by 0xC12896: ??? (in /usr/bin/node)
==23827== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23827== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23827== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23827== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23827== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23827== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23827== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23827== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23827== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23827== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23827== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23827== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23827== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23827==
==23827== Conditional jump or move depends on uninitialised value(s)
==23827== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x982CB2: ??? (in /usr/bin/node)
==23827== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23827== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x978BB6: ??? (in /usr/bin/node)
==23827== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23827== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23827== by 0xB3987D: ??? (in /usr/bin/node)
==23827== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23827== by 0x140F6F8: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0xA5B32CC: ???
==23827== by 0xA5BC1CD: ???
==23827== by 0xA5AEADC: ???
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0xA5B32CC: ???
==23827== by 0xA5BC1CD: ???
==23827== by 0xA5AEADC: ???
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x13C733E: ??? (in /usr/bin/node)
==23827== by 0x145FBF0: ??? (in /usr/bin/node)
==23827== by 0x13B8ABA: ??? (in /usr/bin/node)
==23827== by 0x1391B82: ??? (in /usr/bin/node)
==23827== by 0xC12E40: ??? (in /usr/bin/node)
==23827== by 0xC13AE2: ??? (in /usr/bin/node)
==23827== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23827== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23827== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23827== by 0xB3987D: ??? (in /usr/bin/node)
==23827== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23827== by 0x140F6F8: ??? (in /usr/bin/node)
==23827== by 0x139364F: ??? (in /usr/bin/node)
==23827== by 0x1391C5B: ??? (in /usr/bin/node)
==23827== by 0x1391982: ??? (in /usr/bin/node)
==23827== by 0xC12896: ??? (in /usr/bin/node)
==23827== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23827== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23827== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23827== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23827== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23827== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23827== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23827== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23827== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23827== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23827== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23827== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23827== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23827== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23827==
==23836== Conditional jump or move depends on uninitialised value(s)
==23836== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x982BBA: ??? (in /usr/bin/node)
==23836== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23836== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x978BB6: ??? (in /usr/bin/node)
==23836== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23836== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23836== by 0xB3987D: ??? (in /usr/bin/node)
==23836== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23836== by 0x140F6F8: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0xA5B4C0C: ???
==23836== by 0xA5BDB0D: ???
==23836== by 0xA5B041C: ???
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0xA5B4C0C: ???
==23836== by 0xA5BDB0D: ???
==23836== by 0xA5B041C: ???
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x13C733E: ??? (in /usr/bin/node)
==23836== by 0x145FBF0: ??? (in /usr/bin/node)
==23836== by 0x13B8ABA: ??? (in /usr/bin/node)
==23836== by 0x1391B82: ??? (in /usr/bin/node)
==23836== by 0xC12E40: ??? (in /usr/bin/node)
==23836== by 0xC13AE2: ??? (in /usr/bin/node)
==23836== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23836== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23836== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23836== by 0xB3987D: ??? (in /usr/bin/node)
==23836== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23836== by 0x140F6F8: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x1391C5B: ??? (in /usr/bin/node)
==23836== by 0x1391982: ??? (in /usr/bin/node)
==23836== by 0xC12896: ??? (in /usr/bin/node)
==23836== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23836== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23836== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23836== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23836== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23836== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23836== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23836== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23836== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23836== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23836== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23836== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23836== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23836==
==23836== Conditional jump or move depends on uninitialised value(s)
==23836== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x982CB2: ??? (in /usr/bin/node)
==23836== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23836== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x978BB6: ??? (in /usr/bin/node)
==23836== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23836== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23836== by 0xB3987D: ??? (in /usr/bin/node)
==23836== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23836== by 0x140F6F8: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0xA5B4C0C: ???
==23836== by 0xA5BDB0D: ???
==23836== by 0xA5B041C: ???
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0xA5B4C0C: ???
==23836== by 0xA5BDB0D: ???
==23836== by 0xA5B041C: ???
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x13C733E: ??? (in /usr/bin/node)
==23836== by 0x145FBF0: ??? (in /usr/bin/node)
==23836== by 0x13B8ABA: ??? (in /usr/bin/node)
==23836== by 0x1391B82: ??? (in /usr/bin/node)
==23836== by 0xC12E40: ??? (in /usr/bin/node)
==23836== by 0xC13AE2: ??? (in /usr/bin/node)
==23836== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23836== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23836== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23836== by 0xB3987D: ??? (in /usr/bin/node)
==23836== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23836== by 0x140F6F8: ??? (in /usr/bin/node)
==23836== by 0x139364F: ??? (in /usr/bin/node)
==23836== by 0x1391C5B: ??? (in /usr/bin/node)
==23836== by 0x1391982: ??? (in /usr/bin/node)
==23836== by 0xC12896: ??? (in /usr/bin/node)
==23836== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23836== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23836== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23836== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23836== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23836== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23836== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23836== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23836== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23836== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23836== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23836== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23836== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23836== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23836==
==23831== Conditional jump or move depends on uninitialised value(s)
==23831== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x982BBA: ??? (in /usr/bin/node)
==23831== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23831== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x978BB6: ??? (in /usr/bin/node)
==23831== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23831== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23831== by 0xB3987D: ??? (in /usr/bin/node)
==23831== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23831== by 0x140F6F8: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0xA5B4C0C: ???
==23831== by 0xA5BDB0D: ???
==23831== by 0xA5B041C: ???
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0xA5B4C0C: ???
==23831== by 0xA5BDB0D: ???
==23831== by 0xA5B041C: ???
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x13C733E: ??? (in /usr/bin/node)
==23831== by 0x145FBF0: ??? (in /usr/bin/node)
==23831== by 0x13B8ABA: ??? (in /usr/bin/node)
==23831== by 0x1391B82: ??? (in /usr/bin/node)
==23831== by 0xC12E40: ??? (in /usr/bin/node)
==23831== by 0xC13AE2: ??? (in /usr/bin/node)
==23831== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23831== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23831== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23831== by 0xB3987D: ??? (in /usr/bin/node)
==23831== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23831== by 0x140F6F8: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x1391C5B: ??? (in /usr/bin/node)
==23831== by 0x1391982: ??? (in /usr/bin/node)
==23831== by 0xC12896: ??? (in /usr/bin/node)
==23831== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23831== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23831== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23831== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23831== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23831== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23831== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23831== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23831== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23831== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23831== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23831== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23831== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23831==
==23831== Conditional jump or move depends on uninitialised value(s)
==23831== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x982CB2: ??? (in /usr/bin/node)
==23831== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23831== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x978BB6: ??? (in /usr/bin/node)
==23831== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23831== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23831== by 0xB3987D: ??? (in /usr/bin/node)
==23831== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23831== by 0x140F6F8: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0xA5B4C0C: ???
==23831== by 0xA5BDB0D: ???
==23831== by 0xA5B041C: ???
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0xA5B4C0C: ???
==23831== by 0xA5BDB0D: ???
==23831== by 0xA5B041C: ???
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x13C733E: ??? (in /usr/bin/node)
==23831== by 0x145FBF0: ??? (in /usr/bin/node)
==23831== by 0x13B8ABA: ??? (in /usr/bin/node)
==23831== by 0x1391B82: ??? (in /usr/bin/node)
==23831== by 0xC12E40: ??? (in /usr/bin/node)
==23831== by 0xC13AE2: ??? (in /usr/bin/node)
==23831== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23831== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23831== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23831== by 0xB3987D: ??? (in /usr/bin/node)
==23831== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23831== by 0x140F6F8: ??? (in /usr/bin/node)
==23831== by 0x139364F: ??? (in /usr/bin/node)
==23831== by 0x1391C5B: ??? (in /usr/bin/node)
==23831== by 0x1391982: ??? (in /usr/bin/node)
==23831== by 0xC12896: ??? (in /usr/bin/node)
==23831== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23831== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23831== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23831== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23831== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23831== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23831== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23831== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23831== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23831== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23831== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23831== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23831== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23831== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23831==
PASS tests/identifiers.test.js (18.616 s)
UserId
✓ cannot be invalid (140 ms)
✓ localpart is present (59 ms)
✓ server name is present (25 ms)
✓ user ID is not historical (8 ms)
✓ can read the user ID as a string (24 ms)
DeviceId
✓ can read the device ID as a string (10 ms)
RoomId
✓ cannot be invalid (20 ms)
✓ localpart is present (24 ms)
✓ server name is present (10 ms)
✓ can read the room ID as string (18 ms)
ServerName
✓ cannot be invalid (40 ms)
✓ host is present (20 ms)
✓ port can be optional (31 ms)
✓ server is not an IP literal (21 ms)
==23812== Conditional jump or move depends on uninitialised value(s)
==23812== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x982BBA: ??? (in /usr/bin/node)
==23812== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23812== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x978BB6: ??? (in /usr/bin/node)
==23812== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23812== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23812== by 0xB3987D: ??? (in /usr/bin/node)
==23812== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23812== by 0x140F6F8: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0xA5B4CCC: ???
==23812== by 0xA5BDBCD: ???
==23812== by 0xA5B04DC: ???
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0xA5B4CCC: ???
==23812== by 0xA5BDBCD: ???
==23812== by 0xA5B04DC: ???
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x13C733E: ??? (in /usr/bin/node)
==23812== by 0x145FBF0: ??? (in /usr/bin/node)
==23812== by 0x13B8ABA: ??? (in /usr/bin/node)
==23812== by 0x1391B82: ??? (in /usr/bin/node)
==23812== by 0xC12E40: ??? (in /usr/bin/node)
==23812== by 0xC13AE2: ??? (in /usr/bin/node)
==23812== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23812== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23812== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23812== by 0xB3987D: ??? (in /usr/bin/node)
==23812== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23812== by 0x140F6F8: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x1391C5B: ??? (in /usr/bin/node)
==23812== by 0x1391982: ??? (in /usr/bin/node)
==23812== by 0xC12896: ??? (in /usr/bin/node)
==23812== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23812== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23812== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23812== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23812== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23812== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23812== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23812== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23812== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23812== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23812== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23812== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23812== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23812==
==23812== Conditional jump or move depends on uninitialised value(s)
==23812== at 0x48B5905: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x982CB2: ??? (in /usr/bin/node)
==23812== by 0x98527A: report::WalkHandle(uv_handle_s*, void*) (in /usr/bin/node)
==23812== by 0x48AF76B: uv_walk (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x978BB6: ??? (in /usr/bin/node)
==23812== by 0x97B5B7: report::GetNodeReport(v8::Isolate*, node::Environment*, char const*, char const*, v8::Local<v8::Value>, std::ostream&) (in /usr/bin/node)
==23812== by 0x981817: report::GetReport(v8::FunctionCallbackInfo<v8::Value> const&) (in /usr/bin/node)
==23812== by 0xB3987D: ??? (in /usr/bin/node)
==23812== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23812== by 0x140F6F8: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0xA5B4CCC: ???
==23812== by 0xA5BDBCD: ???
==23812== by 0xA5B04DC: ???
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0xA5B4CCC: ???
==23812== by 0xA5BDBCD: ???
==23812== by 0xA5B04DC: ???
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x13C733E: ??? (in /usr/bin/node)
==23812== by 0x145FBF0: ??? (in /usr/bin/node)
==23812== by 0x13B8ABA: ??? (in /usr/bin/node)
==23812== by 0x1391B82: ??? (in /usr/bin/node)
==23812== by 0xC12E40: ??? (in /usr/bin/node)
==23812== by 0xC13AE2: ??? (in /usr/bin/node)
==23812== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23812== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23812== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23812== by 0xB3987D: ??? (in /usr/bin/node)
==23812== by 0xB3A377: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23812== by 0x140F6F8: ??? (in /usr/bin/node)
==23812== by 0x139364F: ??? (in /usr/bin/node)
==23812== by 0x1391C5B: ??? (in /usr/bin/node)
==23812== by 0x1391982: ??? (in /usr/bin/node)
==23812== by 0xC12896: ??? (in /usr/bin/node)
==23812== by 0xC13840: v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*) (in /usr/bin/node)
==23812== by 0xAFC007: v8::Function::Call(v8::Local<v8::Context>, v8::Local<v8::Value>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23812== by 0x808A10: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23812== by 0x80947D: node::InternalMakeCallback(node::Environment*, v8::Local<v8::Object>, v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*, node::async_context) (in /usr/bin/node)
==23812== by 0x81DB14: node::AsyncWrap::MakeCallback(v8::Local<v8::Function>, int, v8::Local<v8::Value>*) (in /usr/bin/node)
==23812== by 0x9DBACF: node::StreamBase::CallJSOnreadMethod(long, v8::Local<v8::ArrayBuffer>, unsigned long, node::StreamBase::StreamBaseJSChecks) (in /usr/bin/node)
==23812== by 0x9DCD67: node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) (in /usr/bin/node)
==23812== by 0x9E56FF: node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) (in /usr/bin/node)
==23812== by 0x48C1969: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x48C1FC7: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23812== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23812== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23812== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23812== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23812== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23812==
PASS tests/events.test.js (18.229 s)
HistoryVisibility
✓ has the correct variant values (95 ms)
PASS tests/sync_events.test.js (18.184 s)
DeviceLists
✓ can be empty (221 ms)
✓ can be coerced empty (47 ms)
✓ returns the correct `changed` and `left` (140 ms)
PASS tests/requests.test.js (18.852 s)
RequestType
✓ has the correct variant values (116 ms)
KeysUploadRequest
✓ cannot be instantiated (57 ms)
KeysQueryRequest
✓ cannot be instantiated (12 ms)
KeysClaimRequest
✓ cannot be instantiated (24 ms)
ToDeviceRequest
✓ cannot be instantiated (34 ms)
SignatureUploadRequest
✓ cannot be instantiated (23 ms)
RoomMessageRequest
✓ cannot be instantiated (22 ms)
KeysBackupRequest
✓ cannot be instantiated (23 ms)
PASS tests/responses.test.js (17.825 s)
DecryptedRoomEvent
✓ cannot be instantiated (111 ms)
PASS tests/encryption.test.js (19.046 s)
EncryptionAlgorithm
✓ has the correct variant values (85 ms)
EncryptionSettings
✓ can be instantiated with default values (97 ms)
✓ checks the history visibility values (60 ms)
VerificationState
✓ has the correct variant values (18 ms)
==23809== Thread 16 tokio-runtime-wo:
==23809== Invalid read of size 8
==23809== at 0x14E947E5: <ruma_common::identifiers::user_id::OwnedUserId as core::convert::AsRef<ruma_common::identifiers::user_id::UserId>>::as_ref (user_id.rs:20)
==23809== by 0x14000B35: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:82)
==23809== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==23809== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==23809== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x14069FCF: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x1407FA9A: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x140666D5: std::panicking::try (panicking.rs:456)
==23809== by 0x143395E9: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x14095277: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x1409AAC6: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x140A7842: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x1428147F: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFE11: tokio::runtime::task::LocalNotified<S>::run (mod.rs:376)
==23809== by 0x1507FE61: tokio::runtime::thread_pool::worker::Context::run_task::{{closure}} (worker.rs:435)
==23809== by 0x1507308F: tokio::coop::with_budget::{{closure}} (coop.rs:102)
==23809== by 0x150990D7: std::thread::local::LocalKey<T>::try_with (local.rs:445)
==23809== by 0x1509772D: std::thread::local::LocalKey<T>::with (local.rs:421)
==23809== by 0x1507FD6F: tokio::runtime::thread_pool::worker::Context::run_task (coop.rs:95)
==23809== by 0x1507F5F5: tokio::runtime::thread_pool::worker::Context::run (worker.rs:401)
==23809== by 0x1507F3E2: tokio::runtime::thread_pool::worker::run::{{closure}} (worker.rs:386)
==23809== by 0x1509C306: tokio::macros::scoped_tls::ScopedKey<T>::set (scoped_tls.rs:61)
==23809== by 0x1507F322: tokio::runtime::thread_pool::worker::run (worker.rs:383)
==23809== by 0x1507F16A: tokio::runtime::thread_pool::worker::Launch::launch::{{closure}} (worker.rs:362)
==23809== by 0x1507E032: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll (task.rs:42)
==23809== by 0x15094404: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x1509DDFF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x15094327: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x15068AED: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x15079FC2: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE121: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD55F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B33A: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x15068938: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x15066EE2: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x150669B3: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x150D4741: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFED3: tokio::runtime::task::UnownedTask<S>::run (mod.rs:413)
==23809== by 0x1507B5F6: tokio::runtime::blocking::pool::Task::run (pool.rs:91)
==23809== by 0x1507DDD4: tokio::runtime::blocking::pool::Inner::run (pool.rs:325)
==23809== by 0x1507D186: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} (pool.rs:300)
==23809== by 0x150B3C5D: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
==23809== by 0x150BDC71: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (mod.rs:501)
==23809== by 0x15079FA1: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE1B3: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD93F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B171: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x150BD9EE: std::thread::Builder::spawn_unchecked_::{{closure}} (mod.rs:500)
==23809== by 0x1506BDFE: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
==23809== by 0x15110182: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
==23809== by 0x563F54C: start_thread (pthread_create.c:442)
==23809== by 0x56C4873: clone (clone.S:100)
==23809== Address 0x12fc4870 is 0 bytes inside a block of size 16 free'd
==23809== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==23809== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==23809== by 0x142C0CEF: alloc::alloc::box_free (alloc.rs:342)
==23809== by 0x14279D53: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==23809== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==23809== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==23809== by 0x85DB8C: ??? (in /usr/bin/node)
==23809== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==23809== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==23809== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809== Block was alloc'd at
==23809== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==23809== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==23809== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==23809== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==23809== by 0x14343F2D: napi::bindgen_runtime::callback_info::CallbackInfo<_>::_construct (boxed.rs:200)
==23809== by 0x14348DFF: napi::bindgen_runtime::callback_info::CallbackInfo<_>::construct (callback_info.rs:102)
==23809== by 0x1436612B: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new::{{closure}} (identifiers.rs:23)
==23809== by 0x142F6E16: core::result::Result<T,E>::and_then (result.rs:1332)
==23809== by 0x14365EBC: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new (identifiers.rs:23)
==23809== by 0x885016: ??? (in /usr/bin/node)
==23809== by 0xB3A14D: ??? (in /usr/bin/node)
==23809== by 0xB3A3CC: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139116B: ??? (in /usr/bin/node)
==23809== by 0x14AD53E: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
==23809== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23809== by 0x80860B: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23809== by 0x808CE4: node::InternalCallbackScope::~InternalCallbackScope() (in /usr/bin/node)
==23809== by 0x8DB2E1: node::fs::FSReqPromise<node::AliasedBufferBase<double, v8::Float64Array, void> >::Resolve(v8::Local<v8::Value>) (in /usr/bin/node)
==23809== by 0x8E6736: node::fs::AfterStringPath(uv_fs_s*) (in /usr/bin/node)
==23809== by 0x48B3521: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48AA92C: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809==
==23809== Invalid read of size 8
==23809== at 0x14E947E8: <ruma_common::identifiers::user_id::OwnedUserId as core::convert::AsRef<ruma_common::identifiers::user_id::UserId>>::as_ref (user_id.rs:20)
==23809== by 0x14000B35: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:82)
==23809== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==23809== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==23809== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x14069FCF: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x1407FA9A: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x140666D5: std::panicking::try (panicking.rs:456)
==23809== by 0x143395E9: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x14095277: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x1409AAC6: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x140A7842: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x1428147F: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFE11: tokio::runtime::task::LocalNotified<S>::run (mod.rs:376)
==23809== by 0x1507FE61: tokio::runtime::thread_pool::worker::Context::run_task::{{closure}} (worker.rs:435)
==23809== by 0x1507308F: tokio::coop::with_budget::{{closure}} (coop.rs:102)
==23809== by 0x150990D7: std::thread::local::LocalKey<T>::try_with (local.rs:445)
==23809== by 0x1509772D: std::thread::local::LocalKey<T>::with (local.rs:421)
==23809== by 0x1507FD6F: tokio::runtime::thread_pool::worker::Context::run_task (coop.rs:95)
==23809== by 0x1507F5F5: tokio::runtime::thread_pool::worker::Context::run (worker.rs:401)
==23809== by 0x1507F3E2: tokio::runtime::thread_pool::worker::run::{{closure}} (worker.rs:386)
==23809== by 0x1509C306: tokio::macros::scoped_tls::ScopedKey<T>::set (scoped_tls.rs:61)
==23809== by 0x1507F322: tokio::runtime::thread_pool::worker::run (worker.rs:383)
==23809== by 0x1507F16A: tokio::runtime::thread_pool::worker::Launch::launch::{{closure}} (worker.rs:362)
==23809== by 0x1507E032: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll (task.rs:42)
==23809== by 0x15094404: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x1509DDFF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x15094327: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x15068AED: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x15079FC2: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE121: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD55F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B33A: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x15068938: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x15066EE2: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x150669B3: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x150D4741: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFED3: tokio::runtime::task::UnownedTask<S>::run (mod.rs:413)
==23809== by 0x1507B5F6: tokio::runtime::blocking::pool::Task::run (pool.rs:91)
==23809== by 0x1507DDD4: tokio::runtime::blocking::pool::Inner::run (pool.rs:325)
==23809== by 0x1507D186: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} (pool.rs:300)
==23809== by 0x150B3C5D: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
==23809== by 0x150BDC71: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (mod.rs:501)
==23809== by 0x15079FA1: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE1B3: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD93F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B171: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x150BD9EE: std::thread::Builder::spawn_unchecked_::{{closure}} (mod.rs:500)
==23809== by 0x1506BDFE: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
==23809== by 0x15110182: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
==23809== by 0x563F54C: start_thread (pthread_create.c:442)
==23809== by 0x56C4873: clone (clone.S:100)
==23809== Address 0x12fc4878 is 8 bytes inside a block of size 16 free'd
==23809== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==23809== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==23809== by 0x142C0CEF: alloc::alloc::box_free (alloc.rs:342)
==23809== by 0x14279D53: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==23809== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==23809== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==23809== by 0x85DB8C: ??? (in /usr/bin/node)
==23809== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==23809== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==23809== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809== Block was alloc'd at
==23809== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==23809== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==23809== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==23809== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==23809== by 0x14343F2D: napi::bindgen_runtime::callback_info::CallbackInfo<_>::_construct (boxed.rs:200)
==23809== by 0x14348DFF: napi::bindgen_runtime::callback_info::CallbackInfo<_>::construct (callback_info.rs:102)
==23809== by 0x1436612B: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new::{{closure}} (identifiers.rs:23)
==23809== by 0x142F6E16: core::result::Result<T,E>::and_then (result.rs:1332)
==23809== by 0x14365EBC: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new (identifiers.rs:23)
==23809== by 0x885016: ??? (in /usr/bin/node)
==23809== by 0xB3A14D: ??? (in /usr/bin/node)
==23809== by 0xB3A3CC: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139116B: ??? (in /usr/bin/node)
==23809== by 0x14AD53E: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
==23809== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23809== by 0x80860B: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23809== by 0x808CE4: node::InternalCallbackScope::~InternalCallbackScope() (in /usr/bin/node)
==23809== by 0x8DB2E1: node::fs::FSReqPromise<node::AliasedBufferBase<double, v8::Float64Array, void> >::Resolve(v8::Local<v8::Value>) (in /usr/bin/node)
==23809== by 0x8E6736: node::fs::AfterStringPath(uv_fs_s*) (in /usr/bin/node)
==23809== by 0x48B3521: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48AA92C: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809==
==23809== Invalid read of size 8
==23809== at 0x14F1C475: <ruma_common::identifiers::device_id::OwnedDeviceId as core::convert::AsRef<ruma_common::identifiers::device_id::DeviceId>>::as_ref (device_id.rs:31)
==23809== by 0x14000BA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:83)
==23809== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==23809== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==23809== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x14069FCF: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x1407FA9A: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x140666D5: std::panicking::try (panicking.rs:456)
==23809== by 0x143395E9: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x14095277: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x1409AAC6: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x140A7842: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x1428147F: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFE11: tokio::runtime::task::LocalNotified<S>::run (mod.rs:376)
==23809== by 0x1507FE61: tokio::runtime::thread_pool::worker::Context::run_task::{{closure}} (worker.rs:435)
==23809== by 0x1507308F: tokio::coop::with_budget::{{closure}} (coop.rs:102)
==23809== by 0x150990D7: std::thread::local::LocalKey<T>::try_with (local.rs:445)
==23809== by 0x1509772D: std::thread::local::LocalKey<T>::with (local.rs:421)
==23809== by 0x1507FD6F: tokio::runtime::thread_pool::worker::Context::run_task (coop.rs:95)
==23809== by 0x1507F5F5: tokio::runtime::thread_pool::worker::Context::run (worker.rs:401)
==23809== by 0x1507F3E2: tokio::runtime::thread_pool::worker::run::{{closure}} (worker.rs:386)
==23809== by 0x1509C306: tokio::macros::scoped_tls::ScopedKey<T>::set (scoped_tls.rs:61)
==23809== by 0x1507F322: tokio::runtime::thread_pool::worker::run (worker.rs:383)
==23809== by 0x1507F16A: tokio::runtime::thread_pool::worker::Launch::launch::{{closure}} (worker.rs:362)
==23809== by 0x1507E032: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll (task.rs:42)
==23809== by 0x15094404: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x1509DDFF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x15094327: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x15068AED: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x15079FC2: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE121: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD55F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B33A: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x15068938: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x15066EE2: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x150669B3: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x150D4741: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFED3: tokio::runtime::task::UnownedTask<S>::run (mod.rs:413)
==23809== by 0x1507B5F6: tokio::runtime::blocking::pool::Task::run (pool.rs:91)
==23809== by 0x1507DDD4: tokio::runtime::blocking::pool::Inner::run (pool.rs:325)
==23809== by 0x1507D186: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} (pool.rs:300)
==23809== by 0x150B3C5D: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
==23809== by 0x150BDC71: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (mod.rs:501)
==23809== by 0x15079FA1: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE1B3: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD93F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B171: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x150BD9EE: std::thread::Builder::spawn_unchecked_::{{closure}} (mod.rs:500)
==23809== by 0x1506BDFE: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
==23809== by 0x15110182: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
==23809== by 0x563F54C: start_thread (pthread_create.c:442)
==23809== by 0x56C4873: clone (clone.S:100)
==23809== Address 0x13180b30 is 0 bytes inside a block of size 16 free'd
==23809== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x142B634A: alloc::alloc::dealloc (alloc.rs:107)
==23809== by 0x142C2B9A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==23809== by 0x142B85DF: alloc::alloc::box_free (alloc.rs:342)
==23809== by 0x1427A063: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::DeviceId>> (mod.rs:486)
==23809== by 0x140F62DF: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==23809== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==23809== by 0x85DB8C: ??? (in /usr/bin/node)
==23809== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==23809== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==23809== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809== Block was alloc'd at
==23809== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x142B616B: alloc::alloc::alloc (alloc.rs:89)
==23809== by 0x142B61F6: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==23809== by 0x142C2FD9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==23809== by 0x142B60CC: alloc::alloc::exchange_malloc (alloc.rs:320)
==23809== Invalid read of size 8
==23809== at 0x484FA0E: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14FCA026: core::intrinsics::copy_nonoverlapping (intrinsics.rs:2135)
==23809== by 0x14E336AC: alloc::sync::Arc<[T]>::copy_from_slice (sync.rs:1249)
==23809== by 0x14E39A33: <alloc::sync::Arc<[T]> as alloc::sync::ArcFromSlice<T>>::from_slice (sync.rs:1323)
==23809== by 0x14E3A903: <alloc::sync::Arc<[T]> as core::convert::From<&[T]>>::from (sync.rs:2458)
==23809== by 0x14E3761E: <alloc::sync::Arc<str> as core::convert::From<&str>>::from (sync.rs:2476)
==23809== by 0x14E5FE7B: ruma_common::identifiers::user_id::<impl core::convert::From<&ruma_common::identifiers::user_id::UserId> for alloc::sync::Arc<ruma_common::identifiers::user_id::UserId>>::from (user_id.rs:20)
==23809== by 0x14A60E23: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x149C4E05: matrix_sdk_crypto::olm::account::ReadOnlyAccount::new (account.rs:495)
==23809== by 0x140BFC0B: matrix_sdk_crypto::machine::OlmMachine::with_store::{{closure}} (machine.rs:235)
==23809== by 0x1435D81E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14000CA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:85)
==23809== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==23809== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==23809== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x14069FCF: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x1407FA9A: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x140666D5: std::panicking::try (panicking.rs:456)
==23809== by 0x143395E9: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x14095277: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x1409AAC6: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x140A7842: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x1428147F: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFE11: tokio::runtime::task::LocalNotified<S>::run (mod.rs:376)
==23809== by 0x1507FE61: tokio::runtime::thread_pool::worker::Context::run_task::{{closure}} (worker.rs:435)
==23809== by 0x1507308F: tokio::coop::with_budget::{{closure}} (coop.rs:102)
==23809== by 0x150990D7: std::thread::local::LocalKey<T>::try_with (local.rs:445)
==23809== by 0x1509772D: std::thread::local::LocalKey<T>::with (local.rs:421)
==23809== by 0x1507FD6F: tokio::runtime::thread_pool::worker::Context::run_task (coop.rs:95)
==23809== by 0x1507F5F5: tokio::runtime::thread_pool::worker::Context::run (worker.rs:401)
==23809== by 0x1507F3E2: tokio::runtime::thread_pool::worker::run::{{closure}} (worker.rs:386)
==23809== by 0x1509C306: tokio::macros::scoped_tls::ScopedKey<T>::set (scoped_tls.rs:61)
==23809== by 0x1507F322: tokio::runtime::thread_pool::worker::run (worker.rs:383)
==23809== by 0x1507F16A: tokio::runtime::thread_pool::worker::Launch::launch::{{closure}} (worker.rs:362)
==23809== by 0x1507E032: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll (task.rs:42)
==23809== by 0x15094404: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x1509DDFF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x15094327: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x15068AED: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x15079FC2: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE121: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD55F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B33A: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x15068938: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x15066EE2: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x150669B3: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x150D4741: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFED3: tokio::runtime::task::UnownedTask<S>::run (mod.rs:413)
==23809== by 0x1507B5F6: tokio::runtime::blocking::pool::Task::run (pool.rs:91)
==23809== by 0x1507DDD4: tokio::runtime::blocking::pool::Inner::run (pool.rs:325)
==23809== by 0x1507D186: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} (pool.rs:300)
==23809== by 0x150B3C5D: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
==23809== by 0x150BDC71: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (mod.rs:501)
==23809== by 0x15079FA1: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE1B3: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD93F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B171: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x150BD9EE: std::thread::Builder::spawn_unchecked_::{{closure}} (mod.rs:500)
==23809== by 0x1506BDFE: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
==23809== by 0x15110182: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
==23809== by 0x563F54C: start_thread (pthread_create.c:442)
==23809== by 0x56C4873: clone (clone.S:100)
==23809== Address 0x12fc46b0 is 0 bytes inside a block of size 12 free'd
==23809== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14E0735A: alloc::alloc::dealloc (alloc.rs:107)
==23809== by 0x14E0B68A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==23809== by 0x14E07FE4: alloc::alloc::box_free (alloc.rs:342)
==23809== by 0x14F2DF1F: core::ptr::drop_in_place<alloc::boxed::Box<ruma_common::identifiers::user_id::UserId>> (mod.rs:486)
==23809== by 0x14F2AB1A: core::ptr::drop_in_place<ruma_common::identifiers::user_id::OwnedUserId> (mod.rs:486)
==23809== by 0x1427769A: core::ptr::drop_in_place<matrix_sdk_crypto_nodejs::identifiers::UserId> (mod.rs:486)
==23809== by 0x14279D25: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==23809== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==23809== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==23809== by 0x85DB8C: ??? (in /usr/bin/node)
==23809== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==23809== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==23809== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809== Block was alloc'd at
==23809== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14F6840B: alloc::alloc::alloc (alloc.rs:89)
==23809== by 0x14F68496: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==23809== by 0x14F686B9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==23809== by 0x14F67428: alloc::raw_vec::RawVec<T,A>::allocate_in (raw_vec.rs:185)
==23809== by 0x14F6769C: alloc::raw_vec::RawVec<T,A>::with_capacity_in (raw_vec.rs:131)
==23809== by 0x14DA93BE: alloc::raw_vec::RawVec<T>::with_capacity (raw_vec.rs:93)
==23809== by 0x14F3CD7D: <alloc::boxed::Box<[T]> as core::convert::From<&[T]>>::from (boxed.rs:1433)
==23809== by 0x14F3B515: <alloc::boxed::Box<str> as core::convert::From<&str>>::from (boxed.rs:1475)
==23809== by 0x14E02822: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x14E9478C: ruma_common::identifiers::user_id::OwnedUserId::from_ref (user_id.rs:20)
==23809== by 0x14E94DF2: <ruma_common::identifiers::user_id::UserId as alloc::borrow::ToOwned>::to_owned (user_id.rs:20)
==23809== by 0x14E95046: ruma_common::identifiers::user_id::UserId::parse (user_id.rs:20)
==23809== by 0x14365B02: matrix_sdk_crypto_nodejs::identifiers::UserId::new (identifiers.rs:28)
==23809== by 0x14365FE1: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new::{{closure}} (identifiers.rs:23)
==23809== by 0x142F6E16: core::result::Result<T,E>::and_then (result.rs:1332)
==23809== by 0x14365EBC: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new (identifiers.rs:23)
==23809== by 0x885016: ??? (in /usr/bin/node)
==23809== by 0xB3A14D: ??? (in /usr/bin/node)
==23809== by 0xB3A3CC: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139116B: ??? (in /usr/bin/node)
==23809== by 0x14AD53E: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
==23809== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23809== by 0x80860B: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23809== by 0x808CE4: node::InternalCallbackScope::~InternalCallbackScope() (in /usr/bin/node)
==23809== by 0x8DB2E1: node::fs::FSReqPromise<node::AliasedBufferBase<double, v8::Float64Array, void> >::Resolve(v8::Local<v8::Value>) (in /usr/bin/node)
==23809== by 0x8E6736: node::fs::AfterStringPath(uv_fs_s*) (in /usr/bin/node)
==23809== by 0x48B3521: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48AA92C: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809==
==23809== Invalid read of size 2
==23809== at 0x484FA60: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14FCA026: core::intrinsics::copy_nonoverlapping (intrinsics.rs:2135)
==23809== by 0x14E336AC: alloc::sync::Arc<[T]>::copy_from_slice (sync.rs:1249)
==23809== by 0x14E39A33: <alloc::sync::Arc<[T]> as alloc::sync::ArcFromSlice<T>>::from_slice (sync.rs:1323)
==23809== by 0x14E3A903: <alloc::sync::Arc<[T]> as core::convert::From<&[T]>>::from (sync.rs:2458)
==23809== by 0x14E3761E: <alloc::sync::Arc<str> as core::convert::From<&str>>::from (sync.rs:2476)
==23809== by 0x14E5FE7B: ruma_common::identifiers::user_id::<impl core::convert::From<&ruma_common::identifiers::user_id::UserId> for alloc::sync::Arc<ruma_common::identifiers::user_id::UserId>>::from (user_id.rs:20)
==23809== by 0x14A60E23: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x149C4E05: matrix_sdk_crypto::olm::account::ReadOnlyAccount::new (account.rs:495)
==23809== by 0x140BFC0B: matrix_sdk_crypto::machine::OlmMachine::with_store::{{closure}} (machine.rs:235)
==23809== by 0x1435D81E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14000CA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:85)
==23809== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==23809== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==23809== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x14069FCF: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x1407FA9A: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x140666D5: std::panicking::try (panicking.rs:456)
==23809== by 0x143395E9: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x14095277: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x1409AAC6: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x140A7842: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x1428147F: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFE11: tokio::runtime::task::LocalNotified<S>::run (mod.rs:376)
==23809== by 0x1507FE61: tokio::runtime::thread_pool::worker::Context::run_task::{{closure}} (worker.rs:435)
==23809== by 0x1507308F: tokio::coop::with_budget::{{closure}} (coop.rs:102)
==23809== by 0x150990D7: std::thread::local::LocalKey<T>::try_with (local.rs:445)
==23809== by 0x1509772D: std::thread::local::LocalKey<T>::with (local.rs:421)
==23809== by 0x1507FD6F: tokio::runtime::thread_pool::worker::Context::run_task (coop.rs:95)
==23809== by 0x1507F5F5: tokio::runtime::thread_pool::worker::Context::run (worker.rs:401)
==23809== by 0x1507F3E2: tokio::runtime::thread_pool::worker::run::{{closure}} (worker.rs:386)
==23809== by 0x1509C306: tokio::macros::scoped_tls::ScopedKey<T>::set (scoped_tls.rs:61)
==23809== by 0x1507F322: tokio::runtime::thread_pool::worker::run (worker.rs:383)
==23809== by 0x1507F16A: tokio::runtime::thread_pool::worker::Launch::launch::{{closure}} (worker.rs:362)
==23809== by 0x1507E032: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll (task.rs:42)
==23809== by 0x15094404: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x1509DDFF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x15094327: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x15068AED: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x15079FC2: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE121: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD55F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B33A: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x15068938: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x15066EE2: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x150669B3: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x150D4741: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFED3: tokio::runtime::task::UnownedTask<S>::run (mod.rs:413)
==23809== by 0x1507B5F6: tokio::runtime::blocking::pool::Task::run (pool.rs:91)
==23809== by 0x1507DDD4: tokio::runtime::blocking::pool::Inner::run (pool.rs:325)
==23809== by 0x1507D186: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} (pool.rs:300)
==23809== by 0x150B3C5D: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
==23809== by 0x150BDC71: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (mod.rs:501)
==23809== by 0x15079FA1: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE1B3: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD93F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B171: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x150BD9EE: std::thread::Builder::spawn_unchecked_::{{closure}} (mod.rs:500)
==23809== by 0x1506BDFE: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
==23809== by 0x15110182: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
==23809== by 0x563F54C: start_thread (pthread_create.c:442)
==23809== by 0x56C4873: clone (clone.S:100)
==23809== Address 0x12fc46b8 is 8 bytes inside a block of size 12 free'd
==23809== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14E0735A: alloc::alloc::dealloc (alloc.rs:107)
==23809== by 0x14E0B68A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==23809== by 0x14E07FE4: alloc::alloc::box_free (alloc.rs:342)
==23809== by 0x14F2DF1F: core::ptr::drop_in_place<alloc::boxed::Box<ruma_common::identifiers::user_id::UserId>> (mod.rs:486)
==23809== by 0x14F2AB1A: core::ptr::drop_in_place<ruma_common::identifiers::user_id::OwnedUserId> (mod.rs:486)
==23809== by 0x1427769A: core::ptr::drop_in_place<matrix_sdk_crypto_nodejs::identifiers::UserId> (mod.rs:486)
==23809== by 0x14279D25: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::UserId>> (mod.rs:486)
==23809== by 0x140F6C9F: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==23809== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==23809== by 0x85DB8C: ??? (in /usr/bin/node)
==23809== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==23809== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==23809== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809== Block was alloc'd at
==23809== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14F6840B: alloc::alloc::alloc (alloc.rs:89)
==23809== by 0x14F68496: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==23809== by 0x14F686B9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==23809== by 0x14F67428: alloc::raw_vec::RawVec<T,A>::allocate_in (raw_vec.rs:185)
==23809== by 0x14F6769C: alloc::raw_vec::RawVec<T,A>::with_capacity_in (raw_vec.rs:131)
==23809== by 0x14DA93BE: alloc::raw_vec::RawVec<T>::with_capacity (raw_vec.rs:93)
==23809== by 0x14F3CD7D: <alloc::boxed::Box<[T]> as core::convert::From<&[T]>>::from (boxed.rs:1433)
==23809== by 0x14F3B515: <alloc::boxed::Box<str> as core::convert::From<&str>>::from (boxed.rs:1475)
==23809== by 0x14E02822: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x14E9478C: ruma_common::identifiers::user_id::OwnedUserId::from_ref (user_id.rs:20)
==23809== by 0x14E94DF2: <ruma_common::identifiers::user_id::UserId as alloc::borrow::ToOwned>::to_owned (user_id.rs:20)
==23809== by 0x14E95046: ruma_common::identifiers::user_id::UserId::parse (user_id.rs:20)
==23809== by 0x14365B02: matrix_sdk_crypto_nodejs::identifiers::UserId::new (identifiers.rs:28)
==23809== by 0x14365FE1: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new::{{closure}} (identifiers.rs:23)
==23809== by 0x142F6E16: core::result::Result<T,E>::and_then (result.rs:1332)
==23809== by 0x14365EBC: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__UserId__1::__napi__new (identifiers.rs:23)
==23809== by 0x885016: ??? (in /usr/bin/node)
==23809== by 0xB3A14D: ??? (in /usr/bin/node)
==23809== by 0xB3A3CC: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139116B: ??? (in /usr/bin/node)
==23809== by 0x14AD53E: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
==23809== by 0xC13C28: v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandle<v8::internal::Object>*) (in /usr/bin/node)
==23809== by 0xC437A2: v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0xC43A91: v8::internal::MicrotaskQueue::PerformCheckpointInternal(v8::Isolate*) (in /usr/bin/node)
==23809== by 0x80860B: node::InternalCallbackScope::Close() (in /usr/bin/node)
==23809== by 0x808CE4: node::InternalCallbackScope::~InternalCallbackScope() (in /usr/bin/node)
==23809== by 0x8DB2E1: node::fs::FSReqPromise<node::AliasedBufferBase<double, v8::Float64Array, void> >::Resolve(v8::Local<v8::Value>) (in /usr/bin/node)
==23809== by 0x8E6736: node::fs::AfterStringPath(uv_fs_s*) (in /usr/bin/node)
==23809== by 0x48B3521: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48AA92C: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48C6D0D: ??? (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x48B0437: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809==
==23809== Invalid read of size 1
==23809== at 0x484FA90: memmove (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14FCA026: core::intrinsics::copy_nonoverlapping (intrinsics.rs:2135)
==23809== by 0x14E336AC: alloc::sync::Arc<[T]>::copy_from_slice (sync.rs:1249)
==23809== by 0x14E39A33: <alloc::sync::Arc<[T]> as alloc::sync::ArcFromSlice<T>>::from_slice (sync.rs:1323)
==23809== by 0x14E3A903: <alloc::sync::Arc<[T]> as core::convert::From<&[T]>>::from (sync.rs:2458)
==23809== by 0x14E3761E: <alloc::sync::Arc<str> as core::convert::From<&str>>::from (sync.rs:2476)
==23809== by 0x14E5FEEB: ruma_common::identifiers::device_id::<impl core::convert::From<&ruma_common::identifiers::device_id::DeviceId> for alloc::sync::Arc<ruma_common::identifiers::device_id::DeviceId>>::from (device_id.rs:31)
==23809== by 0x14A95BB3: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x149C4E3E: matrix_sdk_crypto::olm::account::ReadOnlyAccount::new (account.rs:496)
==23809== by 0x140BFC0B: matrix_sdk_crypto::machine::OlmMachine::with_store::{{closure}} (machine.rs:235)
==23809== by 0x1435D81E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14000CA5: matrix_sdk_crypto_nodejs::machine::OlmMachine::initialize::{{closure}} (machine.rs:85)
==23809== by 0x1435905E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x14114B05: matrix_sdk_crypto_nodejs::machine::__napi_impl_helper__OlmMachine__5::__napi__initialize::{{closure}}::{{closure}} (machine.rs:29)
==23809== by 0x1435737E: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x141FB0D2: napi::promise::resolve_from_future::{{closure}} (promise.rs:77)
==23809== by 0x1435641A: <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll (mod.rs:91)
==23809== by 0x1420DE33: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x13FBA2FF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x1420D6F6: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x14096E19: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x14083932: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x14069FCF: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x1407FA9A: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x140666D5: std::panicking::try (panicking.rs:456)
==23809== by 0x143395E9: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x14095277: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x1409AAC6: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x140A7842: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x1428147F: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFE11: tokio::runtime::task::LocalNotified<S>::run (mod.rs:376)
==23809== by 0x1507FE61: tokio::runtime::thread_pool::worker::Context::run_task::{{closure}} (worker.rs:435)
==23809== by 0x1507308F: tokio::coop::with_budget::{{closure}} (coop.rs:102)
==23809== by 0x150990D7: std::thread::local::LocalKey<T>::try_with (local.rs:445)
==23809== by 0x1509772D: std::thread::local::LocalKey<T>::with (local.rs:421)
==23809== by 0x1507FD6F: tokio::runtime::thread_pool::worker::Context::run_task (coop.rs:95)
==23809== by 0x1507F5F5: tokio::runtime::thread_pool::worker::Context::run (worker.rs:401)
==23809== by 0x1507F3E2: tokio::runtime::thread_pool::worker::run::{{closure}} (worker.rs:386)
==23809== by 0x1509C306: tokio::macros::scoped_tls::ScopedKey<T>::set (scoped_tls.rs:61)
==23809== by 0x1507F322: tokio::runtime::thread_pool::worker::run (worker.rs:383)
==23809== by 0x1507F16A: tokio::runtime::thread_pool::worker::Launch::launch::{{closure}} (worker.rs:362)
==23809== by 0x1507E032: <tokio::runtime::blocking::task::BlockingTask<T> as core::future::future::Future>::poll (task.rs:42)
==23809== by 0x15094404: tokio::runtime::task::core::CoreStage<T>::poll::{{closure}} (core.rs:165)
==23809== by 0x1509DDFF: tokio::loom::std::unsafe_cell::UnsafeCell<T>::with_mut (unsafe_cell.rs:14)
==23809== by 0x15094327: tokio::runtime::task::core::CoreStage<T>::poll (core.rs:155)
==23809== by 0x15068AED: tokio::runtime::task::harness::poll_future::{{closure}} (harness.rs:470)
==23809== by 0x15079FC2: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE121: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD55F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B33A: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x15068938: tokio::runtime::task::harness::poll_future (harness.rs:458)
==23809== by 0x15066EE2: tokio::runtime::task::harness::Harness<T,S>::poll_inner (harness.rs:104)
==23809== by 0x150669B3: tokio::runtime::task::harness::Harness<T,S>::poll (harness.rs:57)
==23809== by 0x150D4741: tokio::runtime::task::raw::poll (raw.rs:144)
==23809== by 0x150D45EE: tokio::runtime::task::raw::RawTask::poll (raw.rs:84)
==23809== by 0x150AFED3: tokio::runtime::task::UnownedTask<S>::run (mod.rs:413)
==23809== by 0x1507B5F6: tokio::runtime::blocking::pool::Task::run (pool.rs:91)
==23809== by 0x1507DDD4: tokio::runtime::blocking::pool::Inner::run (pool.rs:325)
==23809== by 0x1507D186: tokio::runtime::blocking::pool::Spawner::spawn_thread::{{closure}} (pool.rs:300)
==23809== by 0x150B3C5D: std::sys_common::backtrace::__rust_begin_short_backtrace (backtrace.rs:122)
==23809== by 0x150BDC71: std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} (mod.rs:501)
==23809== by 0x15079FA1: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once (unwind_safe.rs:271)
==23809== by 0x150CE1B3: std::panicking::try::do_call (panicking.rs:492)
==23809== by 0x150CF0BA: __rust_try (in /home/jplatte/code/matrix-rust-sdk/bindings/matrix-sdk-crypto-nodejs/matrix-sdk-crypto.linux-x64-gnu.node)
==23809== by 0x150CD93F: std::panicking::try (panicking.rs:456)
==23809== by 0x1506B171: std::panic::catch_unwind (panic.rs:137)
==23809== by 0x150BD9EE: std::thread::Builder::spawn_unchecked_::{{closure}} (mod.rs:500)
==23809== by 0x1506BDFE: core::ops::function::FnOnce::call_once{{vtable.shim}} (function.rs:248)
==23809== by 0x15110182: call_once<(), dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: call_once<(), alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output=()>, alloc::alloc::Global>, alloc::alloc::Global> (boxed.rs:1872)
==23809== by 0x15110182: std::sys::unix::thread::Thread::new::thread_start (thread.rs:108)
==23809== by 0x563F54C: start_thread (pthread_create.c:442)
==23809== by 0x56C4873: clone (clone.S:100)
==23809== Address 0x13180ae2 is 2 bytes inside a block of size 3 free'd
==23809== at 0x484826F: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14E0735A: alloc::alloc::dealloc (alloc.rs:107)
==23809== by 0x14E0B68A: <alloc::alloc::Global as core::alloc::Allocator>::deallocate (alloc.rs:244)
==23809== by 0x14E0B244: alloc::alloc::box_free (alloc.rs:342)
==23809== by 0x14F2EC1F: core::ptr::drop_in_place<alloc::boxed::Box<ruma_common::identifiers::device_id::DeviceId>> (mod.rs:486)
==23809== by 0x14F2B44A: core::ptr::drop_in_place<ruma_common::identifiers::device_id::OwnedDeviceId> (mod.rs:486)
==23809== by 0x14277B4A: core::ptr::drop_in_place<matrix_sdk_crypto_nodejs::identifiers::DeviceId> (mod.rs:486)
==23809== by 0x1427A035: core::ptr::drop_in_place<alloc::boxed::Box<matrix_sdk_crypto_nodejs::identifiers::DeviceId>> (mod.rs:486)
==23809== by 0x140F62DF: napi::bindgen_runtime::raw_finalize_unchecked (mod.rs:31)
==23809== by 0x8A89D4: node::CallbackQueue<void, node::Environment*>::CallbackImpl<node_napi_env__::CallFinalizer<true>(void (*)(napi_env__*, void*, void*), void*, void*)::{lambda(node::Environment*)#2}>::Call(node::Environment*) (in /usr/bin/node)
==23809== by 0x85DB8C: ??? (in /usr/bin/node)
==23809== by 0x85DE2A: node::Environment::RunAndClearNativeImmediates(bool) (in /usr/bin/node)
==23809== by 0x85E42F: node::Environment::CheckImmediate(uv_check_s*) (in /usr/bin/node)
==23809== by 0x48B00E0: uv_run (in /usr/lib/libuv.so.1.0.0)
==23809== by 0x80A515: node::SpinEventLoop(node::Environment*) (in /usr/bin/node)
==23809== by 0x92C3C4: node::NodeMainInstance::Run(int*, node::Environment*) (in /usr/bin/node)
==23809== by 0x92C989: node::NodeMainInstance::Run() (in /usr/bin/node)
==23809== by 0x8A049A: node::Start(int, char**) (in /usr/bin/node)
==23809== by 0x55DC28F: (below main) (libc_start_call_main.h:58)
==23809== Block was alloc'd at
==23809== at 0x4845888: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23809== by 0x14F6840B: alloc::alloc::alloc (alloc.rs:89)
==23809== by 0x14F68496: alloc::alloc::Global::alloc_impl (alloc.rs:171)
==23809== by 0x14F686B9: <alloc::alloc::Global as core::alloc::Allocator>::allocate (alloc.rs:231)
==23809== by 0x14F67428: alloc::raw_vec::RawVec<T,A>::allocate_in (raw_vec.rs:185)
==23809== by 0x14F6769C: alloc::raw_vec::RawVec<T,A>::with_capacity_in (raw_vec.rs:131)
==23809== by 0x14DA93BE: alloc::raw_vec::RawVec<T>::with_capacity (raw_vec.rs:93)
==23809== by 0x14F3CD7D: <alloc::boxed::Box<[T]> as core::convert::From<&[T]>>::from (boxed.rs:1433)
==23809== by 0x14F3B515: <alloc::boxed::Box<str> as core::convert::From<&str>>::from (boxed.rs:1475)
==23809== by 0x14E02822: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x14F3CF8C: ruma_common::identifiers::device_id::<impl core::convert::From<&ruma_common::identifiers::device_id::DeviceId> for alloc::boxed::Box<ruma_common::identifiers::device_id::DeviceId>>::from (device_id.rs:31)
==23809== by 0x14F00623: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x14F1C503: <ruma_common::identifiers::device_id::OwnedDeviceId as core::convert::From<&ruma_common::identifiers::device_id::DeviceId>>::from (device_id.rs:31)
==23809== by 0x14F00683: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x14F1CC7B: <ruma_common::identifiers::device_id::OwnedDeviceId as core::convert::From<alloc::string::String>>::from (device_id.rs:31)
==23809== by 0x14349FA8: <T as core::convert::Into<U>>::into (mod.rs:550)
==23809== by 0x14367BF7: matrix_sdk_crypto_nodejs::identifiers::DeviceId::new (identifiers.rs:86)
==23809== by 0x143A5B29: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__DeviceId__2::__napi__new::{{closure}} (identifiers.rs:81)
==23809== by 0x142F8916: core::result::Result<T,E>::and_then (result.rs:1332)
==23809== by 0x143A5A0C: matrix_sdk_crypto_nodejs::identifiers::__napi_impl_helper__DeviceId__2::__napi__new (identifiers.rs:81)
==23809== by 0x885016: ??? (in /usr/bin/node)
==23809== by 0xB3A14D: ??? (in /usr/bin/node)
==23809== by 0xB3A3CC: v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) (in /usr/bin/node)
==23809== by 0x140F6F8: ??? (in /usr/bin/node)
==23809== by 0x139116B: ??? (in /usr/bin/node)
==23809== by 0x14AD53E: ??? (in /usr/bin/node)
==23809== by 0x139364F: ??? (in /usr/bin/node)
==23809== by 0x13C733E: ??? (in /usr/bin/node)
==23809== by 0x145FBF0: ??? (in /usr/bin/node)
==23809== by 0x13B8ABA: ??? (in /usr/bin/node)
==23809== by 0x1391B82: ??? (in /usr/bin/node)
==23809== by 0xC12E40: ??? (in /usr/bin/node)
==23809== by 0xC13AE2: ??? (in /usr/bin/node)
PASS tests/machine.test.js (256.638 s)
OlmMachine
✓ cannot be instantiated with the constructor (154 ms)
✓ can be instantiated with the async initializer (1326 ms)
✓ can read user ID (118 ms)
✓ can read device ID (75 ms)
✓ can read identity keys (115 ms)
✓ can receive sync changes (264 ms)
✓ can get the outgoing requests that need to be send out (1788 ms)
✓ can update tracked users (149 ms)
can be instantiated with a store
✓ with no passphrase (80167 ms)
✓ with a passphrase (149530 ms)
setup workflow to mark requests as sent
✓ can mark requests as sent (786 ms)
setup workflow to encrypt/decrypt events
✓ can pass keysquery and keysclaim requests directly (533 ms)
✓ can share a room key (870 ms)
✓ can encrypt an event (290 ms)
✓ can decrypt an event (464 ms)
==23827==
==23827== HEAP SUMMARY:
==23827== in use at exit: 91,043 bytes in 373 blocks
==23827== total heap usage: 153,398 allocs, 153,025 frees, 206,355,810 bytes allocated
==23827==
==23815==
==23836==
==23836== HEAP SUMMARY:
==23836== in use at exit: 91,043 bytes in 373 blocks
==23836== total heap usage: 151,652 allocs, 151,279 frees, 206,610,737 bytes allocated
==23836==
==23815== HEAP SUMMARY:
==23815== in use at exit: 91,459 bytes in 374 blocks
==23815== total heap usage: 154,412 allocs, 154,038 frees, 208,944,376 bytes allocated
==23815==
==23850==
==23850== HEAP SUMMARY:
==23850== in use at exit: 91,459 bytes in 374 blocks
==23850== total heap usage: 151,602 allocs, 151,228 frees, 205,459,870 bytes allocated
==23850==
==23831==
==23831== HEAP SUMMARY:
==23831== in use at exit: 90,915 bytes in 373 blocks
==23831== total heap usage: 151,691 allocs, 151,318 frees, 205,029,062 bytes allocated
==23831==
==23812==
==23812== HEAP SUMMARY:
==23812== in use at exit: 91,191 bytes in 374 blocks
==23812== total heap usage: 152,990 allocs, 152,616 frees, 206,080,669 bytes allocated
==23812==
==23827== LEAK SUMMARY:
==23827== definitely lost: 0 bytes in 0 blocks
==23827== indirectly lost: 0 bytes in 0 blocks
==23827== possibly lost: 28,644 bytes in 153 blocks
==23827== still reachable: 62,399 bytes in 220 blocks
==23827== of which reachable via heuristic:
==23827== multipleinheritance: 48 bytes in 1 blocks
==23827== suppressed: 0 bytes in 0 blocks
==23827== Rerun with --leak-check=full to see details of leaked memory
==23827==
==23827== Use --track-origins=yes to see where uninitialised values come from
==23827== For lists of detected and suppressed errors, rerun with: -s
==23827== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==23836== LEAK SUMMARY:
==23836== definitely lost: 0 bytes in 0 blocks
==23836== indirectly lost: 0 bytes in 0 blocks
==23836== possibly lost: 28,644 bytes in 153 blocks
==23836== still reachable: 62,399 bytes in 220 blocks
==23836== of which reachable via heuristic:
==23836== multipleinheritance: 48 bytes in 1 blocks
==23836== suppressed: 0 bytes in 0 blocks
==23836== Rerun with --leak-check=full to see details of leaked memory
==23836==
==23836== Use --track-origins=yes to see where uninitialised values come from
==23836== For lists of detected and suppressed errors, rerun with: -s
==23836== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==23850== LEAK SUMMARY:
==23850== definitely lost: 0 bytes in 0 blocks
==23850== indirectly lost: 0 bytes in 0 blocks
==23850== possibly lost: 29,188 bytes in 154 blocks
==23850== still reachable: 62,271 bytes in 220 blocks
==23850== of which reachable via heuristic:
==23850== multipleinheritance: 48 bytes in 1 blocks
==23850== suppressed: 0 bytes in 0 blocks
==23850== Rerun with --leak-check=full to see details of leaked memory
==23850==
==23850== Use --track-origins=yes to see where uninitialised values come from
==23850== For lists of detected and suppressed errors, rerun with: -s
==23850== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==23895==
==23895== HEAP SUMMARY:
==23895== in use at exit: 10,125 bytes in 30 blocks
==23895== total heap usage: 18,333 allocs, 18,303 frees, 20,326,466 bytes allocated
==23895==
==23895== LEAK SUMMARY:
==23895== definitely lost: 0 bytes in 0 blocks
==23895== indirectly lost: 0 bytes in 0 blocks
==23895== possibly lost: 304 bytes in 1 blocks
==23895== still reachable: 9,821 bytes in 29 blocks
==23895== suppressed: 0 bytes in 0 blocks
==23895== Rerun with --leak-check=full to see details of leaked memory
==23895==
==23895== For lists of detected and suppressed errors, rerun with: -s
==23895== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==23815== LEAK SUMMARY:
==23815== definitely lost: 0 bytes in 0 blocks
==23815== indirectly lost: 0 bytes in 0 blocks
==23815== possibly lost: 29,188 bytes in 154 blocks
==23815== still reachable: 62,271 bytes in 220 blocks
==23815== of which reachable via heuristic:
==23815== multipleinheritance: 48 bytes in 1 blocks
==23815== suppressed: 0 bytes in 0 blocks
==23815== Rerun with --leak-check=full to see details of leaked memory
==23815==
==23815== Use --track-origins=yes to see where uninitialised values come from
==23815== For lists of detected and suppressed errors, rerun with: -s
==23815== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==23831== LEAK SUMMARY:
==23831== definitely lost: 0 bytes in 0 blocks
==23831== indirectly lost: 0 bytes in 0 blocks
==23831== possibly lost: 28,644 bytes in 153 blocks
==23831== still reachable: 62,271 bytes in 220 blocks
==23831== of which reachable via heuristic:
==23831== multipleinheritance: 48 bytes in 1 blocks
==23831== suppressed: 0 bytes in 0 blocks
==23831== Rerun with --leak-check=full to see details of leaked memory
==23831==
==23831== Use --track-origins=yes to see where uninitialised values come from
==23831== For lists of detected and suppressed errors, rerun with: -s
==23831== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==23812== LEAK SUMMARY:
==23812== definitely lost: 0 bytes in 0 blocks
==23812== indirectly lost: 0 bytes in 0 blocks
==23812== possibly lost: 28,792 bytes in 154 blocks
==23812== still reachable: 62,399 bytes in 220 blocks
==23812== of which reachable via heuristic:
==23812== multipleinheritance: 48 bytes in 1 blocks
==23812== suppressed: 0 bytes in 0 blocks
==23812== Rerun with --leak-check=full to see details of leaked memory
==23812==
==23812== Use --track-origins=yes to see where uninitialised values come from
==23812== For lists of detected and suppressed errors, rerun with: -s
==23812== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 0 from 0)
==23855==
==23855== HEAP SUMMARY:
==23855== in use at exit: 10,125 bytes in 30 blocks
==23855== total heap usage: 18,333 allocs, 18,303 frees, 20,350,922 bytes allocated
==23855==
==23855== LEAK SUMMARY:
==23855== definitely lost: 0 bytes in 0 blocks
==23855== indirectly lost: 0 bytes in 0 blocks
==23855== possibly lost: 304 bytes in 1 blocks
==23855== still reachable: 9,821 bytes in 29 blocks
==23855== suppressed: 0 bytes in 0 blocks
==23855== Rerun with --leak-check=full to see details of leaked memory
==23855==
==23855== For lists of detected and suppressed errors, rerun with: -s
==23855== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==23884==
==23884== HEAP SUMMARY:
==23884== in use at exit: 10,125 bytes in 30 blocks
==23884== total heap usage: 18,333 allocs, 18,303 frees, 20,338,896 bytes allocated
==23884==
==23884== LEAK SUMMARY:
==23884== definitely lost: 0 bytes in 0 blocks
==23884== indirectly lost: 0 bytes in 0 blocks
==23884== possibly lost: 304 bytes in 1 blocks
==23884== still reachable: 9,821 bytes in 29 blocks
==23884== suppressed: 0 bytes in 0 blocks
==23884== Rerun with --leak-check=full to see details of leaked memory
==23884==
==23884== For lists of detected and suppressed errors, rerun with: -s
==23884== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==23865==
==23865== HEAP SUMMARY:
==23865== in use at exit: 10,125 bytes in 30 blocks
==23865== total heap usage: 18,334 allocs, 18,304 frees, 20,348,968 bytes allocated
==23865==
==23865== LEAK SUMMARY:
==23865== definitely lost: 0 bytes in 0 blocks
==23865== indirectly lost: 0 bytes in 0 blocks
==23865== possibly lost: 304 bytes in 1 blocks
==23865== still reachable: 9,821 bytes in 29 blocks
==23865== suppressed: 0 bytes in 0 blocks
==23865== Rerun with --leak-check=full to see details of leaked memory
==23865==
==23865== For lists of detected and suppressed errors, rerun with: -s
==23865== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Test Suites: 7 passed, 7 total
Tests: 46 passed, 46 total
Snapshots: 0 total
Time: 279.367 s
Ran all test suites.
==23809==
==23809== HEAP SUMMARY:
==23809== in use at exit: 22,179,241 bytes in 599 blocks
==23809== total heap usage: 165,523 allocs, 164,924 frees, 251,085,527 bytes allocated
==23809==
==23809== LEAK SUMMARY:
==23809== definitely lost: 0 bytes in 0 blocks
==23809== indirectly lost: 0 bytes in 0 blocks
==23809== possibly lost: 33,132 bytes in 161 blocks
==23809== still reachable: 22,146,109 bytes in 438 blocks
==23809== of which reachable via heuristic:
==23809== multipleinheritance: 48 bytes in 1 blocks
==23809== suppressed: 0 bytes in 0 blocks
==23809== Rerun with --leak-check=full to see details of leaked memory
==23809==
==23809== Use --track-origins=yes to see where uninitialised values come from
==23809== For lists of detected and suppressed errors, rerun with: -s
==23809== ERROR SUMMARY: 25 errors from 9 contexts (suppressed: 0 from 0)
==23587==
==23587== HEAP SUMMARY:
==23587== in use at exit: 66,613 bytes in 42 blocks
==23587== total heap usage: 158,962 allocs, 158,920 frees, 221,979,082 bytes allocated
==23587==
==23587== LEAK SUMMARY:
==23587== definitely lost: 0 bytes in 0 blocks
==23587== indirectly lost: 0 bytes in 0 blocks
==23587== possibly lost: 304 bytes in 1 blocks
==23587== still reachable: 66,309 bytes in 41 blocks
==23587== suppressed: 0 bytes in 0 blocks
==23587== Rerun with --leak-check=full to see details of leaked memory
==23587==
==23587== For lists of detected and suppressed errors, rerun with: -s
==23587== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
valgrind --trace-children=yes --num-callers=128 node node_modules/.bin/jest 590.22s user 4.49s system 193% cpu 5:07.48 total
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment