zeromq / czmq

High-level C binding for ØMQ
czmq.zeromq.org
Mozilla Public License 2.0
1.18k stars 525 forks source link

linux czmq/src/zhash.c:892: void zhash_test(_Bool): Assertion `item' failed. #2296

Open calvin2021y opened 1 month ago

calvin2021y commented 1 month ago

test commit it: 349564db20502ad787e66ff4db62be7c20e56360

OK
tests_net_zmq.exe:  czmq/src/zhash.c:892: void zhash_test(_Bool): Assertion `item' failed.
Aborted
calvin2021y commented 1 month ago

the dir name .cache should replace with a random name to avoid duplicate.

and zhash_save return error is not checked here.

sphaero commented 1 week ago

Yes it can happen that some directory names conflict. Would be best to generate random named dirs.