This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: SEGV compiling this class
- To: java-discuss at sourceware dot cygnus dot com
- Subject: Re: SEGV compiling this class
- From: Alexandre Petit-Bianco <apbianco at cygnus dot com>
- Date: Thu, 21 Jun 2001 12:43:43 -0700 (PDT)
- References: <m3lmml3j4v.fsf@wf-rch.cirr.com>
- Reply-To: apbianco at cygnus dot com
minyard@acm.org writes:
> it works fine on PowerPC.
I couldn't reproduce the bug with the trunk and 3.0 on RHL7.1/x86, but
it crashed on Linux/Alpha with -O, though it seems to be for different
reasons.
./A
Program received signal SIGSEGV, Segmentation fault.
duplicate_eh_regions (ifun=0x1205b66f0, map=0x1205bcec0)
at /home/apbianco/gcc-branch-testing/src/gcc/gcc/except.c:1451
1451 if (n_array[i]->outer == NULL)
(gdb) p n_array[0]
$12 = (struct eh_region *) 0x0
(gdb) p n_array[1]
$13 = (struct eh_region *) 0x1205b3150
(gdb) p n_array[2]
$14 = (struct eh_region *) 0x1205b31c0
(gdb) p n_array[3]
$15 = (struct eh_region *) 0x1205b3230
(gdb) p n_array[4]
$16 = (struct eh_region *) 0x0
(gdb) p n_array[5]
$17 = (struct eh_region *) 0x0
(gdb) p i
$18 = 5
(gdb) bt 5
#0 duplicate_eh_regions (ifun=0x1205b66f0, map=0x1205bcec0)
at /home/apbianco/gcc-branch-testing/src/gcc/gcc/except.c:1451
#1 0x120204824 in expand_inline_function (fndecl=0x200000b5d40, parms=0x0,
target=0x200004be860, ignore=0, type=0x200000aacc0,
structure_value_addr=0x0)
at /home/apbianco/gcc-branch-testing/src/gcc/gcc/integrate.c:1132
#2 0x120168c60 in try_to_integrate (fndecl=0x200000b5d40,
actparms=0x200000cc500, target=0x200004be860, ignore=0,
type=0x200000aacc0, structure_value_addr=0x0)
at /home/apbianco/gcc-branch-testing/src/gcc/gcc/calls.c:1794
#3 0x120169a00 in expand_call (exp=0x200000d2c80, target=0x200004be860,
ignore=0) at /home/apbianco/gcc-branch-testing/src/gcc/gcc/calls.c:2276
#4 0x12014e4a4 in expand_expr (exp=0x200000d2c80, target=0x200004be860,
tmode=DImode, modifier=EXPAND_NORMAL)
at /home/apbianco/gcc-branch-testing/src/gcc/gcc/expr.c:7272
(More stack frames follow...)
(gdb) p ((tree)0x200000b5d40)->decl.name->identifier.pointer
$19 = 0x120426fd7 "stackTraceToString"