This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/21793] java doesn't work with Cygwin


------- Additional Comments From gerrit at gcc dot gnu dot org  2005-05-28 00:20 -------
$ gdb hello_j.exe
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /gcc/gcc-test/hello_j.exe 
warning: LDR: Automatic DLL Relocation in hello_j.exe

warning: LDR: Dll cygz.dll base 10000000 relocated due to collision with
h:\cygwin\bin\cyg                                                     iconv-2.dll

warning: LDR: Automatic DLL Relocation in hello_j.exe

warning: LDR: Dll MSVCRT.dll base 78000000 relocated due to collision with
C:\WINNT\system                                                     32\GDI32.dll


Program received signal SIGSEGV, Segmentation fault.
0x00406618 in _Jv_FindClass ()
(gdb) bt
#0  0x00406618 in _Jv_FindClass ()
#1  0x0040fd58 in java::lang::Class::forName ()
#2  0x0040fec4 in java::lang::Class::forName ()
#3  0x0047c0ed in gnu.gcj.convert.UnicodeToBytes.getDefaultEncoder() ()
    at /gcc/gcc-3.4.2/gcc-3.4.2-1/libjava/gnu/gcj/convert/UnicodeToBytes.java:49
#4  0x0044a12e in java.io.PrintStream.PrintStream(java.io.OutputStream, boolean) (
    this=0x10150f90, out=0x1014dab0, auto_flush=269647105)
    at /gcc/gcc-3.4.2/gcc-3.4.2-1/libjava/java/io/PrintStream.java:118
#5  0x004043f1 in java.lang.System.<clinit>() ()
    at /gcc/gcc-3.4.2/gcc-3.4.2-1/libjava/java/lang/System.java:146
#6  0x0040f6dd in java::lang::Class::initializeClass ()
#7  0x00543aca in _Jv_InitClass ()
#8  0x004047a1 in java.lang.System.getProperty(java.lang.String) (key=0x10130f00)
    at /gcc/gcc-3.4.2/gcc-3.4.2-1/libjava/java/lang/System.java:405
#9  0x0044be58 in java.lang.VMClassLoader.getSystemClassLoader() ()
    at /gcc/gcc-3.4.2/gcc-3.4.2-1/libjava/java/lang/VMClassLoader.java:280
#10 0x0041182b in java.lang.ClassLoader.<clinit>() ()
    at /gcc/gcc-3.4.2/gcc-3.4.2-1/libjava/java/lang/ClassLoader.java:156
#11 0x0040f6dd in java::lang::Class::initializeClass ()
#12 0x004038af in _Jv_CreateJavaVM ()
#13 0x00403956 in _Jv_RunMain ()
#14 0x00403b1b in JvRunMain ()
#15 0x0040109e in main (argc=1, argv=0x10102ca0)
(gdb) 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21793


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]