Steps to Reproduce: 1. New Calc, go to "Format - Page Style - Header" dialog, click the "Edit" button, click any of the three areas, then click the "Text Attribute" icon in the "Custom Headers" row. --> Calc Freezes. Now if I hit ESC, Calc will crash. Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: e83f7b7c84d5345879c5543b78ce6ad2b32dc2bc CPU threads: 8; OS: Linux 6.7; UI render: default; VCL: gtk3 Locale: zh-CN (zh_CN.UTF-8); UI: en-US Calc: threaded
I am on Fedora Linux 39, Gnome 45.4.
Works fine for me on Windows 11: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b38974391e8d4bf0d450abfaa86bbccbe1022995 CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded
Created attachment 193285 [details] bt On pc Debian x86-64 with master sources updated today (+gtk3 rendering) I could reproduce this. I also noticed this on console: warn:svl.items:81961:81961:svl/source/items/itempool.cxx:386: SfxItemPool::unregisterItemSet: ItemSet was not registered (!) warn:svl.items:81961:81961:svl/source/items/itempool.cxx:386: SfxItemPool::unregisterItemSet: ItemSet was not registered (!) warn:svl.items:81961:81961:svl/source/items/itempool.cxx:386: SfxItemPool::unregisterItemSet: ItemSet was not registered (!) warn:svx:81961:81961:svx/source/accessibility/AccessibleTextHelper.cxx:1354: DBG_UNHANDLED_EXCEPTION in Notify exception: com.sun.star.uno.RuntimeException message: "Text forwarder is invalid, model might be dead at /home/julien/lo/libreoffice/svx/source/accessibility/AccessibleTextHelper.cxx:269" context: ScAccessibleEditControlObject warn:svx:81961:81961:svx/source/accessibility/AccessibleTextHelper.cxx:1354: DBG_UNHANDLED_EXCEPTION in Notify exception: com.sun.star.uno.RuntimeException message: "Text forwarder is invalid, model might be dead at /home/julien/lo/libreoffice/svx/source/accessibility/AccessibleTextHelper.cxx:269" context: ScAccessibleEditControlObject warn:svx:81961:81961:svx/source/accessibility/AccessibleTextHelper.cxx:1354: DBG_UNHANDLED_EXCEPTION in Notify exception: com.sun.star.uno.RuntimeException message: "Text forwarder is invalid, model might be dead at /home/julien/lo/libreoffice/svx/source/accessibility/AccessibleTextHelper.cxx:269" context: ScAccessibleEditControlObject
Armin: thought you might be interested in this one since it's in itempool. BTW, my BT is from a debug build.
This started to crash at: https://git.libreoffice.org/core/+/3c3270c3527ce5bb7653727bc7749e4d58ba64cc author Armin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de> Thu Feb 15 19:14:42 2024 +0100 committer Armin Le Grand <Armin.Le.Grand@me.com> Fri Feb 16 17:05:59 2024 +0100 ITEM: Better test for DynamicDefaultItems But it was not good before either, as the Text Attribute dialog was inactive and the dialogs opened before it were closed first by pressing Esc. This started in: https://git.libreoffice.org/core/+/76e9023c8abc823447b1128056e55238f90da8d6 author Noel Grandin <noelgrandin@gmail.com> Mon Jan 22 08:36:28 2024 +0200 committer Noel Grandin <noel.grandin@collabora.co.uk> Wed Jan 24 06:58:14 2024 +0100 convert more calc dialogs to async Looks like separate issues? Adding CC to: Noel Grandin
Fix is https://gerrit.libreoffice.org/c/core/+/165305
Noel Grandin committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/fc1b2a0ab2ecddaeead680aee80a49109082a47b tdf#160338 Calc freeze on Text Attribute dialog It will be available in 24.8.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.
Verified fixed on master. Thank you for the quick fix.