SEGV compiling this class

Alexandre Petit-Bianco apbianco@cygnus.com
Thu Jun 21 12:43:00 GMT 2001


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"


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /