Unexpected file/folder renaming are possible if one activates unresolved Call Stack item (with ??)
Original Reporter info from Mantis: Maxerist
-
Reporter name: Max Vlasov
Original Reporter info from Mantis: Maxerist
- Reporter name: Max Vlasov
Description:
There are lines in the Call Stack window that are not resolved to symbols (showing ?? instead of source name). If one occasionally double-click them, a garbage from the executable is shown and if this file is left in the source editor and later a "save all" action is performed (as a result for example of rerunning the program) the following consequences are possible
- renaming sub-folder of the project to (... bak)
- executable is renamed to the previous name of this sub-folder and
- the IDE starts to complain about different files it can not save or access
Additional information:
Reproducable on Ubuntu (on Windows editor don't open executable on double-click at such items)
Steps:
- Create somewhere a folder testprojectfolder, create project testproject inside.
- Add Obj: TObject to the form and Obj.Destroy on some button click.
- Run and press the button. The program should stop due to SIGSEGV
- Open Call Stack window and press more to see lines containing ?? in the function column.
- Double click on some of such lines, the source editor should open the executable testproject with non-text garbage.
- Stop the program (Run\Stop)
- Run the program again.
After this steps
- the testprojectfolder folder is renamed to testprojectfolder.bak,
- testproject executable renamed to testprojectfolder
- the IDE says it can not save icon or something
Mantis conversion info:
- Mantis ID: 20561
- Version: 0.9.30.1 (SVN)
- Fixed in version: 0.9.31 (SVN)
- Fixed in revision: 33095 (#6a504f60)
- Target version: 0.99.0