[PATCH] fdo#46728: EDITING: soffice.bin crashed with SIGSEGV in Window::GetCursor()

Thorsten Behrens thb at documentfoundation.org
Mon Mar 12 07:51:44 PDT 2012


Caolan McNamara wrote:
> The line "pCandidate->Update();" in overlaymanagerbuffered.cxx:376
> triggers a series of events that deletes the overlaymanager who's
> ImpBufferTimerHandler is still executing, i.e. "this" is destroyed.
> 
> We get lucky sometimes because sometimes the drawing happens while the
> flashing text cursor is not-drawn state when we enter. 
> 
> In the absence of alternative ideas, we could try and work some
> reference count stuff in there. Even with pulling the window/cursor info
> out while reference is still valid before this gets deleted, there's
> still use of some members at the end of the method which are equally
> broken :-(
> 
Yeah. Another (though ugly) solution is to use those
Application::PostUserEvent() kludges to get this call
asynchronously...

Cheers,

-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120312/bd930ade/attachment.pgp>


More information about the LibreOffice mailing list