[Bug 1439451] Re: std::uncaught_exception() returns true after catching an exception thrown with std::rethrow_exception
Chris Halse Rogers
chris at cooperteam.net
Thu Apr 2 01:28:47 UTC 2015
Patch at https://gcc.gnu.org/ml/gcc-patches/2015-02/msg00027.html fixes
this.
** Bug watch added: GCC Bugzilla #62258
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258
** Also affects: gcc via
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62258
Importance: Unknown
Status: Unknown
--
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 The GNU Compiler Collection:
Unknown
Status in gcc-4.9 package in Ubuntu:
New
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