News for hackers. Stuff that matters.
Re:Debugging a Futex Crash by hyperman1 on Wednesday August 16, 2023 @03:46PM (#37152645)
As I understand it, the windows minidump contains the stack data for each thread. This is more than the stack trace: It also contains local variables. Today, most interesting things are probably pointers outside the minidump, but it is not uncommon in e.g. C to create a local array and dump some strings in them. Then the problem comes back.
Re:Debugging a Futex Crash by js2 on Wednesday August 16, 2023 @05:22PM (#37154033)
Yes, when I wrote "which is basically the stack for each thread" I did mean the raw bytes of the stack. I see now that wasn't clear. I was writing on mobile and apologize for the confusion.

Unwinding then occurs later by walking through the stack memory, which is difficult to impossible unless either: a) the stack contains frame pointers; or b) you have unwind data. Without either of those the unwinder uses heuristics to guess at return addresses on the stack, but that's very unreliable and often leads the unwinder into a loop till it gives up.

Re:Debugging a Futex Crash by hyperman1 on Friday August 18, 2023 @03:55PM (#37181219)
No apologies needed. I am thankfull for your detailed, interesting post.