Red Hat Bugzilla – Bug 1464883
Cannot start qupzilla - relocation error (QtWebEngine binary compatibility breakage in 5.9.0)
Last modified: 2017-07-25 16:57:31 EDT
Fresh new Rawhide installation, when I try to open Qupzilla I get:
qupzilla: relocation error: /lib64/libQupZilla.so.2: symbol free, version Qt_5 not defined in file libQt5WebEngineCore.so.5 with link time reference
I am already aware of this (see the comments in the F26 Bodhi update), and have a proposed fix.
Can you please try:
(If you also have the freeworld package, you'll also want:
which will hopefully be done soon at least for x86, or you can temporarily uninstall qt5-qtwebengine-freeworld.)
After the upgrade of qt5-qtwebengine-5.9.0-3.fc27 launching Qupzilla it gets stuck at "QupZilla: Creating new profile directory"
So the symbol issue seems fixed, but the new issue is all the weirder. I am not sure where exactly it hangs, because the code that creates the profile directory does not write anything when done, so it is likely that the actual issue actually happens much later. Have you tried restarting the session after upgrading QtWebEngine? (There may be some hung background processes from the old QupZilla runs that may interfere otherwise.)
*** Bug 1465033 has been marked as a duplicate of this bug. ***
Workaround for F26 users:
sudo dnf --disablerepo=updates-testing distro-sync qt5-qtwebengine
For what it's worth, I cannot reproduce the "qupzilla gets stuck" issue on f25
On F26 / updates-testing, this only happens after upgrading to Qt5.9. I've worked around by downgrading QtWebEngine as mentioned above and now Qupzilla works again.
I debugged the issue from comment #2: The problem is the linker (or the dynamic linker?) ends up picking my realloc@Qt_5 to resolve realloc calls within QtWebEngine, which then ends up calling itself (for the same reason), hanging the process in an infinite loop of tailcalls. (There is no stack overflow because the calls are tailcall-optimized.)
I think I need this fix:
from upstream https://bugreports.qt.io/browse/QTBUG-61521 – I'll try a new build.
Interestingly, a scratch build for F26 that I did with the same patch as in Rawhide appears to work. Weird. Still, I'll do the official F26 build with the updated patches.
Try this one: https://koji.fedoraproject.org/koji/buildinfo?buildID=912065
Forgive me for the delay, I was out for work.
So, I can confirm that the latest update to qt5-qtwebengine-5.9.0-4.fc27 fixes the problem. Qupzilla is now working again.
This is fixed in Rawhide in qt5-qtwebengine-5.9.0-4.fc27. I also edited the Fedora 26 testing update https://bodhi.fedoraproject.org/updates/FEDORA-2017-e83c26a8c9 with a fixed build (qt5-qtwebengine-5.9.0-4.fc26).