While implementing and testing the stash commands in WinFossil I produced a fossil crash when using stash save or stash snapshot on a checkout where I did a fossil rm.
Fossil isn't terminated but hangs after this operation.

How to reproduce:

<verbatim>
D:\My Checkouts\StashFail>fossil new stashfail.fsl
project-id:
server-id:
admin-user: Ingo (initial password is "668ada")

D:\My Checkouts\StashFail>fossil open stashfail.fsl


D:\My Checkouts\StashFail>fossil add 1.txt 2.txt
ADDED  1.txt
ADDED  2.txt

D:\My Checkouts\StashFail>fossil commit -m "added 1.txt and 2.txt"
D:/My contains CR/NL line endings; commit anyhow
a
New_Version:

D:\My Checkouts\StashFail>fossil rm 1.txt
DELETED 1.txt

D:\My Checkouts\StashFail>fossil stash
Assertion failed: (pBlob)->xRealloc==blobReallocMalloc || (pBlob)->xRealloc==blobReallocStatic, file wbld/blob_.c, line 184

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
</verbatim>