Description: Report Builder freezes when trying to build a Report using either the Report wizard or the Report designer. Steps to Reproduce: 1. Open a base document(sample provided for convenience, but you can also create one and get the same results) 2. Click on "Reports" 3. Click on "Report in Design View" or "Use Wizard to Create Report" Actual Results: LibreOffice freezes Expected Results: The Report Builder populates and LibreOffice doesn't freeze Reproducible: Always User Profile Reset: Yes Additional Info: Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: f4cf9971ceaf72a630fe1d1dd8154326daca9832 CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded
Created attachment 199246 [details] Sample Database doc to with one table
Created attachment 199247 [details] Screen shot of Report builder freezing
Regression introduced by commit a1a3fd98dcb3c9336eeaffe1d9def7c3ca8c699b [log] author Caolán McNamara <caolan.mcnamara@collabora.com> Sun Nov 17 19:48:42 2024 +0000 committer Stephan Bergmann <stephan.bergmann@allotropia.de> Fri Jan 17 09:34:24 2025 +0100 tree a24ed91e38a5f193ff2a0c14c3958abd6f57c4b3 parent b9464eadfc39c93f7c8beb04dc0d2b94b3a2e841 [diff] cid#1555986 Check of thread-shared field evades lock acquisition Bisected with: linux64-25.8
#25 in cppuhelper/source/implbase_ex.cxx getTypeEntries( class_data * cd ) std::scoped_lock guard( aMutex ); Type const & rType = (*pEntry->m_type.getCppuType)( nullptr ) #5 in cppuhelper/source/implbase_ex.cxx getTypeEntries( class_data * cd ) so this ends up holding the mutex while it gets called again, which is unfortunate. Lets just revert those getTypeEntries changes then with https://gerrit.libreoffice.org/c/core/+/181799
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7a283ee5540e42662b723ac08d3ea1a0e454045e Resolves: tdf#165295 partial cid#1555986 lock acquisition evasion revert It will be available in 25.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.
Created attachment 199266 [details] Screen shot of Report Wizard stuck loading
Confirming that using "Report in Design View" now works, thank you Caolán! Unfortunately now the "Report Wizard" gets stuck loading, see attachment for example.