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

Michael Weghorn <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |NOTOURBUG
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #8 from Michael Weghorn <[email protected]> ---
After further analysis of the issue that I can reproduce (of which I am
optimistic now that it is the same one), I think this is a Qt 5 or KF 5 bug,
not a LibreOffice one.

(In reply to Michael Weghorn from comment #4)
> * does NOT happen when started with `./instdir/program/soffice.bin --writer`
>    (i.e. not using the `soffice` shell script, but the `soffice.bin` binary)

Adding to that, the crash no longer happens for me when commenting (i.e.
disabling) these 2 lines in `instdir/program/ooenv`:

    export MALLOC_CHECK_=2
    export MALLOC_PERTURB_=153

, which indicates that there is some issue with memory management. Indeed, I
can get the kate text editor to crash as well when started with these
environment variables set: When opening the file dialog many times, it crashes
at some point.

attachment 193346 shows the relevant valgrind output for LO with the kf5 VCL
plugin on Wayland, which shows that there's a use-after-free. 

attachment 193347 is a valgrind output for kate, showing the same issue (see
lines 734ff).

Therefore, I believe this is an issue in Qt or KF 5.
-> Closing as NOTOURBUG.

IIUC, this shouldn't be a problem for production use. While the memory issue is
likely there, too, it doesn't seem to be a problem (not causing a crash) there,
which is only triggered by those env variables. And these are only set in a
development build, not a release build.


@Rafael: Can you confirm the crash goes away for you as well when removing the
2 above-mentioned environment variables?

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

Reply via email to