Bug 997564 - libstdc++ bad_exception::what() symbol wrong in so
Summary: libstdc++ bad_exception::what() symbol wrong in so
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: libstdc++so7
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matt Newsome
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-15 15:44 UTC by Jon Robison
Modified: 2013-08-15 19:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-15 19:22:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jon Robison 2013-08-15 15:44:09 UTC
Description of problem:
'readelf -s /usr/lib/libstdc++.so.6.0.18 | grep bad_exception4wha' curiously returns _ZNKSt13bad_exception4wha@@GLIBCXX_3.4.9. It should return _ZNKSt13bad_exception4whatEv (note the last three characters are cut off), which c++filt can then resolve as std::bad_exception::what() const

Version-Release number of selected component (if applicable):
Fedora 19, libstdc++-4.8.1-1.fc19.x86_64 (and 32 bit)

How reproducible:
Always

Steps to Reproduce:
1.readelf -s /usr/lib/libstdc++.so.6.0.18 | grep bad_exception4wha
2.Run c++filt on that string and note how it doesn't resolve correctly
3.Run c++filt on what it should be _ZNKSt13bad_exception4whatEv and note it resolves correctly

Actual results:
Fail to resolve correctly

Expected results:
Step 1 would include the missing "tEv", then resulting in step 2 resolving the correct name

Additional info:
If one tries to build certain libraries, this symbol may be included. Then you have a problem at runtime, not compile, which is intriguing.

Comment 1 Jon Robison 2013-08-15 19:22:03 UTC
Nevermind, readelf apparently ran out of space, I sanity checked with 'nm -D /usr/lib64/libstdc++.so.6 | grep bad_excep', then 'nm -DC /usr/lib64/libstdc++.so.6 | grep bad_exception::what' did resolve correctly.


Note You need to log in before you can comment on or make changes to this bug.