public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/21697] New: gcj segfaults with Jabref.jar
@ 2005-05-21 14:51 debian-gcc at lists dot debian dot org
  2005-05-21 14:54 ` [Bug java/21697] " pinskia at gcc dot gnu dot org
  2005-05-22  1:13 ` tromey at gcc dot gnu dot org
  0 siblings, 2 replies; 5+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2005-05-21 14:51 UTC (permalink / raw)
  To: java-prs

[ forwarded from http://bugs.debian.org/278642 ]

With this jar file: 
http://mesh.dl.sourceforge.net/sourceforge/jabref/Jabref-1.5.jar

both 3.3.6 and 3.4.4 segfault.

falk@juist:/tmp% gcj-3.3 Jabref-1.5.jar 
antlr/PreservingFileWriter.java: In class `antlr.PreservingFileWriter':
antlr/PreservingFileWriter.java: In method `antlr.PreservingFileWriter.close()':
antlr/PreservingFileWriter.java:56: warning: exception handler inside code that
is being protected
gcj-3.3: Internal error: Segmentation fault (program jc1)

falk@juist:/tmp% gcj-3.4 Jabref-1.5.jar 
gcj-3.4: Internal error: Segmentation fault (program jc1)

-- 
           Summary: gcj segfaults with Jabref.jar
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: debian-gcc at lists dot debian 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=21697


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

* [Bug java/21697] gcj segfaults with Jabref.jar
  2005-05-21 14:51 [Bug java/21697] New: gcj segfaults with Jabref.jar debian-gcc at lists dot debian dot org
@ 2005-05-21 14:54 ` pinskia at gcc dot gnu dot org
  2005-05-22  1:13 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-21 14:54 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-21 14:54 -------
With the mainline, I get:
antlr/TokenStreamRewriteEngine.java:0: error: cannot find file for class 
antlr.TokenStreamRewriteEngine$RewriteOperation
antlr/TokenStreamRewriteEngine.java:0: error: cannot find file for class 
antlr.TokenStreamRewriteEngine$InsertBeforeOp
antlr/TokenStreamRewriteEngine.java:0: error: cannot find file for class 
antlr.TokenStreamRewriteEngine$ReplaceOp
antlr/TokenStreamRewriteEngine.java:0: error: cannot find file for class 
antlr.TokenStreamRewriteEngine$DeleteOp
java/util/HashMap.java: In class 'antlr.TokenStreamRewriteEngine':
java/util/HashMap.java: In method 
'antlr.TokenStreamRewriteEngine.addToSortedRewriteList(java.lang.String,antlr.TokenStreamRewriteEngi
ne$RewriteOperation)':
java/util/HashMap.java:191: error: cannot find file for class antlr.TokenStreamRewriteEngine$1
java/util/HashMap.java:191: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 


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


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

* [Bug java/21697] gcj segfaults with Jabref.jar
  2005-05-21 14:51 [Bug java/21697] New: gcj segfaults with Jabref.jar debian-gcc at lists dot debian dot org
  2005-05-21 14:54 ` [Bug java/21697] " pinskia at gcc dot gnu dot org
@ 2005-05-22  1:13 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2005-05-22  1:13 UTC (permalink / raw)
  To: java-prs


------- Additional Comments From tromey at gcc dot gnu dot org  2005-05-22 01:13 -------
The jar file is actually missing the files that gcj says it cannot find.
And, these classes are definitely referred to by other classes in the jar.
So, that is a problem with the jar file, at least for the C++ ABI.
(Compiling with -findirect-dispatch works fine.)

I think there are still two bugs here:

1. We shouldn't ICE in this situation.

2. The error messages here are bogus.  E.g., why is HashMap.java
   mentioned at all?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-22 01:13:35
               date|                            |


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


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

* [Bug java/21697] gcj segfaults with Jabref.jar
       [not found] <bug-21697-5724@http.gcc.gnu.org/bugzilla/>
  2006-09-23 18:43 ` debian-gcc at lists dot debian dot org
@ 2007-01-30 20:57 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-30 20:57 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from tromey at gcc dot gnu dot org  2007-01-30 20:57 -------
Sounds like it is fixed then.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.1.3


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


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

* [Bug java/21697] gcj segfaults with Jabref.jar
       [not found] <bug-21697-5724@http.gcc.gnu.org/bugzilla/>
@ 2006-09-23 18:43 ` debian-gcc at lists dot debian dot org
  2007-01-30 20:57 ` tromey at gcc dot gnu dot org
  1 sibling, 0 replies; 5+ messages in thread
From: debian-gcc at lists dot debian dot org @ 2006-09-23 18:43 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from debian-gcc at lists dot debian dot org  2006-09-23 18:42 -------
not reproducible with the 2.1 jar file and current 4.1 branch

  Matthias


-- 


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


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

end of thread, other threads:[~2007-01-30 20:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-21 14:51 [Bug java/21697] New: gcj segfaults with Jabref.jar debian-gcc at lists dot debian dot org
2005-05-21 14:54 ` [Bug java/21697] " pinskia at gcc dot gnu dot org
2005-05-22  1:13 ` tromey at gcc dot gnu dot org
     [not found] <bug-21697-5724@http.gcc.gnu.org/bugzilla/>
2006-09-23 18:43 ` debian-gcc at lists dot debian dot org
2007-01-30 20:57 ` 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).