Re: "Windows - No disk" error
"Chris Chapman" <[email protected]> Mon, 17 Mar 2008 11:36:26 +0000
| Newsgroups | gmane.games.devel.windows |
|---|---|
| Message-ID | <[email protected]> |
--===============0071806783== Content-Type: multipart/alternative; boundary="----=_Part_5563_11589826.1205753786131" ------=_Part_5563_11589826.1205753786131 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Not sure about the specifics of the error dialog, but it would be interesting to know what was generating it - low level from inside a system call, or generated by your code as a response to a standard error? Is the user running the same anti-virus software? In my experience looking over crash reports from end-user machines (usually sporadic crash reports from PCs used by hospital staff), there was often interference with disk access. We never nailed down an exact diagnosis, but we inferred that if the app was trying to access the file system in an odd or low level way, the AV might be interpreting that as a viral attack and blocking it, or at least changing the access characteristics enough to cause a crash. We added a switch to swap some of the more low level disk usage that we'd put in for performance reasons for standard file calls to the next version in an attempt to improve compatibility. Never stayed with the product for long enough to find out whether it fixed their problem though, sorry. Chris Chapman (Director) Black Company Studios On Mon, Mar 17, 2008 at 8:37 AM, Pierre Terdiman <[email protected]> wrote: > Hi, > > I got a report saying one of my programs displayed this error message on a > WinXP machine: > > http://www.consumingexperience.com/2007/11/windows-no-disk-exception-processing.html > > Problem is: I have no idea why. I ran the same program on many different > machines without ever seeing this dialog box. > > At first I thought it would be a simple bug like trying to access a file > like "c:\somefile.dat" on a machine that doesn't have a C: drive. However > I > made a simple test doing exactly this, and it ran fine. > > I can't debug on the client's machine, so I need to guess what's wrong in > my > code. > > Any idea? Under what circumstances will the above error message get > displayed? > > Thanks, > - Pierre > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Gamedevlists-windows mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > ------=_Part_5563_11589826.1205753786131 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Not sure about the specifics of the error dialog, but it would be interesti= ng to know what was generating it - low level from inside a system call, or= generated by your code as a response to a standard error?<br><br>Is the us= er running the same anti-virus software? In my experience looking over cras= h reports from end-user machines (usually sporadic crash reports from PCs u= sed by hospital staff), there was often interference with disk access. We n= ever nailed down an exact diagnosis, but we inferred that if the app was tr= ying to access the file system in an odd or low level way, the AV might be = interpreting that as a viral attack and blocking it, or at least changing t= he access characteristics enough to cause a crash. We added a switch to swa= p some of the more low level disk usage that we'd put in for performanc= e reasons for standard file calls to the next version in an attempt to impr= ove compatibility. Never stayed with the product for long enough to find ou= t whether it fixed their problem though, sorry.<br> <br>Chris Chapman<br>(Director)<br>Black Company Studios<br><br><div class= =3D"gmail_quote">On Mon, Mar 17, 2008 at 8:37 AM, Pierre Terdiman <<a hr= ef=3D"mailto:[email protected]">[email protected]</a>> wrote= :<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br> <br> I got a report saying one of my programs displayed this error message on a<= br> WinXP machine:<br> <a href=3D"http://www.consumingexperience.com/2007/11/windows-no-disk-excep= tion-processing.html" target=3D"_blank">http://www.consumingexperience.com/= 2007/11/windows-no-disk-exception-processing.html</a><br> <br> Problem is: I have no idea why. I ran the same program on many different<br= > machines without ever seeing this dialog box.<br> <br> At first I thought it would be a simple bug like trying to access a file<br= > like "c:\somefile.dat" on a machine that doesn't have a C: dr= ive. However I<br> made a simple test doing exactly this, and it ran fine.<br> <br> I can't debug on the client's machine, so I need to guess what'= s wrong in my<br> code.<br> <br> Any idea? Under what circumstances will the above error message get<br> displayed?<br> <br> Thanks,<br> - Pierre<br> <br> <br> -------------------------------------------------------------------------<b= r> This SF.net email is sponsored by: Microsoft<br> Defy all challenges. Microsoft(R) Visual Studio 2008.<br> <a href=3D"http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target= =3D"_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a><br> _______________________________________________<br> Gamedevlists-windows mailing list<br> <a href=3D"mailto:[email protected]">Gamedevlists-= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/gamedevlists-window= s" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/gamedevli= sts-windows</a><br> Archives:<br> <a href=3D"http://sourceforge.net/mailarchive/forum.php?forum_id=3D555" tar= get=3D"_blank">http://sourceforge.net/mailarchive/forum.php?forum_id=3D555<= /a><br> </blockquote></div><br> ------=_Part_5563_11589826.1205753786131-- --===============0071806783== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ --===============0071806783== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Gamedevlists-windows mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=555 --===============0071806783==--