public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2003-05-13  6:24 steven
  0 siblings, 0 replies; 10+ messages in thread
From: steven @ 2003-05-13  6:24 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, java-prs, mark, otto, tromey

Synopsis: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present

State-Changed-From-To: analyzed->closed
State-Changed-By: steven
State-Changed-When: Tue May 13 06:24:02 2003
State-Changed-Why:
    AS request by the reporter

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


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2003-05-12 19:20 Otto Moerbeek
  0 siblings, 0 replies; 10+ messages in thread
From: Otto Moerbeek @ 2003-05-12 19:20 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Otto Moerbeek <otto@drijf.net>
To: Dara Hazeghi <dhazeghi@yahoo.com>
Cc: mark@klomp.org, tromey@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: Mon, 12 May 2003 20:58:27 +0200

 On Monday, May 12, 2003, at 20:41 Europe/Amsterdam, Dara Hazeghi wrote:
 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 > trail&database=gcc&pr=4639
 >
 > Hello,
 >
 > this bug was last update over a year ago. Is it still a problem? With  
 > gcc 3.2, 3.3 branch and mainline (20030511) on i686-linux, the problem  
 > does not appear. Thanks,
 >
 > Dara
 
 Hi Dara,
 
 Note that I was able to reproduce this problem on my particular  
 LinuxPPC machine only. I do not have access to such a machine right  
 now, so I cannot event try to reproduce it. I know that mark@klomp.org  
 also investigated this problem but was unable to reproduce it.
 
 So go ahead and close it.
 
 Regards, Otto
 


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2003-05-12 19:15 Dara Hazeghi
  0 siblings, 0 replies; 10+ messages in thread
From: Dara Hazeghi @ 2003-05-12 19:15 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: otto@drijf.net, mark@klomp.org, tromey@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: Mon, 12 May 2003 11:41:08 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=4639
 
 Hello,
 
 this bug was last update over a year ago. Is it still a problem? With  
 gcc 3.2, 3.3 branch and mainline (20030511) on i686-linux, the problem  
 does not appear. Thanks,
 
 Dara
 


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-12-19 12:26 Otto Moerbeek
  0 siblings, 0 replies; 10+ messages in thread
From: Otto Moerbeek @ 2001-12-19 12:26 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Otto Moerbeek <otto@drijf.net>
To: tromey@redhat.com
Cc: gcc-gnats@gcc.gnu.org, mark@klomp.org
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: Wed, 19 Dec 2001 21:15:37 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 
 On dinsdag, december 18, 2001, at 11:33 , Tom Tromey wrote:
 
 >>>>>> "Otto" == Otto Moerbeek <otto@drijf.net> writes:
 >
 > Otto> I tried to reproduce the problem with my current setup (same
 > Otto> (gcc version 3.0.2 20011014 (prerelease)) version of
 > Otto> gcc/gcj/gij, but minor updates of some other packages). Now gij
 > Otto> doesn't dump core, but just hangs, with a zombie child process:
 >
 > Could you try attaching to the hung process and then see what is
 > happening?
 >
 > I'm guessing the problem must be system-specific.  libgcj just asks
 > the system (via libltdl) to load shared libraries.
 >
 > Tom
 >
 
 Hi,
 
 I get the following resuts, which are not very useable, I think. If the 
 problem is only reproducable on my machine, maybe we should leave the 
 matter, so you can spend more time on things that are useful for more 
 people. There is a simple workaround, so I am not really bothered by 
 this.
 
 \Gr, Otto
 
 
 ==========================
 Script started on Wed Dec 19 21:03:50 2001
 [otto@power test]$ ps axuw | grep gij
 otto     21988  0.0  3.0  9472 7904 pts/1    S    20:59   0:00 gij 
 HelloWorld
 otto     21989  0.0  0.0     0    0 pts/1    Z    20:59   0:00 [gij 
 <defunct>]
 [otto@power test]$ gdb $(which gij) 21988
 GNU gdb 5.0
 Copyright 2000 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you 
 are
 welcome to change it and/or distribute copies of it under certain 
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for 
 details.
 This GDB was configured as "ppc-redhat-linux"...
 /home/otto/test/21988: No such file or directory.
 Attaching to program: /usr/local/gcc-3.0.2/bin/gij, Pid 21988
 0xf93821c in ?? ()
 (gdb) where
 #0  0xf93821c in ?? ()
 (gdb) quit
 The program is running.  Quit anyway (and detach it)? (y or n) y
 Detaching from program: /usr/local/gcc-3.0.2/bin/gij, Pid 21988
 [otto@power test]$ gdb $(which gij) 21989
 GNU gdb 5.0
 Copyright 2000 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you 
 are
 welcome to change it and/or distribute copies of it under certain 
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for 
 details.
 This GDB was configured as "ppc-redhat-linux"...
 /home/otto/test/21989: No such file or directory.
 Attaching to program: /usr/local/gcc-3.0.2/bin/gij, Pid 21989
 ptrace: Operation not permitted.
 (gdb) where
 No stack.
 (gdb) [otto@power test]$
 Script done on Wed Dec 19 21:04:37 2001
 ===================================
 
 - --
 Otto Moerbeek       otto@drijf.net
 Public Key fingerprint: 13F7 EB00 14D7 7810 88DA  CDDE DBF1 B5AB 2FB7 
 A5A3
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (Darwin)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE8IPVv2/G1qy+3paMRAq4rAKClbKVTeCDWkLHJ6MeyOcY+l1InPwCg6nxc
 kFW7+r98XPHlqnYWt2BhNhI=
 =gxXB
 -----END PGP SIGNATURE-----
 


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-12-18 14:36 Tom Tromey
  0 siblings, 0 replies; 10+ messages in thread
From: Tom Tromey @ 2001-12-18 14:36 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Tom Tromey <tromey@redhat.com>
To: Otto Moerbeek <otto@drijf.net>
Cc: gcc-gnats@gcc.gnu.org, mark@klomp.org
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: 18 Dec 2001 15:33:13 -0700

 >>>>> "Otto" == Otto Moerbeek <otto@drijf.net> writes:
 
 Otto> I tried to reproduce the problem with my current setup (same
 Otto> (gcc version 3.0.2 20011014 (prerelease)) version of
 Otto> gcc/gcj/gij, but minor updates of some other packages). Now gij
 Otto> doesn't dump core, but just hangs, with a zombie child process:
 
 Could you try attaching to the hung process and then see what is
 happening?
 
 I'm guessing the problem must be system-specific.  libgcj just asks
 the system (via libltdl) to load shared libraries.
 
 Tom


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-12-08  2:36 Mark Wielaard
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Wielaard @ 2001-12-08  2:36 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Mark Wielaard <mark@klomp.org>
To: Otto Moerbeek <otto@drijf.net>
Cc: tromey@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org,
	gcc-prs@gcc.gnu.org, java-prs@gcc.gnu.org, nobody@gcc.gnu.org
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: Sat, 8 Dec 2001 11:32:34 +0100

 Hi,
 
 I tried on both x86 and powerpc on Debian GNU/Linux (testing/woody) with
 gcj 3.0.2 and glibc 2.2.4 but couldn't reproduce it anymore.
 
 Cheers,
 
 Mark
 -- 
 Stuff to read:
     <http://www.toad.com/gnu/whatswrong.html>
   What's Wrong with Copy Protection, by John Gilmore


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-12-07 23:16 Otto Moerbeek
  0 siblings, 0 replies; 10+ messages in thread
From: Otto Moerbeek @ 2001-12-07 23:16 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: Otto Moerbeek <otto@drijf.net>
To: tromey@gcc.gnu.org
Cc: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
   java-prs@gcc.gnu.org, mark@klomp.org, nobody@gcc.gnu.org
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: Sat, 8 Dec 2001 08:05:10 +0100

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Hi,
 
 I tried to reproduce the problem with my current setup (same (gcc 
 version 3.0.2 20011014 (prerelease)) version of gcc/gcj/gij, but minor 
 updates of some other packages). Now gij doesn't dump core, but just 
 hangs, with a zombie child process:
 
 [otto@power otto]$ ps axuw | grep gij
 otto      5951  0.8  3.0  9472 7904 pts/0    S    07:55   0:00 gij 
 HelloWorld
 otto      5952  0.0  0.0     0    0 pts/0    Z    07:55   0:00 [gij 
 <defunct>]
 [otto@power otto]$
 
 
 I do not know which lib causes this different behavior. I do remember 
 though, that the core dump was of no use, since gdb on LinuxPPC doesn't 
 work with gcj/gij very well. It justs says seg fault, with no stack 
 backtrace.
 
 \Gr, Otto
 
 On vrijdag, december 7, 2001, at 08:04 , tromey@gcc.gnu.org wrote:
 
 > Synopsis: gij HelloWorld segfaults if both HelloWorld.class and 
 > HelloWord executable is present
 >
 > Responsible-Changed-From-To: unassigned->tromey
 > Responsible-Changed-By: tromey
 > Responsible-Changed-When: Fri Dec  7 11:04:57 2001
 > Responsible-Changed-Why:
 >     I'm handling it.
 > State-Changed-From-To: open->analyzed
 > State-Changed-By: tromey
 > State-Changed-When: Fri Dec  7 11:04:57 2001
 > State-Changed-Why:
 >     I tried it with gcj 3.1 and it worked fine.
 >     I don't have 3.0 built right now so trying that is a pain.
 >     It could be a bug that was fixed since the 3.0.2 release,
 >     but I don't really remember anything that would affect this.
 >     Could you send me a gij stack trace?
 >     That might help.
 >
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
 > trail&pr=4639&database=gcc
 >
 - --
 Otto Moerbeek       otto@drijf.net
 Public Key fingerprint: 13F7 EB00 14D7 7810 88DA  CDDE DBF1 B5AB 2FB7 
 A5A3
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.0.6 (Darwin)
 Comment: For info see http://www.gnupg.org
 
 iD8DBQE8Ebut2/G1qy+3paMRAuKSAKCSunS1kE4FoEP4j44e+dytXogorgCgw1oT
 r+ajy8TIjogUTMhG78TWpEs=
 =tsAs
 -----END PGP SIGNATURE-----
 


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-12-07 11:16 tromey
  0 siblings, 0 replies; 10+ messages in thread
From: tromey @ 2001-12-07 11:16 UTC (permalink / raw)
  To: tromey; +Cc: gcc-prs

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

From: tromey@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  java-prs@gcc.gnu.org, mark@klomp.org, nobody@gcc.gnu.org, otto@drijf.net,
  tromey@gcc.gnu.org
Cc:  
Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
Date: 7 Dec 2001 19:04:59 -0000

 Synopsis: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
 
 Responsible-Changed-From-To: unassigned->tromey
 Responsible-Changed-By: tromey
 Responsible-Changed-When: Fri Dec  7 11:04:57 2001
 Responsible-Changed-Why:
     I'm handling it.
 State-Changed-From-To: open->analyzed
 State-Changed-By: tromey
 State-Changed-When: Fri Dec  7 11:04:57 2001
 State-Changed-Why:
     I tried it with gcj 3.1 and it worked fine.
     I don't have 3.0 built right now so trying that is a pain.
     It could be a bug that was fixed since the 3.0.2 release,
     but I don't really remember anything that would affect this.
     Could you send me a gij stack trace?
     That might help.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4639&database=gcc


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

* Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-12-07 11:05 tromey
  0 siblings, 0 replies; 10+ messages in thread
From: tromey @ 2001-12-07 11:05 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, java-prs, mark, nobody, otto, tromey

Synopsis: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Fri Dec  7 11:04:57 2001
Responsible-Changed-Why:
    I'm handling it.
State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Fri Dec  7 11:04:57 2001
State-Changed-Why:
    I tried it with gcj 3.1 and it worked fine.
    I don't have 3.0 built right now so trying that is a pain.
    It could be a bug that was fixed since the 3.0.2 release,
    but I don't really remember anything that would affect this.
    Could you send me a gij stack trace?
    That might help.

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


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

* java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present
@ 2001-10-21 12:06 otto
  0 siblings, 0 replies; 10+ messages in thread
From: otto @ 2001-10-21 12:06 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mark

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


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

end of thread, other threads:[~2003-05-13  6:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-13  6:24 java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present steven
  -- strict thread matches above, loose matches on Subject: below --
2003-05-12 19:20 Otto Moerbeek
2003-05-12 19:15 Dara Hazeghi
2001-12-19 12:26 Otto Moerbeek
2001-12-18 14:36 Tom Tromey
2001-12-08  2:36 Mark Wielaard
2001-12-07 23:16 Otto Moerbeek
2001-12-07 11:16 tromey
2001-12-07 11:05 tromey
2001-10-21 12:06 otto

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