Microsoft Code at Fault for Half of all Windows Crashes 819
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'. "
Uhm, right... (Score:5, Insightful)
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.
Re:Uhm, right... (Score:5, Insightful)
Re:Uhm, right... (Score:5, Insightful)
Re:Uhm, right... (Score:5, Insightful)
Re:Uhm, right... (Score:5, Interesting)
Re:Uhm, right... (Score:5, Informative)
I've done an embedded system with QNX, and it is quite the nice RTOS.
Under QNX, the devices hang out in the device manager, which is not in the kernel space, and the drivers are handled by the process manager, also not in the kernel. Since the kernel exists just to pass messages, essentially, it is uncrashable.
Re:Uhm, right... (Score:5, Interesting)
The kernel is, in fact,just a life vest. It's going to float no matter what.
Unfortunately, if you lose all of the parts of the boat, you're not going anywhere anyway...
Re:Uhm, right... (Score:5, Interesting)
Here's another stupid quote from the article:
Consider this: Microsoft has been ordered not to use the term MSCE in both the United States and Canada because Microsoft does not have the legal right to "certify" people as engineers. This playing fast and loose with terms now extends to:Re:Uhm, right... (Score:4, Informative)
And Watson can and does report back to "the mothership" for driver crashes, when the user allows it.
Re:Uhm, right... (Score:3, Interesting)
Re:Uhm, right... (Score:5, Insightful)
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.
Re:Uhm, right... (Score:5, Insightful)
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.
Re:Uhm, right... (Score:4, Funny)
Seeing how 9 out of 10(litterally) high schools in my local area don't meet federal guidlines, I wouldn't trust any of their graduates to sharpen pencils at city hall.
And I am guessing that your high school did not LITTERALLY meet the federal GUIDLINES?
Re:Uhm, right... (Score:4, Informative)
I've been reading the replies to this thread, and I'm a little bit confused. The licensing of engineers has been a hotly-debated practice for...well, for as long as engineers have been licensed.
Whether in favour of or opposed to licensing, I don't see how it could qualify as a Ponzi scheme [rr.com]. It may or may not be a worthwhile practice, but it's quite a stretch to describe it as a pyramid scheme.
Re:Uhm, right... (Score:5, Funny)
Re:Uhm, right... (Score:5, Informative)
The "Texas Engineering Practice Act" has a whole page of exceptions, but they call them "exemptions".
Lets see if we can find the relevant parts:
Well, that would seem to apply quite nicely not only to train engineers, but also software and systems engineers.
Re:Uhm, right... (Score:4, Informative)
Why do you think I have that sig? It's because everybody screws up occasionally. But since you don't want to play nice...(and you misspelled "wrong")
Your indentation is extremely misleading. Subsubsection (3) only applies if the requirements of subsection (a) are met.
Since the requirements of 20(a) must be met first, let's take a look at it by itself:
Wow, your options are:
The only way to ensure option 1 is to make sure nobody in the company calls you an engineer, so they won't slip up when talking to people outside the company. This is no different than not calling yourself an engineer at all.
Option 2 is worse than calling yourself something other than a software engineer, and a lot less reliable.
Now, you might say that software engineering doesn't fall under the "practice of engineering" bit.
*ahem*
Re:Uhm, right... (Score:5, Informative)
Guess you've been caught talking out of your ass again (but that's what ACs do)
Re:Uhm, right... (Score:3, Interesting)
Third-party code that could reasonably take the blame for "crashing Windows" would almost certainly be limited to drivers or other in-kernel code. Since 99% of third-party kernel code tends to be drivers, most people just round up and say "drivers". :-)
Re:Uhm, right... (Score:3, Insightful)
Besides, good code is an art form. It requires flashes of inspiration, attention to detail, insight, a willingness to
Re:Uhm, right... (Score:4, Interesting)
Surprise, surprise, got a visit, nut just a letter. Also got a copy of the actins they've taken against Microsoft, and the on-going negotiations re the use of the term "engineer".
They're ready to hand out fines of $600 to $6000 per day per incident, but most people change their ad real quick when they get a copy of the law along with the list of fines.
The funny thing is that in this case I agree with the governing bodies, and I'm usually not in agreement with "government-think".
If you don't want to sign an NDA, you can always take M$ to small-claims court for a refund. You have the law backing you up, and you could probably get the local engineering board on-side.
Speaking of Which (Score:4, Insightful)
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.
Re:Uhm, right... (Score:5, Insightful)
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.
Re:Uhm, right... (Score:5, Insightful)
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...
Re:Uhm, right... (Score:3, Funny)
I've heard some people say that. Click this link [slashdot.org] for some examples.
Re:Uhm, right... (Score:5, Interesting)
which is still sad, especially for an os whose zealous followers claim it is derived from VMS...
VMS had a major advantage in that almost every device attached to the system was also manufactured by DEC. With Windows there are a gazillion vendors of every component you can imagine.
There is no way commodity intel boxes are going to match the reliability of the DEC hardware built to run VMS. The build quality is just not the same - apart from the junk like the Multia that DEC built when it was on its way under.
One of my pet peves about reviews of the latest video hardware is that the quality of the drivers seems to receive only scant attention. I have video cards by nvidia and ATI, the performance of the two cards is indistinguishable but I have had far more hassle with the ATI drivers.
Re:Uhm, right... (Score:4, Interesting)
Can't this same thing be said about MACs? Apple designs them, builds them, and codes the OS for that said machine.
Don't get me wrong, I'm trying to say that this is not only a good thing, but something that I have the feeling this exact thought is kicking around BillyG's and Monkey Boy's heads.
Prepare for a Win* exclusive machine to be released.
Re:Uhm, right... (Score:5, Interesting)
Depends on the vintage. During the Amelio era Apple had serious quality problems. When I was at the AI lab about 6 years ago the Apples in use would crash about twice a day but the way they were going down was completely unlike Windows which tend to crash when provoked - indicating a likely software cause. These machines would just freeze up at random.
Since Jobs has been on board Apple do seem to have a major commitment to build quality. The problems they have been having have tended to be caused by pushing the envelope too far rather than shoddy components.
I don't think that Microsoft will go into the same market as Dell. Building PCs is a very low margin business.
Re:Uhm, right... (Score:5, Insightful)
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?
Re:Uhm, right... (Score:5, Interesting)
Not that I really care to defend MS, but playing devil's advocate, MS apps would be more likely to crash than other apps because they're used more. Your average user of a Windows machine will use Outlook, IE, Word, Excel, and Powerpoint. What non-MS apps will the average user want to use? AOL/AIM, WinAmp, and Kazaa. There may be a few others, but none that will be used as often as the MS-created applications. If you never use the app, it can't crash the system.
Sorry, Mephisto, that's no excuse (Score:5, Informative)
Re:Uhm, right... (Score:5, Informative)
Re:Uhm, right... (Score:5, Interesting)
Re:Uhm, right... (Score:3, Interesting)
Re:Uhm, right... (Score:5, Informative)
I suspect that they are referring to drivers and other kernel-space code. The standard Microsoft weenie excuse for instability in the past has been "it's the drivers!", blaming the video drivers is a favourite.
Remember that Microsoft don't write most Windows drivers, they don't have to because their market share is so great, any hardware manufacturer who doesn't supply Windows drivers is not competitive.
I believe this is the reason why Microsoft introduced their "Microsoft signed drivers" that are supposed to guarantee Microsoft-level stability (!).
However, I have to laugh at Microsoft when they claim 50% of crashes aren't their fault. It's like an advert for a diet pill saying "Doesn't cause death in over 90% of people!".
If it's ATI, it *is* the video drivers! (Score:4, 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
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.
Re:If it's ATI, it *is* the video drivers! (Score:4, Informative)
Of course, the all-in-wonder pro I have is old (1998?) - so I can see why they want to kill it off, but dragging your customers kicking and screaming to a new product isn't very good for customer relations - and ATI knows this now. Nvidia and other companies made them wake up.
Unfortunately they do have only 1 real competitor for the retail box market, so they aren't that concerned, but competition does help. Not that they will ever fix the drivers for the AIW Pro and their older cards, the PR damage has already been done, and the cards replaced.
Their support is, of course, useless, just because they have to deal with so many buggy - and often weekly - releases. There just isn't time for them to find the problems. No point to call / ask for support because it will not be helpful. Of course venting is fun, but hey. Besides, half the games out there don't work properly and cause issues by themselves.
Every once in a while, they get it mostly right, but it is a crapshoot. I've had drivers for my 7500 that would refuse to let me log on to 2k, but also the current version which works in both xp and 2k3 without any problems - i.e. I've had 0 bsod under 2k3 w/ my box with the 7500 in it since rc2 came out. A couple with "recording", or trying to with the AIW Pro - although that was expected. (the release for the 7500 is 6.14.1.6307 2/28/2003 if it helps anybody).
As far as I can tell, 2k3 IS stable. I've abused my system - knocking out ide cables while the system is running, "hot pulled" pci cards, etc. Basically anything that would not cause the computer to reboot due to a short would keep the system up. My processer fan came out for a couple minutes, I saw it running at 95C and dove for the power switch, but 2k3 stayed up. Granted, it isn't that hot, but still.
If I still lived in Ontario, I'd probably drive by at 120kph and throw a used tire rotor at their front door, it might cure an ulcer or two
Re:Well, it's the same in Linux (Score:4, Insightful)
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.
I dare say it is, but what does Linux have to do with it?
Re:Well, it's the same in Linux (Score:4, 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.
Re:Uhm, right... (Score:3, Informative)
Let's be honest her
Re:Uhm, right... (Score:5, Insightful)
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.
Comment removed (Score:5, Insightful)
Re:Uhm, right... (Score:5, Informative)
Re:Uhm, right... (Score:3, Insightful)
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
Re:Uhm, right... (Score:5, Insightful)
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
Re:Uhm, right... (Score:5, Interesting)
I'm now testing out the more recent Nvidia drivers (4496) and it's good so far, but I haven't been using it for long and haven't tried anything "dangerous" yet. Earlier drivers (=2960) were MUCH more stable but I can't seem to revert back.
I know this doesn't refute your argument. The nvidia drivers are proprietary with an open source wrapper. And with Linux machines running 100% open source drivers, I've seen uptimes that rivaled VMS systems. Genuine Linux kernel crashes on a stable system are so rare I've only seen two or three in 8 years of working with Linux on dozens of computers.
But Linux is no better than Windows in that "3rd-party" (in this case proprietary) drivers are still allowed, are often necessary, and are most likely responsible for system crashes. Well, actually I see a Windows NT BSOD every couple of weeks, and if half of these are due to Windows code, then the Linux kernel is more stable by a couple orders of magnitude.
Re:Uhm, right... (Score:5, Interesting)
Re:Uhm, right... (Score:3, Insightful)
Headline should be: Microsoft Admits to Testing (Score:3, Insightful)
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.
Re:Headline should be: Microsoft Admits to Testing (Score:3, Informative)
Hey, they're TESTING! Wow, they really are taking this trustworthy computing thing seriously.
Probably just a flippant remark, but they actual do test all of their applications and OSes, and they have (you know, all those internal and public beta TESTS and such).
But maybe this time they'll fix the bugs, instead
In other news... (Score:3, Funny)
1st post karma-whoring (Score:4, Informative)
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".
Charney's comments come as the company highlights the rigour with which it tests its own products before release. 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.
The company is employing root cause analysis and event sequence analysis procedures to scrub out the creation of sloppy code. The result is that individual developers have a high degree of accountability for the code they produce, while the systems and processes associated with code development are rigorously monitored.
Root cause analysis enables the company to check closely the work of individual developers. "If a developer has written vulnerable code, then we look at what else that developer has written and check it," Charney said
Event sequence analysis takes this further, analysing the reasons why the vulnerable code was written. Charney said it was not necessarily so they can sack whoever is writing vulnerable code, but find out the reasons why and how Microsoft improve their staff with training or more efficient processes.
As Charney made his remarks, Charles Sturt University announced they would be offering a Master of Information Systems Security degree including MCSE:Security industry certification.
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".
The chief security strategist's remarks have come at an unfortunate time, as mainstream and niche media outlets produce heavy coverage of the impact of the MSBlast worm, which has infiltrated corporate and enterprise networks worldwide.
Uh huh. (Score:4, Insightful)
Would you name this OS? (Score:5, Insightful)
John Dvorak has some interesting crash stats... (Score:5, Informative)
sPh
The Real Story. (Score:3, Funny)
Re:John Dvorak has some interesting crash stats... (Score:3, Insightful)
It's not a bug, it's a feature (Score:5, Funny)
Well, technically speaking, (Score:4, Funny)
A model of closed source (Score:5, Insightful)
Re:A model of closed source (Score:5, Interesting)
Re:A model of closed source (Score:3, Insightful)
Open Source, Closed Source, Not the Problem (Score:3, Informative)
Dr. Watson catches OS crashes, not app crashes (Score:5, Interesting)
Sounds bad, but compared to the number of application crashes, the number of actual OS crashes is infinitesimal.
These numbers lie and are (Score:5, Funny)
His conclusions are suspect, and so are his motives. It's elementary, really. Bill G should get Magnum P.I. or Simon and Simon to do this investigation.
SCO is responsible... (Score:5, Funny)
Ring 0, Ring 3? (Score:5, Interesting)
If the OS design is so poor, or hacks and compromises are made for gaming performance at the expense of stability, then you can't really complain when the system goes unstable.
Re:Ring 0, Ring 3? (Score:5, Informative)
Regardless, if a driver is running in the same memory space as the subsystem, a driver crash is going to take it out. It doesn't matter what ring the code is in. Again, back in NT 3.51 days graphics drivers were kept in seperate memory spaces, in ring3, but that was dropped due to piss poor performance.
The GDI subsystem (several layers away from any graphics drivers) currently sprawls Ring0 and Ring3.
Third party code- what kind? (Score:5, Interesting)
Userland applications or device drivers?
As so many others undoubtedly already have remarked, an application, however shoddily written,
should not bring down the whole OS.
If they're talking device drivers.. well, that's a different issue entirely.
On the other hand, if this is the case, what the heck is that MS certification process for?
So... (Score:5, Funny)
Obligatory forgotten option (Score:3, Funny)
Geez, what a two-sided statement... (Score:5, Insightful)
MS responsible for 100% of crashes (Score:4, Insightful)
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)
Re:MS responsible for 100% of crashes (Score:3, Interesting)
I'm not suggesting that Windows infrastructure isn't to blame for many system failures, but making blanket statements is far beyond that.
Lines of code (Score:5, Funny)
Rus
Take your own medicine? (Score:5, Insightful)
Clarification of 'rigor' (Score:5, Funny)
Hmm... What kind of 'rigor' is that, again? Rigor mortis?
Re:Clarification of 'test' (Score:3, Insightful)
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 decisio
Re:Clarification of 'rigor' (Score:3, Interesting)
Amen, brother.
And here I was worried that I was the only one to receive things that could never have even been tried.
They should steal better code (Score:5, Funny)
Being Picky (Score:3, Insightful)
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.
Buy 'em one of these!!! (Score:3, Funny)
Also keep in mind.. (Score:3, Funny)
Also if you want a crash free environment all that is required is you shut the machine off and place it in a vacuum sealed container.
.....See Microsoft does make crash free products! you just don't know how to use them properly... anyone that has the gall to use third party applications is spelling their own doom...
Only Half? (Score:3, Insightful)
MS Blaster (Score:5, Funny)
In other news... (Score:5, Funny)
A load of BS (Score:3, 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.
Indeed BS (Score:4, Informative)
When Windows gets read-only mempages (IIRC win2k3 has them) for kernel processes, this will be ended, until then: the 3rd party drivers are mostly at fault.
Hmmm...lets see.. (Score:3, Insightful)
So what were we saying again...
Scene at MS HQ (Score:5, Funny)
Present: Emporer Gates, DBallmer
Emporer Gates: Darth Ballmer, it has come to my attention that we do not possess 90% market share in certain aspects of our operation. Your performance diappoints me...
Darth Balmer: Ook.(1)(2)(3) [Hooo...haaa...hooo...haaa](4)
Emporer Gates: Our code causes only 50% of crashes, yet we control 95% of desktop computers...can you explain the ineffectiveness of our operation? Why are we lagging in this area?!?!?
Darth Balmer: Ook. [Hoooo...haaaaa...hoooo...haaaa]
Emporer Gates: Please put your army of flying monkey dark Jedi to work on this problem immediately. I expect results, Ballmer. You will not fail me in this, or you will be looking for bananas in the sodomy pits of the Hutts!
Darth Balmer: Ook! [Hoooo...haaaaa...hoooo...haaaa]
GF.
(1) Monkeyboy [ntk.net]
(2) Librarian [lspace.org]
(3) I'm aware that it should be "Ape-boy" if the Librarian is an Orangutan, but if you don't tell the Librarian, I won't.
(4) Darth Vader breathing sound
"Crashes in Windows" not "Windows Crashes" (Score:4, Interesting)
Which is it? I am confused. The latter isn't the fault of MS. But no application failing should be able to crash Windows, it's the OS's job to make sure it can handle failing programs.
TROY
Microsoft vs. third party (Score:4, Interesting)
I'm wondering why the news:
Microsoft is claiming that half of all MS Windows crashes are the fault of third party code, not their own.
turned up side down..
Microsoft Code at Fault for Half of all Windows Crashes
Interesting article (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.
You Mean The Glass Is Half Full? (Score:5, Interesting)
Let's see... umm... A MS basher is someone who believes that half the bugs belong to MS. A MS apologist is someone who believes half the bugs belong to somebody else.
Of course if you want to avoid emotional implications when describing the glass, you say "it's 50% water and 50% air". Likewise for this, except...
If half the *code* in your system is written by somebody else, and they are responsable for half the bugs, then that tells you that you and the other guy are equally competent.
Of course, you can spin those statistics anyway you like to suit your needs. Some programs are historicly more difficult to write than others. You could evaluate binary bytes, LOC, or number of binary files to get the spin you want.
I'm willing to wager that MS and its partners are equally competent, since they draw on similar pools of talent. If there is any significant differential, things will tend to regress to the mean of proportional bugginess. For example, if a given vendor always writes buggy code they will eventually be replaced. If MS can't write something, they will eventually buy a company that can.
Reality Check... (Score:5, Insightful)
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.
We would have the real numbers but... (Score:4, Funny)
CNN Poll (Score:5, Funny)
" How are you planning to protect your PC from the LoveSan Internet 'worm' affecting Windows-based PCs?
Going to load a patch from Microsoft 19%
Have already loaded a patch from Microsoft 39%
Doing nothing 41% "
app crashes ARE the OS's fault (Score:4, Insightful)
Re:And this latest report.... (Score:3, Funny)
Heck! That's for sure! They'd have this light fluffy exterior. It would be hard to dislike someone with a light, fluffy exterior. Just look at Natalie Portman!
Of course, if they were then to be deep fried, they'd be a bit scratchier, although oh so good!
How do you think Natalie Portman would tasted deep fried?
mmmmm... deep fried Natalie Portman... *drool*..
Re:Why don't Unix systems being hacked like Window (Score:4, Interesting)
With the help of Intel and the "trusted computing initiative" only MS certified objects will be alowed to run on your computer. The fritz chip extentions are already in place for this in the p4 and up, so when you install Longhorn you will effectively surrender control of your computer to MS, the RIAA, Hollywood and the Government. But don't worry the trade off is you will not have to worry about worms and viruses anymore sucker! Unix systems are not attacked because to install an executable you need to be root, and any user that knows squat uses a decent pass word mine was dos_booty until just a few minuites from now when I will change it again.