Unusual WebKitWebProcess initaliztion problem makes WebView blocked and unresponsive.

Bug #1414927 reported by MihaD
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
webkitgtk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

1)
Description: Ubuntu 14.04.1 LTS
Release: 14.04
2)
apt-cache policy libwebkitgtk-3.0-0
libwebkitgtk-3.0-0:
  Installed: 2.4.7-1~ubuntu1
  Candidate: 2.4.7-1~ubuntu1
  Version table:
 *** 2.4.7-1~ubuntu1 0
        500 http://si.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.4.0-1ubuntu2 0
        500 http://si.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

Hello
 I have been experimenting with my custom app that uses webkit2gtk.
While testing I have encountered one strange thing.

Usually when WebKitWebProcess crashes or or is killed for some reason, then "web-process-crashed" signal is emitted in UI process. WebProcess is respawned and everything works fine after that.

But sometimes very rarely when WebProcess is being re-spawned, process locks somewhere, leaving WebView unresponsive.

The only solution (without restarting the whole app) is to kill WebProcess, which will cause UI process to re spawn new WebProcess. Now after reloading the page everything works fine again.

I have investigated problem further and I have discovered that locked WebProcess is running with only one system thread.
This was unusual for WebKitWebProcess which usulay runs with several threads.

After attaching debuger to such process I suspect for the problem to have something to do with "dbus_launch".

In attachment I have provided stack trace for a process in souch state.
Best

Miha

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: libwebkitgtk-3.0-0 2.4.7-1~ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
Uname: Linux 3.13.0-32-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Tue Jan 27 08:38:14 2015
InstallationDate: Installed on 2014-12-12 (45 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
SourcePackage: webkitgtk
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
MihaD (mihael-dimec) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in webkitgtk (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.