public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: otto@drijf.net
To: gcc-gnats@gcc.gnu.org
Cc: mark@klomp.org
Subject: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: Sun, 21 Oct 2001 12:06:00 -0000	[thread overview]
Message-ID: <20011021190049.1033.qmail@sourceware.cygnus.com> (raw)

>Number:         4639
>Category:       java
>Synopsis:       gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 21 12:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     otto@drijf.net
>Release:        gcc version 3.0.2 20011014 (prerelease)
>Organization:
>Environment:
LinuxPPC 2.2.18, glibc-2.1.3
>Description:
gij produces a segmentation fault ifboth a .class file and an executable with the same base name is present.

Config:

Reading specs from /usr/local/gcc-3.0.2/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0.2/specs
Configured with: ../configure --prefix=/usr/local/gcc-3.0.2 --enable-shared --enable-threads --enable-languages=c++,java : (reconfigured) ../configure --prefix=/usr/local/gcc-3.0.2 --enable-shared --enable-threads --enable-languages=c++,java : (reconfigured) ../configure --prefix=/usr/local/gcc-3.0.2 --enable-shared --enable-threads --enable-languages=c++,java : (reconfigured) ../configure --prefix=/usr/local/gcc-3.0.2 --enable-shared --enable-threads --enable-languages=c++,java : (reconfigured) ../configure --prefix=/usr/local/gcc-3.0.2 --enable-shared --enable-threads --enable-languages=c++,java
Thread model: posix
gcc version 3.0.2 20011014 (prerelease)
>How-To-Repeat:
gcj -C HelloWorld.java
gij HelloWorld  # runs fine
gcj -o HelloWorld --main=HelloWorld HelloWorld.java
gij HelloWorld # segmentation fault
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 gcc version 3.0.2 20011014 (prerelease)
 
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="HelloWorld.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="HelloWorld.java"

cHVibGljIGNsYXNzIEhlbGxvV29ybGQKewogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4oU3Ry
aW5nW10gYXJncykgCiAgICB7CiAgICAgICAgU3lzdGVtLm91dC5wcmludGxuKCJIZWxsbyBXb3Js
ZCEiKTsKICAgIH0KfQo=


             reply	other threads:[~2001-10-21 12:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-21 12:06 otto [this message]
2001-12-07 11:05 tromey
2001-12-07 11:16 tromey
2001-12-07 23:16 Otto Moerbeek
2001-12-08  2:36 Mark Wielaard
2001-12-18 14:36 Tom Tromey
2001-12-19 12:26 Otto Moerbeek
2003-05-12 19:15 Dara Hazeghi
2003-05-12 19:20 Otto Moerbeek
2003-05-13  6:24 steven

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=20011021190049.1033.qmail@sourceware.cygnus.com \
    --to=otto@drijf.net \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=mark@klomp.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).