[2.1.0.9] Browser starts and hangs

asked 2017-02-11 11:54:24 +0300

melg01 gravatar image

Updated to 2.1.0.9. The default sailfish browser worked fine for one day or so. After some jolla restart it stopped to work correctly: now the browser starts, then hangs a moment while trying to unsuccessfully open the default home page (the together jolla webpage), and finally flickers a blank page and minimizes. No way to change the url, settings or do anything. Removing and reinstalling sailfish-browser from the command line with pkcon didn't help either. Alternative browsers seem to work so far. Any help greatly appreciated, since I prefer using the original browser.

edit retag flag offensive close delete

Comments

without posting relevant stderr output when sailfish-browser is started via terminal, I think nobody is really able to help...

lpr ( 2017-02-11 14:22:16 +0300 )edit

I can confirm this issue. You can work around if clicking quick on the little tab counter on the bottom left. In the tab view clode all tabs. If you are to slow, the browser closes.

Segmentation fault.

[code]

[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 EmbedLite
[D] onCompleted:103 - ViewPlaceholder requires a SilicaFlickable parent
Loaded xulDir:/usr/lib/xulrunner-qt5-38.8.0/libxul.so, appDir:/usr/bin
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
1486840279328   addons.manager  DEBUG   Application has been upgraded
1486840279440   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/XPIProvider.jsm: ["XPIProvider"]
1486840279455   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/LightweightThemeManager.jsm: ["LightweightThemeManager"]
1486840279476   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/GMPProvider.jsm
1486840279489   addons.manager  DEBUG   Loaded provider scope for resource://gre/modules/addons/PluginProvider.jsm
1486840279495   addons.manager  DEBUG   Starting provider: XPIProvider
1486840279498   addons.xpi  DEBUG   startup
1486840279505   addons.xpi  DEBUG   checkForChanges
1486840279511   addons.xpi  DEBUG   Loaded add-on state from prefs: {}
1486840279517   addons.xpi  DEBUG   getInstallState changed: false, state: {}
1486840279541   addons.xpi-utils    DEBUG   Opening XPI database /home/nemo/.mozilla/mozembed/extensions.json
1486840279544   addons.xpi-utils    DEBUG   Rebuilding XPI database with no extensions
1486840279548   addons.xpi  DEBUG   No changes found
1486840279551   addons.manager  DEBUG   Registering shutdown blocker for XPIProvider
1486840279554   addons.manager  DEBUG   Provider finished startup: XPIProvider
1486840279556   addons.manager  DEBUG   Starting provider: LightweightThemeManager
1486840279558   addons.manager  DEBUG   Registering shutdown blocker for LightweightThemeManager
1486840279561   addons.manager  DEBUG   Provider finished startup: LightweightThemeManager
1486840279564   addons.manager  DEBUG   Starting provider: GMPProvider
1486840279575   addons.manager  DEBUG   Registering shutdown blocker for GMPProvider
1486840279579   addons.manager  DEBUG   Provider finished startup: GMPProvider
1486840279581   addons.manager  DEBUG   Starting provider: PluginProvider
1486840279582   addons.manager  DEBUG   Registering shutdown blocker for PluginProvider
1486840279586   addons.manager  DEBUG   Provider finished startup: PluginProvider
1486840279587   addons.manager  DEBUG   Completed startup sequence
Created LOG for EmbedPrefs
[D] QMozWindowPrivate::setSize:71 - 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:0x46b636a0, top:domwindowopened
EmbedLiteExt void EmbedChromeManager::WindowCreated(nsIDOMWindow*):91: WindowOpened: 0x46b636b0
EmbedLiteExt void EmbedTouchManager::WindowCreated(nsIDOMWindow*):95: WindowOpened: 0x46b636b0
EmbedLiteExt void EmbedTouchManager::WindowCreated(nsIDOMWindow*):108: id for window: 1
###################################### SelectAsyncHelper.js loaded
###################################### embedhelper.js loaded
### ContextMenuHandler.js loaded
### SelectionPrototype.js loaded
### SelectionHandler.js loaded
Init Called:[object Object]
Segmentation fault

[/code]

jolladiho ( 2017-02-11 20:58:22 +0300 )edit

the log above is from opening the browser: if the browser was closed with a tab opened to download a file or trying to open this link at startup: http://repo.merproject.org/obs/home:/kimmoli:/tohs/sailfishos_2.1.0.9/armv7hl/harbour-ambience-tohkbd2-0.5.23-78.1.armv7hl.rpm

jolladiho ( 2017-02-11 21:20:45 +0300 )edit

Same here. Does not seem related to a specific website, and seem quite random : a page loading properly one time can crash the browser the next time. Log is quite similar to the one posted by jolladiho : segfault without meaningful (at least to me) warning.

grmoht ( 2017-02-16 11:05:13 +0300 )edit

I have the exact same problem after updating a Jolla 1 to Haapajoki (2.0.5.6)and the log is almost identical to @jolladiho's !! For me, it happens only at a specific website (https://derkleinelionel.jimdo.com/) and I can also prevent the crash by quickly changing to the tabs view. If I now open a different website or change to an already existing tab, the browser doesn't crash but if I change back to the offending website, the crash (Segmentation fault) occurs.

Addition:

The system log (via "journalctl") shows an "unhandled page fault" every time the crash occurs:

Mar 05 20:47:01 Sailfish kernel: Media Decode #1: unhandled page fault (11) at 0x00000008, code 0x805
Mar 05 20:47:01 Sailfish kernel: pgd = ee908000
Mar 05 20:47:01 Sailfish kernel: [00000008] *pgd=00000000
Mar 05 20:47:01 Sailfish kernel: Mar 05 20:47:01 Sailfish kernel: Pid: 4291, comm:      Media Decode #1
Mar 05 20:47:01 Sailfish kernel: CPU: 0    Tainted: P        W  O  (3.4.108.20161101.1 #1)
Mar 05 20:47:01 Sailfish kernel: PC is at 0x4b4fb706
Mar 05 20:47:01 Sailfish kernel: LR is at 0x4b4f88c3
Mar 05 20:47:01 Sailfish kernel: pc : [<4b4fb706>]    lr : [<4b4f88c3>]    psr: 00070030
                                 sp : 46cd7968  ip : 00000000  fp : 46cd79ec
Mar 05 20:47:01 Sailfish kernel: r10: 5b8fe520  r9 : 544e460c  r8 : 00000001
Mar 05 20:47:01 Sailfish kernel: r7 : 544e45fc  r6 : 5442dc00  r5 : 46cd7974  r4 : 544e45bc
Mar 05 20:47:01 Sailfish kernel: r3 : 46cd7988  r2 : ffffffff  r1 : 00000008  r0 : 46cd7978
Mar 05 20:47:01 Sailfish kernel: Flags: nzcv  IRQs on  FIQs on  Mode USER_32  ISA Thumb  Segment user
Mar 05 20:47:01 Sailfish kernel: Control: 10c5787d  Table: aeb0806a  DAC: 00000015
Mar 05 20:47:01 Sailfish kernel: [<c010b71c>] (unwind_backtrace+0x0/0x118) from [<c010f654>] (__do_user_fault+0x6c/0xb4)
Mar 05 20:47:01 Sailfish kernel: [<c010f654>] (__do_user_fault+0x6c/0xb4) from [<c08a2b24>] (do_page_fault+0x358/0x3e8)
Mar 05 20:47:01 Sailfish kernel: [<c08a2b24>] (do_page_fault+0x358/0x3e8) from [<c01002f8>] (do_DataAbort+0x134/0x1a8)
Mar 05 20:47:01 Sailfish kernel: [<c01002f8>] (do_DataAbort+0x134/0x1a8) from [<c08a1394>] (__dabt_usr+0x34/0x40)
Mar 05 20:47:01 Sailfish kernel: Exception stack(0xc457bfb0 to 0xc457bff8)
Mar 05 20:47:01 Sailfish kernel: bfa0:                                     46cd7978 00000008 ffffffff 46cd7988
Mar 05 20:47:01 Sailfish kernel: bfc0: 544e45bc 46cd7974 5442dc00 544e45fc 00000001 544e460c 5b8fe520 46cd79ec
Mar 05 20:47:01 Sailfish kernel: bfe0: 00000000 46cd7968 4b4f88c3 4b4fb706 00070030 ffffffff
Mar 05 20:47:01 Sailfish kernel: Media Decode #1(4147) send signal 11 to Media Decode #1(4147)
Mar 05 20:47:01 Sailfish kernel: Media Decode #1(4147) send signal 11 to Media Decode #1(4147)
Kohle ( 2017-03-05 21:25:12 +0300 )edit