Skip to content

Conversation

guanqun
Copy link
Contributor

@guanqun guanqun commented Sep 15, 2011

Demangle C++ symbols so that the output is human readable.

The original backtrace looks like this:

./perftest(_ZN5mongo12QueryPlanSetC1EPKcSt8auto_ptrINS_17FieldRangeSetPairEES5_RKNS_7BSONObjES8_bPKNS_11BSONElementEbS8_S8_bb+0x214) [0x8222fc4]

With the patch, the backtrace looks like:

./perftest(mongo::QueryPlanSet::QueryPlanSet(char const_, std::auto_ptrmongo::FieldRangeSetPair, std::auto_ptrmongo::FieldRangeSetPair, mongo::BSONObj const&, mongo::BSONObj const&, bool, mongo::BSONElement const_, bool, mongo::BSONObj const&, mongo::BSONObj const&, bool, bool)+0x214) [0x8223464]

References:
http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch39.html

Demangle C++ symbols so that the output is human readable.

The original backtrace looks like this:

 ./perftest(_ZN5mongo12QueryPlanSetC1EPKcSt8auto_ptrINS_17FieldRangeSetPairEES5_RKNS_7BSONObjES8_bPKNS_11BSONElementEbS8_S8_bb+0x214) [0x8222fc4]

With the patch, the backtrace looks like:

 ./perftest(mongo::QueryPlanSet::QueryPlanSet(char const*, std::auto_ptr<mongo::FieldRangeSetPair>, std::auto_ptr<mongo::FieldRangeSetPair>, mongo::BSONObj const&, mongo::BSONObj const&, bool, mongo::BSONElement const*, bool, mongo::BSONObj const&, mongo::BSONObj const&, bool, bool)+0x214) [0x8223464]

References:
 http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch39.html
@kangas
Copy link
Contributor

kangas commented Dec 16, 2013

Related attempts: https://jira.mongodb.org/browse/SERVER-9586 and #419. Closing as "works as designed"

@kangas kangas closed this Dec 16, 2013
patrickfreed pushed a commit that referenced this pull request Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants