[Bug 1019725] Re: tiny STL code sample segfaults cc1plus

Dave Gilbert ubuntu at treblig.org
Sun Jul 1 11:37:34 UTC 2012


Hi Graspee,
  Hey that's a good bug - thank you for reporting it!

Triaged: Trivially repeatable

I confirm this happens also on the gcc-4.6 package in QQ - 4.6.3-8ubuntu1
4.7 doesn't seg, but it's not happy (possibly a separate bug report?)

Dave

** Package changed: gcc-defaults (Ubuntu) => gcc-4.6 (Ubuntu)

** Changed in: gcc-4.6 (Ubuntu)
   Importance: Undecided => Medium

** Changed in: gcc-4.6 (Ubuntu)
       Status: New => Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1019725

Title:
  tiny STL code sample segfaults cc1plus

Status in “gcc-4.6” package in Ubuntu:
  Triaged

Bug description:
  g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3 (standard g++ package on 64
  bit pangolin)

  
  code:

  ---------------------------------------------------------------
  #include <deque>
  int main(){				
  			std::deque<int[2]> y;
  			y.push_back( {2,5} );
  }
  ---------------------------------------------------------------

  
   g++ -std=c++0x bug.cpp
  bug.cpp: In function ‘int main()’:
  bug.cpp:4:23: internal compiler error: Segmentation fault


  I'm sorry if this bug report doesn't follow your guidelines. Just
  delete it if you want. It seemed important though. I started reading
  through your bug submitting procedure but it was way too complicated
  and longwinded. So, take it or leave it.

  Ubuntu 12.04 LTS

   Installed: 4:4.6.3-1ubuntu5
    Candidate: 4:4.6.3-1ubuntu5
    Version table:
   *** 4:4.6.3-1ubuntu5 0
          500 http://gb.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

  
          100 /var/lib/dpkg/status

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: g++ 4:4.6.3-1ubuntu5
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Sun Jul  1 06:24:20 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  SourcePackage: gcc-defaults
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gcc-4.6/+bug/1019725/+subscriptions




More information about the foundations-bugs mailing list