- 
    
Bug
 - 
    Resolution: Fixed
 - 
    
P2: Important
 - 
    5.9.0, 5.12.0
 - 
    Windows 7
Qt 5.9.0 / MinGW 5.3.0
Qt 5.12.0 / MinGW 7.3.0 
- 
        
 - 
        e9520ec84c95e10a6826b2289e46552a2d446895
 
When replacing items on a StackView that has both popExit and replaceExit set, running the application (both debug and release builds) in the debugger results in the following:
HEAP: Free Heap block 1d3e1a80 modified at 1d3e1ac8 after it was freed
Running without debugger seems fine.
Attached a minimal example that reproduces it once the switch to 'red' is made.
- duplicates
 - 
                    
QTBUG-78547 "Invalid memory write" detected by Valgrind while using QQuickStackView
-         
 - Reported
 
 -         
 
- relates to
 - 
                    
QTBUG-57267 StackView: pushing an item again before its exiting animation ends visually clears the stack
-         
 - Closed
 
 -