public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
@ 2005-06-30 15:16 andreast at gcc dot gnu dot org
2005-06-30 15:19 ` [Bug middle-end/22253] " andreast at gcc dot gnu dot org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-06-30 15:16 UTC (permalink / raw)
To: java-prs
I get the following ICE:
/Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc: In member
function 'virtual void gnu::gcj::xlib::Window::setWMProtocols(JArray<jint>*)':
/Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc:110: internal
compiler error: Bus error
gdb session looks like this:
Starting program: /Volumes/export/gcc/gcc-cvs/objdir/gcc/cc1plus -fpreprocessed
natWindow.ii -feliminate-unused-debug-symbols -fPIC -quiet -dumpbase
natWindow.cc -auxbase-strip gnu/gcj/xlib/.libs/lib_gnu_awt_xlib_la-natWindow.o
-g -O2 -Wswitch-enum -Wextra -Wall -version -fno-rtti -fnon-call-exceptions
-fdollars-in-identifiers -fno-common -o natWindow.s
GNU C++ version 4.1.0 20050630 (experimental) (powerpc-apple-darwin8.1.0)
compiled by GNU C version 4.1.0 20050630 (experimental).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: de29724eb145ed5e30b8ec939d966d8a
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000030
bitmap_set_bit (head=0x2c, bit=16) at
/Volumes/export/gcc/gcc-cvs/gcc/gcc/bitmap.c:427
427 if (head->current == 0
The config is this one, but I have to try if it fails also with xlib only.
[wolfram:gcc/gcc-cvs/objdir] andreast% ./gcc/xgcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.1.0
Configured with: /Volumes/export/gcc/gcc-cvs/gcc/configure
--prefix=/Volumes/export/gcc/gcc-cvs/testbin --enable-java-awt=gtk,xlib
--enable-gtk-cairo --disable-checking --disable-multilib
--enable-languages=c,c++,java
--
Summary: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libgcj
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: andreast at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: powerpc-apple-darwin8.1.0
GCC host triplet: powerpc-apple-darwin8.1.0
GCC target triplet: powerpc-apple-darwin8.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
@ 2005-06-30 15:19 ` andreast at gcc dot gnu dot org
2005-06-30 15:19 ` pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-06-30 15:19 UTC (permalink / raw)
To: java-prs
------- Additional Comments From andreast at gcc dot gnu dot org 2005-06-30 15:19 -------
Created an attachment (id=9179)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9179&action=view)
Preprocessed source
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
2005-06-30 15:19 ` [Bug middle-end/22253] " andreast at gcc dot gnu dot org
@ 2005-06-30 15:19 ` pinskia at gcc dot gnu dot org
2005-06-30 15:21 ` [Bug middle-end/22253] [4.1 Regression] " pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-30 15:19 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|libgcj |middle-end
Keywords| |ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
2005-06-30 15:19 ` [Bug middle-end/22253] " andreast at gcc dot gnu dot org
2005-06-30 15:19 ` pinskia at gcc dot gnu dot org
@ 2005-06-30 15:21 ` pinskia at gcc dot gnu dot org
2005-06-30 17:22 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-30 15:21 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 15:21 -------
With checking enabled I get:
/Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc: In member function 'virtual
void gnu::gcj::xlib::Window::setWMProtocols(JArray<jint>*)':
/Volumes/export/gcc/gcc-cvs/gcc/libjava/gnu/gcj/xlib/natWindow.cc:110: internal compiler error: in
calc_dfs_tree, at dominance.c:376
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|ICE while compiling |[4.1 Regression] ICE while
|libjava/gnu/gcj/xlib/natWind|compiling
|ow.cc |libjava/gnu/gcj/xlib/natWind
| |ow.cc
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-06-30 15:21 ` [Bug middle-end/22253] [4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-06-30 17:22 ` pinskia at gcc dot gnu dot org
2005-06-30 17:24 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-30 17:22 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 17:22 -------
Confirmed, reduced testcase:
struct allocator { ~allocator() {} };
struct _Vector_base
{
struct _Vector_impl
{
int* _M_start;
int* _M_finish;
_Vector_impl()
: _M_start(0), _M_finish(0)
{ }
};
_Vector_base(){}
_Vector_impl _M_impl;
};
void setWMProtocols()
{
allocator a;
_Vector_base atomVector;
}
This also happens on i686-pc-linux-gnu with the reduced testcase.
Only -O2 -fnon-call-exceptions is needed to reproduce the bug.
I think VRP is not cleaning up the exceptions regions correctly.
This is a build bug because it blocks building with --enable-java-awt=gtk,xlib.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |dnovillo at gcc dot gnu dot
| |org
Severity|normal |critical
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|powerpc-apple-darwin8.1.0 |
GCC host triplet|powerpc-apple-darwin8.1.0 |
GCC target triplet|powerpc-apple-darwin8.1.0 |
Keywords| |build
Last reconfirmed|0000-00-00 00:00:00 |2005-06-30 17:22:45
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-06-30 17:22 ` pinskia at gcc dot gnu dot org
@ 2005-06-30 17:24 ` pinskia at gcc dot gnu dot org
2005-06-30 18:08 ` giovannibajo at libero dot it
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-30 17:24 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 17:24 -------
I should note that if we fix PR 21636, this becomes a latent bug.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-06-30 17:24 ` pinskia at gcc dot gnu dot org
@ 2005-06-30 18:08 ` giovannibajo at libero dot it
2005-07-03 18:23 ` andreast at gcc dot gnu dot org
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: giovannibajo at libero dot it @ 2005-06-30 18:08 UTC (permalink / raw)
To: java-prs
------- Additional Comments From giovannibajo at libero dot it 2005-06-30 18:08 -------
I wonder why it's not caught by a tree verifier then.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-06-30 18:08 ` giovannibajo at libero dot it
@ 2005-07-03 18:23 ` andreast at gcc dot gnu dot org
2005-07-03 18:27 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-07-03 18:23 UTC (permalink / raw)
To: java-prs
------- Additional Comments From andreast at gcc dot gnu dot org 2005-07-03 18:23 -------
Hm, seems to work now :)
At least for the build.
http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00144.html
Could one confirm if it works on x86 with the reduced tc?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-07-03 18:23 ` andreast at gcc dot gnu dot org
@ 2005-07-03 18:27 ` pinskia at gcc dot gnu dot org
2005-07-04 15:08 ` andreast at gcc dot gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-03 18:27 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-03 18:27 -------
(In reply to comment #6)
> Hm, seems to work now :)
> At least for the build.
Try with checking enabled, you will see it still fails.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-07-03 18:27 ` pinskia at gcc dot gnu dot org
@ 2005-07-04 15:08 ` andreast at gcc dot gnu dot org
2005-07-04 15:15 ` pinskia at gcc dot gnu dot org
2005-07-14 16:57 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-07-04 15:08 UTC (permalink / raw)
To: java-prs
------- Additional Comments From andreast at gcc dot gnu dot org 2005-07-04 15:08 -------
Confused :)
http://gcc.gnu.org/ml/gcc-testresults/2005-07/msg00190.html
is the --enable-checking ok ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-07-04 15:08 ` andreast at gcc dot gnu dot org
@ 2005-07-04 15:15 ` pinskia at gcc dot gnu dot org
2005-07-14 16:57 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-04 15:15 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-04 15:15 -------
Hmm, weird, oh well the reduced testcase still fails on the mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug middle-end/22253] [4.1 Regression] ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-07-04 15:15 ` pinskia at gcc dot gnu dot org
@ 2005-07-14 16:57 ` pinskia at gcc dot gnu dot org
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-07-14 16:57 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-07-14 16:57 -------
Fixed now on the mainline.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22253
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-07-14 16:57 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-30 15:16 [Bug libgcj/22253] New: ICE while compiling libjava/gnu/gcj/xlib/natWindow.cc andreast at gcc dot gnu dot org
2005-06-30 15:19 ` [Bug middle-end/22253] " andreast at gcc dot gnu dot org
2005-06-30 15:19 ` pinskia at gcc dot gnu dot org
2005-06-30 15:21 ` [Bug middle-end/22253] [4.1 Regression] " pinskia at gcc dot gnu dot org
2005-06-30 17:22 ` pinskia at gcc dot gnu dot org
2005-06-30 17:24 ` pinskia at gcc dot gnu dot org
2005-06-30 18:08 ` giovannibajo at libero dot it
2005-07-03 18:23 ` andreast at gcc dot gnu dot org
2005-07-03 18:27 ` pinskia at gcc dot gnu dot org
2005-07-04 15:08 ` andreast at gcc dot gnu dot org
2005-07-04 15:15 ` pinskia at gcc dot gnu dot org
2005-07-14 16:57 ` pinskia 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).