Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 410547

Summary: www-plugins/adobe-flash-11.2 is built with SSE2 instructions
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: Jeroen Roovers (RETIRED) <jer>
Status: VERIFIED UPSTREAM    
Severity: normal CC: desktop-misc, powerman-asdf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugbase.adobe.com/index.cfm?event=bug&id=3154276
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafał Mużyło 2012-04-02 13:09:56 UTC
Given that in some of the cases adobe-flash-11.2.202.228 is plain not working (not the smurfs, nor even logged crashes, it simply doesn't work), please bump 10.3 to the updated version.

Given vulnerabilities, it's sort of security bump, too.

I started to describe the problem on http://forums.gentoo.org/viewtopic-t-918560.html, but there are no real hints about what's going wrong and in th end it's most likely something only Adobe can fix.
Comment 1 Sean Amoss (RETIRED) gentoo-dev Security 2012-04-06 13:30:21 UTC
For security, vulnerable ebuilds <11.2.202.228 should be cleaned up as part of bug 410005. Whether or not the maintainer/herd wants to add 10.3.183.18 does not really have anything to do with us, so removing security from cc:
Comment 2 Rafał Mużyło 2012-04-06 18:14:21 UTC
It not quite an enhancement, if 11.2.202.228 just doesn't work.
Also, while the forum thread has seen very little input from other parties, it seems that the "not working" part affects only x86 (though it's still hard to say whether the problem lies in CPU or GPU).
Comment 3 Rafał Mużyło 2012-04-12 11:13:10 UTC
It seems that it was CPU - all the similar reports seems to come from various types of AthlonXP. The problem reached even the upstream bug tracker.
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2012-04-24 15:00:21 UTC
This wouldn't be the first time Adobe has compiled their binary with a non-AMD-compatible compiler optimization enabled.  (See bug #268336)  Looks like in this case the issue is that 11.2 is now being compiled using SSE2 instructions, making the binary completely useless for anyone not running a CPU with SSE2.

In the mean time, I have bumped 10.3 to the security-fixed 10.3.183.18 (*and* removed the RPM dependency!).

I'm going to also consider adding a pkg_pretend check and failing the 11.2 install for non-SSE2 CPUs, recommending users package-mask their way back to 10.3.

Leaving this bug open to track the upstream CPU issue and future pkg_pretend changes.
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2012-04-24 15:32:35 UTC
Okay, updated the adobe-flash-11.2.202.228 to error out at pkg_pretend time if any local CPU doesn't support the SSE2 instructions, with a suggestions that users mask the 11.2 version to fall back to 10.3 instead.

Leaving this bug open to track the upstream bug(s).
Comment 6 Matt Turner gentoo-dev 2012-05-09 22:06:47 UTC
Jim, there was a whole thread on the gentoo-dev mailing list about this sse2check (that apparently you did not see?)

Wouldn't it be better if we just did this?

IUSE="... sse2"
REQUIRED_USE="sse2"
Comment 7 Rafał Mużyło 2012-06-10 15:04:42 UTC
The release of adobe-flash 11.2.202.236 has turned things worse (unless it's firefox 13 related change).
Now flash (playing on youtube) while trying to start playback brings down firefox.
Comment 8 Jim Ramsay (lack) (RETIRED) gentoo-dev 2012-06-19 19:43:03 UTC
(In reply to comment #7)
> The release of adobe-flash 11.2.202.236 has turned things worse (unless it's
> firefox 13 related change).
> Now flash (playing on youtube) while trying to start playback brings down
> firefox.

The original issue (Adobe compiles with SSE2 instructions) hasn't been fixed yet (at least I don't think so)

So I have 2 questions:
 - Does your /proc/cpuinfo have SSE2
 - Does the workaround of downgrading to 10.3 still work for you?
Comment 9 Rafał Mużyło 2012-06-19 23:21:11 UTC
Well, the x86 one doesn't and 10.3 still works.
The crash is most likely caused by the non-working plugin triggering the problem behind 13.0.1 release.
Comment 10 Matt Turner gentoo-dev 2013-06-18 22:45:22 UTC
(In reply to Matt Turner from comment #6)
> Jim, there was a whole thread on the gentoo-dev mailing list about this
> sse2check (that apparently you did not see?)
> 
> Wouldn't it be better if we just did this?
> 
> IUSE="... sse2"
> REQUIRED_USE="sse2"

Jeroen,
Now that you're maintaining adobe-flash, might I ask you to consider using REQUIRED_USE="sse2" to allow users to immediately know that SSE2 is required?
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-18 23:44:16 UTC
(In reply to Matt Turner from comment #10)
> (In reply to Matt Turner from comment #6)
> > Jim, there was a whole thread on the gentoo-dev mailing list about this
> > sse2check (that apparently you did not see?)
> > 
> > Wouldn't it be better if we just did this?
> > 
> > IUSE="... sse2"
> > REQUIRED_USE="sse2"
> 
> Jeroen,
> Now that you're maintaining adobe-flash, might I ask you to consider using
> REQUIRED_USE="sse2" to allow users to immediately know that SSE2 is required?

I don't think Jim ever found the time to consider this solution. I'll let it run rampant in www-plugins/adobe-flash-11.2.202.291-r1 for a while.
Comment 12 Matt Turner gentoo-dev 2013-08-07 20:29:40 UTC
Rafał, is there something else that needs to be done for this bug, short of a new flash player that doesn't use SSE2?
Comment 13 Rafał Mużyło 2013-08-07 23:39:43 UTC
(In reply to Matt Turner from comment #12)
> Rafał, is there something else that needs to be done for this bug, short of
> a new flash player that doesn't use SSE2?

Don't you mean 'could be' ?

Unfortunately, AFAICT, no. Without Adobe releasing a working version, older machines are stuck with the insecure version.
Comment 14 Alex Efros 2013-11-04 14:39:54 UTC
Maybe it's possible to somehow extract flash plugin from chrome (AFAIK it's compiled without SSE2)? Having to use 10.3 for 1.5 years and without any signs adobe will fix this issue soon is a critical security issue!
Comment 15 Rafał Mużyło 2014-02-01 07:41:59 UTC
(In reply to Alex Efros from comment #14)
> Maybe it's possible to somehow extract flash plugin from chrome (AFAIK it's
> compiled without SSE2)? Having to use 10.3 for 1.5 years and without any
> signs adobe will fix this issue soon is a critical security issue!

Not sure, but I seem to recall a post that said that recent versions of chrome flash also have this problem. They're PPAPI - IIRC - anyway, so not really useful outside chrome.
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-01 16:09:26 UTC
(In reply to Jeroen Roovers from comment #11)
> I'll let it run rampant in www-plugins/adobe-flash-11.2.202.291-r1 for a while.
Comment 17 Rafał Mużyło 2014-02-01 16:49:57 UTC
The problem with UPSTREAM resolution is obviously that all points toward that upstream doesn't give a damn, even though they're the only one who can really fix this.