JDK-4354543 : jdk1.3refresh hotspot crashes with 'segementation violation'
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.3.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux
  • CPU: x86
  • Submitted: 2000-07-19
  • Updated: 2000-07-20
  • Resolved: 2000-07-20
Related Reports
Duplicate :  
Description

Name: stC104175			Date: 07/19/2000


java version "1.3.0beta_refresh"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0beta_refresh-b09)
Classic VM (build 1.3.0beta_refresh-b09, green threads, nojit)

  Description :
=============

java, javac ... crashes with 'segmentation violation' when using
server or hotspot (in the jvm.cfg). The classic version which uses green_thread
works perfect, but both using the system threads do not.

I've inserted some echo lines to the .javawrapper script to print out more
information. This output stands for all exec I try to call:

/opt/jdk1.3
/opt/jdk1.3/jre
/opt/jdk1.3/jre/lib/i386:/opt/jdk1.3/jre/lib/i386/native_threads/:/opt/jdk1.3/jre/lib/i386/hotspot:/opt/jdk1.3/jre/../lib/i386:/opt/kde/lib
/opt/jdk1.3/bin/i386/native_threads/java
-version

==> segmentation violation, i can't get the version information

I also use IBM-JDK-1.3 final which also uses native threads and it works.
Have I to upgrade glibc ? Or is this a known problem with AMD K7.

please help And!
****************



Environment :
=============

++ Machine

  AMD K7/700 , ASUS K7V
  Bios Award PnP Bios V6.0, Rev 1006
++ kernel
  2.2.14 Suse Linux 6.4

  compiled with : Option : Pentium MMX, AMD K5/K6/K6-3D with "time stamp
counter"
                  Option MTRR : OFF
++ libc

libc version information
------------------------

GNU C Library stable release version 2.1.3, by Roland McGrath et al.
Copyright (C) 1992, 93, 94, 95, 96, 97, 98, 99 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 2.95.2 19991024 (release).
Compiled on a Linux 2.2.14 system on 2000-03-24.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        linuxthreads-0.8 by Xavier Leroy
        NoVersion patch for broken glibc 2.0 binaries
        BIND-4.9.7-REL
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
        NSS V1 modules 2.0.2 by Thorsten Kukuk
        libthread_db work sponsored by Alpha Processor Inc
Report bugs using the `glibcbug' scri

ldd information from jdk1.3/i386/native_threads
-----------------------------------------------

        libpthread.so.0 => /lib/libpthread.so.0 (0x4001b000)
        libhpi.so => not found
        libjvm.so => not found
        libdl.so.2 => /lib/libdl.so.2 (0x4002e000)
        libc.so.6 => /lib/libc.so.6 (0x40032000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40114000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

ldd information from a compiled and linked test program
-------------------------------------------------------

        libc.so.6 => /lib/libc.so.6 (0x4001b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


++ X Server XFree86 with KDE
(Review ID: 107204) 
======================================================================

Comments
WORK AROUND Name: stC104175 Date: 07/19/2000 use classic version ======================================================================
11-06-2004