<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:41:31 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-35935] unittest/unittest_test StackTraceForAssertion failed</title>
                <link>https://jira.mongodb.org/browse/SERVER-35935</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;unittest/unittest_test fails in MongoDB 4.0 - output is attached.&lt;/p&gt;

&lt;p&gt;Or is something special needed to be able to print stacktrace properly?&lt;/p&gt;</description>
                <environment>GCC 8.1.1 compiler, glibc 2.27.9000&lt;br/&gt;
same result on all supported architectures, </environment>
        <key id="566641">SERVER-35935</key>
            <summary>unittest/unittest_test StackTraceForAssertion failed</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="13202">Works as Designed</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="mskalick">Marek Skalick&#253;</reporter>
                        <labels>
                    </labels>
                <created>Mon, 2 Jul 2018 14:50:29 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:41 +0000</updated>
                            <resolved>Mon, 30 Jul 2018 14:40:00 +0000</resolved>
                                    <version>4.0.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1959832" author="mskalick" created="Mon, 30 Jul 2018 10:32:54 +0000"  >&lt;p&gt;Sure, you can close this issue.&lt;/p&gt;

&lt;p&gt;If I could somehow help with Fedora compile flags, please feel free to contact me.&lt;/p&gt;</comment>
                            <comment id="1950100" author="acm" created="Wed, 18 Jul 2018 14:17:28 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mskalick&quot; class=&quot;user-hover&quot; rel=&quot;mskalick&quot;&gt;mskalick&lt;/a&gt; - Some of those flags do look interesting. I&apos;ve filed &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36176&quot; title=&quot;Evaluate feasibility and impact of -fstack-clash-protection&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36176&quot;&gt;&lt;del&gt;SERVER-36176&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36177&quot; title=&quot;Evaluate feasibility and impact of adding _GLIBCXX_ASSERTIONS to our builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36177&quot;&gt;&lt;del&gt;SERVER-36177&lt;/del&gt;&lt;/a&gt;, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36178&quot; title=&quot;Evaluate adding -fasynchronous-unwind-tables to our build flags&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36178&quot;&gt;&lt;del&gt;SERVER-36178&lt;/del&gt;&lt;/a&gt; to propose that we make some of those the defaults in our builds as well. Is there anything more we can do for you in this ticket, or can we close it out?&lt;/p&gt;</comment>
                            <comment id="1945932" author="mskalick" created="Thu, 12 Jul 2018 18:57:27 +0000"  >&lt;p&gt;Thanks both of you for deep analysis. Removing &quot;-fvisibility=hidden&quot; fixed the unit test failure.&lt;/p&gt;

&lt;p&gt;I&apos;m sorry, but I don&apos;t know much about mentioned gcc flags - as it was noted, they are distribution default. They are described in &lt;a href=&quot;https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://developers.redhat.com/blog/2018/03/21/compiler-and-linker-flags-gcc/&lt;/a&gt; . I don&apos;t know about performance impact so I asked in &lt;a href=&quot;https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/WYREDEDXEE57GESAB3TTYDG6S5OIX4ZN/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this thread&lt;/a&gt;, so I hope some gcc person will reply.&lt;/p&gt;

&lt;p&gt;To note: I&apos;m going to have two week PTO. I&apos;ll return to this after it.&lt;/p&gt;</comment>
                            <comment id="1945891" author="mark.benvenuto" created="Thu, 12 Jul 2018 18:38:59 +0000"  >&lt;p&gt;Here is Fedora&apos;s discussion about their default options:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/WYREDEDXEE57GESAB3TTYDG6S5OIX4ZN/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/WYREDEDXEE57GESAB3TTYDG6S5OIX4ZN/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1941969" author="mark.benvenuto" created="Mon, 9 Jul 2018 15:30:16 +0000"  >&lt;p&gt;There are only 3 flags that are added in the spec file for MongoDB. The rest are system-wide RPM build defaults for Fedora.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://src.fedoraproject.org/rpms/mongodb/blob/master/f/mongodb.spec#_233-234&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://src.fedoraproject.org/rpms/mongodb/blob/master/f/mongodb.spec#_233-234&lt;/a&gt;&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;cat &amp;gt; variables.list &amp;lt;&amp;lt; EOF&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;CCFLAGS=&quot;$(echo %{?optflags} | sed -e &quot;s/-O. //&quot; -e &quot;s/-g //&quot;) -fvisibility=hidden&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;LINKFLAGS=&quot;%{?__global_ldflags} -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;VERBOSE=1&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;MONGO_VERSION=&quot;%{version}&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;VARIANT_DIR=&quot;fedora&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="1941866" author="acm" created="Mon, 9 Jul 2018 14:39:40 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mskalick&quot; class=&quot;user-hover&quot; rel=&quot;mskalick&quot;&gt;mskalick&lt;/a&gt; - Looking at that list of flags, there are several things that I think you either shouldn&apos;t do, or don&apos;t need to do, when building 4.0:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;tt&gt;-pipe&lt;/tt&gt; doesn&apos;t do anything useful on modern systems.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;-Wall&lt;/tt&gt; automatically included by the MongoDB build system.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;-Werror=...&lt;/tt&gt; &lt;tt&gt;-Werror&lt;/tt&gt; is automatically included by the MongoDB build system.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;_FORTIFY_SOURCE=2&lt;/tt&gt; is automatically added by the MongoDB build system unless &lt;tt&gt;--runtime-hardening=off&lt;/tt&gt; is passed to SCons.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;&amp;#45;fstack-protector-strong&lt;/tt&gt; is automatically added by the MongoDB build system unless &lt;tt&gt;--runtime-hardening=off&lt;/tt&gt; is passed to SCons.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;&amp;#45;Wl,&amp;#45;z,relro&lt;/tt&gt; is automatically added by the MongoDB build system unless &lt;tt&gt;--runtime-hardening=off&lt;/tt&gt; is passed to SCons.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;&amp;#45;Wl,&amp;#45;z,now&lt;/tt&gt; is automatically added by the MongoDB build system.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;&amp;#45;Wl,&amp;#45;z,noexecstack&lt;/tt&gt; is automatically added by the MongoDB build system, as is &lt;tt&gt;&amp;#45;Wl,&amp;#45;-warn-execstack&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;-m64&lt;/tt&gt; should be unnecessary unless you are doing a cross build of some sort.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I don&apos;t know what is in those various hardening scripts, so hard to say what they do. I am somewhat interested in whether you think we should be applying these flags for our hardened builds. Do you have some guidance on the runtime costs?&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;tt&gt;-fstack-clash-protection&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;-D_GLIBCXX_ASSERTIONS&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;-fcf-protection&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;m also curious about why you are applying &lt;tt&gt;-fexceptions&lt;/tt&gt; and &lt;tt&gt;-fasynchronous-unwind-tables&lt;/tt&gt;. The first seems unnecessary for a C++ project, and the second seems potentially interesting, if you have some context on why it is applied.&lt;/p&gt;

</comment>
                            <comment id="1939526" author="mark.benvenuto" created="Thu, 5 Jul 2018 16:00:01 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mskalick&quot; class=&quot;user-hover&quot; rel=&quot;mskalick&quot;&gt;mskalick&lt;/a&gt; The problem is the &quot;&lt;tt&gt;-fvisibility=hidden&lt;/tt&gt;&quot; flag which was introduced in this &lt;a href=&quot;https://src.fedoraproject.org/rpms/mongodb/c/3f9950dca96798ba108a52c530642bb566a007fb?branch=master&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;commit&lt;/a&gt;. If you remove this flag, the unittest will pass. Removing this flag will be beneficial since MongoDB automatically prints stack traces which allows us to often quickly troubleshoot many issues before loading crash dumps in the debugger.&lt;/p&gt;</comment>
                            <comment id="1938490" author="mark.benvenuto" created="Tue, 3 Jul 2018 23:11:48 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mskalick&quot; class=&quot;user-hover&quot; rel=&quot;mskalick&quot;&gt;mskalick&lt;/a&gt; Using Koji, I grabbed a &lt;a href=&quot;https://koji.fedoraproject.org/koji/buildinfo?buildID=1099201&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;4.0 build&lt;/a&gt;, and examined how it was compiling.&lt;/p&gt;

&lt;p&gt;Here is the variables I found in the Koji logs:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;CCFLAGS=&quot;-pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fvisibility=hidden&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;LINKFLAGS=&quot;-Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,noexecstack -Wl,--reduce-memory-overheads,--no-keep-memory&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;VERBOSE=1&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;MONGO_VERSION=&quot;4.0.0&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;VARIANT_DIR=&quot;fedora&quot;&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;I found that both MongoDB 4.0 on Fedora 28 with gcc-8.1.1-1.fc28 and binutils-2.29.1-23.fc28 and the official mongodb-3.6.3-1.fc28 package both fail to print mongod function names when I send SIGTERM to mongod. This means that one or more of these flags is causing &lt;a href=&quot;https://github.com/mongodb/mongo/blob/r4.0.0/src/mongo/util/stacktrace_posix.cpp#L187&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;dladdr&lt;/a&gt; to not find the function name. It will take me some time to isolate the problematic flag.&lt;/p&gt;</comment>
                            <comment id="1937943" author="acm" created="Tue, 3 Jul 2018 16:23:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mskalick&quot; class=&quot;user-hover&quot; rel=&quot;mskalick&quot;&gt;mskalick&lt;/a&gt; - We don&apos;t do anything particular to achieve that, usually. We hard code that we link with &lt;tt&gt;-rdynamic&lt;/tt&gt; in the top level Sconstruct (look for &lt;tt&gt;env.Append(LINKFLAGS=&lt;span class=&quot;error&quot;&gt;&amp;#91;&amp;#39;-rdynamic&amp;#39;&amp;#93;&lt;/span&gt;)&lt;/tt&gt;) to ensure that the backtracer is able to find symbols. I&apos;m not aware of any other options. If you downgrade to GCC 7, does this test pass on that same system?&lt;/p&gt;</comment>
                            <comment id="1937536" author="mskalick" created="Tue, 3 Jul 2018 06:36:57 +0000"  >&lt;blockquote&gt;&lt;p&gt;The exception happens because the backtrace code cannot resolve the names of almost any symbols in the unittest binary.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;And what compiler or whatever options are needed to get resolvable names of symbols?&lt;/p&gt;</comment>
                            <comment id="1936626" author="mark.benvenuto" created="Mon, 2 Jul 2018 15:29:07 +0000"  >&lt;p&gt;The exception message is: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Expected to find &quot;printStackTrace&quot; (printStackTrace) in stacktrace&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;The exception happens because the backtrace code cannot resolve the names of almost any symbols in the &lt;tt&gt;unittest&lt;/tt&gt; binary.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="547164">CDRIVER-2658</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="190979" name="unittest_test.log" size="31798" author="mskalick" created="Mon, 2 Jul 2018 14:46:10 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>11.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 2 Jul 2018 15:29:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 28 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 28 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>mskalick</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu1t4v:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;$ cat build-options &lt;br/&gt;
 -j4 --use-system-pcre --use-system-boost --use-system-snappy --use-system-valgrind --use-system-zlib --use-system-stemmer --use-system-tcmalloc --use-system-yaml --mmapv1=on --wiredtiger=on --ssl --nostrip --disable-warnings-as-errors --variables-files=variables.list&lt;/p&gt;

&lt;p&gt;$ scons $(cat build-options) build/fedora/mongo/unittest/unittest_test --opt=off&lt;/p&gt;</customfieldvalue>

                        </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|hu1fe7:</customfieldvalue>

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