<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:22:53 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-10331] Mongodb SEGFAULTS with a null pointer</title>
                <link>https://jira.mongodb.org/browse/SERVER-10331</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am trying to use pulp, which a program that manages package repositories, and uses mongodb as a backend. However, it has been causing mongodb to segfault. &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=986070&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=986070&lt;/a&gt; &lt;a href=&quot;http://pastebin.com/VgfHZj0q&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://pastebin.com/VgfHZj0q&lt;/a&gt; (the file being piped in just contains &quot;db.queued_calls.drop();&quot; ). The second link in particular seems to point the finger at mongo.&lt;/p&gt;

&lt;p&gt;Pulp has a db purging call queued, and on its startup it segfaults mongodb, which itself complains about a null pointer, and what appears to a threading problem (as soon as anything thread but the first does anything it gets said null pointer)&lt;/p&gt;</description>
                <environment>Centos 6.2, pymongo-2.1.1-1, pulp-2.1.3-1</environment>
        <key id="83485">SERVER-10331</key>
            <summary>Mongodb SEGFAULTS with a null pointer</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="1" iconUrl="https://jira.mongodb.org/images/icons/priorities/blocker.svg">Blocker - P1</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="michael.grundy">Michael Grundy</assignee>
                                    <reporter username="jgreenleaf">Jim</reporter>
                        <labels>
                            <label>crash</label>
                    </labels>
                <created>Thu, 25 Jul 2013 14:22:08 +0000</created>
                <updated>Fri, 2 Aug 2013 00:53:48 +0000</updated>
                            <resolved>Thu, 25 Jul 2013 16:08:15 +0000</resolved>
                                    <version>2.2.3</version>
                                                    <component>Concurrency</component>
                    <component>Stability</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="388626" author="jgreenleaf" created="Thu, 25 Jul 2013 14:56:23 +0000"  >&lt;p&gt;Thanks for the help; its good to have confirmation that this is a known issue that was indeed fixed.&lt;/p&gt;</comment>
                            <comment id="388625" author="jgreenleaf" created="Thu, 25 Jul 2013 14:54:37 +0000"  >&lt;p&gt;Also, after opening this case I found this bug: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-9014&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-9014&lt;/a&gt;, of which this looks as though it may be a duplicate. &lt;/p&gt;

&lt;p&gt;I upgraded one of my servers to 2.4.5, and it hasnt segfaulted in the ~20 min since...&lt;/p&gt;</comment>
                            <comment id="388620" author="michael.grundy@10gen.com" created="Thu, 25 Jul 2013 14:51:07 +0000"  >&lt;p&gt;Hi Jim -&lt;/p&gt;

&lt;p&gt;Glad you found the pattern, that is fixed in 2.4.2, but we recommend you update to the latest, which is currently 2.4.5 and available at &lt;a href=&quot;http://downloads.mongodb.org&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://downloads.mongodb.org&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Mike&lt;/p&gt;</comment>
                            <comment id="388619" author="jgreenleaf" created="Thu, 25 Jul 2013 14:50:39 +0000"  >&lt;p&gt;Full log from a run of this&lt;/p&gt;</comment>
                            <comment id="388609" author="michael.grundy@10gen.com" created="Thu, 25 Jul 2013 14:41:08 +0000"  >&lt;p&gt;Could you post the complete mongod log from your test case? The backtrace looks like it is from the mongo shell, not mongod.&lt;/p&gt;

&lt;p&gt;Thanks!&lt;br/&gt;
Mike&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="68823">SERVER-9014</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="29210" name="mongodb.log.2013-07-24T15-22-37" size="14080" author="jgreenleaf" created="Thu, 25 Jul 2013 14:50:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 25 Jul 2013 14:41:08 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 29 weeks, 6 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 29 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jgreenleaf</customfieldvalue>
            <customfieldvalue>michael.grundy</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrmlnz:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>76313</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;ol&gt;
	&lt;li&gt;service mongod status&lt;br/&gt;
mongod dead but pid file exists&lt;/li&gt;
	&lt;li&gt;service mongod restart&lt;br/&gt;
Stopping mongod:                                           &lt;span class=&quot;error&quot;&gt;&amp;#91;FAILED&amp;#93;&lt;/span&gt;&lt;br/&gt;
Starting mongod:                                           [  OK  ]&lt;/li&gt;
	&lt;li&gt;service mongod status&lt;br/&gt;
mongod (pid  30930) is running...&lt;/li&gt;
	&lt;li&gt;pulp-manage-db&lt;br/&gt;
Beginning database migrations.&lt;br/&gt;
Migration package pulp.server.db.migrations is up to date at version 4&lt;br/&gt;
Migration package pulp_rpm.migrations is up to date at version 7&lt;br/&gt;
Database migrations complete.&lt;br/&gt;
Loading content types.&lt;br/&gt;
Content types loaded.&lt;/li&gt;
	&lt;li&gt;service httpd restart&lt;br/&gt;
Stopping httpd:                                            [  OK  ]&lt;br/&gt;
Starting httpd:                                            [  OK  ]&lt;/li&gt;
	&lt;li&gt;service mongod status&lt;br/&gt;
mongod dead but pid file exists&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;-------------------------------------&lt;br/&gt;
Method 2)&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;mongo pulp_database &amp;lt; echo &quot;db.queued_calls.drop();&quot;&lt;br/&gt;
MongoDB shell version: 2.2.3&lt;br/&gt;
connecting to: pulp_database&lt;br/&gt;
false&lt;br/&gt;
Wed Jul 24 10:25:24 mongo got signal 11 (Segmentation fault), stack trace:&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Wed Jul 24 10:25:24 0x59e416 0x47adbd 0x3a41032900&lt;br/&gt;
 mongo(_ZN5mongo15printStackTraceERSo+0x26) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x59e416&amp;#93;&lt;/span&gt;&lt;br/&gt;
 mongo(_Z12quitAbruptlyi+0x31d) &lt;span class=&quot;error&quot;&gt;&amp;#91;0x47adbd&amp;#93;&lt;/span&gt;&lt;br/&gt;
 /lib64/libc.so.6() &lt;span class=&quot;error&quot;&gt;&amp;#91;0x3a41032900&amp;#93;&lt;/span&gt;&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|hspe2n:</customfieldvalue>

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