From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25463 invoked by alias); 19 Dec 2001 20:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 25439 invoked by uid 71); 19 Dec 2001 20:26:01 -0000 Date: Wed, 19 Dec 2001 12:26:00 -0000 Message-ID: <20011219202601.25438.qmail@sources.redhat.com> To: tromey@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Otto Moerbeek Subject: Re: java/4639: gij HelloWorld segfaults if both HelloWorld.class and HelloWord executable is present Reply-To: Otto Moerbeek X-SW-Source: 2001-12/txt/msg00994.txt.bz2 List-Id: The following reply was made to PR java/4639; it has been noted by GNATS. From: Otto Moerbeek 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 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 ] [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-----