Fossil SCM

stash save fails after file remove

Fixed

5124563ac13e2b3… · opened 14 years, 9 months ago

Type
Code_Defect
Priority
Severity
Critical
Resolution
Fixed
Subsystem
Created
June 12, 2011 10:46 p.m.

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:


D:\My Checkouts\StashFail>fossil new stashfail.fsl
project-id: 6dd53c6e54872799343990ed3dc3448c7df28035
server-id:  eda5824fca27982b3f0bdb25afe68eadb9537b96
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 Checkouts/StashFail/1.txt contains CR/NL line endings; commit anyhow (yes/no/all)?
a
New_Version: 57f36cf2c33c2d2c5cd1a4922208c999db48c9d8

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.


anonymous added on 2011-07-22 20:20:14 UTC: Same as ticket [3ce0ea97522581], fixed by checkin [336e194c4d]


Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button