[Bug 1439451] Re: std::uncaught_exception() returns true after catching an exception thrown with std::rethrow_exception

Steve Langasek steve.langasek at canonical.com
Tue Nov 24 19:04:20 UTC 2015


Hello Chris, or anyone else affected,

Accepted gccgo-4.9 into trusty-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/gccgo-4.9/4.9.3-0ubuntu4 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Tags added: verification-needed

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

Title:
  std::uncaught_exception() returns true after catching an exception
  thrown with std::rethrow_exception

Status in gcc:
  Confirmed
Status in gcc-4.9 package in Ubuntu:
  Fix Released

Bug description:
  See attached testcase.

  On debugging, it seems that std::rethrow_exception isn't incrementing
  __cxa_get_globals()->uncaughtExceptions, so when the exception is
  caught it's decremented from 0 to MAXINT.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: libstdc++6 4.9.2-10ubuntu12
  ProcVersionSignature: Ubuntu 3.19.0-10.10-generic 3.19.2
  Uname: Linux 3.19.0-10-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Apr  2 10:50:37 2015
  Dependencies:
   gcc-4.9-base 4.9.2-10ubuntu12
   gcc-5-base 5-20150328-0ubuntu2
   libc6 2.21-0ubuntu4
   libgcc1 1:5-20150328-0ubuntu2
   multiarch-support 2.21-0ubuntu4
  InstallationDate: Installed on 2013-08-06 (603 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  SourcePackage: gcc-4.9
  UpgradeStatus: Upgraded to vivid on 2013-08-06 (603 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1439451/+subscriptions



More information about the foundations-bugs mailing list