Author Topic: Dataloss Bug in Leopard  (Read 6741 times)

0 Members and 1 Guest are viewing this topic.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Dataloss Bug in Leopard
« on: November 06, 2007, 02:25:21 am »
http://tomkarpik.com/articles/massive-data-loss-bug-in-leopard/


"Leopard’s Finder has a glaring bug in its directory-moving code, leading to horrendous data loss if a destination volume disappears while a move operation is in action. I first came across it when Samba crashed while I was moving a directory from my desktop over to a Samba mount on my FreeBSD server.

I’ve now run tests on a Windows XP SP2 SMB mount, as well as a local HFS+ formatted USB drive, and the bug surfaces every time the destination disappears while the Finder is moving something to the destination."


In short, upon any condition that a Move operation fails the source directory is still deleted. This source dir should only be deleted if the transfer to the destination did not fail.

The bug has existed since Panther, I guess it blows any sort of "Microsoft is late to fixing bugs" complaints right into hypocrisy.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Dataloss Bug in Leopard
« Reply #1 on: November 06, 2007, 02:36:03 am »
There was a windows update for Windows 2000 that created a data-loss bug.  If a hard drive was using compression and was accessed, it would lose data every time something was saved, IIRC.  :P

This is still a pretty serious bug.  :P
And like a fool I believed myself, and thought I was somebody else...

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Dataloss Bug in Leopard
« Reply #2 on: November 06, 2007, 02:43:33 am »
According to my friend, "it only happens if you have a file that's over the size of 500 MB".

That still sucks, but at least it's well known (he knew about it before I sent him the link).

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #3 on: November 06, 2007, 07:58:51 am »
Test file in the article is 384MB. Seems any operation that takes over 10 seconds, so it may very well depend on hardware though
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #4 on: November 06, 2007, 09:02:03 am »
That still sucks, but at least it's well known (he knew about it before I sent him the link).

I don't see this as a plus. At all. The fact that it's been known for now two point releases is astounding. It's a severe bug, which can result in data-loss. The fact that this even got out of QA is amazing.

I'm sure if this were happening to Vista, the entire internet would be apeshit demanding a fix. It happens to OSX and people learn to live with it..

Seems Apple focused more on making Finder pretty, as opposed to fixing a glaring bug which has been present since Panther. But hey, at least they have the iPhone.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline chuck

  • Full Member
  • ***
  • Posts: 335
  • Canadian Biathlete
    • View Profile
    • Chucks Blog
Re: Dataloss Bug in Leopard
« Reply #5 on: November 06, 2007, 09:38:05 am »
At least its a bug, and not a feature. ;)
Chucks Blog
JavaOp2 Plugins

Quote
Error, keyboard not connected. Press F1 to continue.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Dataloss Bug in Leopard
« Reply #6 on: November 06, 2007, 10:33:43 am »
That still sucks, but at least it's well known (he knew about it before I sent him the link).

I don't see this as a plus. At all. The fact that it's been known for now two point releases is astounding. It's a severe bug, which can result in data-loss. The fact that this even got out of QA is amazing.

I'm sure if this were happening to Vista, the entire internet would be apeshit demanding a fix. It happens to OSX and people learn to live with it..

Seems Apple focused more on making Finder pretty, as opposed to fixing a glaring bug which has been present since Panther. But hey, at least they have the iPhone.

How is it being well known not good for the user? :P

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #7 on: November 06, 2007, 10:37:15 am »
That still sucks, but at least it's well known (he knew about it before I sent him the link).

I don't see this as a plus. At all. The fact that it's been known for now two point releases is astounding. It's a severe bug, which can result in data-loss. The fact that this even got out of QA is amazing.

I'm sure if this were happening to Vista, the entire internet would be apeshit demanding a fix. It happens to OSX and people learn to live with it..

Seems Apple focused more on making Finder pretty, as opposed to fixing a glaring bug which has been present since Panther. But hey, at least they have the iPhone.

How is it being well known not good for the user? :P

Ah, I thought you meant at Apple.
I think that while it's good the users know of the bug, it's obvious not enough really know since it's cropping up again. It's a very dangerous bug, which is pretty easy to reproduce.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Hitmen

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 1913
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #8 on: November 06, 2007, 11:54:49 am »
Ugh, more microsoft v apple. Same shit different platform. Buy whichever turd you perfer.
Quote
(22:15:39) Newby: it hurts to swallow

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #9 on: November 06, 2007, 11:58:48 am »
Ugh, more microsoft v apple. Same shit different platform. Buy whichever turd you perfer.

What exactly do you want them to do? Hold hands? This is competition, and the consumer deserves the right to inquire about the quality of the product he/she is buying.

One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Dataloss Bug in Leopard
« Reply #10 on: November 06, 2007, 12:38:32 pm »
War, stop being such a bleeting fanboy.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #11 on: November 06, 2007, 12:57:25 pm »
War, stop being such a bleeting fanboy.

I'm pointing out flaws in a flawed system, while at the same time asking others to try to justify the fact that such a critical bug was ignored.

I will admit, I'm having fun.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Dataloss Bug in Leopard
« Reply #12 on: November 06, 2007, 12:58:59 pm »
Ugh, more microsoft v apple. Same shit different platform. Buy whichever turd you perfer.

What exactly do you want them to do? Hold hands? This is competition, and the consumer deserves the right to inquire about the quality of the product he/she is buying.

If they worked together, they'd both have a better product. But they don't, so they both have worse products than otherwise.

That's why competition (and, hence, capitalism) sucks. :)

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Dataloss Bug in Leopard
« Reply #13 on: November 06, 2007, 01:04:23 pm »
Do you think that your little tank notebook would exist if not for competition? :P
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #14 on: November 06, 2007, 01:05:48 pm »
Ugh, more microsoft v apple. Same shit different platform. Buy whichever turd you perfer.

What exactly do you want them to do? Hold hands? This is competition, and the consumer deserves the right to inquire about the quality of the product he/she is buying.

If they worked together, they'd both have a better product. But they don't, so they both have worse products than otherwise.

That's why competition (and, hence, capitalism) sucks. :)

What happens when the one unified company achieves complete domination of the market? There is no incentive to deliver a better product, innovation is stagnated.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Dataloss Bug in Leopard
« Reply #15 on: November 06, 2007, 03:34:26 pm »
Do you think that your little tank notebook would exist if not for competition? :P
Yes, if there was no competition computers would still be required in dangerous situations.

What happens when the one unified company achieves complete domination of the market? There is no incentive to deliver a better product, innovation is stagnated.
Like I said, it's why capitalism sucks. Money is a crappy incentive because at the same time as making better products, it also encourages companies to make cheaper products.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Dataloss Bug in Leopard
« Reply #16 on: November 06, 2007, 04:41:50 pm »
I've been trying for the past half hour, have tried files of all sizes, and I can't get this bug to occur. Maybe they haven't fixed it because they couldn't reproduce it, because it's rare?

Also, Warrior, you can hardly use this minor bug as an excuse to hold Windows above OSX. I'm not interested in starting a war, but I will point out that it's a fact that there has only ever been one virus for OSX, and the fix was distributed before the exploit became known. Microsoft seems to release a critical update for windows ever other week.

I was at the Apple store last night (talking them in to Leopard for free, which worked btw), and one of the geniuses explained to some old lady that he removed the anti-virus software from her mac because it was unnecessarily slowing down her old ass G3.
« Last Edit: November 06, 2007, 04:47:32 pm by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Dataloss Bug in Leopard
« Reply #17 on: November 06, 2007, 05:06:22 pm »
...it's a fact that there has only ever been one virus for OSX, and the fix was distributed before the exploit became known.
That doesn't really make sense, since viruses don't depend on exploiting vulnerabilities.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #18 on: November 06, 2007, 06:06:33 pm »
Also, Warrior, you can hardly use this minor bug as an excuse to hold Windows above OSX. I'm not interested in starting a war, but I will point out that it's a fact that there has only ever been one virus for OSX, and the fix was distributed before the exploit became known. Microsoft seems to release a critical update for windows ever other week.

I was at the Apple store last night (talking them in to Leopard for free, which worked btw), and one of the geniuses explained to some old lady that he removed the anti-virus software from her mac because it was unnecessarily slowing down her old ass G3.

Minor bug? Data loss is a minor bug? Only in the Apple world I suppose.

I'm aware of at least two OSX viruses, but either way there have been even more critical holes found which could lead to remote code execution. That's the problem with the Apple camp, they pretend they're immune to malware.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Dataloss Bug in Leopard
« Reply #19 on: November 06, 2007, 06:17:16 pm »
It's minor in the sense that the conditions it occurs under are fairly obscure, specific and unlikely to arise for the average user.  I agree that data loss is a big deal, though.

I'm sure I don't have to point out that statistically, apple users are far less likely to run into problems.  Immune is the wrong word in most reasonable cases I'd say.  I'm sure there are ignorant mazis (mac nazis?) that say shit like that, but no one with a fairly encompassing knowledge of the subject believes that macs don't have vulnerabilities.

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #20 on: November 06, 2007, 06:41:03 pm »
I'm sure I don't have to point out that statistically, apple users are far less likely to run into problems.  Immune is the wrong word in most reasonable cases I'd say.  I'm sure there are ignorant mazis (mac nazis?) that say shit like that, but no one with a fairly encompassing knowledge of the subject believes that macs don't have vulnerabilities.

Of course, I also don't think it's fair to rag on an Operating System with 95% more market share than you in terms of security. Windows is infinitely more targeted, it's impossible to make a direct comparison between the two in terms of security.

What it is possible to do is shoot down the sense of "It just works" or there "is no malware on OSX". It's a very ignorant, and dangerous stance.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Hitmen

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 1913
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #21 on: November 06, 2007, 06:49:25 pm »
What exactly do you want them to do? Hold hands? This is competition, and the consumer deserves the right to inquire about the quality of the product he/she is buying.
I meant people who use the products, not the compaines.  I do not hold myself responsible for the anticapitalistic conversation which followed.
Quote
(22:15:39) Newby: it hurts to swallow

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #22 on: November 06, 2007, 06:51:29 pm »
What exactly do you want them to do? Hold hands? This is competition, and the consumer deserves the right to inquire about the quality of the product he/she is buying.
I meant people who use the products, not the compaines.  I do not hold myself responsible for the anticapitalistic conversation which followed.

The second sentence still holds merit in that case.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Hitmen

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 1913
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #23 on: November 06, 2007, 06:59:24 pm »
The second sentence still holds merit in that case.
I wasn't complaining that you posted the topic, it is a perfectly valid topic for discussion. It just sucks that it turns into microsoft v. apple rather than looking at it objectively.
Quote
(22:15:39) Newby: it hurts to swallow

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #24 on: November 06, 2007, 07:02:32 pm »
The second sentence still holds merit in that case.
I wasn't complaining that you posted the topic, it is a perfectly valid topic for discussion. It just sucks that it turns into microsoft v. apple rather than looking at it objectively.

They are two direct competitors. It's inevitable that it will turn into that kind of discussion. Competition is not always pretty.
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Hitmen

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 1913
    • View Profile
Re: Dataloss Bug in Leopard
« Reply #25 on: November 06, 2007, 07:10:45 pm »
They are two direct competitors. It's inevitable that it will turn into that kind of discussion. Competition is not always pretty.
But it could be, if people weren't assholes for no reason!
Quote
(22:15:39) Newby: it hurts to swallow

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Dataloss Bug in Leopard
« Reply #26 on: November 08, 2007, 11:24:28 am »
...it's a fact that there has only ever been one virus for OSX, and the fix was distributed before the exploit became known.
That doesn't really make sense, since viruses don't depend on exploiting vulnerabilities.

The defining characteristic of a computer virus, as opposed to malware, is the ability to spread to other computers. OS X is resilient to this type of attack because of its atomic design. I don't know anything about how Windows was designed, but if you look at the vulnerabilities that have existed in the past, the vast majority of them result from unchecked buffer overflows. Professional developers should be aware of how to avoid this flaw; hell, I took a 2000-level class in my Sophomore year of college where the professor would fail students that created this type of vulnerability, because it's so simple to avoid!

I'm not saying that I demand perfection from every piece of software I use, but I am saying that Microsoft - someone is here to install ram, i'll finish this later :)

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Dataloss Bug in Leopard
« Reply #27 on: November 08, 2007, 11:51:23 am »
You need someone to install your memory but you're going to criticize Microsoft?  LOL  :D
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Dataloss Bug in Leopard
« Reply #28 on: November 08, 2007, 12:07:31 pm »
The defining characteristic of a computer virus, as opposed to malware, is the ability to spread to other computers.
Incorrect: the defining characteristic of a computer virus is that it's capable of infecting other files or programs.

You're probably thinking of a worm, where the defining characteristic is the ability to propagate on its own (or with minimal user interaction -- not part of the definition, but email worms have skewed it a bit).

OS X is resilient to this type of attack because of its atomic design. I don't know anything about how Windows was designed, but if you look at the vulnerabilities that have existed in the past, the vast majority of them result from unchecked buffer overflows. Professional developers should be aware of how to avoid this flaw; hell, I took a 2000-level class in my Sophomore year of college where the professor would fail students that created this type of vulnerability, because it's so simple to avoid!

I'm not saying that I demand perfection from every piece of software I use, but I am saying that Microsoft - someone is here to install ram, i'll finish this later :)
The rest of this is reasonable. My issue is simply a semantic one.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Dataloss Bug in Leopard
« Reply #29 on: November 08, 2007, 12:27:09 pm »
You need someone to install your memory but you're going to criticize Microsoft?  LOL  :D
No, I'm at work. It's a stupid policy they have; I have no control over it.

I'm not saying that I demand perfection from every piece of software I use, but I am saying that Microsoft - someone is here to install ram, i'll finish this later :)

...but I am saying that Microsoft does not live up to the standards that are set by every operating system that isn't Windows. Of course, it's reasonable to say that it's possible that more vulnerabilities have been found because it's a bigger target, but I think it's also reasonable to say "come on, everyone knows it's just less secure."

In any event, this isn't really the reason I jumped in to the topic, my intent was to show that Warrior's attack was overzealous. Sure, it's a bug, and it has pretty serious consequences, but it's unreasonable to make that kind of a comparison to Windows. For starters, the products don't even target the same markets. The overlap is almost exclusively limited to home computers, and even there Microsoft has a huge hold on the market, but it has been shrinking at a substantial rate ever since Apple switched to Intel processors.

On a completely unrelated note, the wireless connection at my apartment sucks. There are 28 visible access points, and even if I pick a channel that is unused, I'm still lucky to get a couple megabits of throughput with line-of-sight to the AP. I've been plugging in to the router every time I need to transfer files across the network. It's still reasonable to download files from the internet over the wireless (we have an 8Mbit cable connection).
« Last Edit: November 08, 2007, 12:29:04 pm by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!