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/18091] New: Valgrind errors building libjava


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


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