https://bugs.documentfoundation.org/show_bug.cgi?id=150723

            Bug ID: 150723
           Summary: assertion failed after adding .jar to Classpath
           Product: LibreOffice
           Version: 7.5.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to