DLL that was not present in memory despite not being formally unloaded

(devblogs.microsoft.com)

57 points | by ibobev 5 hours ago ago

23 comments

  • masfuerte 2 hours ago
    • Someone1234 an hour ago

      Part 1 was interesting; it isn't clear why he split that into a Part 2 since it adds little to the story and is a paragraph long.

      • londons_explore 18 minutes ago

        I assume the fact it is a third party application means debugging gets harder, and the business case for doing so is weaker/none.

        But I would hope that some kind of reverse debugger triggered on one of these crashes would make it pretty simple to say "who wrote this 01".

      • taneq an hour ago

        Might have been an “I need to look into this” segueing into “ never mind”?

  • zabzonk 2 hours ago

    > The good news for the shell32 team is that they are off the hook; they are the victim. The bad news is that we don’t know who the culprit is.

    The story of software development through the ages.

    • brookst an hour ago

      When you’ve eliminated all possible explanation, it’s time to pack it in.

      • taneq an hour ago

        Oh man, my journey from idealistic “there is always an explanation” youth to “some days it do be like that, and we may never know why” in a nutshell.

  • rwmj an hour ago

    What MSFT support policy do you need to have the legendary Raymond Chen take a look at it?

    I say this because we've reported a bunch of Windows bugs (mainly running Windows under virtualization) and getting them to pay attention at all is an up-hill battle.

    • hackyhacky 36 minutes ago

      > What MSFT support policy do you need to have the legendary Raymond Chen take a look at it?

      If you have to ask, you can't afford it.

  • kumarvvr 2 hours ago

    I see posts like this, this deep dive into the call stacks and am always humbled and reminded of the limits of my knowledge about computers and programs.

    • dist-epoch an hour ago

      Goes both ways, author probably knows little about FPGA programming, React or PyTorch.

    • Panzer04 an hour ago

      Not a programmer?

      • kumarvvr an hour ago

        I am, for 20 years now. I do embedded stuff too. Still.

        • Panzer04 an hour ago

          I'm a bit surprised you don't run into things like this then :). Do you use GDB and the like at all?

          Or do you mean all the windows specific stuff etc, I guess I was more imaging the call stack etc.

          No insult was intended XD

          • FartyMcFarter 37 minutes ago

            As someone who has debugged his fair share of tricky low-level issues, the parts that I find impressive in his blog posts are things such as "then we look at the bytes in memory and oh yeah, this looks like an exception record". I would usually not think to do that (or be able to recognise it as easily as I presume he did).

          • kumarvvr 42 minutes ago

            I have done everything from desktop apps to web apps and a bunch in between. Regular debugging is good enough for me. Never had the need to go down into call stack level.

            Even with embedded programming, regular C debugger has always been enough.

  • nopurpose 17 minutes ago

    How big and important third-party vendor must be for Raymond Chen to dissect its coredumps?

    • FartyMcFarter 8 minutes ago

      Given his seniority, it could also be that he picks whatever bugs he wants to work on. Whether that is from personal interest, frequency of crashes or any other criteria.

      When you're at that level in a company, it's rare that someone would be micromanaging what you work on at all times.

  • defrost 2 hours ago

    That's some doggedly determined back tracing to uncover an unexpected heisenbug (loose meaning).

      So a total of 46% of the crashes were due to this rogue force-unload of a DLL. This is a case of bucket spray, where a single underlying cause generates a large number of different types of crashes.
    • chrisjj 2 hours ago

      We've not yet seen sufficient evidence this is any type of heisenbug.

      • defrost an hour ago

        It's not, by the article, in a strict taxonomy.

        In a wider sloppier sense some use the term for bugs that are hard to pin down and exhibit wide behaviours.

      • brookst an hour ago

        Looking more closely would resolve it one way or the other.