Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292569 - dev-java/icedtea6-bin-1.[6-7]* nsplugin java applet plugin is kept in memory even after tab closing
Summary: dev-java/icedtea6-bin-1.[6-7]* nsplugin java applet plugin is kept in memory ...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 19:48 UTC by Patrizio Bassi
Modified: 2010-02-06 17:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrizio Bassi 2009-11-09 19:48:37 UTC
firefox 3.5.5 canno pass even basic java applet test at http://www.java.com/it/download/help/testvm.xml


IcedTeaPlugin.cc:3890: Error: create process
IcedTeaPlugin.cc:1667: Error: started appletviewer

(firefox:13687): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
IcedTeaPlugin.cc:4103: Error: Failed to write bytes to output channel

(firefox:13687): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
IcedTeaPlugin.cc:4117: Error: Failed to flush bytes to output channel

(firefox:13687): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
IcedTeaPlugin.cc:4103: Error: Failed to write bytes to output channel

(firefox:13687): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
IcedTeaPlugin.cc:4117: Error: Failed to flush bytes to output channel

(firefox:13687): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed
IcedTeaPlugin.cc:4103: Error: Failed to write bytes to output channel

(firefox:13687): GLib-CRITICAL **: g_io_channel_flush: assertion `channel != NULL' failed
IcedTeaPlugin.cc:4117: Error: Failed to flush bytes to output channel
Comment 1 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-10 19:37:47 UTC
did you select the right version of plugin via eselect java-nsplugin?
Comment 2 Patrizio Bassi 2009-11-10 20:27:58 UTC
you're right i didn't have the xul 1.9.1 version set

now it works

only one thing: it seems that java vm keeps loaded even after closing the tab with the applet.

i keep on seeing:
patrizio 24765  1.3  2.7 935184 55916 pts/2    Sl+  21:21   0:02 /opt/icedtea6-bin-1.6.1/jre/lib/amd64/../../bin/java sun.applet.PluginMain

lots of memory here.

ps. can we have a source compiled ebuild (from overlays) instead of -bin?
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-01 09:20:29 UTC
(In reply to comment #2)
> you're right i didn't have the xul 1.9.1 version set
> 
> now it works
> 
> only one thing: it seems that java vm keeps loaded even after closing the tab
> with the applet.
> 
> i keep on seeing:
> patrizio 24765  1.3  2.7 935184 55916 pts/2    Sl+  21:21   0:02
> /opt/icedtea6-bin-1.6.1/jre/lib/amd64/../../bin/java sun.applet.PluginMain
> 
> lots of memory here.

Might try icedtea6-bin-1.7 if it's any better.
 
> ps. can we have a source compiled ebuild (from overlays) instead of -bin?
 
Hopefully soon.
Comment 4 Patrizio Bassi 2010-02-01 09:27:47 UTC
1.6.2 in portage doesn't work with xul 1.9.2

1.7 is in overlays only i'm waiting for portage inclusion then i'll test
Comment 5 Patrizio Bassi 2010-02-01 17:52:32 UTC
i works greatly!

i just would like to see a not-bin version. apart this, thanks a lot!
Comment 6 Patrizio Bassi 2010-02-01 17:58:42 UTC
sorry after more tests, after the applet tab is closed it's still loaded in memory

/opt/icedtea6-bin-1.7/jre/lib/amd64/../../bin/java sun.applet.PluginMain

i change the subject

Comment 7 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-02 11:09:03 UTC
(In reply to comment #6)
> sorry after more tests, after the applet tab is closed it's still loaded in
> memory
> 
> /opt/icedtea6-bin-1.7/jre/lib/amd64/../../bin/java sun.applet.PluginMain
> 
> i change the subject
> 

At least it doesn't hang in memory after firefox is fully closed, anymore.
I suggest filling an upstream bug though. Probably isn't gentoo-specific.
Comment 8 Patrizio Bassi 2010-02-02 11:16:10 UTC
yes this is true, it's linked to firefox and not tab.

of course this will be fixed when firefox will implement per-tab processes but it's a long way.

what do we do with this entry in gentoo bugzilla? keep it open or mark as closed-UPSTREAM?
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-02-06 17:03:16 UTC
Upstream unless proven otherwise :)