Bug 157080 - Assertion in Tools > Options > Font
Summary: Assertion in Tools > Options > Font
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility, haveBacktrace
: 157183 (view as bug list)
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2023-09-04 08:41 UTC by Heiko Tietze
Modified: 2024-01-16 08:05 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
gdb bt (29.61 KB, text/plain)
2023-09-04 12:34 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2023-09-04 08:41:20 UTC
Switching to fonts crashes the application.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cc7d6211bc01e5ec84dbad542605d2e93dea925c
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded 

warn:vcl.qt:948647:948647:vcl/qt5/QtAccessibleEventListener.cxx:228: Not forwarding AccessibleEventId::CHILD event for removed child since it may cause crashes.
soffice.bin: /home/ht/Sources/libreoffice/vcl/source/window/layout.cxx:1928: virtual const vcl::Window *VclScrolledWindow::get_child() const: Assertion `GetChildCount() == 4 || pWindowImpl->mbInDispose' failed.
soffice.bin: /home/ht/Sources/libreoffice/vcl/source/window/layout.cxx:1928: virtual const vcl::Window *VclScrolledWindow::get_child() const: Assertion `GetChildCount() == 4 || pWindowImpl->mbInDispose' failed.
Comment 1 Julien Nabet 2023-09-04 12:34:20 UTC
Created attachment 189337 [details]
gdb bt

On pc Debian x86-64 with master sources updated today, I could reproduce this with kf5 rendering (not with gtk3 or gen renderings)
Comment 2 Julien Nabet 2023-09-04 15:22:55 UTC
Michael: thought you might be interested in this one since it concerns accessibility + kf5 rendering.
Comment 3 Michael Weghorn 2023-09-04 17:30:03 UTC
Same on Windows when NVDA is running (but not without):

> Assertion failed: GetChildCount() == 4 || pWindowImpl->mbInDispose, file C:/tools/cygwin/home/user/development/git/libreoffice-WORKTREE/vcl/source/window/layout.cxx, line 1928
> Assertion failed: GetChildCount() == 4 || pWindowImpl->mbInDispose, file C:/tools/cygwin/home/user/development/git/libreoffice-WORKTREE/vcl/source/window/layout.cxx, line 1928
> Assertion failed: GetChildCount() == 2 || pWindowImpl->mbInDispose, file C:/tools/cygwin/home/user/development/git/libreoffice-WORKTREE/vcl/source/window/layout.cxx, line 1558

Interestingly, it works fine when the "Tools" -> "Options" dialog already initially opens on the "Fonts" page (e.g. because that has been saved as the last open page when having it opened before without NVDA running).

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 21af3e5b5df02747691f08c453407d0abfc91242
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_DE); UI: en-US
Calc: threaded
Comment 4 Buovjaga 2023-09-12 13:20:08 UTC
*** Bug 157183 has been marked as a duplicate of this bug. ***