Click here to Skip to main content
15,115,890 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 23:03
MemberPhil J Pearson19-Sep-21 23:03 
GeneralRe: Mysterious null value bug Pin
dandy7220-Sep-21 9:16
Memberdandy7220-Sep-21 9:16 
GeneralRe: Mysterious null value bug Pin
Phil J Pearson20-Sep-21 23:37
MemberPhil J Pearson20-Sep-21 23:37 
GeneralRe: Mysterious null value bug Pin
Jörgen Andersson17-Sep-21 4:50
professionalJörgen Andersson17-Sep-21 4:50 
GeneralRe: Mysterious null value bug Pin
OriginalGriff17-Sep-21 4:56
mveOriginalGriff17-Sep-21 4:56 
GeneralRe: Mysterious null value bug Pin
PIEBALDconsult17-Sep-21 5:06
professionalPIEBALDconsult17-Sep-21 5:06 
GeneralRe: Mysterious null value bug Pin
Mircea Neacsu17-Sep-21 6:39
mvaMircea Neacsu17-Sep-21 6:39 
GeneralRe: Mysterious null value bug Pin
DerekT-P17-Sep-21 8:45
professionalDerekT-P17-Sep-21 8: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 9:46
mveRickZeeland17-Sep-21 9:46 
GeneralRe: Mysterious null value bug Pin
Phil J Pearson19-Sep-21 23:04
MemberPhil J Pearson19-Sep-21 23:04 
GeneralRe: Mysterious null value bug Pin
Joe Woodbury17-Sep-21 11:20
professionalJoe Woodbury17-Sep-21 11:20 
GeneralSound of the Week Pin
Sander Rossel17-Sep-21 2:13
professionalSander Rossel17-Sep-21 2:13 
GeneralRe: Sound of the Week Pin
kmoorevs17-Sep-21 4:44
Memberkmoorevs17-Sep-21 4:44 
GeneralRe: Sound of the Week Pin
TX643017-Sep-21 9:51
MemberTX643017-Sep-21 9:51 
GeneralRe: Sound of the Week Pin
Sander Rossel20-Sep-21 0:11
professionalSander Rossel20-Sep-21 0:11 
GeneralRe: Sound of the Week Pin
David O'Neil17-Sep-21 9:03
professionalDavid O'Neil17-Sep-21 9:03 
GeneralRe: Sound of the Week Pin
TX643017-Sep-21 9:39
MemberTX643017-Sep-21 9:39 
GeneralRe: Sound of the Week Pin
Sander Rossel20-Sep-21 0:02
professionalSander Rossel20-Sep-21 0:02 
GeneralRe: Sound of the Week Pin
TX643017-Sep-21 9:34
MemberTX643017-Sep-21 9:34 
GeneralRe: Sound of the Week Pin
Sander Rossel20-Sep-21 0:07
professionalSander Rossel20-Sep-21 0:07 
GeneralRe: Sound of the Week Pin
PaltryProgrammer17-Sep-21 16:26
MemberPaltryProgrammer17-Sep-21 16:26 
GeneralRe: Sound of the Week Pin
Sander Rossel20-Sep-21 0:15
professionalSander Rossel20-Sep-21 0:15 
GeneralAre Messageboxes and other informative dialogs useful at all? Pin
Behzad Sedighzadeh17-Sep-21 1:58
MemberBehzad Sedighzadeh17-Sep-21 1:58 
GeneralRe: Are Messageboxes and other informative dialogs useful at all? Pin
Richard MacCutchan17-Sep-21 2:03
mveRichard MacCutchan17-Sep-21 2:03 
GeneralRe: Are Messageboxes and other informative dialogs useful at all? Pin
Vikram A Punathambekar17-Sep-21 2:19
MemberVikram A Punathambekar17-Sep-21 2: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.