I am getting this error in the debug.log of bitcoind:
It happens every 2 to 4 hours, and I need to restart bitcoind.
What I do is I request recent transactions every 2 seconds, via json-rpc.
Does anybody else got this error? Is there a way of avoiding this error?
I actually managed to figure out it is related to calling walletlock. Whenever walletlock is called (via json-rpc or command line, doesn't matter), a new thread is spawned and it doesn't die. Looks like a bug.