Bug 162250 - Assertion failure on opening Tools > Options > Accessibility with GTK UI
Summary: Assertion failure on opening Tools > Options > Accessibility with GTK UI
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:25.2.0
Keywords: bisected, haveBacktrace, regression
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2024-07-29 14:30 UTC by Hossein
Modified: 2024-07-30 10:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Console log for the crash assert (10.45 KB, text/plain)
2024-07-29 14:32 UTC, Hossein
Details
GDB backtrace (35.27 KB, text/x-log)
2024-07-29 14:33 UTC, Hossein
Details
bt (15.36 KB, text/plain)
2024-07-29 16:25 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hossein 2024-07-29 14:30:18 UTC
Description:
When trying to open "Tools > Options > Accessibility" with GTK UI, LibreOffice crashes with assertion failure.


Steps to Reproduce:
1. Compile LibreOffice from sources on Linux with GTK.
2. Start LibreOffice, and make sure that you use GTK UI. You can invoke:

$ instdir/program/soffice -env:SAL_USE_VCLPLUGIN=gtk3

3. Go to "Tool > Options > Accessibility".

Actual Results:
Crash.

Expected Results:
LibreOffice should not crash.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: ac41bc3c908c815cf9725b6316d0537d43401ddb
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Hossein 2024-07-29 14:32:30 UTC
Created attachment 195587 [details]
Console log for the crash assert
Comment 2 Hossein 2024-07-29 14:33:33 UTC
Created attachment 195589 [details]
GDB backtrace
Comment 3 Julien Nabet 2024-07-29 16:25:02 UTC
Created attachment 195590 [details]
bt

On pc Debian x86-64 with master sources updated today, I could reproduce this.

I noticed that the pb was in cui/uiconfig/ui/optaccessibilitypage.ui
"liststore1" is used but not declared.
Comment 4 Julien Nabet 2024-07-29 16:26:56 UTC
Balázs: noticing 33ea719d6c6ad23dfca088853d95d5688782da2d
tdf#157233 - A11y: Add global Accessibility check options for

managing which a11y issue should be checked. In default mode all the a11y issues are checked.


thought you might be interested.
Comment 5 Hossein 2024-07-29 17:10:52 UTC
(In reply to Julien Nabet from comment #4)
> Balázs: noticing 33ea719d6c6ad23dfca088853d95d5688782da2d
> tdf#157233 - A11y: Add global Accessibility check options for
> 
> managing which a11y issue should be checked. In default mode all the a11y
> issues are checked.
> 
> 
> thought you might be interested.
Confirming the root cause:

The problem exist in 33ea719d6c6ad23dfca088853d95d5688782da2d, but not in one commit before that.

Regression introduced by:
commit 33ea719d6c6ad23dfca088853d95d5688782da2d
author	Balazs Varga <balazs.varga.extern@allotropia.de>	Thu Jul 04 17:33:34 2024 +0200
committer	Balazs Varga <balazs.varga.extern@allotropia.de>	Thu Jul 25 17:44:22 2024 +0200
tree deb37984e0a637722364d0727d5b9b092ff18198
parent 19c6fe6463e9c21be6ad876b26904ab9ec06f891
Comment 6 Balázs Varga (allotropia) 2024-07-29 20:18:04 UTC
Thanks for the info and backtrace. The fix will be here.
https://gerrit.libreoffice.org/c/core/+/171216
Comment 7 Commit Notification 2024-07-30 06:26:54 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/b6f8df8a6006037bf986e3f6c784d27e4d83aea0

tdf#162250 - Fix Assertion failure Accessibility page on GTK

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Hossein 2024-07-30 10:34:33 UTC
Balázs, thanks for the fix.

Verifying the fix with the above patch.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b6f8df8a6006037bf986e3f6c784d27e4d83aea0
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded