Slashdot Mirror


Microsoft Code at Fault for Half of all Windows Crashes

Flamester writes "In a ZDNet Australia story, Microsoft is claiming that half of all MS Windows crashes are the fault of third party code, not their own. That is, according to Dr. Watson. The article also goes into the 'rigor in which MS tests their products before release'. "

60 of 819 comments (clear)

  1. Uhm, right... by mjmalone · · Score: 5, Insightful

    So they're saying that a poorly designed application can take down the entire operating system? The OS should be resilient enough to handle application crashes and keep on running, who cares who causes the crash? It's the OS's responsibility to handle it.

    Also I would like to see where they got these numbers? If they are using the new 'feature' that notifies microsoft of application crashes then I'd be skeptical... If the OS crashes then the notices won't be sent to Microsoft.

    Also, it is likely that MORE than half of the applications run on a Windows box are non-microsoft applications, that would mean that statistically MS apps crash more often than third party apps.

    1. Re:Uhm, right... by TheSunborn · · Score: 5, Insightful

      I think they are talking about drivers. With the current windows design any driver that crash have a good change of taking the os down with it.

    2. Re:Uhm, right... by Arker · · Score: 2, Insightful

      Exactly.

      It's nonsense to say that someone elses code is responsible for your OS crashing - if your OS wasn't at fault it wouldn't crash no matter what the third party code did.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    3. Re:Uhm, right... by EnigmaticSource · · Score: 5, Insightful

      ...As with most other 'Modern' OS's... Hell, driver changes on my RSTS/E 10 [PDP-11/79] box would take down the whole system. [[Still having DECNET Nightmares]] Drivers just happen to be one of those things that must be 'just right' otherwise it'll probably take down the entire system for [[what seem to me]] to be obvious reasons.

      --
      The Geek in Black
      I know my BCD's (when I'm Sober)
    4. Re:Uhm, right... by hobbesmaster · · Score: 4, Insightful

      Bad drivers will Kernel Panic anything. That includes Linux. (I had to modify some files with Knoppix to get Slackware working my Inspiron 8100)

    5. Re:Uhm, right... by aggieben · · Score: 5, Insightful

      I can attest to this; I was a MS developer in the windows division for a while. I had to do stress testing all the time, and I found it quite common for XP to go days at a time during the stress tests, which I thought was pretty impressive. These tests make the system unusable, as it would with any system, but it didn't crash until it just couldn't allocate one more drop of memory or the disk controller just gave up or what have you.

      Also, while looking over bugs in the database they keep, there were vastly more bugs filed as a result of a poorly behaving 3rd party application than because of the windows code itself. Also, most of these didn't cause crashes. XP does a pretty nice job of handling application crashes gracefully. All of this is from inside professional experience.

      My personal expericence (e.g., outside the MS environment) has been than XP is as stable as any other machine I've got at home (Gentoo Linux, OpenBSD). In 2 years time, I've only seen 1 blue screen of death, and I've been using many different computers using with XP on them and I've installed in many times over that two years.

      MS does do a good job of testing their windows code (can't speak for office --- those nerds need to learn a thing or two about threads and finally put clippy out of his pathetic misery). They test their code far more thoroughly than ANYONE who does open source including Red Hat, IBM and others.

      Of course, all of this is not to be a MS zealot because that's not what I am. I'm much more of an OpenBSD guy. It is, however, to make this discussion a little more fair by sharing my inside experience and knowledge.

      --
      Don't become a regular here, you will become retarded. -- Yoda the Retard
    6. Re:Uhm, right... by Soko · · Score: 5, Insightful

      True enough.

      Unfortunatley for Microsoft, they allow 3rd party drivers into kernel space, even if that driver has never been seen by a Microsoft employee. That is likely what he's saying - "We provide the means to have your code not fuck up our OS, and half of you don't do it!".

      The hardware/system drivers are allowed into kernel space after a user clicks a window that basically says "Microsoft has never seen this driver before - it could blow up your system. Want me to install it anyway?" and the user usually says "Yup, no problem. Them programmers are sooo smart...". It's very much a parallel argument to Windows Security - expecting everyone to know how to be a sysadmin without being a sysadmin.

      If MS should learn anything from Linux development, it's that free, on-line and open collaboration breeds better drivers and a more stable OS.

      Soko

      --
      "Depression is merely anger without enthusiasm." - Anonymous
    7. Re:Uhm, right... by buffer-overflowed · · Score: 5, Insightful

      I've had linux modules fail to load or screw up while loading (custom hardware drivers I wrote for something) and they locked a single terminal/process, w/o affecting the OS. You'd basically have to try to crash the OS to get a module to do so and even then it'd be tough.

      Windows' Problems run deep, very deep, and they won't be fixed w/o a complete rewrite. Drivers should not be able to take down the OS, but in Windows they can because of the Windows Paradigm.

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    8. Re:Uhm, right... by lowmagnet · · Score: 2, Insightful

      And in the case of IE, they would be right, since IE is ALL in windows.

      --
      Heute die Welt, morgen das Sonnensystem!
    9. Re:Uhm, right... by passthecrackpipe · · Score: 5, Insightful

      Hrmph. Not withstanding that fact that I use linux on 90% of my machines (i have ten, and 1 is a mac), I would not state that crashing linux is hard work. I have had issues, for example, with a compaq server running KDM, and a connection from a SPARC Debian box to KDM would send the compaq machine in a stupor, with only a blowing fan and slowly blinking numlock led as signs of life. Just one example.

      Every OS can be crashed, and Linux is not significantly harder or easier. It is just that with Open Source, world+dog will see what a tremendous asshole you have been, writing buggy code like that. Now, when coding proprietary stuff at work, you can probably get away with it, shifting the blame on your sacked co-worker, or coming up with a rather technical explanation of the situation to a boss that is probably clueless anyhow. With open source coding however, there are no excuses, and people will just start laughing every time you log on to IRC. You nerd-chick will stop writing you sexy emails and naughty, compromising emoticons, and you'll basically be branded a wannabe MCSD. Nobody would want that to happen, so the motivation to write good code is clearly present and persuasive with open source code... :-)

      --
      People who think they know everything are a great annoyance to those of us who do.
    10. Re:Uhm, right... by DocUi · · Score: 1, Insightful

      The Peo Website cites the term Professional Engineer. Not just Engineer.

      As well, what about all the CNE's? Or CCIE's? Slam them all down if that's the case? Oh, and what about Train Engineers? Those guys that drive the trains?

      From Dictionary.com

      *One who is trained or professionally engaged in a branch of engineering.
      *One who operates an engine.
      *One who skillfully or shrewdly manages an enterprise.

      What about Genetic Engieers? According to the PEO site you will be CRUSHED for the impudence!

      Now, that said, I'm not saying that MCSE's should use the term Professional Engineer. But then should the PEO (and other bodies) call up websters and say to them, 'Oh! You need to change your definition of the word to include this?'

      I'm an MCSE, and worked my ass off for it. Spent a year in class TCP/IP DNS (protocol list up the wazzo) fundamentals and then working specifically with the OS to earn my Cert. I didn't braindump and hate all the buggers who do so. But the fact is, Until I get a letter from the PEO or M$ saying that I can't put on my resume that I am a Microsoft Certified Systems Engineer, I will continue to do so. Then if the PEO decides to take me to court, then perhaps we'll see if M$ is going to stick by the people who worked for their Certs.

      This is my first post on Slashdot, (long time Reader) and I know that I'll probably be flamed by those who know better than I. But this was something that I Felt strongly enough about to say something about.

      ~DU

    11. Re:Uhm, right... by DDX_2002 · · Score: 5, Insightful
      The "PE Ponzi scheme"? I hope you're kidding.

      Out of all the professions, engineers have the ability to kill the most people in the least amount of time through incompetence. A doctor can only kill one patient at a time, a lawyer can only get a handful of co-defendants on death row at once, and an accountant can only kill people if they jump out their window because of his bad advice. But, a guy who is an "engineer" and doesn't know hiw head from his ass can design a house/dam/building/bridge/etc. that can kill rather a lot of people. And those people probably weren't the ones who hired the engineer, so they don't really have any way of knowing what his credentials are when they decide if they want to use the bridge, live near the dam, etc.

      --
      MHO. YMMV. Any resemblance between this post and real persons, or reality in general, was accidental.
    12. Re:Uhm, right... by danheskett · · Score: 5, Insightful

      However, there are tons of people who enjoy fixing or finding bugs, and provide hundreds of man hours of testing a day

      That isnt always the case. Code can get into the kernel that hasnt been reviewed by anyone for more than a brief few seconds. And after that it can be an indefinite time before that code is reviewed again. If it is sexy code, yeah, it will get seen. If it is mundane, or routine, chances are no one will look at it until they suspect a problem.

      The OSS world is quickly reaching a conclusion. For a long time, stability was how Linux could eat MS's lunch. But I haven't seen a single person who can straight-face deny the marked and vast improvement in MS products stability. They have for years now been systematically refining and improving Windows and including tools and using methods to improve stability and reliability. 10 years ago NT4 was properly laughed for being an instable piece of crap. Now, Win2003 is so much better it is a *rare* company who will stay away simple for reliability purposes.

      The next big battle is going to be security. MS has been working on that too. These are issues MS is working on taking from the OSS world. People ought not count MS out. They are viciously improving thier product and initiating stategies to remove the issue from the table.

      Take this latest MS worm issue. Way less severe than previous issues, much better patch distribution time, and generally a much more smooth operation.

      But back on topic: about your issues with Win2k crashing with certain apps. I have experienced none of what you talk about, but do not be fooled into thinking that other OS's don't have the same problems. Win2k crashing for legacy apps isn't a good thing, but in the end, its pretty acceptabe considering the level of emulation that must take place to run 16-bit real mode code on a 32-bit protected mode OS. I've crashed Linux with dosemu before as a point of reference. Additionally, it is hard for you to know what caused Windows to crash. In essence, an app that is allowed to write data to devices that run in the kernel could potentially crash the system. The same goes for just about all OS's who run drivers in kernel mode (including how most of the Linuxes work).

      Your experience confirms what MS is saying. The applications you consistently run cause Win2k to crash. It is obvious they simply do not function correctly. Bad apps can cause a system to crash on Windows. It is also true that a bad app can cause Linux and *BSD to panic.

    13. Re:Uhm, right... by tomhudson · · Score: 2, Insightful
      Rules evolve to, among other reasons, protect the public. You were ripped off if you bought an MCSE designation from Microsoft, thinking that you are now some sort of "software engineer". You in turn are trading on the value of the term "engineer", if you are not at least a BSc. with a degree in engineering. What's so hard to understand about mis-representation not being in the public good?

      Besides, good code is an art form. It requires flashes of inspiration, attention to detail, insight, a willingness to think outside the box, etc.

      A better term for what most MCSEs are would be "technician", not "engineer", but that just doesn't have the same oomph to it, and M$ wouldn't be able to sell it for as much coin.

    14. Re:Uhm, right... by Jerf · · Score: 2, Insightful

      (Note I am not the original poster who made the claim.)

      You may have worked for MS and known what kind of testing they do, but nowhere in your post do you claim to have done the same at RedHat or IBM. How, then, can you make such a claim?

      In all fairness to Microsoft, I am fairly certain that Microsoft employs more test engineers directly then Red Hat employees engineers total. It is not completely logically rigorous to therefore conclude Microsoft necessarily does more testing in terms of man-hours (need a few more statements), but it's a fairly safe conclusion.

      But the compairision is not "fair" because the Linux folk share testing, while Microsoft is responsible for their own. A bug found by a Red Hat engineer or user is frequently in the "upstream package" (at least, that's the term Gentoo uses; I don't know how universal it is), that, when fixed, will propogate back down to all Linux distributions sooner or later.

      In truth, I'd submit there's no way to "fairly" compare the testing the two groups do; it's just too different. All I can say is while it is again not necessarily a logically rigorous thing to say, it's safe to say that Open Source is indeed tested quite thoroughly on the ground that all insufficiently tested software is basically a seething mass of bugs, quite a bit of Open Source software is not a seething mass of bugs, therefore, quite a bit of Open Source software is sufficiently tested. Through what means, in the end, doesn't matter to the end user terribly much.

      Asking for justification of the claim is a fair challenge, though; this message is not meant to imply otherwise.

    15. Re:Uhm, right... by BostonPilot · · Score: 3, Insightful

      Someone else mentioned QNX. There's a performance hit to running drivers in a protected context, but it does not make the OS unusable. QNX is a really fine system, and I wish Linux had gone the drivers-in-usermode route - I'll take stability over speed anytime, thanks.

    16. Re:Uhm, right... by pmz · · Score: 4, Insightful

      With Windows there are a gazillion vendors of every component you can imagine.

      It would have taken only a small team of Microsoft programmers to develop a useful bundle of fundamental hardware tests for their beloved operating system. How hard is it to have the OS test basic functions, like RAM, the PCI bus, the IDE bus, etc.? For Solaris, Sun puts a CD with their VTS software in the box set. Does Microsoft have fewer resources than Sun?

    17. Re:Uhm, right... by the+web · · Score: 3, Insightful

      "With Windows there are a gazillion vendors of every component you can imagine." Not accusing you of staunch defense, but I love when people in general use this line in defense of microsoft crashicity. If you ask me, MS is the one that choose which sandbox they wanted to play in. If they wanted to be strictly proprietary they could've chosen that route. Clearly MS took on a challenge they were not up to in the end.

      --
      __
      Thou hast besquirted me, O leotarded one.
    18. Re:Uhm, right... by tomhudson · · Score: 4, Insightful
      poster wrote:
      Out of all the professions, engineers have the ability to kill the most people in the least amount of time through incompetence
      What about politicians? They're the ones with the power to declare war, and they're the ones with access to the big red "launch" button.

      They're also the ones who can either sit back an do nothing about environmental degradation, which will end up killing us all, or pass sometimes-unpopular laws and/or try to educate the public.

    19. Re:Uhm, right... by 198348726583297634 · · Score: 2, Insightful

      For some of us, the next big battle is control and ownership. My freebsd server won't have DRM, nor does my iBook.

    20. Re:Uhm, right... by Anonymous Coward · · Score: 1, Insightful

      Well, pre OS X Mac crashes were very common, because there was no protected memory.

      If Windows NT-derived operating systems were designed right, the only thing that should crash them is faulty device drivers or other kernel-level code. But it's applications that are crashing Windows. This doesn't happen with Macs. This doesn't happen with Linux.

    21. Re:Uhm, right... by BurritoWarrior · · Score: 2, Insightful

      Horesefeathers. The only reason the patch distribution was any better was because MS got advanced notice from the people that discovered it. They could just as easily have not informed MS and developed an exploit to release into the wild when nobody was patched. Then all hell was broken loose.

      Second the worm that is out there has a lot of flaws itself and causes machines to crash and reboot, mitigating the damage.

      Third, it has no malicious payload. If it did the general populace would be in a world of hurt.

      Yes, Windows is more stable than it has been in the past. Yes, MS is also making some improvements in security. But this worm is no barometer of either.

    22. Re:Uhm, right... by Pharmboy · · Score: 2, Insightful

      Prepare for a Win* exclusive machine to be released.

      The funny thing is, the first models sold would be to hackers trying to port it to BSD or Linux. Just the very IDEA that MS would try to make a box "MS only" would force them to port it: Like moths to a candle. There is no reason to make a MS ONLY box unless it is cheaper, which is another reason the hackers would be trying to port it. The other, of course, is because it would irritate bgates.

      Don't think so? Ever heard of X-box? A MS only box, with all the Palladin etc. you want, would create yet another "$10,000 to the first person who can boot linux and document it to be recreated" contest.

      --
      Tequila: It's not just for breakfast anymore!
    23. Re:Uhm, right... by Rob+Seace · · Score: 2, Insightful

      Tell me, Mr. Anderson, what good is a running kernel if you've crashed "Proc32", and are unable to start any further processes on the system? ;-)

      It's really just silly... Yes, the KERNEL may be (essentially) uncrashable... But, who really cares? The system, as a whole, is most definitely NOT... I've written lots of code for QNX, and I assure you I've seen it crash (and, caused it to crash) on many occasions... People who tout the supposed benefits of this microkernel approach are really beeing pretty obtuse... You're not solving the problem: you're just shifting it elsewhere... There's still some core set of services which are vitally important to the continued functioning of the system, and if you manage to crash those (be they in user space or kernel space), the system becomes unusable... Sure, putting SOME things into user space may make a lot of sense... Drivers for crap you can easily do without, and still carry on... But, important stuff (like QNX's "Proc", "Dev", etc.), it doesn't make a whole lot of difference whether they're in kernel space or user space; lose them, and you're dead, either way...

  2. Headline should be: Microsoft Admits to Testing by gokubi · · Score: 3, Insightful

    Microsoft emphasised that products such as Yukon and Exchange Server were undergoing thorough testing -- both internally and via independent third parties -- prior to their release to the market.

    Hey, they're TESTING! Wow, they really are taking this trustworthy computing thing seriously. Mr. Chase may have said a similar thing if he hadn't been comped, as reported in the diclaimer at the bottom of the article:

    Brendon Chase travelled to Tech Ed as a guest of Microsoft.

    Hardhitting journalism.

    --
    I'm much funnier now that I'm a subscriber.
  3. Uh huh. by ihummel · · Score: 4, Insightful

    That sure is encouraging. What a wonderful operating system you have when half the time it crashes, the crash is caused by third party code. A properly designed OS shouldn't allow third party software to crash it. No OS is perfect, but half the time is just silly.

  4. A model of closed source by Neil+Watson · · Score: 4, Insightful

    Assuming this is true, wouldn't this be an example of how closed source can contribute to programming mistakes? If developers had more access to the OS source could wouldn't they be less likely to affect it adversly with bad code?

    1. Re:A model of closed source by FooBarWidget · · Score: 2, Insightful

      At least they fixed it rather quickly. With closed source programs however, there's no telling when it will get fixed, if at all.

  5. Geez, what a two-sided statement... by skermit · · Score: 4, Insightful

    What he just admitted is that HALF of ALL crashes are Microsoft OS related. Every application that runs on a account for more than let's say 5% or 6% of total crashes, but Microsoft still has their full 50% share. That's STUPID-speak on his part. Way to instill company pride by shooting yourself in the foot, and then putting it in your mouth.

    --
    -Christopher Wu
    http://www.christopherwu.net/
  6. MS responsible for 100% of crashes by swordgeek · · Score: 3, Insightful

    There is only one way 3rd party software can crash an OS: If the OS is so hopelessly broken that it gives that much control to applications.

    Microsoft's bad coding is responsible for 50% of their crashes, by their own admission. Their inherently flawed OS structure is responsible for allowing the other 50% to happen.

    (This of course doesn't address hardware related issues--all I can say is that MS software is VERY sensitive to borderline hardware)

    --

    "People who do stupid things with hazardous materials often die." -- Jim Davidson on alt.folklore.urban
    1. Re:MS responsible for 100% of crashes by tshak · · Score: 2, Insightful

      What inherently flawed OS structure? Could you please elaborate? Also, please submit the OS that you designed that can work with millions of hardware combinations with a device driver system that makes it impossible for device drivers to crash the OS.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
  7. Re:John Dvorak has some interesting crash stats... by jpmorgan · · Score: 1, Insightful
    Yes, but John Dvorak doesn't understand basic statistics.

    Gates said that 5 percent of Windows machines crash, on average, twice daily. Put another way, this means that 10 percent of Windows machines crash every day, or any given machine will crash about three times a month. Since Bill is a math junkie, I have to assume this number is real and based on something other than a phone survey.

    Nice one there, John. Bill Gates might be a math junkie, but it's obvious you're not.

  8. Take your own medicine? by interactive_civilian · · Score: 4, Insightful
    From the article:
    Charney's also reinforced Microsoft's message to developers and network administrators that they needed to build secure applications and networks "from the ground up".
    Perhaps Microsoft should take some of their own advice...I'm thinking with pretty much their entire product line...
    --
    "Empathise with stupidity, and you're halfway to thinking like an idiot." - Iain M. Banks
  9. Being Picky by quantaman · · Score: 2, Insightful

    Scott Charney, chief security strategist at Microsoft, told developers at the TechEd 2003 conference in Brisbane, that information collected by Dr Watson, the company's reporting tool, revealed that "half of all crashes in Windows are caused not by Microsoft code, but third-party code".

    It's worded suspiciously but I don't think necessarily means the crashes are due to windows code. Aren't hardware issues responsible for a significant amount of crashes as well? Are they being counted in the 50% that belongs to driver problems and other third party code or are they counted with the windows problems.

    --
    I stole this Sig
  10. Would you name this OS? by roystgnr · · Score: 4, Insightful

    I'm currently using Linux, which also gives drivers such low-level access that a bad driver can crash the whole machine. I was under the impression that this was a design decision which couldn't be changed without sacrificing performance.

    1. Re:Would you name this OS? by Anonymous Coward · · Score: 1, Insightful

      Even if all drivers were placed in usermode, you'd still not be guaranteed stability. Why? Because at some level you still have to give drivers access to the hardware. And hardware, if improperly talked to, can lock the system in such a way requiring a hard reset. More often than not, though, only specific components are locked out to the user (think video display and keyboard) which is the basis for sshing in to fix problems (trying to determine if the keyboard or video display are locked up by an independent driver isn't computable..and that leaves hardcoding something like sysrq to reset the keyboard to good states..which means that at minimal you still have to leave some components in the kernel to precatch the keyboard under the assumption its key combination is never trappable). If all hardware could be cleanly reset to a previous state and the usermode driver restarted, we might be able to do usermode drivers. Personally, I like the idea (you could make drivers behave as fifos, which would automatically increase their priority on usage) especially since it's just a further step with modules. Of course, it'd be nice then to have each module as its own user/group to prevent groups from killing each other. I'm personally still waiting for an X that can run completely as non-root since I don't want to run X as root ever anyways.

  11. Only Half? by codepunk · · Score: 2, Insightful

    Ok what about the other half that they are responsible. Never mind the fact that a application should not crash the OS.

    --


    Got Code?
  12. Nice headline by fudgefactor7 · · Score: 2, Insightful

    I know I'll get modded WAY the fuck down, but I don't care...

    This whole thing is flamebait. The article title "Microsoft Code at Fault for Half of all Windows Crashes" should have been "Thrid Party Code at Fault for Half of all Windows Crashes"...or is it that only anti-MS articles get posted? So much for having any integrity, Slashdot.

  13. Typical /. by Anonymous Coward · · Score: 1, Insightful

    The headline has been twisted to suit the audience

  14. Re:Clarification of 'test' by gosand · · Score: 2, Insightful
    'rigor in which MS tests their products before release'. Hmm... What kind of 'rigor' is that, again? Rigor mortis?

    Having been doing software testing for about 10 years now, I can pretty much guess that Microsoft is like most other software places in that lots of things are discovered in test that still make it out the door. I'd like to hear from someone in the test organization at Microsoft to see what *they* think about the quality of the product they test, and how much pull they have in making decisions. I am betting that it is just as much as anywhere else. Most places have no problem in shipping out code that doesn't meet with QA's approval. I've seen it, I've been a part of it. That's business baby. Quality software will get trumped by some promised deadline every time.

    --

    My beliefs do not require that you agree with them.

  15. A load of BS by w42w42 · · Score: 2, Insightful

    Uhm, anytime Windows crashes, it's a problem with Windows. A bug or crash in a 3rd party application should have no bearing on the stability of Windows, at least that's how MS Marketing describes Windows capabilities, and that's the way it should be.

    This looks like a big verbal foo-pa that IBM/Sun could drive a truck load of marketing through.

  16. Hmmm...lets see.. by cOdEgUru · · Score: 2, Insightful

    If we were to assume there are close to around 50,000 third party firms who develop for Windows and there are around 1 million distinct Windows core dumps per version then there would be 20 incidents per third part developer and HALF A MILLION Crashes thats still owed to Microsoft..

    So what were we saying again...

  17. Re:John Dvorak has some interesting crash stats... by NonSequor · · Score: 2, Insightful

    Yes, but unfortunately John Dvorak is a fucking moron .

    --
    My only political goal is to see to it that no political party achieves its goals.
  18. The user by HermanAB · · Score: 2, Insightful

    still experiences 100% of all failures.

    --
    Oh well, what the hell...
  19. Win9x or WinNT? by panic911 · · Score: 2, Insightful

    Big difference.. I would say 99.9% of all crashes in Windows 9x are Microsofts fault. NT,2k,Xp,2k3 are FAR more stable.

  20. Get a Mac! by Anonymous Coward · · Score: 1, Insightful

    With the numerous posts about drivers and hardware really causing all the crashes, it makes one think that maybe the hardware maker should also make the OS. hmmm. Doesn't some other company already do that?

  21. Re:Well, it's the same in Linux by JimDabell · · Score: 4, Insightful

    Why is this a "weenie" excuse?

    Because only "weenies" make excuses for their vendor. I've only ever seen the excuse as a response to somebody complaining about Windows instability - whether it's Microsoft's fault or not is irrelevent if it's stopping you from getting your work done.

    The same is true in Linux.

    I dare say it is, but what does Linux have to do with it?

  22. Interesting article by Aidtopia · · Score: 4, Insightful

    I'll probably be modded off-topic, since a story like this on Slashdot is nothing more than MS-bashing flamebait, but I'll try anyone.

    First of all, the article says "crashes in Windows," not "crashes of Windows." So it's not entirely clear to me if they are counting application crashes which don't impact the whole system or just the ones that bring down the OS (as most of the bashers in this thread seem to think).

    Second, if this is based on error reports, it's skewed by a lot of things. For example, I send the reports when I suspect it's MS code at fault, and I don't send them when I suspect a third party app. I figure MS can't do anything about the third parties, so why bother. The point is, lots of things can skew these numbers.

    But most importantly, the bulk of the article, which most Slashdotters seem to be ignoring, is about tracking root causes of bugs. There is no silver bullet in software quality, but this approach is a good place to start. It's something that should be taught in CS courses, and it's something we experienced programmers should be training our juniors to pay attention to.

    When you fix a bug, do you ask yourself how it got in there? Where else in your code a similar bug may appear? How can you avoid making the same mistake in the future. How you could have detected the bug sooner? How did the test cases miss it? These are powerful questions if you take them seriously.

    It's a mindset all programmers should have. Ironically, I learned it from a Microsoft book, Writing Solid Code by Steven Maguire. Buy it, read it. Pass a copy onto your peers.

  23. Re:John Dvorak has some interesting crash stats... by gotan · · Score: 2, Insightful

    What you're missing is, that Bills statement was only about Windows-installations (worldwide) that crash (averaged over their lifetime/uptime) more than twice daily. We don't learn anything about the percentage of Windows-installations that crash 1-2 times per day or less than once per day (averaged) e.g. how the other 95% of Windows installations behave. They may crash never, or they may crash (on average) just a little less than twice daily. Of the 5% we only learn that they crash at least twice daily, some of em might crash every few minutes.

    So your calculation that Windows-installations times .1 (10% or 2*5%, whatever) is only a lower estimate that could only result if the 5% crash twice daily (but no more) and the other 95% never crash.

    Also note that this is a worldwide statistics over all Windows-installations. The instable systems may be badly configured or run on bad hardware, we just don't know. But some big business setting up their desktop- and server- installations carefully and on stable hardware might not have such problems, their Windows-installations might crash never or at least (on average) less than once daily. Indeed it can be expected that a bunch of similarly configured systems exhibit similar behaviour and that a good systems administration takes care of those systems that crash too often and reconfigures, repairs or replaces them.

    --
    "By the way if anyone here is in advertising or marketing... kill yourself." -- Bill Hicks
  24. Reality Check... by rmpotter · · Score: 5, Insightful

    Um... where in the article does it say 3rd party code brings down the WHOLE O/S? In my experience the robustness of Windows has improved dramatically with every version (nevermind ME :-) I see individual applications crashing -- about 2 or 3 times a month. In fact, I typically go weeks and months between reboots (generally only when applying patches). There are plenty of things not to like about Windows, but the bad days of blue screens is a fading memory. Of course there are exceptions for odd hardware configurations and out-of-date drivers, but I've seen the same or worse problems with Linux support for oddball hardware.

    BTW -- you may have noticed that sometimes when an app "hangs", and displays a "not responding" message in Task Manager, it is actually still running just fine (though chewing up a ton of CPU). Depending on the problem I may wait it out until the process finishes or simply kill it. One of my gripes with MS is that sometimes I have to use a third-party tool (sysinternals.com) tool to kill runaway processes -- Task Manager is not always able to kill it. Not perfect, but it works.

    I think all of this applies to Windows server configurations also. I run IIS/ASP servers with dozens of users and applications. When configured so each account runs in its own memory space, with CPU utilization limits, NOBODY is able to bring down the whole web server with bad code -- just their own site.

    The fact is, most of us are so bigoted about our O/S of choice, we are unwilling to learn enough about the "enemy" to use it properly.

    --
    Is this sig nificant?
    1. Re:Reality Check... by rmpotter · · Score: 2, Insightful

      Sigh... a completely different issue.

      Did he have Automatic Updates enabled? Did he allow the updates to install or did he ignore them as I've seen so many people do?

      Consider: If (and it's a big IF) most of the world were running various distributions of Linux, and users were faced with a remote exploit, Red Hat, Debian, SUSE, et al would have to quickly develop, test and distribute patches. Would the uptake of these patches be better than Windows Update? I doubt it. Note that even the FSF was not able to patch in time to avoid an exploit -- and it took them over 4 months to discover they had been compromised: http://ftp.gnu.org/MISSING-FILES.README

      Is that clear enough for YOU ;-)

      --
      Is this sig nificant?
  25. If it's ATI, it *is* the video drivers! by BigBlockMopar · · Score: 3, Insightful

    The standard Microsoft weenie excuse for instability in the past has been "it's the drivers!", blaming the video drivers is a favourite.

    Unless it's an ATI product, in which case you can be 100% assured that it *is* the video drivers.

    In my experience, you can bring any Windows 2000 or XP machine with any model of All in Wonder to a screeching blue HALT by simply doing such outlandish and unreasonable things as

    • Changing the channel
    • Changing the size of the video window
    • Allowing a hover-over or dropdown menu to overlap with the video window
    • Letting DPMS turn off your monitor
    • Attempting to bring your computer back from standby
    • Attempting to record or save recorded video using ATI's own AVI or MPEG recording software, regardless of codec used

    And for those who really like fun, try an ATI All In Wonder Pro on Windows 2000. A couple of years ago, I deployed a couple of hundred of them at a Toronto TV station. A year later, they asked me to upgrade all their systems to Windows 2000. Constant random lockups of the whole system, requiring not just a reboot but a power cycle. Needless to say, they were not very pleased - you spend $300 on a video card, and you kind of expect that they'll provide drivers for at least a couple of years. ("They've been around forever. Besides, they're a good hometown company! Their headquarters are just 5 minutes from here, up the 404 in Markham."). Their news department almost did a story on crappy software but it was vetoed because news is supposed to be impartial.

    As for ATI, I will never buy another ATI product ever again, for myself or for anyone else.

    --
    Fire and Meat. Yummy.
  26. Re:Well, it's the same in Linux by Arker · · Score: 3, Insightful

    It's a weenie excuse either way, for sure. Who cares about excuses, we don't want excuses, we want the damn thing to work.

    And it's perfectly true you can run into the same problem with Linux if you use proprietary drivers so in that case there's something you can do. Don't use those drivers. Don't buy hardware that requires them. Fund development of open drivers. You have lots of options to make the damn thing work. I don't use proprietary drivers in Linux, and I've never seen it crash except when hardware failed.

    With windows you don't have those options. Even if you're picky about your hardware it will still crash. And, btw, the crashes the article was talking about were not limited to, and quite possibly didn't even include, those caused by drivers.

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  27. Speaking of Which by blunte · · Score: 3, Insightful

    Computers are so comparatively powerful now, we can afford to trade time performance for stability.

    Drivers should be moved out of kernel space where possible. Even then, with some effort it could be up to the admin whether drivers run at kernel level or at user level.

    --
    .sigs are for post^Hers.
  28. app crashes ARE the OS's fault by DunbarTheInept · · Score: 3, Insightful

    If any non-kernel, non-driver code causes the OS to crash, then that *IS* the fault of the OS. Hands Down. A good OS should be able to survive accidentally bad (or even maliciously bad) application code.

    --

    Don't label something "offtopic" unless you know the topic well enough to tell what's on topic.

  29. What scares me here... by bob670 · · Score: 2, Insightful

    is it appears MS is proud of this percentage. Along the lines of "only half the total failures of our software are our fault" so look how good our product is. After this many years I really expect to hear that 90% of crashes are due to third party code and that Windows is finally what has been promised for all these years. No question XP has lived up to a lot of it's promise, but it's more than obvious security and stability have miles to go. This is just plain sad.

  30. Re:You Mean The Glass Is Half Full? by Anonymous Coward · · Score: 1, Insightful

    This likely underestimates the responsibility of MS as probably 80% of the errors of third party software are due to a lack of adequate consistant correct unambiguous documentation or operation of the software to that documentation. This is a problem of a closed system. Having tracked down many MS errors (this is the main job of a MS developer), this is a low figure. Also, many companies consider MS quality sufficient and consider schedule and dollars coming in more important anyway so they are unlikely to improve beyond this level.

  31. Re:Open Source, Closed Source, Not the Problem by 1010011010 · · Score: 2, Insightful


    One fundamental design flaw in Windows is that it decides if a file is executable based on its name. If it ends in .vbs, .exe, .js, .com, .scr, or any of dozens of other extensions, Windows will happily try to run it, by default!

    --
    Napster-to-go says "Fill and refill your compatible MP3 player", which is a lie. It's not MP3. It's WMA with DRM.
  32. Unstable! by Grendel+Drago · · Score: 2, Insightful

    Yeah, but that was an unstable release. (2.1.something.) It's equivalent to an internal beta of Windows---why on earth would you run it on a production system? The unstable series are for testing, not for running on a system you're not willing to fry!

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
  33. Show us the Source then by Anonymous Coward · · Score: 2, Insightful

    Ah, gee. And no wonder. That would make sense that so and so a percentage of crashes is caused by third party software because MS doesn't provide the info to software developers which they need to make their software work like it's meant to on windows. That point was mentioned in 'The Court Case' and hasn't really changed, to the best of my knowledge, since.