https://bugs.documentfoundation.org/show_bug.cgi?id=148435

--- Comment #43 from Noel Grandin <[email protected]> ---
So we have a non-recursive mutex here:
   ImplSchedulerContext at
   https://opengrok.libreoffice.org/xref/core/vcl/inc/svdata.hxx?r=eaa0954f#373

And we have
    Scheduler::CallbackTaskScheduling
   
https://opengrok.libreoffice.org/xref/core/vcl/source/app/scheduler.cxx?r=91ba9654&mo=11629&fi=330#426
which takes the mutex, and then calls
    AquaSalInstance::AnyInput(VclInputFlags)
   
https://opengrok.libreoffice.org/xref/core/vcl/osx/salinst.cxx?r=467085bf#676
which calls
    [NSApp nextEventMatchingMask:
which ends up calling
    [SalFrameWindow windowDidResize:]
    ImplWindowFrameProc(vcl::Window*, SalEvent, void const*)
    ImplHandleResize(vcl::Window*, long, long)
and then finally
    Idle::Start(bool)
which tries to take the scheduler mutex again, and deadlocks.


Not sure what the right solution would be.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to