public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/21906] New: hang when invoking abstract method
@ 2005-06-04  6:11 tromey at gcc dot gnu dot org
  2005-06-04  6:13 ` [Bug libgcj/21906] " tromey at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-06-04  6:11 UTC (permalink / raw)
  To: java-prs

Try the test case "abstract.fail.abstract2" from the mauve
"verify" module.  (You will need jasmin to build this.)

This test case gets a SEGV in the unwinder:

Program received signal SIGSEGV, Segmentation fault.
uw_frame_state_for (context=0xbfff9998, fs=0xbfff98d8) at linux-unwind.h:125
125	in linux-unwind.h

Continuing results in the same SEGV endlessly.


The underlying cause of this is that a _Jv_Method has 0x0 as its
'ncode'.  Instead it would be more correct to put
'throw new AbstractMethodError' there.  I have a partial patch
to do this (the compiler should also do this...).
However I think the unwinder crashing is a bug regardless of whether
this other problem is fixed.

-- 
           Summary: hang when invoking abstract method
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tromey at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


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


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

end of thread, other threads:[~2005-06-15 19:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-04  6:11 [Bug libgcj/21906] New: hang when invoking abstract method tromey at gcc dot gnu dot org
2005-06-04  6:13 ` [Bug libgcj/21906] " tromey at gcc dot gnu dot org
2005-06-04  6:13 ` tromey at gcc dot gnu dot org
2005-06-14 20:26 ` tromey at gcc dot gnu dot org
2005-06-15 19:11 ` cvs-commit at gcc dot gnu dot org
2005-06-15 19:12 ` 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).