Grey death of browser with --enable silverlight

Bug #1284900 reported by Richard Larsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Pipelight
Expired
Undecided
Unassigned

Bug Description

I am running Ubuntu 13.10 with Unity. I'm using Intel Iris Pro Graphics 5200 with 128 MB eDRAM as graphics. (I am running an UltraPro sold by System76, if this helps.)

As problem describes, this blocks my browsing generally. Firefox turns grey
and cannot be moved.

This is what happens:

richard@richard-Galago-UltraPro:~$ sudo pipelight-plugin --enable silverlight
[sudo] password for richard:

The following modules require a license confirmation before they can be enabled:

[*] Microsoft Silverlight 5.1
 By continuing the installation you agree that you've read and accepted the
 MICROSOFT SOFTWARE LICENSE TERMS:
 http://go.microsoft.com/fwlink/?LinkId=229303

 Microsoft Silverlight Privacy Statement:
 http://go.microsoft.com/fwlink/?LinkId=229306

 To find out more click here:
 http://www.microsoft.com/silverlight/

[*] mpg2splt.ax
 This library is part of the Microsoft DirectX End-User Runtime.
 By continuing the installation you agree that you've read and accepted the
 Microsoft Software License Terms.
 You can find them in /usr/share/pipelight/licenses/license-mpg2splt.txt

 To find out more click here:
 http://www.microsoft.com/en-us/download/details.aspx?id=35

Do you accept the 2 license(s) above? [Y/N] y

The following modules are marked as optional dependencies:

[*] wininet.dll [OPTIONAL]
 This wininet.dll library is a debug version provided for the Microsoft
 Internet Explorer. By continuing the installation you agree that you've
 read and accepted the license terms.
 You can find them in /usr/share/pipelight/licenses/license-wininet.txt

 To find out more click here:
 http://www.microsoft.com/en-us/download/details.aspx?id=11434

 To agree to this license run (for each user who wants to use this module):
 touch $HOME/.config/wine-wininet-installer.accept-license

Plugin silverlight5.1 is now enabled
richard@richard-Galago-UltraPro:~$ firefox

(process:17475): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(firefox:17475): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(firefox:17475): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(firefox:17475): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(firefox:17475): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

(firefox:17475): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed
[PIPELIGHT:LIN:unknown] attached to process.
[PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_SILVERLIGHT5_1_CONFIG.
[PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
[PIPELIGHT:LIN:unknown] trying to load config file from '/home/richard/.config/pipelight-silverlight5.1'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-silverlight5.1'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/configs/pipelight-silverlight5.1'.
[PIPELIGHT:LIN:unknown] sandbox not found or not installed!
[PIPELIGHT:LIN:silverlight5.1] GPU driver check - Your driver is supported, hardware acceleration enabled.
[PIPELIGHT:LIN:silverlight5.1] using wine prefix directory /home/richard/.wine-pipelight/.
[PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might take some time.

And by now, firefox is grey and I cannot use it. There is no network traffic either, so it is not checking for anything.

I found this first, but it did not help: http://askubuntu.com/questions/421074/consistent-dialog-concerning-wine-silverlight

richard@richard-Galago-UltraPro:~$ dpkg --list | grep "\(pipelight\|wine-compholio\)"
ii pipelight-multi 0.2.5~ubuntu13.10.1 amd64 allows usage of Windows NPAPI plugins through Wine
ii wine-compholio 1.7.13-1~ubuntu13.10.1 i386 The Compholio Edition is a special build of the popular Wine software

My current solution is to just disable it. Any other ideas?

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

the next step (where it hangs in your case) should be that Pipelight installs all the dependencies required for Silverlight.
The askubuntu question you've linked above seems to be unrelated to your exact problem.

Please do the following steps to debug this issue and upload the resulting log files:

* At first try to reproduce the issue again, by enabling Silverlight, and opening the browser. Keep the browser open (in the background) and run the following commands (as regular user):

echo $HOME
ls -alh /tmp/wine-*.tmp
ls -alh ~/.wine-pipelight
ps aux | grep flock

Please attach the output of these commands to your bug report.

* Afterwards disable all plugins

sudo pipelight-plugin --disable-all
pipelight-plugin --disable-all

* Either reboot your machine, or manually kill all remaining firefox, wine and install-dependency processes

killall firefox
killall wineserver
killall install-dependency

Repeat these commands until no processes are left

* Delete all files called /tmp/wine-*.tmp

sudo rm -rf /tmp/wine-*.tmp

* Then run the dependency installer manually with the following commandline (in your regular user account!!! not root)

WINEPREFIX=$HOME/.wine-pipelight WINE=/opt/wine-compholio/bin/wine bash -x /usr/share/pipelight/install-dependency wine-silverlight5.1-installer wine-mpg2splt-installer &> pipelight.log

If it blocks and doesn't finish after some time, then just press CTRL+C. Upload the log file pipelight.log from your current directory.

Sebastian

Revision history for this message
Richard Larsson (ric-larsson) wrote :

Hello again

Attached is the pipelight.log

It asks me to verify I have proper right to do the above.

Below is the other test I was asked to do:

richard@richard-Galago-UltraPro:~$ echo $HOME
/home/richard
richard@richard-Galago-UltraPro:~$ ls -alh /tmp/wine-46ae34c87ab2e3c6212be944a61fdd49.tmp
-rw-r--r-- 1 richard richard 0 feb 26 20:21 /tmp/wine-46ae34c87ab2e3c6212be944a61fdd49.tmp
richard@richard-Galago-UltraPro:~$ ls -alh ~/.wine-pipelight/
total 764K
drwxr-xr-x 4 richard richard 4,0K feb 26 20:22 .
drwxr-xr-x 56 richard richard 4,0K feb 26 20:21 ..
drwxr-xr-x 2 richard richard 4,0K feb 26 20:21 dosdevices
drwxr-xr-x 5 richard richard 4,0K feb 26 20:21 drive_c
-rw-r--r-- 1 richard richard 696K feb 26 20:22 system.reg
-rw-r--r-- 1 richard richard 11 feb 26 20:21 .update-timestamp
-rw-r--r-- 1 richard richard 2,2K feb 26 20:22 userdef.reg
-rw-r--r-- 1 richard richard 42K feb 26 20:22 user.reg
richard@richard-Galago-UltraPro:~$ ps aux | grep flock
richard 3538 0.0 0.0 16080 976 pts/1 S+ 20:23 0:00 grep --color=auto flock
richard@richard-Galago-UltraPro:~$

Revision history for this message
Richard Larsson (ric-larsson) wrote :

Hello again

Attached is the pipelight.log

It asks me to verify I have proper right to do the above.

Below is the other test I was asked to do:

richard@richard-Galago-UltraPro:~$ echo $HOME
/home/richard
richard@richard-Galago-UltraPro:~$ ls -alh /tmp/wine-46ae34c87ab2e3c6212be944a61fdd49.tmp
-rw-r--r-- 1 richard richard 0 feb 26 20:21 /tmp/wine-46ae34c87ab2e3c6212be944a61fdd49.tmp
richard@richard-Galago-UltraPro:~$ ls -alh ~/.wine-pipelight/
total 764K
drwxr-xr-x 4 richard richard 4,0K feb 26 20:22 .
drwxr-xr-x 56 richard richard 4,0K feb 26 20:21 ..
drwxr-xr-x 2 richard richard 4,0K feb 26 20:21 dosdevices
drwxr-xr-x 5 richard richard 4,0K feb 26 20:21 drive_c
-rw-r--r-- 1 richard richard 696K feb 26 20:22 system.reg
-rw-r--r-- 1 richard richard 11 feb 26 20:21 .update-timestamp
-rw-r--r-- 1 richard richard 2,2K feb 26 20:22 userdef.reg
-rw-r--r-- 1 richard richard 42K feb 26 20:22 user.reg
richard@richard-Galago-UltraPro:~$ ps aux | grep flock
richard 3538 0.0 0.0 16080 976 pts/1 S+ 20:23 0:00 grep --color=auto flock
richard@richard-Galago-UltraPro:~$

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

what do you mean with "it asks you if you have proper rights"? The huge commandline normally should show the Silverlight installer, where you're asked if you want to continue the installation.

Based on this test it sounds like you're using something like SELinux / AppArmor or maybe some AntiVirus software?
Such applications often don't work that well with Silverlight/Pipelight. (see for example this bug report: https://bugs.launchpad.net/pipelight/+bug/1241513 ). I would suggest to disable it for testing purposes, and check if it makes a difference.

If you're not using such an application please create a screenshot of the dialog, and also attach it to this bug report.

Sebastian

Revision history for this message
Richard Larsson (ric-larsson) wrote :

Hello,

I did run apparmor

I followed the other bug report suggestion for a solution, and I got to:

[PIPELIGHT:LIN:unknown] attached to process.
[PIPELIGHT:LIN:unknown] checking environment variable PIPELIGHT_SILVERLIGHT5_1_CONFIG.
[PIPELIGHT:LIN:unknown] searching for config file pipelight-silverlight5.1.
[PIPELIGHT:LIN:unknown] trying to load config file from '/home/richard/.config/pipelight-silverlight5.1'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/etc/pipelight-silverlight5.1'.
[PIPELIGHT:LIN:unknown] trying to load config file from '/usr/share/pipelight/configs/pipelight-silverlight5.1'.
[PIPELIGHT:LIN:unknown] sandbox not found or not installed!
[PIPELIGHT:LIN:silverlight5.1] GPU driver check - Your driver is supported, hardware acceleration enabled.
[PIPELIGHT:LIN:silverlight5.1] using wine prefix directory /home/richard/.wine-pipelight/.
[PIPELIGHT:LIN:silverlight5.1] checking plugin installation - this might take some time.
[install-dependency] Downloading and running wine-silverlight5.1-installer.
[install-dependency] ERROR: Installer for wine-silverlight5.1-installer did not run correctly or was aborted.
[install-dependency] ERROR: Execution of wine-silverlight5.1-installer failed.
[PIPELIGHT:LIN:silverlight5.1] basicplugin.c:346:checkPluginInstallation(): Plugin installer did not run correctly (exitcode = 1).
[PIPELIGHT:LIN:silverlight5.1] basicplugin.c:105:attach(): plugin not correctly installed - aborting.

Revision history for this message
Sebastian Lackner (slackner) wrote :

Hi,

it doesn't have changed anything in the output.

I would suggest to wipe the full wine prefix like:
rm -rf ~/.wine-pipelight

And afterwards try again, maybe the installation is just blocked by some corrupted data in the wine prefix.
If this also doesn't help, can you maybe try to disable it completely and check again?

Sebastian

Changed in pipelight:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Pipelight because there has been no activity for 60 days.]

Changed in pipelight:
status: Incomplete → Expired
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.