[HDK] DM_VPortAgent::requestRedraw() crash.

   276   0   1
User Avatar
Member
7 posts
Joined: Jan. 2024
Offline
I am calling
DM_VPortAgent::requestRedraw()
and that causes a crash in:

AP_Interface::coreDumpChaser(UTsignalHandlerArg) <libHoudiniUI.so>
AP_Interface::si_CrashHandler::chaser(UTsignalHandlerArg) <libHoudiniUI.so>
signalCallback(UTsignalHandlerArg) <libHoudiniUT.so>
UT_Signal::UT_ComboSignalHandler::operator()(int, siginfo_t*, void*) const <libHoudiniUT.so>
UT_Signal::processSignal(int, siginfo_t*, void*) <libHoudiniUT.so>
__GI___sigaction <libc.so.6>
UI_Object::distributeEvent(UI_Event*, int) <libHoudiniUI.so>
UI_Value::changed(UI_Object*, UI_Reason, UI_DeviceEvent*) <libHoudiniUI.so>
DM_VPortAgent::requestDraw() <libcrowd_preview.so>

That function is implemented in a header file, so we have the implementation:
    void		 requestDraw() { myRedrawNotify.changed(nullptr); }

I am calling it from
    bool DM_MouseEventHook::handleDoubleClickEvent(const DM_MouseHookData& hook_data, UI_Event* event);

Are deferred draw requests allowed from mouse event handlers?
  • Quick Links