Skip to content

Instantly share code, notes, and snippets.

@ddengster
ddengster / gist:a77c7bf9ade79ceb51182c6296c053ae
Created February 1, 2021 06:38
backtrace for alternate thread
[ign-13] View::AddComponent entity: 353
[ign-13] thread: 139693207320320
[ign-13] 0# ignition::gazebo::v4::detail::View::AddComponent(unsigned long, unsigned long, int) in /home/ddeng/ignition_ws/install/lib/libignition-gazebo4.so.4
[ign-13] 1# ignition::gazebo::v4::EntityComponentManager::RebuildViews() in /home/ddeng/ignition_ws/install/lib/libignition-gazebo4.so.4
[ign-13] 2# ignition::gazebo::v4::EntityComponentManager::CreateComponentImplementation(unsigned long, unsigned long, ignition::gazebo::v4::components::BaseComponent const*) in /home/ddeng/ignition_ws/install/lib/libignition-gazebo4.so.4
[ign-13] 3# ignition::gazebo::v4::EntityComponentManager::SetState(ignition::msgs::SerializedStateMap const&) in /home/ddeng/ignition_ws/install/lib/libignition-gazebo4.so.4
[ign-13] 4# ignition::gazebo::v4::GuiRunner::OnState(ignition::msgs::SerializedStepMap const&) in /home/ddeng/ignition_ws/install/lib/libignition-gazebo4-gui.so.4
[ign-13] 5# ignition::gazebo::v4::GuiRunner::OnStateAsyncService(ignition
type PATH, click "Environment Variables", click 'New..'
Variable name: WINDBG
Variable value: "C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\windbg.exe"
Start a command prompt, cd to your working directory, do: %WINDBG%
!heap -p -a <leak address>