Moonlight plugin crashes when switching to fullscreen on 64-bit platforms

Bug #365442 reported by Jo Shields
10
Affects Status Importance Assigned to Milestone
moon (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Due to a pointer size error caused by a pair of missing #includes, whenever the Moonlight plugin tries to display a full-screen window on 64-bit systems, it will crash. Try http://videoshow.vertigo.com/View.aspx?video=38&viewType=Tag&filterValue= as an example url which triggers the bug.

Related branches

Revision history for this message
Jo Shields (directhex) wrote :
Revision history for this message
Jo Shields (directhex) wrote :

The attached patch is taken from pkg-mono svn, and simply adds in the required header includes in plugin/windowless.h

Without these includes, sizeof(GdkNativeWindow) is incorrectly reported as 4 on amd64, when it should be 8, causing a SEGV when full screen is used.

Revision history for this message
Jo Shields (directhex) wrote :

note: the binary package to install to test this is moonlight-plugin-mozilla

Revision history for this message
John Dong (jdong) wrote :

ACK from MOTU-SRU for the patch, but please set upload target to jaunty-proposed, not jaunty.

Revision history for this message
Scott Kitterman (kitterman) wrote :

Accepted into jaunty-proposed, the package will build now and be available in a few hours.Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in moon (Ubuntu Jaunty):
status: New → Fix Committed
tags: added: verification-needed
Changed in moon (Ubuntu):
status: New → Confirmed
Revision history for this message
Jo Shields (directhex) wrote :

New package seems to work here (note, restart your browser after updating to it)

Revision history for this message
Alexander Kojevnikov (alexk) wrote :

I can reproduce the crash and the package from jaunty-proposed fixes it for me.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package moon - 1.0.1-0ubuntu1.1

---------------
moon (1.0.1-0ubuntu1.1) jaunty-proposed; urgency=low

  * debian/patches/moon_fix_gdk_pointer_size.dpatch:
    + Minor fix from Moonlight trunk to fix browser crashes with fullscreen
      controls on 64-bit platforms such as amd64, caused by missing GDK
      definitions. Thanks to Rolf Kvinge, Chris Toshok and Geoff Norton.
      (LP: #365442)

 -- Jo Shields <email address hidden> Thu, 23 Apr 2009 09:44:15 +0100

Changed in moon (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

copied to karmic

Changed in moon (Ubuntu):
status: Confirmed → Fix Released
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.