← Back to team overview

touch-packages team mailing list archive

[Bug 1449281] Re: system_error default_error_condition segfaults

 

can't see this in 14.04 LTS. the version you mention is a version from a
PPA. I'll try to update that in the ubuntu-toolchain-r PPA, but usually
we don't track PPA issues for the distro packages.


** Changed in: gcc-4.8 (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1449281

Title:
  system_error default_error_condition segfaults

Status in gcc-4.8 package in Ubuntu:
  Won't Fix

Bug description:
  When querying the default_error_condition().value() of an
  std::error_code, I receive a segmentation fault.

  This only occurs if the version of libstdc++6 .21.  It works fine in
  .20 and .19.

  Attached is an two-line example program that shows the segmentation
  fault in .21.

  Compile with:
  g++ -std=c++11 error_category.cpp

  GDB gives the following output:
  Program received signal SIGSEGV, Segmentation fault.
  0x001a0efb in std::error_category::equivalent(int, std::error_condition
  const&) const ()
     from /usr/lib/i386-linux-gnu/libstdc++.so.6

  My Ubuntu version is:
  $ cat /etc/issue
  Ubuntu 12.04.5 LTS \n \l

  My g++ version is:
  g++ --version
  g++ (Ubuntu 4.8.1-2ubuntu1~12.04) 4.8.1
  Copyright (C) 2013 Free Software Foundation, Inc.
  This is free software; see the source for copying conditions.  There is NO
  warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  ldconfig says I'm linking to the following libstdc++ library:
  $ ldconfig -p | grep stdc++
          libstdc++.so.6 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
          libstdc++.so.6 (libc6) => /usr/lib/i386-linux-gnu/libstdc++.so.6
          libstdc++.so.6 (libc6) => /usr/lib32/libstdc++.so.6
  $ ls -l /usr/lib/i386-linux-gnu/libstdc++.so.6
  lrwxrwxrwx 1 root root 19 Apr 24 13:58 /usr/lib/i386-linux-gnu/libstdc++.so.6 -> libstdc++.so.6.0.21

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


References