public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/30641]  New: gcj corrupted double-linked list (glibc detected)
@ 2007-01-30 15:28 msubs at philips dot org dot uk
  2007-01-30 19:50 ` [Bug java/30641] " tromey at gcc dot gnu dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: msubs at philips dot org dot uk @ 2007-01-30 15:28 UTC (permalink / raw)
  To: java-prs

OS: Linux, Ubuntu 6.10 AMD64

I get this error when invoking gcj on a project:
*** glibc detected ***
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1: corrupted
double-linked list: 0x0000000000fbeb60 ***

Detail:
Having cross-compiled an SWT hello-world application to an executable using gcj
and ran it successfully on windows I have moved on to compiling my Jboss and
SWT application using gcj, which itself compiles and runs perfectly as a .jar.

I've tried to cut down the build path and/or amount of code involved while
still producing the problem for bug-reporting purposes, but I have not been
successful in doing this.. I am hoping you can advise me of what I can do next
to help track this down.

Invoked as:
/home/matt/cross-tools/bin/i386-mingw32msvc-gcj -v -save-temps -fjni
/tmp/MyApp-dist/MyApp-client.jar native/libswt-win32.a
--main=org.myapp.client.Client --classpath=big.long.classpath.as.below

compile-native-client:
     [exec] Using built-in specs.
     [exec] Reading specs from
/home/matt/cross-tools/lib/gcc/i386-mingw32msvc/4.3.0/../../../../i386-mingw32msvc/lib/libgcj.spec
     [exec] rename spec startfile to startfileorig
     [exec] rename spec lib to liborig
     [exec] Target: i386-mingw32msvc
     [exec] Configured with: /home/matt/cross/source/gcc-4.3-20070119/configure
-v --prefix=/home/matt/cross-tools --target=i386-mingw32msvc
--with-headers=/home/matt/cross-tools/i386-mingw32msvc/include --with-gnu-as
--with-gnu-ld --without-newlib --disable-multilib --enable-libgcj --without-x
--disable-java-awt --enable-static --disable-shared --enable-threads=win32
--disable-nls --disable-debug --disable-checking --enable-sjlj-exceptions
     [exec] Thread model: win32
     [exec] gcc version 4.3.0 20070119 (experimental)
     [exec] /home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1
/tmp/MyApp-dist/MyApp-client.jar -fhash-synchronization -fuse-divide-subroutine
-fcheck-references -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions
-quiet -dumpbase MyApp-client.jar -mtune=i386 -auxbase MyApp-client -g1
-version -fjni
-fbootclasspath=/home/matt/projects/MyApp/lib/client/win32/swt.jar:/home/matt/projects/MyApp/build/:/home/matt/projects/org.eclipse.swt/swt.jar:/home/matt/projects/MyApp/lib/commons-logging.jar:/home/matt/projects/MyApp/lib/icu4j-3_6.jar:/home/matt/projects/MyApp/lib/jbpm-3.1.1.jar:/home/matt/projects/MyApp/lib/log4j-1.2.8.jar:/home/matt/projects/MyApp/lib/org.eclipse.core.commands_3.2.0.I20060605-1400.jar:/home/matt/projects/MyApp/lib/org.eclipse.core.runtime_3.2.0.v20060603.jar:/home/matt/projects/MyApp/lib/org.eclipse.equinox.common_3.2.0.v20060603.jar:/home/matt/projects/MyApp/lib/org.eclipse.jface_3.2.1.M20060908-1000.jar:/home/matt/projects/MyApp/lib/org.eclipse.osgi_3.2.1.R32x_v20060919.jar:/home/matt/projects/MyApp/lib/resources.jar:/home/matt/projects/CommonCode/lib/activation.jar:/home/matt/projects/CommonCode/lib/datafile.jar:/home/matt/projects/CommonCode/lib/jTDS2.jar:/home/matt/projects/CommonCode/lib/jargs.jar:/home/matt/projects/CommonCode/lib/jcommon-0.9.7.jar:/home/matt/projects/CommonCode/lib/jconn2.jar:/home/matt/projects/CommonCode/lib/junit.jar:/home/matt/projects/CommonCode/lib/jxl.jar:/home/matt/projects/CommonCode/lib/mail.jar:/home/matt/projects/CommonCode/lib/postgresql-8.2dev-503.jdbc3.jar:/home/matt/projects/CommonCode/lib/servlet.jar:/home/matt/projects/CommonCode/lib/xercesImpl.jar:/home/matt/projects/CommonCode/lib/xml-apis.jar:/home/matt/projects/CommonCode/lib/xml-writer.jar:/local/jboss/client/jbossall-client.jar:/local/jboss/client/ejb3-persistence.jar:/local/jboss/client/jboss-annotations-ejb3.jar:/home/matt/cross-tools/share/java/libgcj-4.3.0.jar
-faux-classpath MyApp-client.zip -o MyApp-client.s
     [exec] GNU Java version 4.3.0 20070119 (experimental) (i386-mingw32msvc)
     [exec] compiled by GNU C version 4.1.2 20060928 (prerelease) (Ubuntu
4.1.1-13ubuntu5).
     [exec] GGC heuristics: --param ggc-min-expand=100 --param
ggc-min-heapsize=131072
     [exec] Class path starts here:
     [exec] MyApp-client.zip/ (zip)
     [exec] /home/matt/projects/MyApp/lib/client/win32/swt.jar/ (system) (zip)
     [exec] /home/matt/projects/MyApp/build/ (system)
     [exec] /home/matt/projects/org.eclipse.swt/swt.jar/ (system) (zip)
     [exec] /home/matt/projects/MyApp/lib/commons-logging.jar/ (system) (zip)
     [exec] /home/matt/projects/MyApp/lib/icu4j-3_6.jar/ (system) (zip)
     [exec] /home/matt/projects/MyApp/lib/jbpm-3.1.1.jar/ (system) (zip)
     [exec] /home/matt/projects/MyApp/lib/log4j-1.2.8.jar/ (system) (zip)
     [exec]
/home/matt/projects/MyApp/lib/org.eclipse.core.commands_3.2.0.I20060605-1400.jar/
(system) (zip)
     [exec]
/home/matt/projects/MyApp/lib/org.eclipse.core.runtime_3.2.0.v20060603.jar/
(system) (zip)
     [exec]
/home/matt/projects/MyApp/lib/org.eclipse.equinox.common_3.2.0.v20060603.jar/
(system) (zip)
     [exec]
/home/matt/projects/MyApp/lib/org.eclipse.jface_3.2.1.M20060908-1000.jar/
(system) (zip)
     [exec]
/home/matt/projects/MyApp/lib/org.eclipse.osgi_3.2.1.R32x_v20060919.jar/
(system) (zip)
     [exec] /home/matt/projects/MyApp/lib/resources.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/activation.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/datafile.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/jTDS2.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/jargs.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/jcommon-0.9.7.jar/ (system)
(zip)
     [exec] /home/matt/projects/CommonCode/lib/jconn2.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/junit.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/jxl.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/mail.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/postgresql-8.2dev-503.jdbc3.jar/
(system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/servlet.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/xercesImpl.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/xml-apis.jar/ (system) (zip)
     [exec] /home/matt/projects/CommonCode/lib/xml-writer.jar/ (system) (zip)
     [exec] /local/jboss/client/jbossall-client.jar/ (system) (zip)
     [exec] /local/jboss/client/ejb3-persistence.jar/ (system) (zip)
     [exec] /local/jboss/client/jboss-annotations-ejb3.jar/ (system) (zip)
     [exec] /home/matt/cross-tools/share/java/libgcj-4.3.0.jar/ (system) (zip)
     [exec] *** glibc detected ***
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1: corrupted
double-linked list: 0x0000000000fbeb60 ***
     [exec] ======= Backtrace: =========
     [exec] /lib/libc.so.6[0x2aea49d59b37]
     [exec] /lib/libc.so.6[0x2aea49d5bf9d]
     [exec] /lib/libc.so.6(malloc+0x7d)[0x2aea49d5d6dd]
     [exec]
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1[0x7ce7a8]
     [exec]
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1[0x4226a4]
     [exec]
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1[0x42a54b]
     [exec]
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1[0x65885e]
     [exec] /lib/libc.so.6(__libc_start_main+0xf4)[0x2aea49d0a0c4]
     [exec]
/home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1(mpfr_exp2+0x121)[0x403599]
     [exec] ======= Memory map: ========
     [exec] 00400000-00917000 r-xp 00000000 09:02 6048183                      
     /home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1
     [exec] 00a17000-00a1f000 rw-p 00517000 09:02 6048183                      
     /home/matt/cross-tools/libexec/gcc/i386-mingw32msvc/4.3.0/jc1
     [exec] 00a1f000-01f22000 rw-p 00a1f000 00:00 0                            
     [heap]
     [exec] 2aea4995d000-2aea49979000 r-xp 00000000 03:03 633997               
     /lib/ld-2.4.so
     [exec] 2aea49979000-2aea4997d000 rw-p 2aea49979000 00:00 0
     [exec] 2aea4999e000-2aea499a6000 rw-p 2aea4999e000 00:00 0
     [exec] 2aea49a78000-2aea49a7a000 rw-p 0001b000 03:03 633997               
     /lib/ld-2.4.so
     [exec] 2aea49a7a000-2aea49aae000 r-xp 00000000 03:03 495199               
     /usr/lib/libmpfr.so.1.0.0
     [exec] 2aea49aae000-2aea49bad000 ---p 00034000 03:03 495199               
     /usr/lib/libmpfr.so.1.0.0
     [exec] 2aea49bad000-2aea49bae000 rw-p 00033000 03:03 495199               
     /usr/lib/libmpfr.so.1.0.0
     [exec] 2aea49bae000-2aea49bed000 r-xp 00000000 03:03 489063               
     /usr/lib/libgmp.so.3.4.1
     [exec] 2aea49bed000-2aea49cec000 ---p 0003f000 03:03 489063               
     /usr/lib/libgmp.so.3.4.1
     [exec] 2aea49cec000-2aea49ced000 rw-p 0003e000 03:03 489063               
     /usr/lib/libgmp.so.3.4.1
     [exec] 2aea49ced000-2aea49e23000 r-xp 00000000 03:03 634272               
     /lib/libc-2.4.so
     [exec] 2aea49e23000-2aea49f23000 ---p 00136000 03:03 634272               
     /lib/libc-2.4.so
     [exec] 2aea49f23000-2aea49f26000 r--p 00136000 03:03 634272               
     /lib/libc-2.4.so
     [exec] 2aea49f26000-2aea49f28000 rw-p 00139000 03:03 634272               
     /lib/libc-2.4.so
     [exec] 2aea49f28000-2aea4c212000 rw-p 2aea49f28000 00:00 0
     [exec] 2aea4c254000-2aea4d9d4000 rw-p 2aea4c254000 00:00 0
     [exec] 2aea4da55000-2aea4e361000 rw-p 2aea4da55000 00:00 0
     [exec] 2aea4e3e3000-2aea52537000 rw-p 2aea4e3e3000 00:00 0
     [exec] 2aea52537000-2aea525b8000 rw-p 2aea4c212000 00:00 0
     [exec] 2aea525b8000-2aea52639000 rw-p 2aea4c233000 00:00 0
     [exec] 2aea52639000-2aea52941000 rw-p 2aea52639000 00:00 0
     [exec] 2aea52942000-2aea55090000 rw-p 2aea52942000 00:00 0
     [exec] 2aea550b3000-2aea5a5b7000 rw-p 2aea550b3000 00:00 0
     [exec] 2aea5a619000-2aea5a826000 rw-p 2aea5a619000 00:00 0
     [exec] 2aea5a900000-2aea5a921000 rw-p 2aea5a900000 00:00 0
     [exec] 2aea5a921000-2aea5aa00000 ---p 2aea5a921000 00:00 0
     [exec] 2aea5aa00000-2aea5aa0d000 r-xp 00000000 03:03 634049               
     /lib/libgcc_s.so.1
     [exec] 2aea5aa0d000-2aea5ab0c000 ---p 0000d000 03:03 634049               
     /lib/libgcc_s.so.1
     [exec] 2aea5ab0c000-2aea5ab0d000 rw-p 0000c000 03:03 634049               
     /lib/libgcc_s.so.1
     [exec] 7fff61136000-7fff6114d000 rw-p 7fff61136000 00:00 0                
     [stack]
     [exec] ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0            
     [vdso]
     [exec] org/eclipse/core/databinding/DefaultBindSpec.java:0: internal
compiler error: Aborted
     [exec] Please submit a full bug report,
     [exec] with preprocessed source if appropriate.
     [exec] See <URL:http://gcc.gnu.org/bugs.html> for instructions.


In case this is of any help I have libmpfr version 2.2.0.dfsg.1-7  and
libgmp3c2 version 2:4.2.1+dfsg-3 which come with Ubuntu 6.10.


I am not sure whether this file is related but it gets written to the output
directory:

------ file MyApp-client.s: ----------
        .file   "BindSpec.java"
        .stabs  "/home/matt/projects/MyApp/",100,0,0,Ltext0
        .stabs 
"../org.eclipse.core.databinding/src/org/eclipse/core/databinding/BindSpec.java",100,0,0,Ltext0
        .text
Ltext0:
        .stabs  "gcc2_compiled.",60,0,0,0
        .stabs  "double:t(0,1)=r(0,0);8;0;",128,0,0,0
        .stabs  "float:t(0,2)=r(0,0);4;0;",128,0,0,0
        .stabs  "promoted_boolean:t(0,3)=@s32;-16;",128,0,0,0
        .stabs  "promoted_char:t(0,4)=r(0,4);-2147483648;2147483647;",128,0,0,0
        .stabs 
"promoted_short:t(0,5)=r(0,5);-2147483648;2147483647;",128,0,0,0
        .stabs  "promoted_byte:t(0,6)=r(0,6);-2147483648;2147483647;",128,0,0,0
        .stabs  "boolean:t(0,7)=@s8;-16;",128,0,0,0
        .stabs  "char:t(0,8)=@s16;r(0,8);0;65535;",128,0,0,0
        .stabs  "void:t(0,9)=(0,9)",128,0,0,0
        .stabs  "unsigned
long:t(0,10)=@s64;r(0,10);0;01777777777777777777777;",128,0,0,0
        .stabs  "unsigned int:t(0,11)=r(0,11);0;037777777777;",128,0,0,0
        .stabs  "unsigned short:t(0,12)=@s16;r(0,12);0;65535;",128,0,0,0
        .stabs  "unsigned byte:t(0,13)=@s8;r(0,13);0;255;",128,0,0,0
        .stabs 
"long:t(0,14)=@s64;r(0,14);01000000000000000000000;0777777777777777777777;",128,0,0,0
        .stabs  "int:t(0,15)=r(0,15);-2147483648;2147483647;",128,0,0,0
        .stabs  "short:t(0,16)=@s16;r(0,16);-32768;32767;",128,0,0,0
        .stabs  "byte:t(0,17)=@s8;r(0,17);-128;127;",128,0,0,0
        .stabs  "",100,0,0,Letext0
Letext0:


-- 
           Summary: gcj corrupted double-linked list (glibc detected)
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: msubs at philips dot org dot uk
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: i386-mingw32msvc


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


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2007-02-01 16:59 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-30 15:28 [Bug java/30641] New: gcj corrupted double-linked list (glibc detected) msubs at philips dot org dot uk
2007-01-30 19:50 ` [Bug java/30641] " tromey at gcc dot gnu dot org
2007-01-31 10:28 ` msubs at philips dot org dot uk
2007-01-31 22:34 ` tromey at gcc dot gnu dot org
2007-02-01  8:45 ` msubs at philips dot org dot uk
2007-02-01 10:12 ` aph at gcc dot gnu dot org
2007-02-01 10:38 ` msubs at philips dot org dot uk
2007-02-01 10:44 ` aph at gcc dot gnu dot org
2007-02-01 10:54 ` msubs at philips dot org dot uk
2007-02-01 10:57 ` msubs at philips dot org dot uk
2007-02-01 11:24 ` aph at gcc dot gnu dot org
2007-02-01 11:25 ` msubs at philips dot org dot uk
2007-02-01 14:34 ` aph at gcc dot gnu dot org
2007-02-01 14:38 ` aph at gcc dot gnu dot org
2007-02-01 14:39 ` aph at gcc dot gnu dot org
2007-02-01 15:08 ` msubs at philips dot org dot uk
2007-02-01 16:59 ` tromey at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).