STR (1) At command line, rm -rf /tmp/bug_20220830a/* SAL_USE_VCLPLUGIN=gtk3 \ instdir/program/soffice \ -env:UserInstallation=file:///tmp/bug_20220830a LibreOffice displays Start Center. (For comparison, there is no crash if SAL_USE_VCLPLUGIN=gen.) (2) Take menu options Tools > Options. Program displays dialog "Options - LibreOfficeDev". (3) In left pane, select LibreOfficeDev > Advanced. The right pane is titled "Java Options" and it shows list of "java runtime environments (JRE) already installed"; I see three (two of them different), and the first is selected. (4) Click button <Class Path...>. Program displays dialog "Class Path". The list "Assigned folders and archives" is empty. (5) Click button <Add Archive...>, and in file browser select, let us say, /usr/share/java/mariadb-java-client.jar. LO displays that pathname in the list. (6) Click button <OK>. Program closes dialog "Class Path" and returns focus to "Java Options". (7) Click button <Class Path...>. Program displays dialog "Class Path" showing the previously added file. (8) Click button <OK>. Program crashes with terminal messages (lines rewrapped) ... soffice.bin: /home/terry/lo_hacking/git/libo6/vcl/unx/gtk3/gtkinst.cxx:6246: virtual Point {anonymous}::GtkInstanceWindow::get_position() const: Assertion `!get_visible()' failed. soffice.bin: /home/terry/lo_hacking/git/libo6/include/vcl/vclptr.hxx:110: VclPtr<reference_type>::~VclPtr() [with reference_type = VclAbstractDialog]: Assertion `(!m_rInnerRef.get() || m_rInnerRef->isDisposed() || m_rInnerRef->getRefCount() > 1) && "someone forgot to call dispose()"' failed. Fatal exception: Signal 6 These observations are from a local build of commit addc3016 (2022-08-13), built and running on debian-buster, configured ... --with-vendor=Terrence Enger --with-jdk-home=/usr/lib/jvm/default-java --enable-split-debug --enable-gdb-index --enable-ld=gold --enable-option-checking=fatal --enable-dbgutil --enable-debug --without-system-postgresql --without-myspell-dicts --with-extra-buildid --without-doxygen --with-external-tar=/home/terry/lo_hacking/git/src --without-package-format --enable-odk # (2022-08-06, tje) On debian-buster, g++ 8.3.0 compiling idxdict.cxx # complains # ... unrecognized command line option -Wdeprecated-copy-dtor CXXFLAGS=-Wno-deprecated-copy-dtor For comparison, I see no crash in bibisect repository linux-64-7.5 sha 27892a53e (2022-08-23 08:25Z). Despite reporting a crash, I am leaving this report at normal priority because I suspect that my configuration parameters contributed to the result.
Created attachment 182115 [details] backtrace from core file after assertion This backtrace is from the LibreOffice identified in the bug description, built and running on debian-buster.
Created attachment 182122 [details] bt with debug symbols On pc Debian x86-64 with master sources updated today, I could reproduce this.
Caolán: thought you might be interested in this one since it seems gtk related.
https://gerrit.libreoffice.org/c/core/+/139134 should solve it
Caolán McNamara committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/a21d29e77af57758c2fb54e1592db3d7ed675f2a tdf#150723 "run" will make the dialog visible like "show" It will be available in 7.5.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.
I see no crash in commit 071fc970 (2022-09-02 14:28Z), configured, built, and running as described in the bug description. Thank you, Caolán. I am setting bug status VERIFIED FIXED.