Get 6663 Segmentation fault on "fossil open ../clone.fsl".

0. Prebuilt fossil binary version [767ae79c3d] for Linux on amd64.
   Running on Linux 2.6.18-128.2.1.el5xen #1 SMP Tue Jul 14 07:07:49 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
1. Started with repo golden.fsl (autosync 1)
2. cloned it to clone.fsl (autosync 1)
3. opened the clone, added a file, commited, closed
4. tried second open and got segmentation fault.

Shell script to reproduce problem below, with cut/paste of script execution.

<verbatim>
cat > bug.sh <<EOF

fossil version
rm -rf testsync
mkdir -p testsync/co
cd testsync
echo 888888888888888888888888888 creating golden.fsl
fossil new golden.fsl
fossil setting autosync 1 -R golden.fsl
fossil setting clearsign 0 -R golden.fsl
echo   888888888888888888888888888 cloning to clone.fsl
# fossil clone clone.fsl
fossil clone golden.fsl clone.fsl
echo   888888888888888888888888888 open clone.fsl
cd co
fossil open ../clone.fsl
echo 888888888888888888888888888 adding file.txt to clone.fsl
echo "test line 1" > file.txt
fossil add file.txt
echo   888888888888888888888888888 now commit clone.fsl
fossil commit -m "added file.txt"
echo   888888888888888888888888888 now close clone.fsl
fossil close
cd ..
echo   888888888888888888888888888 open clone.fsl
cd co
fossil open ../clone.fsl
echo   888888888888888888888888888 adding file2.txt to clone.fsl
echo "test line 1" > file2.txt
fossil add file2.txt
echo   888888888888888888888888888 now commit clone.fsl
fossil commit -m "added file2.txt"
echo   888888888888888888888888888 now close clone.fsl
fossil close
cd ..
EOF
</verbatim>

Output from above script is:

<verbatim>
fossil]$ ./bug1.sh
This is fossil version [767ae79c3d] 2009-04-24 18:40:03 UTC
888888888888888888888888888 creating golden.fsl
project-id:
server-id:
admin-user: jgm (initial password is "709262")
888888888888888888888888888 cloning to clone.fsl
Repository cloned into clone.fsl
Rebuilding repository meta-data...
1 (100%)...
project-id:
server-id:
admin-user: jgm (password is "709262")
888888888888888888888888888 open clone.fsl
888888888888888888888888888 adding file.txt to clone.fsl
ADDED  file.txt
888888888888888888888888888 now commit clone.fsl
Autosync:
                Bytes      Cards  Artifacts     Deltas
Send:             130          1          0          0
Received:          46          2          0          0
New_Version:
Autosync:
                Bytes      Cards  Artifacts     Deltas
Send:             677          5          2          0
Received:         138          5          0          0
888888888888888888888888888 now close clone.fsl
888888888888888888888888888 open clone.fsl
Autosync:
                Bytes      Cards  Artifacts     Deltas
Send:             130          1          0          0
sh: : command not found
./bug1.sh: line 31:  6663 Segmentation fault      fossil open ../clone.fsl
888888888888888888888888888 adding file2.txt to clone.fsl
ADDED  file2.txt
888888888888888888888888888 now commit clone.fsl
Autosync:
                Bytes      Cards  Artifacts     Deltas
Send:             130          1          0          0
Received:         138          4          0          0
fossil: would fork.  "update" first or use -f or --force.
888888888888888888888888888 now close clone.fsl
fossil: there are unsaved changes in the current checkout