[Libreoffice-bugs] [Bug 126272] Application Error with invalid SAL_USE_VCLPLUGIN values

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 9 00:18:28 UTC 2019


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

--- Comment #13 from Jan-Marek Glogowski <glogow at fbihome.de> ---
So I checked the 6.2.3 build:

$ objdump -T libvclplug_qt5lo.so | grep qt_version_tag
0000000000000000      DO *UND*  0000000000000000  Qt_5.9      qt_version_tag

Now I would be interested in the About dialog info of your LO 6.2.3. I guess
that didn't run qt5 or kde5 either, but kde4. I was wrong with gen, as your
backtrace actually shows:

#21 0x00007fffe2b3fe85 in ?? () from
/opt/libreoffice6.2/program/libvclplug_kde4lo.so

And I found
https://stackoverflow.com/questions/39871879/why-do-i-get-this-error-undefined-reference-to-qt-version-tag

So we should probably run the builds with -DQT_NO_VERSION_TAGGING... we should
still be function compatible with Qt 5.6.

All this still doesn't explain why LO started crashing with 6.2.4.

One major change we did for 6.2.4 was to enable the gtk3_kde5 backend. But this
is also linked against Qt5, so it would fail to load because of the missing
qt_version_tag symbol and according to your logs it does.

Which leaves no real reason for the crash, except for some speculation, that
loading and failing libqt5 together with libgtk3 triggers some ld bug (I don't
think so) or some .init code in any of the KF5 or Qt5 libraries doesn't clean
up correctly, so the later loaded libvclplug_kde4 crashes in NSS code.

What happens if you just remove the
/opt/libreoffice6.2/program/libvclplug_gtk3_kde5lo.so library?

In theory this should work with kde4, which still would result in

(In reply to Max A. Dednev from comment #4)
> Additional information:
> SAL_USE_VCLPLUGIN=kde4 libreoffice6.2 - works with some UI issues (distorted
> main menu etc.)

That is a duplicate of bug I can't find anymore. But the regression was quite
probably introduced by the fix for bug 125415. I fixed that for kde5 in bug
125673, but nobody tested / fixed kde4.

So this basically leaves you with this: uninstall libobasis6.2-kde-integration
(as you already did) and this should use the gtk3 plugin, which is IMHO the
best option regarding the circumstances.

FWIW I just tested -DQT_NO_VERSION_TAGGING and it prevents the qt_version_tag
symbol, so this will be used in 6.2.6 build and 6.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190709/f9eb88f5/attachment-0001.html>


More information about the Libreoffice-bugs mailing list