Ticket Change Details
Not logged in
Overview

Artifact ID: 2a15d15730a80f02f2161b4b0b6a67fe15f057bb
Ticket: 5124563ac13e2b3f02d8d3449142d14040116899
stash save fails after file remove
User & Date: anonymous 2011-06-12 22:46:20
Changes

  1. comment changed to:
    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: 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.
    </verbatim>
    
  2. private_contact changed to: "e16bca9376b716bf489a593de88e7b2760905520"
  3. severity changed to: "Critical"
  4. status changed to: "Open"
  5. title changed to: "stash save fails after file remove"
  6. type changed to: "Code_Defect"