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]

java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present



>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=


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