Browser: sailjail issue (was: libxul.so is not found, in /usr/bin/libxul.so)

Just did an install on my new (new for me) Xperia 10 III. Now suddenly my browser does not start. I tried reinstalling packages to no avail.

This is my error when using sailjail:

$ /usr/bin/invoker --type=browser,silica-qt5 -A -- /usr/bin/sailfish-browser
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLiteTrace
Created LOG for EmbedLite
invoker: warning: application (pid=-1) exit(1) signal(0)

When running it without sailjail it work, but when closing it often gives a segmentation fault.

$ /usr/bin/sailfish-browser
[D] unknown:0 - Using Wayland-EGL
library "libutils.so" not found
library "libcutils.so" not found
library "libhardware.so" not found
library "android.hardware.graphics.mapper@2.0.so" not found
library "android.hardware.graphics.mapper@2.1.so" not found
library "android.hardware.graphics.mapper@3.0.so" not found
library "android.hardware.graphics.mapper@4.0.so" not found
library "libc++.so" not found
library "libhidlbase.so" not found
library "libgralloctypes.so" not found
library "android.hardware.graphics.common@1.2.so" not found
library "libion.so" not found
library "libz.so" not found
library "libhidlmemory.so" not found
library "android.hidl.memory@1.0.so" not found
library "vendor.qti.qspmhal@1.0.so" not found
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLiteTrace
[D] onCompleted:105 - ViewPlaceholder requires a SilicaFlickable parent
Created LOG for EmbedLite
Created LOG for EmbedPrefs
Created LOG for EmbedLiteLayerManager
Call EmbedLiteApp::StopChildThread()

The file doesn’t exist, only /usr/lib64/xulrunner-qt5-78.15.1/libxul.so exists. Creating a symlink gives the error:

Couldn't load XPCOM from /usr/bin/libxul.so
[F] unknown:0 - ASSERT failure in QMozContextPrivate::QMozContextPrivate(QObject*): "Failed load XPCOMGlue", file qmozcontext.cpp, line 67
Redirecting call to abort() to mozalloc_abort

Segmentation fault

I simply don’t understand anything about sailjail, and this has me even more stumped. Some handholding would be in order :wink:

Out of curiosity i checked right now on X10 and Volla: libxul.so doesn’t exist in /usr/bin/. But Browser works normal. Strange…

Thank you, that helps.
So my problem might be a sailjail issue.

It started with the issue that it claimed no booster was found for the application. So In reinstalled a few packages, and now that error is gone, but it still won’t start with sailjail.

For me, the browser works fine with
/usr/bin/invoker --type=browser,silica-qt5 -A -- /usr/bin/sailfish-browser

this is despite the error, so i’m inclined to think it does not matter.

What more than a fresh install did you do when it broke? Waydroid perhaps? Obviously the browser will not be broken from a fresh install.

I think what it amounted to was copying .local and .config from my XA2. I think at least that was the culprit. Now all other Jolla apps work. At first the browser was giving an error that the booster for this application didn’t exists, so it could not start the browser. I did reinstall mapplauncher packages and the xulrunner and browser packages. I might have borked something somewhere in the processes. At least there is no ‘browser’ under .local/share/system/privileged.
I could reflash again ofcourse, but I would like to avoid that.
Maybe I can just move .local out of the way and reboot, see if that helps.

Jesus H. Christ.

If you knowingly break it yourself, please don’t come asking other unsuspecting users - and if you really really have to, mention that front and center.

3 Likes

May I ask what is the middle name?
EDIT: I guessed later it could be “holy”.

I assume the same and agree.
and add Hare Krishna!

What I love about SFOS is this warm-heartedness in the forum. Perfect error culture, I would say. Whoever makes a mistake is crucified like Jesus Hare Chrishna, so to speak.

I am sure that animates many people to participate and contributes to a rapidly growing user base!

2 Likes

One does not overwrite .local and .config by mistake. It is a deliberate act.

1 Like

That is probably correct. But maybe it could be an oversight not to put that at the beginning of the request.

Anyway, I am out of this forum. I know friendlier communities, there is nothing here that I need.

That is a pity, but I can understand it well.

A forum where it is better to have a peer review carried out before posting, as with a scientific publication, in order to avoid incurring the wrath of (individual) other participants through ambiguous wording, errors or the like, is not a place where I would like to be. And even if someone should post nonsense carelessly: a minimum of friendliness should be maintained. And no, I’m not talking nonsense about Cancel Culture, just about the way others are treated. There are so many friendly and helpful people here, but sometimes the atmosphere is really toxic.

I join you.