10 comments

  • monster_truck 35 minutes ago
    Remember when that unicode string nuked iOS 7 and you could set it as your SSID to get them stuck in a loop? good times.
    • LoganDark 9 minutes ago
      Kinda reminds me of that wifi network from Doctor Who that gets you uploaded to the cloud. (episode: The Bells of Saint John)
  • itstrueitried 7 minutes ago

        while (true) console.log('this will freeze/crash dev tools') 
    
    For more of a "I've been hacked!" effect, load infinite 3D models in Three.js that have millions of vertices each. You get those black boxes where the system has so low RAM it can't even draw the browser window.
    • anakaine 4 minutes ago
      Shall we term this a Denial of Memory attack. Then in order to Contain it we have a ConDoM fix?
  • TedDoesntTalk 27 minutes ago
    Is this why Oregon Trail Deluxe freezes on Mac?

    https://oregontrail.ws/games/the-oregon-trail-deluxe/play/

  • sgentle 25 minutes ago
    Could be a useful way to force user-interaction-gated flows. A "your computer is infected, click this button in 10 seconds or it will crash" type button which, at this point, most modestly-knowledgeable users would know not to click. However, after seeing their computer actually crash when the countdown hits 0, perhaps they would be more inclined to click "allow" on whatever prompt follows when they see it again.

    Of course, plenty of other uses. Disable your adblocker or we crash your computer. Watch the whole ad or we crash your computer. Click the follow button or we crash your computer.

    Maybe I'm crazy, but "crash your computer" as a building block seems powerful enough to be a security issue. Is denial of service not a security thing anymore?

  • slicendice 21 minutes ago
    I want to click it so bad, but I can't bring myself to do it.
    • LoganDark 8 minutes ago
      For me it just caused Safari to stop working until I quit and restarted it.
  • ilnmtlbnm 4 hours ago
    Amazing!

    I encountered the same type of death freeze when trying (and failing) to run models in browser tabs, but didn't spend much time trying to understand how severe it is.

    Hope they don't disable WebGPU...

  • LoganDark 10 minutes ago
    Apple Silicon Macs have a lot of GPU problems. I find that after running any significant GPU workload, the entire operating system starts getting super slow until a reboot. Even if the entire process tree that ever touched the GPU has been completely terminated for days.
  • selectodude 1 hour ago
    Zero impact on iOS 27.
    • skinfaxi 4 minutes ago
      The title says "freeze a mac".
    • embedding-shape 1 minute ago
      Tried it on my Blackberry too, also nothing. I say it's a nothingburger.
    • layer8 20 minutes ago
      It’s not an iOS bug to begin with.
    • iAMkenough 49 minutes ago
      Still impacts macOS 27 release candidate.
  • fuzzfactor 3 hours ago
    Maybe that would be better than a meltdown . . .
  • hyperhello 54 minutes ago
    The code is just an infinite loop counter. You can cause all kinds of Safari issues with an infinite loop in JavaScript too, which is sure annoying when trying to figure out large codebases. There was a student in Japan who showed that you could do this trivially and they were arrested.
    • StilesCrisis 2 minutes ago
      Blowing up a browser tab with bad JavaScript is not considered to be a problem. But kernel panicking the computer is different--this brings us back to the bad old days of MacOS where a buggy program could force a freeze/restart at any time.
    • mikestew 7 minutes ago
      There's more to it than just a loop. If it was just a loop, it would peg a CPU core and be done with it. But you'll have to reread TFA to find out how it takes out the window server, thus freezing the rest of the system.
    • SahAssar 39 minutes ago
      Usually you can't freeze the whole system UI with an infinite counter though. I'm pretty sure normal JS browser processes are not supposed to be able to do that.
      • LoganDark 8 minutes ago
        It only froze Safari tabs for me. Not even Safari's own UI except for the web pages themselves.

        It did it to all tabs though.

    • hyperhello 11 minutes ago
      Why does everyone hate this comment? Attitude? I can’t figure out the wavelength here. I’m just commenting.
      • StilesCrisis 1 minute ago
        Because kernel panics are a wildly different class of bug than breaking one browser tab. An "Oh Snap" is the designed outcome of a JavaScript infinite loop. Crashing the whole computer is not.
      • demibabs 1 minute ago
        "It's just" is usually an annoying way to start a comment.
      • JumpCrisscross 5 minutes ago
        > Why does everyone hate this comment?

        "It's just" dismissals are annoying when they're blatantly wrong. An infinite-loop counter in Orion.app shouldn't cause my entire machine to freeze, down to being unable to force quit.

      • LoganDark 7 minutes ago
        An infinite loop in JavaScript causes a different issue. It doesn't cause the rest of your tabs to stop working too. Or allegedly the entire rest of the OS though I can't reproduce that.