public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: cedric.dufour@freesurf.ch To: gcc-gnats@gcc.gnu.org Subject: java/7879: Segmentation fault: jc1 -> java/mangle.c:228 -> No such file or directory Date: Tue, 10 Sep 2002 03:26:00 -0000 [thread overview] Message-ID: <20020910101823.9244.qmail@sources.redhat.com> (raw) >Number: 7879 >Category: java >Synopsis: Segmentation fault: jc1 -> java/mangle.c:228 -> No such file or directory >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Sep 10 03:26:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Cedric Dufour >Release: GCC 3.2 >Organization: >Environment: >Description: Segmentation fault in JC1 as soon as a JAR file is passed to GCJ in addition to *.java files. (Here, PostgreSQL's JDBC driver: jdbc7.2-1.1.jar) What is strange is that when I precompile the *.class file using 'gcj -C *.class' and then compile the executable using 'gcj --main=dev_fill -o test *.class jdbc7.2-1.1.jar', it works absolutely fine! I hope I'm not reporting an unimportant or already known issue and bugging you with the matter. Let me know if original *.java files are needed. Regards >How-To-Repeat: [cdufour@ced-lx-001] /home/ces/projects/photodb/db/dev/java/dev_fill> gcj -v -save-temps --main=dev_fill -o test *.java jdbc7.2-1.1.jar Reading specs from /usr/local/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/specs Reading specs from /usr/local/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libgcj.spec rename spec lib to liborig Configured with: ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-version-specific-runtime-libs --enable-shared : (reconfigured) ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-version-specific-runtime-libs --enable-shared : (reconfigured) ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-version-specific-runtime-libs --enable-shared --enable-threads=posix --enable-languages=c,c++,java --enable-libgcj --with-system-zlib : (reconfigured) ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-version-specific-runtime-libs --enable-shared --enable-threads=posix --enable-languages=c,c++,java --enable-libgcj --with-system-zlib : (reconfigured) ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-version-specific-runtime-libs --enable-shared --enable-threads=posix --enable-languages=c,c++,java --enable-libgcj --enable-interpreter --with-system-zlib : (reconfigured) ../gcc-3.2/configure --prefix=/usr/local/gcc-3.2 --enable-version-specific-runtime-libs --enable-shared --enable-threads=posix --enable-languages=c++,java --enable-libgcj --enable-interpreter Thread model: posix gcc version 3.2 /usr/local/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/jc1 /tmp/cdufour/ccYhe56Djx -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase ccYhe56Djx -g1 -version -ffilelist-file -o ccYhe56Djx.s GNU Java version 3.2 (i686-pc-linux-gnu) compiled by GNU C version 3.2. Class path starts here: ./ /usr/local/gcc-3.2/share/java/libgcj-3.2.jar/ (system) (zip) org/postgresql/core/BytePoolDim1.class:0: internal error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. [cdufour@ced-lx-001] /home/ces/projects/photodb/db/dev/java/dev_fill> gdb /usr/local/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/jc1 GNU gdb Red Hat Linux (5.2-2) Copyright 2002 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 "i386-redhat-linux"... (gdb) run /tmp/cdufour/ccYhe56Djx -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase ccYhe56Djx -g1 -version -ffilelist-file -o ccYhe56Djx.s Starting program: /usr/local/gcc-3.2/lib/gcc-lib/i686-pc-linux-gnu/3.2/jc1 /tmp/cdufour/ccYhe56Djx -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase ccYhe56Djx -g1 -version -ffilelist-file -o ccYhe56Djx.s GNU Java version 3.2 (i686-pc-linux-gnu) compiled by GNU C version 3.2. Class path starts here: ./ /usr/local/gcc-3.2/share/java/libgcj-3.2.jar/ (system) (zip) Program received signal SIGSEGV, Segmentation fault. 0x0807f353 in mangle_type (type=0x40071af0) at ../../gcc-3.2/gcc/java/mangle.c:228 228 ../../gcc-3.2/gcc/java/mangle.c: No such file or directory. in ../../gcc-3.2/gcc/java/mangle.c (gdb) p *mangle_type $1 = {void (union tree_node *)} 0x807f260 <mangle_type> >Fix: >Release-Note: >Audit-Trail: >Unformatted: ----gnatsweb-attachment---- Content-Type: application/octet-stream; name="ccYhe56Djx" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="ccYhe56Djx" Q29tbWFuZExpbmVfY2xhc3MuamF2YQpkZXZfZmlsbC5qYXZhCmpkYmM3LjItMS4xLmphcgo=
next reply other threads:[~2002-09-10 10:26 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-09-10 3:26 cedric.dufour [this message] 2002-10-08 6:42 aph 2002-10-08 7:46 Cédric Dufour 2003-02-23 20:49 neroden
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020910101823.9244.qmail@sources.redhat.com \ --to=cedric.dufour@freesurf.ch \ --cc=gcc-gnats@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).