Click here to Skip to main content
15,893,266 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Mysterious null value bug Pin
Phil J Pearson19-Sep-21 22:03
Phil J Pearson19-Sep-21 22:03 
GeneralRe: Mysterious null value bug Pin
dandy7220-Sep-21 8:16
dandy7220-Sep-21 8:16 
GeneralRe: Mysterious null value bug Pin
Phil J Pearson20-Sep-21 22:37
Phil J Pearson20-Sep-21 22:37 
GeneralRe: Mysterious null value bug Pin
Jörgen Andersson17-Sep-21 3:50
professionalJörgen Andersson17-Sep-21 3:50 
GeneralRe: Mysterious null value bug Pin
OriginalGriff17-Sep-21 3:56
mveOriginalGriff17-Sep-21 3:56 
GeneralRe: Mysterious null value bug Pin
PIEBALDconsult17-Sep-21 4:06
mvePIEBALDconsult17-Sep-21 4:06 
GeneralRe: Mysterious null value bug Pin
Mircea Neacsu17-Sep-21 5:39
Mircea Neacsu17-Sep-21 5:39 
GeneralRe: Mysterious null value bug Pin
DerekT-P17-Sep-21 7:45
professionalDerekT-P17-Sep-21 7:45 
Part of me is thinking this is a wind-up, right? I mean; power goes off, computer dies; and with the last few spare electrons the dedicated "XML File Writer" chip is enabled and the special write-only head on the slowing diskdrive momentarily lights up to zap the file to all zeros. Or wait, does it convert them to spaces? Or re-write the entire file removing the data between the XML tags? But surely it also needs to adjust the sectors after the end-of-file, or maybe even move the file elsewhere, which means updating the FAT, which means knowing where it is... Man, that chip has some pretty intense logic hard-wired into it.

But seriously; a power failure causing a specific type of file to have a specific type of corruption written to it?

However, having read that SO issue, it does begin to sound like there is some logic to it. All I can say is that in 25 years of using Windows, with a fair number of power failures and OpSys crashes along the way, I'm not aware of such a situation arising, ever. That's not to say it hasn't; maybe the software has corrected itself or maybe I've never needed to access affected files. That XML configuration files are frequently the victims, though, suggests to me that there is something in the CLR that is inappropriately readying the XML file for a write FAR too soon. This smacks of just really poor design within the MS subsystem, or an actual bug. This doesn't surprise me.

Thank for highlighting it here!
GeneralRe: Mysterious null value bug Pin
RickZeeland17-Sep-21 8:46
mveRickZeeland17-Sep-21 8:46 
GeneralRe: Mysterious null value bug Pin
Phil J Pearson19-Sep-21 22:04
Phil J Pearson19-Sep-21 22:04 
GeneralRe: Mysterious null value bug Pin
Joe Woodbury17-Sep-21 10:20
professionalJoe Woodbury17-Sep-21 10:20 
GeneralSound of the Week Pin
Sander Rossel17-Sep-21 1:13
professionalSander Rossel17-Sep-21 1:13 
GeneralRe: Sound of the Week Pin
kmoorevs17-Sep-21 3:44
kmoorevs17-Sep-21 3:44 
GeneralRe: Sound of the Week Pin
peterkmx17-Sep-21 8:51
professionalpeterkmx17-Sep-21 8:51 
GeneralRe: Sound of the Week Pin
Sander Rossel19-Sep-21 23:11
professionalSander Rossel19-Sep-21 23:11 
GeneralRe: Sound of the Week Pin
David O'Neil17-Sep-21 8:03
professionalDavid O'Neil17-Sep-21 8:03 
GeneralRe: Sound of the Week Pin
peterkmx17-Sep-21 8:39
professionalpeterkmx17-Sep-21 8:39 
GeneralRe: Sound of the Week Pin
Sander Rossel19-Sep-21 23:02
professionalSander Rossel19-Sep-21 23:02 
GeneralRe: Sound of the Week Pin
peterkmx17-Sep-21 8:34
professionalpeterkmx17-Sep-21 8:34 
GeneralRe: Sound of the Week Pin
Sander Rossel19-Sep-21 23:07
professionalSander Rossel19-Sep-21 23:07 
GeneralRe: Sound of the Week Pin
BernardIE531717-Sep-21 15:26
BernardIE531717-Sep-21 15:26 
GeneralRe: Sound of the Week Pin
Sander Rossel19-Sep-21 23:15
professionalSander Rossel19-Sep-21 23:15 
GeneralAre Messageboxes and other informative dialogs useful at all? Pin
Behzad Sedighzadeh17-Sep-21 0:58
Behzad Sedighzadeh17-Sep-21 0:58 
GeneralRe: Are Messageboxes and other informative dialogs useful at all? Pin
Richard MacCutchan17-Sep-21 1:03
mveRichard MacCutchan17-Sep-21 1:03 
GeneralRe: Are Messageboxes and other informative dialogs useful at all? Pin
Vikram A Punathambekar17-Sep-21 1:19
Vikram A Punathambekar17-Sep-21 1:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.