We have moved to a new Sailfish OS Forum. Please start new discussions there.
1

Browser crashing on launch since yesterday

asked 2019-12-01 03:17:25 +0200

tehhel gravatar image

I am using Xperia XA2 with 3.2.0.12.

When I open the sailfish-browser by tapping the icon, it opens and then closes immediately.

When I SSH to my phone and key sailfish-browser, it opens and then closes immediately with the following in the terminal:

[nemo@Sailfish ~]$ sailfish-browser 
[D] unknown:0 - Using Wayland-EGL
greHome from GRE_HOME:/usr/bin
libxul.so is not found, in /usr/bin/libxul.so
Created LOG for EmbedLiteTrace
[D] onCompleted:103 - ViewPlaceholder requires a SilicaFlickable parent
Loaded xulDir:/usr/lib/xulrunner-qt5-45.9.1/libxul.so, appDir:/usr/bin
Created LOG for EmbedLite
EmbedLiteExt virtual nsresult EmbedChromeManager::Observe(nsISupports*, const char*, const char16_t*):82: obj:(nil), top:app-startup
EmbedLiteExt virtual nsresult EmbedTouchManager::Observe(nsISupports*, const char*, const char16_t*):86: obj:(nil), top:app-startup
EmbedLiteGlobalHelper app-startup
EmbedLiteSyncService app-startup
PREFS SERVICE INITAILIZED
EmbedPrefService app-startup
EmbedliteDownloadManager initialized
UserAgentOverrideHelper app-startup
1575161903935   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1575161903947   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1575161903969   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1575161903977   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1575161903979   addons.manager  DEBUG   Starting provider: XPIProvider
1575161903980   addons.xpi      DEBUG   startup
1575161903982   addons.xpi      INFO    SystemAddonInstallLocation directory is missing
1575161903985   addons.xpi      DEBUG   checkForChanges
1575161903989   addons.xpi      DEBUG   Loaded add-on state from prefs: {}
1575161903992   addons.xpi      DEBUG   getInstallState changed: false, state: {}
1575161903995   addons.xpi      DEBUG   No changes found
1575161903998   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1575161903999   addons.manager  DEBUG   Provider finished startup: XPIProvider
1575161903999   addons.manager  DEBUG   Starting provider: LightweightThemeManager
1575161903999   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1575161904000   addons.manager  DEBUG   Provider finished startup: LightweightThemeManager
1575161904001   addons.manager  DEBUG   Starting provider: GMPProvider
1575161904014   addons.manager  DEBUG   Registering shutdown blocker for GMPProvider
1575161904015   addons.manager  DEBUG   Provider finished startup: GMPProvider
1575161904015   addons.manager  DEBUG   Starting provider: PluginProvider
1575161904016   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1575161904017   addons.manager  DEBUG   Provider finished startup: PluginProvider
1575161904018   addons.manager  DEBUG   Completed startup sequence
1575161904279   addons.xpi-utils        DEBUG   Starting async load of XPI database /home/nemo/.mozilla/mozembed/extensions.json
Created LOG for EmbedPrefs
[D] QMozWindowPrivate::setSize:72 - Trying to set empty size:  QSize(-1, -1)
Attempting load of libEGL.so
EmbedLiteExt virtual nsresult EmbedTouchManager::Observe(nsISupports*, const char*, const char16_t*):86: obj:0xe7010e10, top:domwindowopened
EmbedLiteExt void EmbedChromeManager::WindowCreated(nsIDOMWindow*):91: WindowOpened: 0xe7010e20
[5271] ###!!! ABORT: LoadSheetSync failed with error 804b0012 loading built-in stylesheet 'data:text/css,noscript%20{%20display%3A%20none%20!important%3B%20}': file /home/abuild/rpmbuild/BUILD/xulrunner-qt5-45.9.1+git12/layout/style/nsLayoutStylesheetCache.cpp, line 758
[5271] ###!!! ABORT: LoadSheetSync failed with error 804b0012 loading built-in stylesheet 'data:text/css,noscript%20{%20display%3A%20none%20!important%3B%20}': file /home/abuild/rpmbuild/BUILD/xulrunner-qt5-45.9.1+git12/layout/style/nsLayoutStylesheetCache.cpp, line 758

I have tried deleting ~/.mozilla but the problem persists. I have also used pkconto remove and then reinstall the sailfish-browser, but nothing helps. The homepage is set to m.xkcd.com, changing it to duckduckgo.com did not help.

Does anyone know how to make the browser work again?

edit retag flag offensive close delete

Comments

1

Does the browser open to homepage or last open page ? Could be a problem with last visited page.

potski ( 2019-12-01 10:03:13 +0200 )edit
1

You might want to try clearing history and cache (settings - apps - browser). If the crash is related to one of the recently opened tabs, this should solve it.

Cosine ( 2019-12-01 10:42:47 +0200 )edit
1

I normally work around this by opening top menu and touching (internet) search. Selecting any known-to-work bookmark or type 'google.com'. This will open a new tab and one can just close the bad tab later easily.

Reads like some CSS on last visited page that cannot be handled right by sailfish-browser?

peterleinchen ( 2019-12-01 12:50:47 +0200 )edit

Have you used or are you using any patches for the browser?

Spam Hunter ( 2019-12-01 14:06:35 +0200 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2019-12-01 19:07:42 +0200

stateoftheart gravatar image

updated 2019-12-01 19:54:01 +0200

I have had the same problem on the Xperia XA2 Plus SFOS 3.2.0.12:

Renaming the two files ".firstUseDone" and "sailfish-browser.sqlite" inside of "/home/nemo/.local/share/org.sailfishos/sailfish-browser" will make the browser runnable until it is closed again.

After that it will always exit with a segmentation fault shortly before the homepage pops up: "mapplauncherd[5059]: Boosted process (pid=8621) exited with status 11"

what I also tried, but didn't help: removing "/home/nemo/.mozilla" and resetting the browser settings with "$ dconf reset -f /apps/sailfish-browser/".


edit: this phenomenon started for me after manually deleting the ".mozilla" directory


edit2: solved it for me with the following procedure, hopefully it works for you too:

su-devel
rm -r /home/nemo/.mozilla/
zypper in -f sailfish-browser
reboot

Info: https://github.com/sailfishos/sailfish-browser/blob/master/data/prefs.js will be loaded as the default prefs.js after the reboot with the help of "/etc/oneshot.d/default/late/browser-update-default-data" which will be created during the re-installation. (This default prefs prevented the segfaults for me.)

edit flag offensive delete publish link more

Comments

Zypper didn't work for me.

[root@Sailfish nemo]# zypper in -f sailfish-browser
Building repository 'adaptation0' cache .................................................................................[done]
[[snipped other repos]]
Loading repository data...
Reading installed packages...
Forcing installation of 'sailfish-browser-1.18.7-1.13.7.jolla.armv7hl' from repository 'jolla'.
Resolving package dependencies...

Problem: sailfish-browser-1.18.7-1.13.7.jolla.armv7hl requires sailfish-browser-settings = 1.18.7, but this requirement cannot be provided
  not installable providers: sailfish-browser-settings-1.18.7-1.13.7.jolla.armv7hl[jolla]
 Solution 1: downgrade of sailfish-browser-settings-1.18.15-1.16.1.jolla.armv7hl to sailfish-browser-settings-1.18.7-1.13.7.jolla.armv7hl
 Solution 2: do not install sailfish-browser-1.18.7-1.13.7.jolla.armv7hl
 Solution 3: break sailfish-browser-1.18.7-1.13.7.jolla.armv7hl by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/3/c] (c): 1
Resolving dependencies...
Resolving package dependencies...

The following 2 packages are going to be downgraded:
  sailfish-browser sailfish-browser-settings

[[next comment for rest of output]]

tehhel ( 2019-12-02 21:04:01 +0200 )edit
1

Rest of output:

2 packages to downgrade.
Overall download size: 401.1 KiB. Already cached: 0 B. After the operation, 8.5 KiB will be freed.
Continue? [y/n/...? shows all options] (y): y
Retrieving package sailfish-browser-settings-1.18.7-1.13.7.jolla.armv7hl                  (1/2), 124.6 KiB ( 44.5 KiB unpacked)
Retrieving: sailfish-browser-settings-1.18.7-1.13.7.jolla.armv7hl.rpm ..............................................[not found]
File './non-oss/armv7hl/sailfish-browser-settings-1.18.7-1.13.7.jolla.armv7hl.rpm' not found on medium 'https://releases.jolla.com/releases/3.2.0.12/jolla/armv7hl/'
Abort, retry, ignore? [a/r/i/...? shows all options] (a): a
Problem occurred during or after installation or removal of packages:
Installation aborted by user
Please see the above error message for a hint.

But removing the files in /home/nemo/.local/share/org.sailfishos/sailfish-browser and removing .mozilla directory and removing and reinstalling the browser package followed by a reboot has fixed it. Thank you!

tehhel ( 2019-12-02 21:05:49 +0200 )edit

You are welcome. I'm glad you could resolve the issue.

Unfortunately I don't know what went wrong with zypper in your case.

stateoftheart ( 2019-12-02 22:05:03 +0200 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2019-12-01 03:17:25 +0200

Seen: 334 times

Last updated: Dec 01 '19