JDK-4846301 : HotSpot crash - SIGSEGV from ClassLoader.defineClass0 in 1.4.2b19
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_redhat_7.2
  • CPU: x86
  • Submitted: 2003-04-10
  • Updated: 2003-10-11
  • Resolved: 2003-10-11
Related Reports
Duplicate :  
Description
Not reproducible that I am aware of.

I was running the NetBeans IDE (a post-3.5 development build) using Mantis b19 and running some test suites using the bundled Ant integration. Suddenly HotSpot crashed. (I have run the same build scripts before and since without problems - assuming it is a race condition or similar.)

Linux dhcp-ubur01-168-166 2.4.18-24.7.x #1 Fri Jan 31 07:06:03 EST 2003 i686 unknown
glibc-2.3.1-6
Red Hat Linux release 7.2 (Enigma)

###@###.### 2003-04-10
###@###.### 2003-04-14

Comments
EVALUATION Nothing real in the attached hs_error log file. Could be xerces or Ant as well. Downgraded because bug submitter can not reproduce this, they suspect it was a race condition that got us here. I'm inclined to beleive this especially with gui apps. Unexpected Signal : 11 occurred at PC=0x402E0B20 Function=(null)+0x402E0B20 Library=/space/jdk1.4.2-beta-b19/jre/lib/i386/client/libjvm.so NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. Current Java thread: at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:537) at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1003) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1065) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1037) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:932) - locked <0x4a44d158> (a org.apache.tools.ant.AntClassLoader) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) - locked <0x4a44d158> (a org.apache.tools.ant.AntClassLoader) at org.apache.xerces.jaxp.DocumentBuilderImpl.<init>(DocumentBuilderImpl.java:102) at org.apache.xerces.jaxp.DocumentBuilderFactoryImpl.newDocumentBuilder(DocumentBuilderFactoryImpl.java:88) at org.netbeans.xtest.util.XMLFactoryUtil.newDocumentBuilder(XMLFactoryUtil.java:76) at org.netbeans.xtest.MTestConfigurator.execute(MTestConfigurator.java:247) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:371) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.apache.tools.ant.Project.executeTargets(Project.java:1250) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:331) - locked <0x4a3757c8> (a org.apache.tools.ant.module.run.TargetExecutor) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:118) Dynamic libraries: 08048000-0804e000 r-xp 00000000 03:06 628516 /space/jdk1.4.2-beta-b19/bin/java 0804e000-0804f000 rw-p 00005000 03:06 628516 /space/jdk1.4.2-beta-b19/bin/java 40000000-40012000 r-xp 00000000 03:02 98500 /lib/ld-2.3.1.so 40012000-40013000 rw-p 00011000 03:02 98500 /lib/ld-2.3.1.so 40014000-4001c000 r-xp 00000000 03:06 891006 /space/jdk1.4.2-beta-b19/jre/lib/i386/native_threads/libhpi.so 4001c000-4001d000 rw-p 00007000 03:06 891006 /space/jdk1.4.2-beta-b19/jre/lib/i386/native_threads/libhpi.so 4001d000-40021000 rw-s 00000000 03:02 262803 /tmp/hsperfdata_jglick/11601 40021000-40022000 r--p 0092f000 03:02 397328 /usr/lib/locale/locale-archive 40022000-40023000 r--s 00000000 03:06 1906935 /space/nb/dev-apr-02/modules/autoload/xalan.jar 40023000-40030000 r-xp 00000000 03:02 134929 /lib/i686/libpthread-0.10.so 40030000-40033000 rw-p 0000d000 03:02 134929 /lib/i686/libpthread-0.10.so 40053000-40055000 r-xp 00000000 03:02 102867 /lib/libdl-2.3.1.so 40055000-40056000 rw-p 00001000 03:02 102867 /lib/libdl-2.3.1.so 40056000-4044b000 r-xp 00000000 03:06 1071418 /space/jdk1.4.2-beta-b19/jre/lib/i386/client/libjvm.so 4044b000-40467000 rw-p 003f4000 03:06 1071418 /space/jdk1.4.2-beta-b19/jre/lib/i386/client/libjvm.so 40479000-4048a000 r-xp 00000000 03:02 102871 /lib/libnsl-2.3.1.so 4048a000-4048b000 rw-p 00011000 03:02 102871 /lib/libnsl-2.3.1.so 4048d000-404ae000 r-xp 00000000 03:02 134927 /lib/i686/libm-2.3.1.so 404ae000-404af000 rw-p 00020000 03:02 134927 /lib/i686/libm-2.3.1.so 404af000-404b2000 r--s 00000000 03:06 284989 /space/jdk1.4.2-beta-b19/jre/lib/ext/dnsns.jar ###@###.### 2003-04-10 From the above error log and jdk1.4.2-beta-b19's linux-i586 client vm, the crash happened at the beginning of SystemDictionaryEntry::contains_protection_domain() as a result of a bad SystemDictionaryEntry pointer. There is no description of how to reproduce the crash so cannot reproduce it yet. ###@###.### 2003-04-11 I have not seen this crash again - still no idea how to reproduce, sorry. ###@###.### 2003-04-14 This is a duplicate of 4927116. ###@###.### 2003-10-10
11-04-2003