public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "drow at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug java/18091] New: Valgrind errors building libjava
Date: Wed, 20 Oct 2004 20:04:00 -0000	[thread overview]
Message-ID: <20041020200437.18091.drow@gcc.gnu.org> (raw)

I saw several kinds of errors, in huge quantity.

/home/drow/valgrind/gcc/gcj -B/home/drow/valgrind/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/
i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-g
nu/sys-include --encoding=UTF-8 -Wno-deprecated -C -g -classpath ''
-bootclasspath /home/drow/valgrind/i
686-pc-linux-gnu/libjava:/home/drow/src/gcc/libjava -d
/home/drow/valgrind/i686-pc-linux-gnu/libjava /ho
me/drow/src/gcc/libjava/java/lang/Class.java

==21511== Source and destination overlap in memcpy(0x1BE08FEC, 0x1BE08FEC, 5)
==21511==    at 0x1B904BCE: memcpy (mac_replace_strmem.c:113)
==21511==    by 0x80D37F2: write_classfile (jcf-write.c:2800)

/home/drow/valgrind/gcc/gcj -B/home/drow/valgrind/gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/
i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include -isystem
/usr/local/i686-pc-linux-g
nu/sys-include --encoding=UTF-8 -Wno-deprecated -C -g -classpath ''
-bootclasspath /home/drow/valgrind/i
686-pc-linux-gnu/libjava:/home/drow/src/gcc/libjava -d
/home/drow/valgrind/i686-pc-linux-gnu/libjava /ho
me/drow/src/gcc/libjava/java/lang/Integer.java

==21620== Conditional jump or move depends on uninitialised value(s)
==21620==    at 0x80C4165: get_attribute (jcf-parse.c:160)
==21620== 
==21620== Conditional jump or move depends on uninitialised value(s)
==21620==    at 0x1B90478B: strlen (mac_replace_strmem.c:189)
==21620==    by 0x85E6B68: get_identifier (stringpool.c:111)
==21620== 
==21620== Conditional jump or move depends on uninitialised value(s)
==21620==    at 0x1B904795: strlen (mac_replace_strmem.c:189)
==21620==    by 0x85E6B68: get_identifier (stringpool.c:111)
==21620== 
==21620== Invalid read of size 1
==21620==    at 0x1B904791: strlen (mac_replace_strmem.c:189)
==21620==    by 0x85E6B68: get_identifier (stringpool.c:111)
==21620==  Address 0x1BD5595A is 0 bytes after a block of size 26 alloc'd
==21620==    at 0x1B904EDD: malloc (vg_replace_malloc.c:131)
==21620==    by 0x8779F1C: xmalloc (xmalloc.c:143)
==21620==    by 0x80C4157: get_attribute (jcf-parse.c:156)

-- 
           Summary: Valgrind errors building libjava
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: drow at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: i686-pc-linux-gnu


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


             reply	other threads:[~2004-10-20 20:04 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-20 20:04 drow at gcc dot gnu dot org [this message]
2004-10-20 20:24 ` [Bug java/18091] " pinskia at gcc dot gnu dot org
2004-10-20 20:27 ` pinskia at gcc dot gnu dot org
2004-10-20 20:49 ` mckinlay at redhat dot com
2004-10-20 21:04 ` pinskia at gcc dot gnu dot org
2004-10-21 14:38 ` cvs-commit at gcc dot gnu dot org
2004-12-16 14:29 ` aph at gcc dot gnu dot org
2005-01-03 22:25 ` pinskia at gcc dot gnu dot org
2005-01-21  2:38 ` cvs-commit at gcc dot gnu dot org
2005-01-21  2:39 ` tromey at gcc dot gnu dot org
2005-01-21  2:40 ` pinskia at gcc dot gnu dot org

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=20041020200437.18091.drow@gcc.gnu.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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: link
Be 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).