Sentry Issue: BINARYNINJA-2H
SIGSEGV / SI_KERNEL / 0x0: Fatal Error: SIGSEGV / SI_KERNEL / 0x0
File "debuggercontroller.cpp", line 4514, in BinaryNinjaDebugger::DebuggerUICallbacks::NotifyRebaseBinaryView
File "debuggercontroller.cpp", line 4579, in BinaryNinjaDebugger::DebuggerController::RebaseToAddress
@bdash says:
I think this is due to a lifetime issue with the debugger's UI callbacks. DebuggerUI::DebuggerUI calls DebuggerController::SetDebuggerUICallbacks and passes a pointer stored in m_uiCallbacks. DebuggerUI::~DebuggerUI deletes that object, but nothing unregisters the callbacks from the DebuggerController. I'm not sure what, if anything prevents the DebuggerController from making a UI callback after the DebuggerUI goes away.