public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/15001] New: Using JNI with interpreter and interface methods yields SIGSEGV
@ 2004-04-18  9:29 thhal at mailblocks dot com
  2004-04-18  9:32 ` [Bug libgcj/15001] " thhal at mailblocks dot com
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: thhal at mailblocks dot com @ 2004-04-18  9:29 UTC (permalink / raw)
  To: java-prs

When using JNI to call an interpreted method who's jmethodID stems from an
interface, the program receives a SIGSEGV. The signal handler in turn, goes into
an endless unwind loop and the program appears to be hung.

The sample program uses JNI to instantiate the "jvm", obtains the interface and
implementation class, instantiates the latter and tries to call a method on it.
First it uses a jmethodID obtained directly from the implementation class. That
succeeds. Then, it uses the jmethodID it gets when obtaining the same method
from the implemented interface. That fails.

I know that sending a compressed tar file is against your policy, but you do
need the .class files in order to reproduce this bug.

-- 
           Summary: Using JNI with interpreter and interface methods yields
                    SIGSEGV
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thhal at mailblocks dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: i86-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15001


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

end of thread, other threads:[~2005-01-18 20:37 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-18  9:29 [Bug libgcj/15001] New: Using JNI with interpreter and interface methods yields SIGSEGV thhal at mailblocks dot com
2004-04-18  9:32 ` [Bug libgcj/15001] " thhal at mailblocks dot com
2004-04-18 17:43 ` tromey at gcc dot gnu dot org
2004-04-18 17:47 ` [Bug libgcj/15001] [3.4 only] " pinskia at gcc dot gnu dot org
2004-04-19  2:59 ` pinskia at gcc dot gnu dot org
2004-05-25 22:11 ` [Bug libgcj/15001] " mckinlay at redhat dot com
2004-06-06  3:50 ` mmitchel at gcc dot gnu dot org
2004-08-19 20:48 ` mmitchel at gcc dot gnu dot org
2004-09-09 16:03 ` mckinlay at redhat dot com
2004-09-21 18:20 ` tromey at gcc dot gnu dot org
2004-11-01  0:44 ` mmitchel at gcc dot gnu dot org
2004-12-10  5:47 ` mckinlay at redhat dot com
2004-12-17 15:14 ` cvs-commit at gcc dot gnu dot org
2004-12-21  0:49 ` [Bug libgcj/15001] [3.4 only] " cvs-commit at gcc dot gnu dot org
2005-01-18 20:37 ` tromey at gcc dot gnu dot org

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