Bug 141042

Summary: recent java upgrade crashes some apps.
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Cristian Rodríguez <crrodriguez>
Component: JavaAssignee: Daniel Bornkessel <dbornkessel>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Critical    
Priority: P5 - None CC: gp, ranjith.mandala, security-team
Version: Final   
Target Milestone: ---   
Hardware: x86-64   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: complete log of the crash
Debug log

Description Cristian Rodríguez 2005-12-26 18:18:21 UTC
recent JAVA upgrade renders azureus useless in x86_64 , before the upgrade, everthing is working fine.

Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.5.0_06]
Configuring environment...
Loading Azureus:
java -Xms16m -Xmx128m -cp "/home/cristian/azureus/Azureus2.jar:/home/cristian/azureus/swt.jar:/home/cristian/azureus/swt-mozilla.jar:/home/cristian/azureus/swt-pi.jar" -Djava.library.path="/home/cristian/azureus" -Dazureus.install.path="/home/cristian/azureus" org.gudy.azureus2.ui.swt.Main ''
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00002aaaaae4a6c0, pid=8701, tid=46912501738240
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x6f6c0]  index+0x50
#
# An error report file with more information is saved as hs_err_pid8701.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./azureus: line 107:  8701 Abortado                ${JAVA_PROGRAM_DIR}java -Xms16m -Xmx128m -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@"
Azureus TERMINATED.


complete log of the hard crash attached.

ps: tested latest cvs of Azureus and I got the same result.
Comment 1 Cristian Rodríguez 2005-12-26 18:19:56 UTC
Created attachment 61769 [details]
complete log of the crash
Comment 2 Daniel Bornkessel 2006-01-03 14:09:41 UTC
Thanks a lot for the bug report ... 
Did the previous Java version definitely work with this particular kernel version (the log says 2.6.13-15.7)?
If not, it seems to be the same or a similar problem described in Bug #139758 and Bug #115562 .
Comment 3 Cristian Rodríguez 2006-01-08 19:07:21 UTC
Daniel : the bugs you mentioned are private; I can't access them.

I 'll look into this issue later. thanks.
Comment 4 Bryce Nesbitt 2006-01-17 20:01:03 UTC
Same thing here:  My IDEA JavaIDE can't find any classes now.
And if I try Yast Update, I get conflicts on Java.

Everything was fine before the recent security update.
Comment 5 Bryce Nesbitt 2006-01-17 22:34:51 UTC
How can I back out of the recent Java security patch?
Comment 6 Cristian Rodríguez 2006-01-18 01:47:10 UTC
Daniel: can you comment about bug #139758 and bug #115562???
we don't have access to those bugs..and I have no idea what are you talking about.. :-(

so..If I understand correctly.. this can be either a bug in JAVA or Kernel  ?




Comment 7 Bryce Nesbitt 2006-01-21 00:34:38 UTC
The recent Java scecurity path (from SUSE update) also broke Tomcat5.
Comment 8 Cristian Rodríguez 2006-01-21 00:41:33 UTC
Byrce: oops. that's serious.
did you find a workaround or something ??

I don't knwo if SUn has released any upgrade these days, gonna check it.

Daniel.. any comment??

Comment 9 Cristian Rodríguez 2006-01-21 07:11:35 UTC
same problem reproduced with latest jre 1.6 beta 

http://download.java.net/jdk6/binaries/
Comment 10 Daniel Bornkessel 2006-01-23 12:46:05 UTC
Regarding the other two Bugs: They are SLES bugs, I will ask the assignees if it is possible to open them for the public.
It's the same type of error: On 64Bit platforms the JIT segfaults with the newest Kernel (there however it is IBM Java, which uses the same source-base though).

Christian: So far I couldn't recreate the bug. Could you try whether it works when the JIT is disabled? The option for that is -Xint ... that would be great, thanks.

Bryce: Could you create an attachement with the error message? This seems to be another problem. Furthermore: What YAST conflicts do you get?

Regarding rolling back the update: Go to YAST, search for the Java packages. For each package you want to downgrade, select the version tab below and select the desired version ... at the end: Accept. 

Thanks for your reports.
Comment 12 Ranjith Mandala 2006-01-31 20:33:57 UTC
Our group here at Sun is actively investigating this problem and would like to know if you can help identify the cause. Right now the crash log looks more like a kernel issue. Could you please run your application after setting the environment variable LD_ASSUME_KERNEL to 2.4.1 and see if the issue goes away. 

In addition, if you have any other hs_err_pid files please attach them to the report. The one currently attached has "error occurred during error reporting" in the "Native frames" section.  If there are any other, more complete, hs_err_pid files, that would help.

Thanks,
Sun Microsystems Inc.
Comment 13 Cristian Rodríguez 2006-01-31 20:42:15 UTC
ranjith.mandala@sun.com : I have sumitted my information to the SUN bugtracker long time ago, no respose at all.

and No, setting  LD_ASSUME_KERNEL to 2.4.1 doesn't solve the issue
tested  "mustang" and the SUSE version, same result.
Comment 14 Cristian Rodríguez 2006-01-31 20:53:50 UTC
dbornkessel@suse.de : using the -Xint I got the same crash :-(
Comment 15 Ranjith Mandala 2006-02-01 21:53:00 UTC
Cristian,

Could you please attach the complete hs_err_pid file or/and core file generated during the crash?

Thanks,
Ranjith
Sun Microsystems Inc.
Comment 16 Cristian Rodríguez 2006-02-01 22:07:09 UTC
$ export LD_ASSUME_KERNEL=2.4.1
$ cd azureus
$./azureus ( startup script changed to use -Xint )
(azureus fires up, for just a few seconds)


#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0x00002aaaaaec94b0, pid=15789, tid=16384
#
# Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_06-b05 interpreted mode)
# Problematic frame:
# C  [libc.so.6+0x6e4b0]  index+0x50
#
# An error report file with more information is saved as hs_err_pid15789.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
./azureus: line 107: 15789 Abortado                ${JAVA_PROGRAM_DIR}java -Xint -Xms16m -Xmx128m -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@"
Azureus TERMINATED.



once again, I attach the crash log, should be similiar though..
Comment 17 Cristian Rodríguez 2006-02-01 22:09:54 UTC
Created attachment 66104 [details]
Debug log

debug log attached
Comment 18 Ranjith Mandala 2006-02-01 22:21:05 UTC
Cristian,

Is there any core file that was generated during the crash?

Thanks,
Ranjith
Sun Microsystems Inc.
Comment 19 Cristian Rodríguez 2006-02-01 22:28:11 UTC
if somebody tell me HOW to intentioanlly produce a core file and where is located ..maybe I can.. ( found no core file in the directory at least )


Comment 20 Gerald Pfeifer 2006-02-01 23:28:11 UTC
Executing `ulimit -c unlimited` before invoking the software in question
should work.
Comment 21 Cristian Rodríguez 2006-02-02 00:00:12 UTC
got a core file.. :-)

but it's 111MB uncompressed and 9.4 MB compressed.

here is

http://www.onfocus.cl/judas/core.22909.bz2

ps: Torrents are not mission critical  ..:-)

but this problem should be crashing other really critical things.


Comment 22 Cristian Rodríguez 2006-02-02 00:34:20 UTC
a second core dump and all the info is here:

http://www.onfocus.cl/judas/java-bug.tar.bz2


this time using java MUSTANG 1.6.0-rc-fastdebug-b69-debug hope this will be useful...

Comment 23 Ranjith Mandala 2006-02-02 23:05:59 UTC
Cristian,

Thanks for the log and the core files. We have opened up a new bug for this issue ( Bug Id: 6380404 ). 

You can monitor this bug on the Java Bug Database at
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6380404.

It may take a day or two before this bug shows up in this external database. 

Thanks,
Ranjith
Sun Microsystems Inc.
Comment 24 Cristian Rodríguez 2006-02-03 22:13:18 UTC
weird ... I have tracked down this problem.. seems to be a bug in the eclipse swt libs.
updated to the latest version and the problem is gone.

I wonder why the latest java update triggered the problem.