I have found the following series of RPC calls that can make bitcoind crash. You need to know the rpc username and password, as well as the wallet password.
0#!/bin/bash
1
2RPCUSER=1
3RPCPASSWORD=2
4WALLETPASSWORD=1
5
6set -e
7
8for n in {1..999};
9do
10 bitcoind -rpcuser=$RPCUSER -rpcpassword=$RPCPASSWORD walletpassphrase $WALLETPASSWORD 99999
11 bitcoind -rpcuser=$RPCUSER -rpcpassword=$RPCPASSWORD walletlock
12 echo -n "$n "
13done
This is due to the re-locking not killing the previous re-locking thread before starting itself. This has a negative impact on my application, which does frequent locks and unlocks.