public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/6459: sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2
@ 2002-04-25 12:56 ghazi
  0 siblings, 0 replies; 3+ messages in thread
From: ghazi @ 2002-04-25 12:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: tromey, davem


>Number:         6459
>Category:       java
>Synopsis:       sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          wrong-code
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 25 12:56:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kaveh Ghazi
>Release:        gcc version 3.1 20020423 (prerelease)
>Organization:
>Environment:
sparc-sun-solaris2.7 native as/ld
>Description:
I get the following failures in the libjava testsuite, see: http://gcc.gnu.org/ml/gcc-testresults/2002-04/msg00935.html

FAIL: Throw_2 execution from source compiled test
FAIL: Throw_2 execution from bytecode->native test
FAIL: Throw_2 -O execution from source compiled test
FAIL: Throw_2 -O execution from bytecode->native test

Running the Throw_2 executable left behind by the harness under gdb, I get:

Starting program: /teal/caip5/ghazi/gcc-testing/branch/build/sparc-sun-solaris2.7/libjava/testsuite/Throw_2
[New LWP    2        ]
[New LWP    3        ]

Program received signal SIGSEGV, Segmentation fault.
0xff041f90 in GC_find_limit (p=0xffbef684 "", up=1) at ../../../egcc-3.1-CVS20020424/boehm-gc/os_dep.c:642
642               GC_noop1((word)(*result));
(gdb) where
#0  0xff041f90 in GC_find_limit (p=0xffbef684 "", up=1) at ../../../egcc-3.1-CVS20020424/boehm-gc/os_dep.c:642
#1  0xff04201c in GC_get_stack_base () at ../../../egcc-3.1-CVS20020424/boehm-gc/os_dep.c:793
#2  0xff04047c in GC_init_inner () at ../../../egcc-3.1-CVS20020424/boehm-gc/misc.c:590
#3  0xff040090 in GC_init () at ../../../egcc-3.1-CVS20020424/boehm-gc/misc.c:455
#4  0xff036924 in GC_init_gcj_malloc (mp_index=0, mp=0xff02bf6c) at ../../../egcc-3.1-CVS20020424/boehm-gc/gcj_mlc.c:60
#5  0xff02ccc8 in _Z10_Jv_InitGCv () at ../../../egcc-3.1-CVS20020424/libjava/boehm.cc:465
#6  0xfee79654 in _Z16_Jv_CreateJavaVMPv () at ../../../egcc-3.1-CVS20020424/libjava/prims.cc:892
#7  0xfee79ae8 in _Z11_Jv_RunMainPN4java4lang5ClassEPKciPS4_b (klass=0x21624, name=0x0, argc=1, argv=0xffbefa4c,
    is_jar=false) at ../../../egcc-3.1-CVS20020424/libjava/prims.cc:982
#8  0x10f5c in main (argc=0, argv=0x1) at /var/tmp/ccGMy4Cd.i:11
(gdb) p result
$1 = 0xffbf0000 <Address 0xffbf0000 out of bounds>
(gdb) 
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: java/6459: sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2
@ 2002-05-08 13:26 Kaveh R. Ghazi
  0 siblings, 0 replies; 3+ messages in thread
From: Kaveh R. Ghazi @ 2002-05-08 13:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/6459; it has been noted by GNATS.

From: "Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
To: davem@gcc.gnu.org, davem@redhat.com, gcc-bugs@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, java-prs@gcc.gnu.org,
        nobody@gcc.gnu.org, tromey@redhat.com
Cc:  
Subject: Re: java/6459: sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2
Date: Wed, 8 May 2002 16:21:53 -0400 (EDT)

 [...]
 (gdb) cont
 Continuing.
 [New LWP    4        ]
 
 Program received signal SIGSEGV, Segmentation fault.
 _ZN4java4lang6Double11parseDoubleEPNS0_6StringE (str=0x0) at
 java/lang/String.h:47
 47        jint length () { return count; }
 Current language:  auto; currently c++
 (gdb) bt
 #0  _ZN4java4lang6Double11parseDoubleEPNS0_6StringE (str=0x0) at java/lang/String.h:47
 #1  0x11284 in _ZN7Throw_24mainEP6JArrayIPN4java4lang6StringEE (args=0x57fe0) at
     /teal/caip5/ghazi/gcc-testing/branch/egcc-3.1-CVS20020507/libjava/testsuite/libjava.lang/Throw_2.java:46
 #2  0xfee88ee8 in _ZN3gnu3gcj7runtime11FirstThread9call_mainEv (this=0xac888) at
     ../../../egcc-3.1-CVS20020507/libjava/gnu/gcj/runtime/natFirstThread.cc:46
 #3  0xfee940e0 in _Z13_Jv_ThreadRunPN4java4lang6ThreadE (thread=0xac888) at
     ../../../egcc-3.1-CVS20020507/libjava/java/lang/natThread.cc:285
 #4  0xfee79c44 in _Z11_Jv_RunMainPN4java4lang5ClassEPKciPS4_b (klass=0x21924, name=0x0, argc=0, argv=0xffbef9e4,
     is_jar=false) at ../../../egcc-3.1-CVS20020507/libjava/prims.cc:1010
 #5  0x10f94 in main (argc=1, argv=0xffbef9e4) at /var/tmp/ccBcoMQc.i:11
 (gdb)


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

* Re: java/6459: sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2
@ 2002-05-03 15:48 davem
  0 siblings, 0 replies; 3+ messages in thread
From: davem @ 2002-05-03 15:48 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, ghazi, java-prs, nobody, tromey, davem

Synopsis: sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2

State-Changed-From-To: open->feedback
State-Changed-By: davem
State-Changed-When: Fri May  3 15:48:37 2002
State-Changed-Why:
    You need to continue further in your GDB session.
    The SIGSEGV is perfectly normal and is a part of Boehm-GC
    initialization.
    This is a FAQ

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6459


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

end of thread, other threads:[~2002-05-08 20:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-25 12:56 java/6459: sparc-sun-solaris2.7 gcc-3.1 libjava testsuite failure in Throw_2 ghazi
2002-05-03 15:48 davem
2002-05-08 13:26 Kaveh R. Ghazi

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).