Questions tagged [sos]

SOS is a debugger extension that allows a developer to inspect the managed state of a .NET Core and desktop runtime process. SOS can be loaded by WinDbg/cdb debuggers on Windows and lldb on Linux and macOS.

SOS (Son of Strike) is a debugger extension that allows a developer to inspect the managed state of a .NET Core and desktop runtime process. SOS can be loaded by WinDbg/cdb debuggers on Windows and lldb on Linux and macOS.

Useful links:

344 questions
0
votes
0 answers

Problem Downloading a CSV file React frontend

I have a problem linking between front & backend , at the backend i have the csv file ready to be downloaded with nomation & 2 parameters of start_date & end_date . ` import fileSaver from 'file-saver'; import {useaApi} from './Api'; import…
0
votes
0 answers

How to query profiler instrumented IL code address using Windbg and SOS extension?

I have been debugging a .Net framework (4.8) CLR profiler codebase using Windbg and extension SOS. I am starting the target application debug binary through windbg and after the instrumentation has happened for a function (within assembly mscorlib)…
prasen_b
  • 1
  • 1
0
votes
2 answers

How to get handle to an event that may cause my application to go in hang state

I am doing a dump file analyis for an application hang problem. Here is one interesting line from the stack trace. 0bc2f3e4 75a8bd1e 0bc2f298 0bc2f30c 00000001 ntdll!KiFastSystemCallRet 0bc2f32a 6a393c42 00000001 7ffdf000 00000001…
Silverlight Student
  • 3,968
  • 10
  • 37
  • 53
0
votes
1 answer

How do I incorporate an if statement inside of another if statement?

I'm sort of a beginner at Python; I'm trying to write a text adventure game that prompts the user to explore a room given different options. After the user enters "1," I want the game to enter more choices through another if statement. How should I…
sentimain
  • 3
  • 2
0
votes
0 answers

Windby loadby sos clr does nothing

I'm trying to debug a 64bit .NET 4.5.2 application and am having trouble loading the sos extension. My normal deal is to open up the x64 WinDbg executable, type in .loadby sos clr and go on about my business. Today, when I type that into WinDbg, it…
aaronburro
  • 504
  • 6
  • 15
0
votes
0 answers

WinDbg display CLR (c#) exceptions using SOS

I have started debugging c# program using WinDbg. Initially used GFlags to put break point on a very begin as it crashes asap it's being run. From WinDbg after fetching gflag's break point, doing continue ("g") it proceeds execution and crashes at…
luka032
  • 925
  • 4
  • 12
  • 34
0
votes
1 answer

How to look for a thread with specific call stacks (from thousands of threads)

I need to look at a thread with specific stack trace from a dump-file. This file has has thousands of threads 0:638> !threads ThreadCount: 23800 UnstartedThread: 175 BackgroundThread: 4569 PendingThread: 194 DeadThread: 19053 Hosted…
whoami
  • 1,689
  • 3
  • 22
  • 45
0
votes
1 answer

How do I code a platformer generator that suits the map module I've created?

I have been messing around with pygame lately and I have encountered a problem. I'm coding a platformer and I have given the map creation a class. On the map module, I have a function that creates chunks based on the movement -specifically the…
0
votes
1 answer

Why am I getting a NameError with below code?

code error message I am getting a name error with the variable data_A and I cannot figure out why...any help appreciated. Thanks! the variable of concern is data_A import sys import csv import statistics #modularizing week1 program def main(): …
0
votes
2 answers

analysis crash dump created by gflags.exe of .net 4.0 but there was no enough information

a windows service written in c# 4.0, setting gflags.exe(Global Flags) to save the dump when process crashing. But when I open the crash dump in windbg, I got the 0:00> . I am not good at windbg, and I remembered Tess's blog said when opening a crash…
C.C.
  • 1,060
  • 3
  • 13
  • 25
0
votes
1 answer

!eeheap -gc showing only 1 GC heap although my process is running on quad-core processor machine

My .net based application is running on a quad-core machine but when I run !eeheap -gc command it shows Number of GC Heaps: 1 Does it mean my application is not using all 4 processors? Any idea why this may be happening and how this behaviour…
Silverlight Student
  • 3,968
  • 10
  • 37
  • 53
0
votes
1 answer

Exporting Twilio Data

I want to know how can I export the data I collect through Twilio Api. I want to know if there is an easy way to export the data to csv in the most "clean" way as possible. Thank you!
0
votes
0 answers

How we can convert keras model .h5 file to tensorflow saved model (.pb) mask rcnn

How to convert keras mask rcnn model to tensorflow ? File url: https://nomeroff.net.ua/models/mrcnn/mask_rcnn_numberplate_1000_2019_10_07.h5
mak_27
  • 9
  • 3
0
votes
2 answers

Windbg managed objects poi for arrays first element, second element

I can use poi in windbg scripting to traverse the fields and then print the field i am interested in. For e.g. if i have all objects of type X which has field X.y.z where z is an array, where y is at offset 0x10 and z is at offset 0x8. I can…
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95
0
votes
1 answer

Windbg Linq for managed objects

For iterating over native objects, i can store it in windbg variable and then do linq queries on fields in windbg to filter on intereting objects. > dx @$usedSessions = (*((FabricRuntime!std::unordered_map
Ashish Negi
  • 5,193
  • 8
  • 51
  • 95