Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Application crashes and OS instability can overwrite the currently edited file with junk
Re: Application crashes and OS instability can overwrite the currently edited file with junk [message #54607 is a reply to message #54606] Wed, 19 August 2020 16:35 Go to previous messageGo to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 221
Registered: June 2011
Experienced Member
I get what you're saying. I suppose I should be clearer myself. We agree that the file's likely not open... but the file's data is still in the editor. And you said the file is saved when focus changes. Well running the app would change the focus, causing a save, would it not?

I suppose it's not worth arguing if as you say it's not forked with memory sharing, but the scenario I was describing:

* you run badapp
* new child process is created, it shares memory with theide
* child process is badly behaved and modifies parent memory (by that, I mean it changes the text in the editor itself, the array backing it, not any open file)
* theide sees the focus has changed to the new process, opens the file and saves the mangled contents of the editor back to the file

So all I meant to suggest is that the contents of the editor are being overwritten, not the file directly.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can U++ TheIDE be used with cxxtest ?
Next Topic: [SOLVED] Skipping package building/linking when certain configuration is on
Goto Forum:
  


Current Time: Wed May 15 16:40:27 CEST 2024

Total time taken to generate the page: 0.03366 seconds