public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/42355]  New: Segmentation fault
@ 2009-12-12  1:34 peter_foelsche at agilent dot com
  2009-12-12  1:35 ` [Bug c++/42355] " peter_foelsche at agilent dot com
                   ` (12 more replies)
  0 siblings, 13 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2009-12-12  1:34 UTC (permalink / raw)
  To: gcc-bugs

I don't think I can provide the source code.
But maybe the debug output already provides some hints.
This is using boost 1_39


-- 
           Summary: Segmentation fault
           Product: gcc
           Version: 4.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peter_foelsche at agilent dot com


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
@ 2009-12-12  1:35 ` peter_foelsche at agilent dot com
  2009-12-12  1:36 ` peter_foelsche at agilent dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2009-12-12  1:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from peter_foelsche at agilent dot com  2009-12-12 01:34 -------
Created an attachment (id=19280)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19280&action=view)
console output of the compiler


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
  2009-12-12  1:35 ` [Bug c++/42355] " peter_foelsche at agilent dot com
@ 2009-12-12  1:36 ` peter_foelsche at agilent dot com
  2009-12-12  1:38 ` peter_foelsche at agilent dot com
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2009-12-12  1:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from peter_foelsche at agilent dot com  2009-12-12 01:36 -------
maybe on Monday I can create an instance like described of the offending
classes


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
  2009-12-12  1:35 ` [Bug c++/42355] " peter_foelsche at agilent dot com
  2009-12-12  1:36 ` peter_foelsche at agilent dot com
@ 2009-12-12  1:38 ` peter_foelsche at agilent dot com
  2009-12-12  1:40 ` peter_foelsche at agilent dot com
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2009-12-12  1:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from peter_foelsche at agilent dot com  2009-12-12 01:37 -------
the compiler takes more than 10GB of RAM.
There is 40GB of RAM available.


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (2 preceding siblings ...)
  2009-12-12  1:38 ` peter_foelsche at agilent dot com
@ 2009-12-12  1:40 ` peter_foelsche at agilent dot com
  2009-12-13 15:04 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2009-12-12  1:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from peter_foelsche at agilent dot com  2009-12-12 01:40 -------
the same happens with boost 1_40


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (3 preceding siblings ...)
  2009-12-12  1:40 ` peter_foelsche at agilent dot com
@ 2009-12-13 15:04 ` rguenth at gcc dot gnu dot org
  2009-12-15 20:59 ` peter_foelsche at agilent dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-12-13 15:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from rguenth at gcc dot gnu dot org  2009-12-13 15:04 -------
Please update to 4.4.2 at least.  Without a testcase we can't do anything
here.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (4 preceding siblings ...)
  2009-12-13 15:04 ` rguenth at gcc dot gnu dot org
@ 2009-12-15 20:59 ` peter_foelsche at agilent dot com
  2009-12-26 14:05 ` paolo dot carlini at oracle dot com
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2009-12-15 20:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from peter_foelsche at agilent dot com  2009-12-15 20:58 -------
Created an attachment (id=19313)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19313&action=view)
tmp.cpp

g++ -c tmp.cpp -I ~/boost_1_40_0 -g

-g is important


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (5 preceding siblings ...)
  2009-12-15 20:59 ` peter_foelsche at agilent dot com
@ 2009-12-26 14:05 ` paolo dot carlini at oracle dot com
  2009-12-26 14:06 ` paolo dot carlini at oracle dot com
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-26 14:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from paolo dot carlini at oracle dot com  2009-12-26 14:04 -------
Please provide a self-contained .ii, see:

  http://gcc.gnu.org/bugs/#report



-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (6 preceding siblings ...)
  2009-12-26 14:05 ` paolo dot carlini at oracle dot com
@ 2009-12-26 14:06 ` paolo dot carlini at oracle dot com
  2010-01-04 18:12 ` peter_foelsche at agilent dot com
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-26 14:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from paolo dot carlini at oracle dot com  2009-12-26 14:06 -------
Also, please do your best to minimize it, see:

  http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (7 preceding siblings ...)
  2009-12-26 14:06 ` paolo dot carlini at oracle dot com
@ 2010-01-04 18:12 ` peter_foelsche at agilent dot com
  2010-01-04 19:39 ` [Bug debug/42355] " rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2010-01-04 18:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from peter_foelsche at agilent dot com  2010-01-04 18:12 -------
Created an attachment (id=19464)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19464&action=view)
tmp.ii


-- 


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


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

* [Bug debug/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (8 preceding siblings ...)
  2010-01-04 18:12 ` peter_foelsche at agilent dot com
@ 2010-01-04 19:39 ` rguenth at gcc dot gnu dot org
  2010-01-04 19:45 ` [Bug c++/42355] " rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-04 19:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from rguenth at gcc dot gnu dot org  2010-01-04 19:39 -------
Please also provide output of g++ -v.  If you manage to compile this
successfully then the output of -ftime-report will also be interesting.

Confirmed with -g (-g0 is very fast and lean).  G++ 4.1 doesn't want to
grok the testcase.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
          Component|c++                         |debug
     Ever Confirmed|0                           |1
      Known to fail|                            |4.2.4 4.3.4 4.4.2 4.5.0
   Last reconfirmed|0000-00-00 00:00:00         |2010-01-04 19:39:44
               date|                            |


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (9 preceding siblings ...)
  2010-01-04 19:39 ` [Bug debug/42355] " rguenth at gcc dot gnu dot org
@ 2010-01-04 19:45 ` rguenth at gcc dot gnu dot org
  2010-01-04 20:00 ` peter_foelsche at agilent dot com
  2010-01-08 21:37 ` peter_foelsche at agilent dot com
  12 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-01-04 19:45 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from rguenth at gcc dot gnu dot org  2010-01-04 19:45 -------
A random backtrace from where we take endless time and memory:

#0  0x00000000007b8a46 in pp_c_type_qualifier_list (pp=0x18b6280, 
    t=0x7ffff56b8dc8)
    at /space/rguenther/src/svn/trunk/gcc/c-pretty-print.c:245
#1  0x00000000006174be in dump_aggr_type (t=0x7ffff56b8dc8, flags=4100)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:560
#2  0x00000000006161a2 in dump_type (t=0x7ffff56b8dc8, flags=4100)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:384
#3  0x0000000000614a83 in dump_template_argument (arg=0x7ffff56b8dc8, 
    flags=4100) at /space/rguenther/src/svn/trunk/gcc/cp/error.c:152
#4  0x0000000000620afd in dump_template_parms (info=0x7ffff59b80e0, primary=0, 
    flags=4100) at /space/rguenther/src/svn/trunk/gcc/cp/error.c:1513
#5  0x0000000000618acf in dump_aggr_type (t=0x7ffff59bcbd0, flags=4100)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:622
#6  0x00000000006161a2 in dump_type (t=0x7ffff59bcbd0, flags=4100)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:384
...
#88 0x0000000000620afd in dump_template_parms (info=0x7ffff1f7f4a0, primary=0, 
    flags=4100) at /space/rguenther/src/svn/trunk/gcc/cp/error.c:1513
#89 0x0000000000618acf in dump_aggr_type (t=0x7ffff1f922a0, flags=4100)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:622
#90 0x00000000006161a2 in dump_type (t=0x7ffff1f922a0, flags=6148)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:384
#91 0x000000000061a447 in dump_decl (t=0x7ffff1f88cf0, flags=6148)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:909
#92 0x0000000000626eb5 in decl_as_string (decl=0x7ffff1f88cf0, flags=6148)
    at /space/rguenther/src/svn/trunk/gcc/cp/error.c:2357
#93 0x000000000049fdec in cxx_dwarf_name (t=0x7ffff1f88cf0, verbosity=2)
    at /space/rguenther/src/svn/trunk/gcc/cp/cp-lang.c:144
#94 0x00000000008d4e36 in type_tag (type=0x7ffff1f922a0)
    at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:16764
#95 0x00000000008db989 in gen_struct_or_union_type_die (type=0x7ffff1f922a0, 
    context_die=0x7ffff5694528, usage=DINFO_USAGE_DIR_USE)
    at /space/rguenther/src/svn/trunk/gcc/dwarf2out.c:18618


I guess these are _very_ long names (why again don't we output them
in mangled form?).  C++ component again.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|debug                       |c++
           Keywords|                            |compile-time-hog, memory-hog


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (10 preceding siblings ...)
  2010-01-04 19:45 ` [Bug c++/42355] " rguenth at gcc dot gnu dot org
@ 2010-01-04 20:00 ` peter_foelsche at agilent dot com
  2010-01-08 21:37 ` peter_foelsche at agilent dot com
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2010-01-04 20:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from peter_foelsche at agilent dot com  2010-01-04 20:00 -------
(In reply to comment #10)
> Please also provide output of g++ -v.  If you manage to compile this
> successfully then the output of -ftime-report will also be interesting.
> Confirmed with -g (-g0 is very fast and lean).  G++ 4.1 doesn't want to
> grok the testcase.

Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/users/pfoelsch
--with-mpfr=/users/pfoelsch --with-gmp=/users/pfoelsch
Thread model: posix
gcc version 4.4.2 (GCC) 


-- 


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


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

* [Bug c++/42355] Segmentation fault
  2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
                   ` (11 preceding siblings ...)
  2010-01-04 20:00 ` peter_foelsche at agilent dot com
@ 2010-01-08 21:37 ` peter_foelsche at agilent dot com
  12 siblings, 0 replies; 15+ messages in thread
From: peter_foelsche at agilent dot com @ 2010-01-08 21:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from peter_foelsche at agilent dot com  2010-01-08 21:37 -------
boost::mpl::sort seems to be known to be a memory hog.
Also on other platforms.
I replaced this with other code.


-- 

peter_foelsche at agilent dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |minor


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


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

* [Bug c++/42355] Segmentation fault
       [not found] <bug-42355-4@http.gcc.gnu.org/bugzilla/>
@ 2021-12-10  6:58 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-10  6:58 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42355

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2010-01-04 19:39:44         |2021-12-9
      Known to fail|                            |

--- Comment #14 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Interesting clang is able to compile this reasonably but GCC and ICC have a
hard time.

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

end of thread, other threads:[~2021-12-10  6:58 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-12  1:34 [Bug c++/42355] New: Segmentation fault peter_foelsche at agilent dot com
2009-12-12  1:35 ` [Bug c++/42355] " peter_foelsche at agilent dot com
2009-12-12  1:36 ` peter_foelsche at agilent dot com
2009-12-12  1:38 ` peter_foelsche at agilent dot com
2009-12-12  1:40 ` peter_foelsche at agilent dot com
2009-12-13 15:04 ` rguenth at gcc dot gnu dot org
2009-12-15 20:59 ` peter_foelsche at agilent dot com
2009-12-26 14:05 ` paolo dot carlini at oracle dot com
2009-12-26 14:06 ` paolo dot carlini at oracle dot com
2010-01-04 18:12 ` peter_foelsche at agilent dot com
2010-01-04 19:39 ` [Bug debug/42355] " rguenth at gcc dot gnu dot org
2010-01-04 19:45 ` [Bug c++/42355] " rguenth at gcc dot gnu dot org
2010-01-04 20:00 ` peter_foelsche at agilent dot com
2010-01-08 21:37 ` peter_foelsche at agilent dot com
     [not found] <bug-42355-4@http.gcc.gnu.org/bugzilla/>
2021-12-10  6:58 ` pinskia at gcc dot gnu.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).