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

            Bug ID: 155624
           Summary: A11y crash on cppunittester exit
           Product: LibreOffice
           Version: 7.6.0.0 alpha1+ Master
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: cwendl...@hypra.fr

Created attachment 187640
  --> https://bugs.documentfoundation.org/attachment.cgi?id=187640&action=edit
Test run log, including backtrace

This is gonna be a weird report as it's involving unavailable code, but here we
go anyway:

I'm working on GTK3 a11y tests, which at the moment basically compare every
a11y node in LibreOffice against their representation as seen by the platform
(AT-SPI).  This already uncovered a couple issues, but anyway, the code should
not be doing much of anything worrysome (I can show it, but it's still pretty
rough in some places ATM, hence not having a Gerrit patchset online yet), yet I
can get it to crash reliably on exit, after a few warnings (see attached test
log).

Note that I get this crash only if I let the mainloop run a bit (e.g. using
`AccessibilityTools::Wait(5000);` right after loading the document), which
leads to several changes in the UI and a11y objects.  Maybe it's related to
changes happening then, or how cppunittester abruptly ends the process?

Anyway, I'm not entirely sure how relevant that is for the real use cases of
running LO, but it worries me a bit.  So if anybody has an idea on a reason or
fix I'd be happy to try it, or provide any code that can be useful for
debugging.

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

Reply via email to