<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:04:18 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-3870] improve the output of backtrace</title>
                <link>https://jira.mongodb.org/browse/SERVER-3870</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The output of backtrace is not friendly to read. e.g.&lt;br/&gt;
_ZN5mongo12QueryPlanSetC1EPKcSt8auto_ptrINS_17FieldRangeSetPairEES5_RKNS_7BSONObjES8_bPKNS_11BSONElementEbS8_S8_bb+0x214&lt;/p&gt;

&lt;p&gt;We should demangle this symbol automatically, so the output is human readable.&lt;/p&gt;</description>
                <environment>linux environment</environment>
        <key id="22382">SERVER-3870</key>
            <summary>improve the output of backtrace</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="guanqun">Guanqun Lu</reporter>
                        <labels>
                    </labels>
                <created>Thu, 15 Sep 2011 12:28:43 +0000</created>
                <updated>Wed, 10 Dec 2014 23:06:19 +0000</updated>
                            <resolved>Mon, 16 Dec 2013 06:01:48 +0000</resolved>
                                                                    <component>Internal Code</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="471037" author="matt.kangas@10gen.com" created="Mon, 16 Dec 2013 06:01:48 +0000"  >&lt;p&gt;Dup of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9586&quot; title=&quot;Demangle C++ names when printing stack trace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-9586&quot;&gt;&lt;del&gt;SERVER-9586&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="54636" author="guanqun" created="Fri, 16 Sep 2011 01:23:11 +0000"  >&lt;p&gt;Yes, this doesn&apos;t help release builds.&lt;/p&gt;

&lt;p&gt;The goal of this improvement is to help developers to grasp what&apos;s wrong in the first place without using c++filt or addr2line and other tools to analyse the output.&lt;/p&gt;</comment>
                            <comment id="54568" author="eliot" created="Thu, 15 Sep 2011 19:00:40 +0000"  >&lt;p&gt;Not sure this makes sense.&lt;br/&gt;
The release builds don&apos;t have debugging symbols, so won&apos;t help there.&lt;br/&gt;
Also, we want to have as little code in handlers as possible as they often execute after a segv, so we don&apos;t want to create more problems.&lt;br/&gt;
Will look into it though.&lt;/p&gt;</comment>
                            <comment id="54409" author="guanqun" created="Thu, 15 Sep 2011 12:30:43 +0000"  >&lt;p&gt;The pull request is here:&lt;br/&gt;
    &lt;a href=&quot;https://github.com/mongodb/mongo/pull/82&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/82&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The commit is here:&lt;br/&gt;
    &lt;a href=&quot;https://github.com/guanqun/mongo/commit/10b8eabc7fb9ed3288486cec24d7c6a26417cf64&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/guanqun/mongo/commit/10b8eabc7fb9ed3288486cec24d7c6a26417cf64&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Demangle C++ symbols so that the output is human readable.&lt;/p&gt;

&lt;p&gt;The original backtrace looks like this:&lt;br/&gt;
 ./perftest(_ZN5mongo12QueryPlanSetC1EPKcSt8auto_ptrINS_17FieldRangeSetPairEES5_RKNS_7BSONObjES8_bPKNS_11BSONElementEbS8_S8_bb+0x214) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8222fc4&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;With the patch, the backtrace looks like:&lt;/p&gt;

&lt;p&gt; ./perftest(mongo::QueryPlanSet::QueryPlanSet(char const*, std::auto_ptr&amp;lt;mongo::FieldRangeSetPair&amp;gt;, std::auto_ptr&amp;lt;mongo::FieldRangeSetPair&amp;gt;, mongo::BSONObj const&amp;amp;, mongo::BSONObj const&amp;amp;, bool, mongo::BSONElement const*, bool, mongo::BSONObj const&amp;amp;, mongo::BSONObj const&amp;amp;, bool, bool)+0x214) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x8223464&amp;#93;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;References:&lt;br/&gt;
 &lt;a href=&quot;http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch39.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch39.html&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 15 Sep 2011 19:00:40 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 9 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 9 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>guanqun</customfieldvalue>
            <customfieldvalue>matt.kangas</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrimvz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrg7vb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8180</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hszzbr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>