valkey-io / valkeymodule-rs

Rust valkey SDK for modules
BSD 3-Clause "New" or "Revised" License
20 stars 5 forks source link

test_helper example module crashes valkey-server #14

Open dmitrypol opened 2 months ago

dmitrypol commented 2 months ago

REPRO STEPS Run integration test_helper_version test Notice how test_helper._version_rm_call fails sporadically

Run ./build.sh to compile all examples Run valkey-server 7.2.5 and loadmodule .../target/debug/examples/libtest_helper.dylib Run valkey-cli and execute test_helper._version_rm_call and test_helper.err

RESULT Exception has occurred.

test_helper.version and test_helper.name work fine.

Same issue happens with redismodule-rs and redis-server.

mkmkme commented 2 weeks ago

I think this was fixed with https://github.com/valkey-io/valkey/pull/608

Could you recheck it?