Memleak in Sun Java 6 on ubuntu feisty

Bug #122442 reported by Rohan Dhruva
16
Affects Status Importance Assigned to Milestone
Feisty Backports
Invalid
Undecided
Unassigned
sun-java6 (Ubuntu)
Fix Released
Wishlist
Matthias Klose

Bug Description

Binary package hint: sun-java6-jre

Hi,

I am using Kubuntu Feisty. I installed sun-java6-jre package. I need Java mainly for frostwire and eclipse. However, I noticed that on running frostwire, or eclipse, after sometime my system lags heavily. It takes minutes for the mouse pointer to respond to mouse movement .. It is impossible to revive from the memleak, I cannot open a terminal and I don't have any other way to kill the java program. The problem was confirmed by "natbet" on IRC.

I forcibly need to kill the X server.. That works only sometimes, if the memleak isn't severe. I am reporting this bug in KDE, but the problem occurs in gnome too. The system is an Acer TravelMate 3260. I used update-alternatives to select the Sun version of java.

I wonder if updating to Sun Java 6 JRE Update 1 might solve the issue ?
Thanks a lot.

Revision history for this message
natbet (nathanbettenhausen) wrote :

Using ubuntu 7.04 (Feisty Fawn) I also noticed Java programs would bog down the system. I'm on an Acer Aspire 3003.

Revision history for this message
John Vivirito (gnomefreak) wrote :

the newest java in gutsy fixes this issue, I have it backported to mozilla-testing repo due to the firefox update in that repo and it has been confirmed to fix the issue. I will see if i cant get an ok on a fix maybe backport update1 when we get it in gutsy.

Revision history for this message
John Vivirito (gnomefreak) wrote :

assigning to me for now

Changed in sun-java6:
assignee: nobody → gnomefreak
Changed in sun-java6:
importance: Undecided → Low
Changed in sun-java6:
importance: Low → Wishlist
Revision history for this message
John Vivirito (gnomefreak) wrote :

Rohan and natbet,
Thank you for testing the java packages in the Mozilla team repo, I talked to our java devel and it doesnt fit within the specs needed to be added to multiverse so i will be talking to the backport people when i see him, In the mean time i uploaded (spent all damn night ) sun-java5 update 12 and sun-java6 update 1 to the repo please let me know if it is still fixed, It may be a while before i see him since i havent seen him in a while (3weeks or so). But i will keep my repo pretty much up to date (as much as i can without breaking things)

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Thanks a lot John, for following this issue. It is strange when such a issue "does not fit the criteria", when it causes the complete system to hang.

However, John, the packages listed here - http://gnomefreak.youmortals.com/mozilla-testing/dists/feisty/main/binary-i386/ - are the same as me and natbet downloaded the other day. Are the updated packages uploaded to some other repo ? I will download them tonight, and try it out :-)

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Ouch, my mistake, sorry, I did not notice the 01 packages. I will download them tonight (about 9-10 hours from now) and report back here.

Revision history for this message
Matthias Klose (doko) wrote :

having one CVE advisory fixed, the packages may qualify for -proposed.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Matthias thank you

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

John, the Sun Java 6 Update 1 packages work perfectly, and they cause no memleak. I am using eclispe for a long time, and it's working perfectly.

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Bump .. Any updates ? :)

Revision history for this message
John Vivirito (gnomefreak) wrote :

Unassigning myself.
Matthias, What exactly is the way to handle a backport of this? I can spin this and upload to revu if that is the way we need to get this in Feisty? Let me know after sprint as i know eveyone is fairly tied up with that this coming week. I will do whatever i can to get this backported for the feisty users.

Changed in sun-java6:
assignee: gnomefreak → nobody
Revision history for this message
John Vivirito (gnomefreak) wrote :

This builds fine please backport

Revision history for this message
John Vivirito (gnomefreak) wrote :

Added feisty-backports task set to confirmed

Changed in feisty-backports:
status: New → Confirmed
Revision history for this message
Valentin Rocher (bishiboosh) wrote :

Please don't mark your task as confirmed unless somebody has tested the backport process.

Changed in feisty-backports:
status: Confirmed → New
Revision history for this message
Valentin Rocher (bishiboosh) wrote :

b/i/r in prevu

Changed in feisty-backports:
status: New → Confirmed
Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

Hello. Since this bug has not yet been fixed, can the packages please be the recently released Java 6 update 2 ? Thanks.

http://java.sun.com/javase/downloads/index.jsp

Revision history for this message
John Vivirito (gnomefreak) wrote :

I already built and tested it for feisty so i am ablet o mork it confirmed.

Changed in sun-java6:
status: New → Confirmed
Revision history for this message
John Vivirito (gnomefreak) wrote :

For java6 update 2 to make it into backports it first has to be updated in gutsy and this has not been done yet.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Also i see no need for the backports task since this quilifies for proposed into security closing backport task as not gonna be a backport.

Changed in feisty-backports:
status: Confirmed → Invalid
Revision history for this message
John Vivirito (gnomefreak) wrote :

Working on getting it ready for -proposed

Changed in sun-java6:
assignee: nobody → gnomefreak
Changed in sun-java6:
status: Confirmed → Fix Committed
Revision history for this message
John Vivirito (gnomefreak) wrote :

Changelog entry below. Here is the debdiff link to download it. LP is acting up tonight

sun-java6 (6-01-0ubuntu1~7.04.0) feisty; urgency=low

  * New upstream release fixes LP: #115687
  * Releasse notes for update 1 can be found at: http://java.sun.com/javase/6/webnotes/ReleaseNotes.html
  * Update fontconfig.properties for Japanese. Closes LP: #115573.
  * Update fontconfig.properties for Korean. Closes LP: #113494.
  * Closes LP: #122442

 -- John Vivirito <email address hidden> Sun, 15 Jul 2007 18:19:32 -0400

Changed in sun-java6:
status: Fix Committed → In Progress
Revision history for this message
John Vivirito (gnomefreak) wrote :

Here is the debdiff im trying to break it down a bit, I doubt this one is any good but i will work on it sometime late this week since i will be traveling
http://gnomefreak.youmortals.com/sun-java6_6-01-0ubuntu1~7.04.0.debdiff

Revision history for this message
Daniel Holbach (dholbach) wrote :

I doubt the debdiff is useful - can you link to the source package (.orig.tar.gz, .dsc, .diff.gz) somewhere?

Revision history for this message
John Vivirito (gnomefreak) wrote :

Daniel i used gutsy source to build for feisty than debdiff'ed feisty>gutsy. it looks like the script in the sun-java6 package collects the source from java.com somewhere. I just got pc hooked up (i am away from home for the next month or so.) i will try to look at scripts when i get time and see if it is an easy change in script to grab the newest sun upstream source. Unless you think using Gutsy's source like we do for backports is acceptible.)

Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

Thanks for your effort John. Basically, we have a typo in your changelog. Btw, I have been using java6 on Feisty and has no problem here... I recommend a lecture of https://wiki.ubuntu.com/MOTU/SRU

Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

Oh. s/lecture/reading/g :)
Sorry!

Revision history for this message
John Vivirito (gnomefreak) wrote :

I have been very sick lately and i had hard-drive issues so my pc that i use to build is down for a while until i can get feeling better and rebuild unles someone wants to please finish this for feisty-proposed/security.

Changed in sun-java6:
assignee: gnomefreak → nobody
Revision history for this message
Daniel Holbach (dholbach) wrote :

Matthias: can you please see what the state of this is?

Changed in sun-java6:
assignee: nobody → doko
Revision history for this message
Daniel Holbach (dholbach) wrote :
Revision history for this message
John Vivirito (gnomefreak) wrote :

Daniel sorry about that but the domain i was using (i guess the guy that gave me space on it dis doing something else (i havent seen him on iRC in a while (since domain started redirecting) if you want i can come up with it again just have to find a place to post it.

Revision history for this message
Philipp Kern (pkern) wrote :

Please post debdiffs as attachments to the bug report. The launchpad librarian will take care about it.

Revision history for this message
John Vivirito (gnomefreak) wrote :

Phillpp if it was 200mb maybe i would have but since LP wouldnt except it i couldnt post it here.

Revision history for this message
Rohan Dhruva (rohandhruva) wrote :

The package is already updated!

Changed in sun-java6:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.