Slashdot Mirror


Silly Kernel Panic in Mac OS X 10.2.2

shibby tells us that it is easy to cause a kernel panic in Mac OS X 10.2.2, by attempting to move a directory into the same location as another one of the same name, using Terminal: mkdir ~/mydir; cd ~/mydir; mkdir mydir; mv mydir ... Kernel panic is instant. Save all your documents and quit your open apps if you feel the need to see it for yourself. Happy Thanksgiving!

5 of 192 comments (clear)

  1. IMPORTANT! by iMMersE · · Score: 5, Informative

    Be very careful with this - If you are testing, or accidentally gonna do this, you will lose both directories and all data in them.

    --
    codegolf.com - smaller *is* better.
  2. They know .... by Draoi · · Score: 5, Informative
    This was originally posted to the darwin-development mailing list, of which I'm a subscriber;

    Here's the message (login: archives, pass: archives)

    This list is teeming with Apple folks, so I'm sure someone's posted a RADAR bug already.

    This problem also came up on MacNN and is discussed in detail here

    Now here's the kicker - as the kernel is open-source (APSL - don't complain), someone's already traced the problem back to a recursive lock in the HFS+ subsystem (hfs_vnops.c). Kewl or wha'?

    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

  3. Re:I hope you submited to Apple by Draoi · · Score: 5, Informative

    Yep! The guys on MacNN posted feedback to Apple last week. Expect a kernel Software Update sometime soon, I guess.

    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

  4. ArsTechnica by Draoi · · Score: 5, Informative

    .. have a thread going on this, too. Link here

    --
    Alison

    "It is a miracle that curiosity survives formal education." - Albert Einstein

  5. What's wrong with HFS+? by 2nd+Post! · · Score: 5, Informative

    What's missing that you want HFS+ to go away or something?

    It's got metadata, which Microsoft only *added* with NTFS
    It finally got journaling with 10.2.2
    It spans, quite comfortably, 180GB hard drives
    File sizes can be larger than 2gb, and I believe up to 2TB (2^63 bytes per file)

    Is there something missing? Perhaps encryption? Apple already has support for encrypted volumes...