r/lowlevel • • May 06 '17

The Windows debugger team is hiring!

I'm a dev lead for the Windows debugger team at Microsoft and I wanted to let you all know that we have positions available on our team. Our team works on WinDbg and related tools around user and kernel debugging. We're doing a lot of work around making debugging easier and more powerful, as well as improving the ability to do automatic problem analysis. It's a good fit for anyone interested in low level code.

The job description and application link is here: https://careers.microsoft.com/jobdetails.aspx?ss=&pg=0&so=&rw=1&jid=283606&jlang=EN&pp=SS

37 Upvotes

12 comments sorted by

6

u/timmisiak May 06 '17

Also, I checked with the mods before posting this, and they said it was ok to post :)

Thanks mods!

3

u/MarzipanEnthusiast May 09 '17

Not really on topic, but do you have any insight about the widespread issue with Creator's update breaking a lot of debuggers (gdb, Delphi...) due to (I suppose) undocumented tweaking to LoadLibrary()?

1

u/timmisiak May 09 '17

I haven't heard of this. Do you have anything I can read about this?

1

u/MarzipanEnthusiast May 10 '17

There is not much unfortunately apart from an initial thread at Embarcadero (http://bit.ly/2q16qTU) and a bug report (https://document.li/Dr9W - as PDF as you need a login to view).

"The loading issue seems that the more un-rebased DLLs you have the bigger the problem gets. This will cause performance problems in a great many applications. The pre-fetch technology made rebasing DLLs not needed, as the main hit was the first time you ran an application the pre-fetcher would analyse the loading behaviour and relocations and save this information, then use it on subsequent loads. Now however this new behaviour seems to kill the prefetcher's benefits.". As far as I know the issue have been escalated at Microsoft but I haven't heard anything new for a week. I don't use them directly but from what I've heard this does not affect VS or WinDBG but mainly third-party debuggers.

2

u/timmisiak May 10 '17

Interesting. I can't find a bug filed on this, but maybe I'm using the wrong search terms. My suspicion is that the Delphi debugger is doing something expensive when the kernel sends module load/unload events (maybe doing a symbol search or something?), which is why it would hit the Delphi debugger but not windbg. Is there some way to reproduce the issue with some public software?

What I'd to debug this is to configure the debugger to break on module load and unload (in windbg, this is "sxe ld" and "sxe ud"). If we found one of these spurious module load events, we could figure out what's causing this and potentially determine a workaround. If there is a valid reason for the module loads and unloads, the fix would probably have to come from the Delphi debugger, maybe deferring some of the work it's doing for a module load until the target breaks in maybe?

2

u/agony999 May 11 '17 edited May 12 '17

Hi,

Thanks for taking some time to answer indeed ! I've been looking for a workaround for this specific issue without any success.

As far as i can tell, it's not specific to the Delphi debugger as i've seen the same behavior with an old mingw gdb version (4.8.1) and the latest snapshot of xdbg64 (2017-05-09_22-02). Since creator's update the debugging software gets a lot of load/unload message for each bpl/dll, and then seems stalled waiting for "something" - while previous windows 10 version does not exhibit this behaviour (and windbg seems unaffected on all version)

Embarcadero has just updated the bug report with additional interesting info : http://bit.ly/2q9ghpa but seems nowhere close to solve the issue.

I have made a small project demoing the problem (Binaries are in Win32/Build) http://bit.ly/2r4780n (Full source attached) If you've got some time to lose on a random reddit comment and want to look around on your end that would make my day year ;)

Edit : I forgot to mention that the behaviour is different if the debugging process attach itself to a running instance instead of launching one - not sure that it's important but seems worth to notice.

Edit : wording

Anyway, thanks for your attention ! Cheers,

1

u/MarzipanEnthusiast May 10 '17

Thank you for the insight, we'll look into it

2

u/Isvara May 07 '17

Are you having trouble hiring?

2

u/timmisiak May 07 '17

I just posted this position a few days ago, so I don't know yet.

5

u/DingDongHelloWhoIsIt May 07 '17

It's always hard to get good people

1

u/dingo_bat May 07 '17

Looks interesting. Wish there was an opening in Bangalore and wish I would actually qualify for a Microsoft job :(

-6

u/Sqeaky May 07 '17

"Windows Debugger"

That sounds like either a huge trap or a job with endless security.