public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/30453]  New: Segmentation fault: Error detected at ali.adb:2240:1
@ 2007-01-12 23:48 danglin at gcc dot gnu dot org
  2007-01-12 23:56 ` [Bug ada/30453] " danglin at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-01-12 23:48 UTC (permalink / raw)
  To: gcc-bugs

/home/dave/gnu/gcc-4.3/objdir/./prev-gcc/xgcc
-B/home/dave/gnu/gcc-4.3/objdir/./
prev-gcc/ -B/home/dave/opt/gnu/gcc/gcc-4.3.0/hppa-linux/bin/ -c -g -O2     
-gna
tpg -gnata -I- -I. -Iada -I../../gcc/gcc/ada ../../gcc/gcc/ada/ali.adb -o
ada/al
i.o
+===========================GNAT BUG DETECTED==============================+
| 4.3.0 20070112 (experimental) (hppa-unknown-linux-gnu) Segmentation fault|
| Error detected at ali.adb:2240:1                                         |
| Please submit a bug report; see http://gcc.gnu.org/bugs.html.            |
| Use a subject line meaningful to you and us to track the bug.            |
| Include the entire contents of this bug box in the report.               |
| Include the exact gcc or gnatmake command that you entered.              |
| Also include sources listed below in gnatchop format                     |
| (concatenated together with no headers between files).                   |
+==========================================================================+

Please include these source files with error report
Note that list may not be accurate in some cases,
so please double check that the problem can still
be reproduced with the set of files listed.

../../gcc/gcc/ada/ali.adb
../../gcc/gcc/ada/ali.ads
../../gcc/gcc/ada/casing.ads
../../gcc/gcc/ada/types.ads
../../gcc/gcc/ada/gnatvsn.ads
../../gcc/gcc/ada/rident.ads
../../gcc/gcc/ada/table.ads
../../gcc/gcc/ada/butil.ads
../../gcc/gcc/ada/debug.ads
../../gcc/gcc/ada/fname.ads
../../gcc/gcc/ada/namet.ads
../../gcc/gcc/ada/alloc.ads
../../gcc/gcc/ada/hostparm.ads
../../gcc/gcc/ada/opt.ads
../../gcc/gcc/ada/osint.ads
../../gcc/gcc/ada/output.ads
../../gcc/gcc/ada/table.adb
../../gcc/gcc/ada/tree_io.ads


raised TYPES.UNRECOVERABLE_ERROR : comperr.adb:393

This was with revision 120700.  Same error occurs under hpux.  Last
successful build was with 120606.


-- 
           Summary: Segmentation fault: Error detected at ali.adb:2240:1
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: danglin at gcc dot gnu dot org
 GCC build triplet: hppa*-*-*
  GCC host triplet: hppa*-*-*
GCC target triplet: hppa*-*-*


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


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

* [Bug ada/30453] Segmentation fault: Error detected at ali.adb:2240:1
  2007-01-12 23:48 [Bug ada/30453] New: Segmentation fault: Error detected at ali.adb:2240:1 danglin at gcc dot gnu dot org
@ 2007-01-12 23:56 ` danglin at gcc dot gnu dot org
  2007-01-13  0:01 ` [Bug middle-end/30453] [4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-01-12 23:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from danglin at gcc dot gnu dot org  2007-01-12 23:56 -------
Starting program: /home/dave/gnu/gcc-4.3/objdir/prev-gcc/gnat1 -I- -I. -Iada
-I../../gcc/gcc/ada -quiet -dumpbase ali.adb -O2 -g -gnatpg -gnata
../../gcc/gcc/ada/ali.adb -o xxx.s

Program received signal SIGSEGV, Segmentation fault.
0x00b0b368 in lookup_page_table_entry (p=0x75) at ../../gcc/gcc/ggc-page.c:605
605       return base[L1][L2];

(gdb) bt
#0  0x00b0b368 in lookup_page_table_entry (p=0x75)
    at ../../gcc/gcc/ggc-page.c:605
#1  0x00b0b174 in ggc_set_mark (p=0x75) at ../../gcc/gcc/ggc-page.c:1284
#2  0x0091cc50 in gt_ggc_mx_tree_ann_d (x_p=0x75) at gtype-desc.c:622
#3  0x000854c0 in gt_ggc_mx_lang_tree_node (x_p=0x40ca9690) at ./gtype-ada.h:41
#4  0x00087418 in gt_ggc_mx_lang_tree_node (x_p=0x40a20ae0)
    at ./gtype-ada.h:346
#5  0x00088000 in gt_ggc_mx_lang_decl (x_p=0x40a0ffd8) at ./gtype-ada.h:484
#6  0x000862a8 in gt_ggc_mx_lang_tree_node (x_p=0x40a07b58)
    at ./gtype-ada.h:175
#7  0x000876c4 in gt_ggc_mx_lang_tree_node (x_p=0x409cfe38)
    at ./gtype-ada.h:377
#8  0x00087a30 in gt_ggc_mx_lang_tree_node (x_p=0x40ca2480)
    at ./gtype-ada.h:413
#9  0x00087418 in gt_ggc_mx_lang_tree_node (x_p=0x40a11820)
    at ./gtype-ada.h:346
#10 0x00087418 in gt_ggc_mx_lang_tree_node (x_p=0x40a0a750)
    at ./gtype-ada.h:346
#11 0x00088000 in gt_ggc_mx_lang_decl (x_p=0x40a0f250) at ./gtype-ada.h:484
#12 0x000862a8 in gt_ggc_mx_lang_tree_node (x_p=0x40a077e8)
    at ./gtype-ada.h:175
#13 0x0091ae9c in gt_ggc_mx_int_tree_map (x_p=0x40c75590) at gtype-desc.c:98
#14 0x009204a8 in gt_ggc_m_P12int_tree_map4htab (x_p=0x40c59e40)
---Type <return> to continue, or q <return> to quit---
    at gtype-desc.c:1628
#15 0x0091be74 in gt_ggc_mx_gimple_df (x_p=0x40c6f0f8) at gtype-desc.c:414
#16 0x0091c774 in gt_ggc_mx_function (x_p=0x40a33000) at gtype-desc.c:562
#17 0x00086eb8 in gt_ggc_mx_lang_tree_node (x_p=0x4018fc40)
    at ./gtype-ada.h:282
#18 0x000861e8 in gt_ggc_mx_lang_tree_node (x_p=0x40a37058)
    at ./gtype-ada.h:169
#19 0x000870a4 in gt_ggc_mx_lang_tree_node (x_p=0x409d2600)
    at ./gtype-ada.h:307
#20 0x00086a70 in gt_ggc_mx_lang_tree_node (x_p=0x409d60d0)
    at ./gtype-ada.h:246
#21 0x000876c4 in gt_ggc_mx_lang_tree_node (x_p=0x409cf230)
    at ./gtype-ada.h:377
#22 0x00087a30 in gt_ggc_mx_lang_tree_node (x_p=0x40a92c90)
    at ./gtype-ada.h:413
#23 0x0091c64c in gt_ggc_mx_tree_statement_list_node (x_p=0x40a992b0)
    at gtype-desc.c:546
#24 0x000879ac in gt_ggc_mx_lang_tree_node (x_p=0x40a09378)
    at ./gtype-ada.h:407
#25 0x0091d0e4 in gt_ggc_mx_basic_block_def (x_p=0x40b6e360)
    at gtype-desc.c:714
#26 0x0091cd54 in gt_ggc_mx_tree_ann_d (x_p=0x40b6dd20) at gtype-desc.c:638
#27 0x000879f0 in gt_ggc_mx_lang_tree_node (x_p=0x40abd048)
---Type <return> to continue, or q <return> to quit---
    at ./gtype-ada.h:411
#28 0x0091b1dc in gt_ggc_mx_cgraph_edge (x_p=0x40ba1578) at gtype-desc.c:158
#29 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba1540) at gtype-desc.c:156
#30 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba1508) at gtype-desc.c:156
#31 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba14d0) at gtype-desc.c:156
#32 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba1498) at gtype-desc.c:156
#33 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba13b8) at gtype-desc.c:156
#34 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40b9dd20) at gtype-desc.c:156
#35 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40b9dbd0) at gtype-desc.c:156
#36 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40b9db98) at gtype-desc.c:156
#37 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40b92d90) at gtype-desc.c:156
#38 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba5230) at gtype-desc.c:156
#39 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba5188) at gtype-desc.c:156
#40 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40b94c40) at gtype-desc.c:156
#41 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40b94818) at gtype-desc.c:156
#42 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba59d8) at gtype-desc.c:156
#43 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba59a0) at gtype-desc.c:156
#44 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba5968) at gtype-desc.c:156
#45 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba58c0) at gtype-desc.c:156
#46 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba5888) at gtype-desc.c:156
#47 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba5850) at gtype-desc.c:156
#48 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba57a8) at gtype-desc.c:156
#49 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba5620) at gtype-desc.c:156
---Type <return> to continue, or q <return> to quit---
#50 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40ba53b8) at gtype-desc.c:156
#51 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40c51150) at gtype-desc.c:156
#52 0x0091b19c in gt_ggc_mx_cgraph_edge (x_p=0x40c51118) at gtype-desc.c:156
#53 0x0091b314 in gt_ggc_mx_cgraph_node (x_p=0x40b8e500) at gtype-desc.c:182
#54 0x00920d30 in gt_ggc_m_P11cgraph_node4htab (x_p=0x400066c0)
    at gtype-desc.c:1782
#55 0x00918aa0 in ggc_mark_roots () at ../../gcc/gcc/ggc-common.c:118
#56 0x00b0c870 in ggc_collect () at ../../gcc/gcc/ggc-page.c:1906
#57 0x00b108e8 in execute_todo (flags=535) at ../../gcc/gcc/passes.c:862
#58 0x00b10ea4 in execute_one_pass (pass=0x149a988)
    at ../../gcc/gcc/passes.c:973
#59 0x00b10f88 in execute_pass_list (pass=0x149a988)
    at ../../gcc/gcc/passes.c:999
#60 0x00b10fbc in execute_pass_list (pass=0xfea11c)
    at ../../gcc/gcc/passes.c:1000
#61 0x005998b4 in tree_rest_of_compilation (fndecl=0x40174460)
    at ../../gcc/gcc/tree-optimize.c:543
#62 0x0005fb2c in gnat_expand_body (gnu_decl=0x40174460)
    at ../../gcc/gcc/ada/misc.c:672
#63 0x00bad548 in cgraph_expand_function (node=0x40991000)
    at ../../gcc/gcc/cgraphunit.c:989
#64 0x00bad7e0 in cgraph_expand_all_functions ()
    at ../../gcc/gcc/cgraphunit.c:1052
---Type <return> to continue, or q <return> to quit---
#65 0x00bae0a0 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1255
#66 0x000848f0 in gnat_write_global_declarations ()
    at ../../gcc/gcc/ada/utils.c:3772
#67 0x00a7fa98 in compile_file () at ../../gcc/gcc/toplev.c:1040
#68 0x00a825b4 in do_compile () at ../../gcc/gcc/toplev.c:2091
#69 0x00a82660 in toplev_main (argc=15, argv=0xc06dd56c)
    at ../../gcc/gcc/toplev.c:2123
#70 0x00581748 in main (argc=15, argv=0xc06dd56c) at ../../gcc/gcc/main.c:35


-- 


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


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

* [Bug middle-end/30453] [4.3 Regression] Segmentation fault: Error detected at ali.adb:2240:1
  2007-01-12 23:48 [Bug ada/30453] New: Segmentation fault: Error detected at ali.adb:2240:1 danglin at gcc dot gnu dot org
  2007-01-12 23:56 ` [Bug ada/30453] " danglin at gcc dot gnu dot org
@ 2007-01-13  0:01 ` pinskia at gcc dot gnu dot org
  2007-06-29 17:50 ` mmitchel at gcc dot gnu dot org
  2007-07-21 16:44 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-13  0:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-13 00:00 -------
This is most likely the same issue as:
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01075.html

Why it only happens with Ada on ia64/hppa is a different question.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|ada                         |middle-end
           Keywords|                            |build, ice-on-valid-code
            Summary|Segmentation fault: Error   |[4.3 Regression]
                   |detected at ali.adb:2240:1  |Segmentation fault: Error
                   |                            |detected at ali.adb:2240:1
   Target Milestone|---                         |4.3.0


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


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

* [Bug middle-end/30453] [4.3 Regression] Segmentation fault: Error detected at ali.adb:2240:1
  2007-01-12 23:48 [Bug ada/30453] New: Segmentation fault: Error detected at ali.adb:2240:1 danglin at gcc dot gnu dot org
  2007-01-12 23:56 ` [Bug ada/30453] " danglin at gcc dot gnu dot org
  2007-01-13  0:01 ` [Bug middle-end/30453] [4.3 Regression] " pinskia at gcc dot gnu dot org
@ 2007-06-29 17:50 ` mmitchel at gcc dot gnu dot org
  2007-07-21 16:44 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-06-29 17:50 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P5


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


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

* [Bug middle-end/30453] [4.3 Regression] Segmentation fault: Error detected at ali.adb:2240:1
  2007-01-12 23:48 [Bug ada/30453] New: Segmentation fault: Error detected at ali.adb:2240:1 danglin at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-06-29 17:50 ` mmitchel at gcc dot gnu dot org
@ 2007-07-21 16:44 ` danglin at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: danglin at gcc dot gnu dot org @ 2007-07-21 16:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from danglin at gcc dot gnu dot org  2007-07-21 16:44 -------
This fault is no longer occurring on hppa*-*-*.  I think Jan addressed
this, so I'm closing. 


-- 

danglin at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2007-07-21 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-12 23:48 [Bug ada/30453] New: Segmentation fault: Error detected at ali.adb:2240:1 danglin at gcc dot gnu dot org
2007-01-12 23:56 ` [Bug ada/30453] " danglin at gcc dot gnu dot org
2007-01-13  0:01 ` [Bug middle-end/30453] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-06-29 17:50 ` mmitchel at gcc dot gnu dot org
2007-07-21 16:44 ` danglin 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).