Bug 336213

Summary: Opera freezes on flash sites.
Product: [openSUSE] openSUSE 10.3 Reporter: Krzysztof Janusz <hevilath>
Component: X11 ApplicationsAssignee: Ladislav Michnovic <lmichnovic>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P5 - None CC: gnome-bugs, iron.bone, marko.schugardt, sbrabec
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 10.3   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Krzysztof Janusz 2007-10-24 05:04:06 UTC
This bug is just a reminder of previous reported bugs in openSUSE 10.3 Alpha 7 and Beta 2 (Bug 294385 - glib2 busyloops, blocking Konqueror and Opera on flash sites and Bug 297519 - opera freezes on flash). 

This bug is still unresolved in final release of openSUSE 10.3.
Opera freezes randomly on certain flash sites for a few seconds, and somethimes it triggers bug buddy to show up. It's really annoying, can we do something with this?

Installed versions: 
opera-9.24-0.1
flash-player-9.0.48.0-16
Comment 1 Krzysztof Janusz 2007-10-24 06:22:28 UTC
After two hours of normal use: 
 8183 ?        00:00:08 operapluginwrap <defunct>
 8197 ?        00:00:00 operapluginwrap
 8202 ?        00:00:09 operapluginwrap <defunct>
 8212 ?        00:00:00 operapluginwrap
 8213 ?        00:00:17 operapluginwrap <defunct>
 8254 ?        00:00:00 operapluginwrap
 8255 ?        00:00:36 operapluginwrap <defunct>
 8267 ?        00:00:00 operapluginwrap
 8268 ?        00:00:07 operapluginwrap <defunct>
 8274 ?        00:00:00 operapluginwrap
 8277 ?        00:00:07 operapluginwrap <defunct>
 8284 ?        00:00:00 operapluginwrap
Comment 2 Iron Bone 2007-10-24 13:24:39 UTC
I can confirm the same errors 
opera-9.24-0.1
flash-player-9.0.48.0-16
gtk2-2.12.0-5.2
glib-1.2.10-672

After 5 min. of work I have the following

Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);
6e11999c-5d49-44e7-1864ca47-54c92ca7 is dumped
opera: Plug-in 23939 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.
Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);
6ef45e6f-92e7-f61e-677d2a03-64a27ce1 is dumped
opera: Plug-in 24100 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.
Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8
Adobe FlashPlayer: gtk_clipboard_get(GDK_SELECTION_PRIMARY); failed. Trying to call gtk_init(0,0);
Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8
Flash Player: Warning: environment variable G_FILENAME_ENCODING is set and is not UTF-8
opera: Plug-in 24193 is not responding. It will be closed.
opera: Define environment variable OPERA_KEEP_BLOCKED_PLUGIN to keep blocked plug-ins.

Comment 3 Ladislav Michnovic 2007-10-29 13:16:34 UTC
I'll take a closer look. Adding flash maintainer to CC. 
Comment 4 Ladislav Michnovic 2007-12-04 14:45:06 UTC
Adobe has released a new version of flash player which should work with opera.
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&P2_Platform=Linux
You can check it out. 

Opera and flash player are closed source software, so it's really hard to do anything for it. 
Comment 5 Krzysztof Janusz 2007-12-12 10:03:11 UTC
Unfortunately latest flash version doesn't work at all with stable release of Opera, which currently is opera-9.24-0.1. I've tested with youtube and I was only able to see frame window of movie player without any content. Same with flash ads and so on. 
But, there is hope, at least I think so. Opera released beta version (9.50b) which partialy works with Flash-9.0-r115. I've said partialy, because flash has na nasty habbit to randomly crash webbrowser. 

Someone suggested that problems with Flash and Opera is somehow related to Glib and GTK, furthermore applying patch resolves all headaches. 

Some posts about Flash, Opera and openSUSE 10.3 on Opera Forums: 
1. http://my.opera.com/community/forums/topic.dml?id=214593
2. http://my.opera.com/community/forums/topic.dml?id=209916
3. http://my.opera.com/community/forums/topic.dml?id=212927
4. http://my.opera.com/community/forums/topic.dml?id=215515 - mentioned patch


Comment 6 Ladislav Michnovic 2007-12-12 10:21:06 UTC
Thank you for these information. 
I was also trying latest beta version of opera for 64 bit with latest flash but without success. 

> Someone suggested that problems with Flash and Opera is somehow related to Glib
> and GTK, furthermore applying patch resolves all headaches. 
> Some posts about Flash, Opera and openSUSE 10.3 on Opera Forums: 
> 1. http://my.opera.com/community/forums/topic.dml?id=214593
> 2. http://my.opera.com/community/forums/topic.dml?id=209916
> 3. http://my.opera.com/community/forums/topic.dml?id=212927
> 4. http://my.opera.com/community/forums/topic.dml?id=215515 - mentioned patch

That sounds interesting. What do you think about it, gnome-maintainers?
Comment 7 Igor Jagec 2007-12-30 15:44:25 UTC
(In reply to comment #5 from Krzysztof Janusz)
> Unfortunately latest flash version doesn't work at all with stable release of
> Opera, which currently is opera-9.24-0.1. I've tested with youtube and I was
> only able to see frame window of movie player without any content. Same with
> flash ads and so on. 

The same problem here with flash-player-9.0.115.0-0.1.i586, so I downgraded it to flash-player-9.0.48.0-16.i586 and now it works. Well, I'm not sure if it works fine, but at least I'm able to see flash content on some web sites like YouTube and so on.

Cheers!
Comment 8 Ladislav Michnovic 2008-01-03 12:52:35 UTC
New version of opera 9.25 works with flash quite well on 32bit system. On 64bit system it doesn't work. What is your experience?
Comment 9 Stanislav Brabec 2008-01-09 16:21:11 UTC
JP, what do you think about the patch?

http://my.opera.com/community/forums/topic.dml?id=215515#comment2352441
Comment 10 Dirk Mueller 2008-01-09 16:49:55 UTC
the patch is already in the package
Comment 11 Ladislav Michnovic 2008-01-09 17:17:02 UTC
(In reply to comment #10 from Dirk Mueller)
> the patch is already in the package
> 

In which distribution? Is it in any released one or only in Factory?
Comment 12 Ladislav Michnovic 2008-01-20 18:38:08 UTC
*** Bug 354941 has been marked as a duplicate of this bug. ***
Comment 13 Stanislav Brabec 2008-01-21 15:36:53 UTC
10.3 packages with upper mentioned patch:
http://pack.suse.cz/sbrabec/bug336213/

Does it fix this problem?
Comment 14 Stanislav Brabec 2008-01-21 17:06:27 UTC
New testing packages, which attempts to fix both bug 345835 and bug 336213:
http://pack.suse.cz/sbrabec/bug336213+345835/
Comment 15 Krzysztof Janusz 2008-01-24 09:19:25 UTC
I have installed gtk2 with patches for bug 345835 and bug 336213. The good news is that I don't see any abnormal behaviour in GNOME, and as always, the bad news is that Opera doesn't show flash content on x86. Tested on entirely new profile. Additionaly operapluginwrapper seems to work properly, and don't triggers bugbuddy to popup. Does anyone may confirm that? 

Comment 16 Stanislav Brabec 2008-01-24 10:19:54 UTC
Ah.

Looking again at my patch regarding this bug, it is a NOP:

http://my.opera.com/community/forums/topic.dml?id=215515#comment2352441 says:
+  g_return_val_if_fail (display != NULL, NULL);

10.3 already contains there:
if (display == NULL) return NULL;

So adding this one line should not change (break or fix) anything.

Could you try to degrade flash player from 9.0.115.0 to 9.0.48.0? It might be the same threading issue as bug 350752. (In this case any gtk2 change might not help.)
Comment 17 Stanislav Brabec 2008-01-30 14:12:00 UTC
We probably need an update of opera. It should be one line change somewhere deep in the opera code (init threads).

I can imagine following work-arounds:

Preloaded wrapper library on top of some functions (gtk_init), which will init threads.

Use nspluginwrapper even for x86.

Igor Jagec wrote:

On Wed, 2008-01-30 at 12:00 +0100, Stanislav Brabec wrote:

> > > Please follow https://bugzilla.novell.com/show_bug.cgi?id=336213#c16
> > How can we apply the patch? Can you write us a little FAQ or something?
> The patch is NOP (= no operation). Don't apply it, it does not fix
> anything. This is equal to the patch proposed in the Opera mailing list
> (return if DISPLAY is not set), but this check is already part of the
> gtk2 code in 10.3 (just one line above there is the code doing the
> same).
> The real fix for 10.3 is not known. You can try to degrade flash to the
> previous version and let me know, whether this problem disappeared.

Unfortunately that's the only solution of the problem.

> But even if you will say yes, I don't know the real source of the
> problem. And because both Opera and Flash have closed source code, it
> may be impossible to find the fix.

I tried with 9.50 beta on my Factory installation and the new Flash
works just fine there, but I don't want to use Opera beta on my 10.3.
Comment 18 Ladislav Michnovic 2008-04-28 14:30:03 UTC
The latest Opera Beta works with latest flash plugin even on 64bit machines on 10.3. 
But it has some other bugs. Unfortunately, opera is not open source, so I can't do anything more with it. You can try the package from my home:lmich repo in Build service: http://software.opensuse.org/search
Comment 19 Ladislav Michnovic 2008-06-04 13:50:08 UTC
Unfortunately the suggested patches for gtk doesn't work.
The opera 9.27 which is in openSUSE 11 still doesn't work with the latest flash. 
Comment 20 Ladislav Michnovic 2008-06-13 14:04:44 UTC
The new opera 9.50 (final) works with latest flash. You can install it from Build Service home:lmich repository. Use http://software.opensuse.org/search .
Comment 21 Ladislav Michnovic 2008-06-18 08:54:33 UTC
There will be an security update of Opera to version 9.50 which works with the latest Flash plug-in also for older dists.
Comment 22 OBSbugzilla Bot 2020-07-02 16:10:17 UTC
This is an autogenerated message for OBS integration:
This bug (336213) was mentioned in
https://build.opensuse.org/request/show/818367 15.2:NonFree / opera.12663