Bug 11117 - internal error on compilation of java code (multiple jar's and sources)
Summary: internal error on compilation of java code (multiple jar's and sources)
Status: NEW
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 3.2.3
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code, patch
: 9947 (view as bug list)
Depends on:
Blocks: 12996
  Show dependency treegraph
 
Reported: 2003-06-06 20:46 UTC by ahs3
Modified: 2005-07-23 22:39 UTC (History)
5 users (show)

See Also:
Host: i386-debian-linux-gnu
Target: i386-debian-linux-gnu
Build: i386-debian-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2005-02-17 03:32:38


Attachments
Zip file containing code to reproduce problem (734.40 KB, application/octet-stream)
2003-06-06 20:49 UTC, ahs3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ahs3 2003-06-06 20:46:29 UTC
I'll attach a zip file that contains the code and a script to re-create the
problem.  The script (called 'bld'), when executed, runs the Debian GNU/Linux
version of gcj 3.2.3 and produces this message:

org/xml/sax/SAXNotSupportedException.class:0: internal error: Segmentation
faultPlease submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

Unfortunately, this code was passed on to me so I don't have a lot of details
about what is does (other than test some xml functionality).  If there is
further info needed, please let me know.
Comment 1 ahs3 2003-06-06 20:49:57 UTC
Created attachment 4184 [details]
Zip file containing code to reproduce problem

This zip file contains everything needed (perhaps way too much) to reproduce
this bug.  Execute the script 'bld' with no parameters and gcj 3.2.3 fails on a
seg fault.
Comment 2 Dara Hazeghi 2003-06-08 16:56:18 UTC
Confirmed with gcc 3.3 branch and mainline (20030604).
Comment 3 Andrew Pinski 2003-06-14 23:49:52 UTC
If you compile them seperately it works.
Comment 4 Andrew Pinski 2003-11-24 20:05:13 UTC
There are other reports of this some where.
Comment 5 Andrew Pinski 2004-05-21 03:09:15 UTC
*** Bug 9947 has been marked as a duplicate of this bug. ***
Comment 6 Ranjit Mathew 2004-06-11 12:31:28 UTC
My proposed fix for PR13948 fixes the ICE on mainline, but exposes the extra
"./" problem as evidenced, for example, in PR9351.
Comment 7 Ranjit Mathew 2004-06-14 19:22:23 UTC
Actually the revised patch for PR13948 converts this ICE to another ICE. I'll look
into this soon.
Comment 8 Ranjit Mathew 2004-06-21 06:55:47 UTC
A proposed patch:

  http://gcc.gnu.org/ml/java-patches/2004-q2/msg00736.html

While this patch cures the remaining ICE, the build
still breaks (though much later) due to a verifier error.

(If the patch above is approved and committed, the subject
line of this PR should change.)
Comment 9 Andrew Pinski 2004-08-19 03:02:49 UTC
Most likely the same bug as PR 12996.