multithreading - Command or steps to list out the callstack of other threads where a particular pointer is used? -


i new using windbg. got crash dump of application. using windbg able callstack of crash , found dynamic_cast failing pointer. since pointer corrupted already, dynamic_cast failing.

now not sure how pointer corrupted. may thread. how can found out callstack of other threads same pointer corrupted.

or

call stack of other threads corrupted pointer used. should analyze reason corrupted pointer.

you can dump call stacks of threads:

~* kb 

and scan call stacks address of pointer assuming thread trying access it, when scan means simple search using f3.

additionally if have lots of worker threads !uniqstack list unique call stacks , list thread ids have call stack. remember when want @ other threads need switch threads calling ~#s there more info on syntax here.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -