<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sun May 19 02:08:17 CDT 2013

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 add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-4513/MB-4513.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-4513] ep-engine fails with assertion &#1077;rror during/right-after warmup</title>
                <link>http://www.couchbase.com/issues/browse/MB-4513</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Start couchbase server. 1 node is enough.&lt;br/&gt;
&lt;br/&gt;
Load few items. (2 was enough here).&lt;br/&gt;
&lt;br/&gt;
Stop it. Start it back.&lt;br/&gt;
&lt;br/&gt;
Observe how memcached will repeatedly crash.&lt;br/&gt;
&lt;br/&gt;
With the following in core dump:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Program terminated with signal 6, Aborted.&lt;br/&gt;
#0  0xf76f7430 in __kernel_vsyscall ()&lt;br/&gt;
(gdb) up&lt;br/&gt;
#1  0xf750b911 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64&lt;br/&gt;
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.&lt;br/&gt;
	in ../nptl/sysdeps/unix/sysv/linux/raise.c&lt;br/&gt;
(gdb) &lt;br/&gt;
#2  0xf750ed42 in *__GI_abort () at abort.c:92&lt;br/&gt;
92	abort.c: No such file or directory.&lt;br/&gt;
	in abort.c&lt;br/&gt;
(gdb) &lt;br/&gt;
#3  0xf7504b28 in *__GI___assert_fail (assertion=0xf3c5e49c &amp;quot;ht.cacheSize.get() &amp;lt; ((size_t)1&amp;lt;&amp;lt;(sizeof(size_t)*8-1))&amp;quot;, file=0xf3c5e3df &amp;quot;stored-value.cc&amp;quot;, line=377, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function=0xf3c5e6a0 &amp;quot;static void StoredValue::reduceCacheSize(HashTable&amp;amp;, size_t, bool)&amp;quot;) at assert.c:81&lt;br/&gt;
81	assert.c: No such file or directory.&lt;br/&gt;
	in assert.c&lt;br/&gt;
(gdb) &lt;br/&gt;
#4  0xf3afb4fd in StoredValue::reduceCacheSize (residentOnly=&amp;lt;optimized out&amp;gt;, by=&amp;lt;optimized out&amp;gt;, ht=&amp;lt;optimized out&amp;gt;) at stored-value.cc:377&lt;br/&gt;
377	        assert(ht.cacheSize.get() &amp;lt; GIGANTOR);&lt;br/&gt;
(gdb) &lt;br/&gt;
#5  0xf3b70e64 in StoredValue::reduceCacheSize (ht=..., by=91, residentOnly=false) at stored-value.cc:377&lt;br/&gt;
377	        assert(ht.cacheSize.get() &amp;lt; GIGANTOR);&lt;br/&gt;
(gdb) p ht.cacheSize.value&lt;br/&gt;
$1 = 4294967292&lt;br/&gt;
(gdb) p/x ht.cacheSize.value&lt;br/&gt;
$2 = 0xfffffffc&lt;br/&gt;
(gdb) &lt;br/&gt;
</description>
                <environment></environment>
            <key id="15668">MB-4513</key>
            <summary>ep-engine fails with assertion &#1077;rror during/right-after warmup</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mikew">Mike Wiederhold</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Dec 2011 07:28:36 -0600</created>
                <updated>Tue, 10 Apr 2012 21:03:20 -0500</updated>
                    <resolved>Sat, 10 Dec 2011 00:45:26 -0600</resolved>
                            <version>2.0-developer-preview-3</version>
                                                <component>couchbase-bucket</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="22915" author="trond" created="Wed, 7 Dec 2011 08:42:01 -0600"  >You&amp;#39;ve done some stuff around cache size lately? does this look familiar?</comment>
                    <comment id="22916" author="alkondratenko" created="Wed, 7 Dec 2011 08:43:36 -0600"  >BTW, I&amp;#39;ve tried rewinding ep-engine few commits (we made 1.8 merge recently) without success.</comment>
                    <comment id="22926" author="mikew" created="Wed, 7 Dec 2011 12:49:57 -0600"  >Yeah, I have been doing work in this area, but the big change I made hasn&amp;#39;t gotten into 1.8 yet. My plan is to merge it into 1.8.1 when we have more resources for QA since I don&amp;#39;t want to create issue like these.</comment>
                    <comment id="22943" author="keith" created="Thu, 8 Dec 2011 01:31:46 -0600"  >centos 5.4 64bit&lt;br/&gt;
r-384&lt;br/&gt;
1 node&lt;br/&gt;
&lt;br/&gt;
1) create default bucket 200M&lt;br/&gt;
2) load in 2 items&lt;br/&gt;
3) run &amp;quot;service couchbase-server restart&amp;quot;&lt;br/&gt;
4) watch the logs/processes to see memcached repeatedly failing&lt;br/&gt;
&lt;br/&gt;
its possible this only happens at low item counts. running with 100k and 10M items did not repro this, while 2 items repeatedly reproduced it&lt;br/&gt;
</comment>
                    <comment id="22978" author="dipti" created="Fri, 9 Dec 2011 21:32:11 -0600"  >Mike, is this merged? </comment>
                    <comment id="23310" author="thuan" created="Thu, 29 Dec 2011 18:01:19 -0600"  >Integrated in github-ep-engine-2-0 #131 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-2-0/131/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-2-0/131/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 7 Dec 2011 08:42:01 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>5933</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>