<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Mon May 20 22:05:10 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-6395/MB-6395.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-6395] memcachedprocess does not start on windows 8/ windows 2012</title>
                <link>http://www.couchbase.com/issues/browse/MB-6395</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>reported by a user . dont have logs yet.</description>
                <environment></environment>
            <key id="19288">MB-6395</key>
            <summary>memcachedprocess does not start on windows 8/ windows 2012</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</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="thuan">Thuan Nguyen</assignee>
                                <reporter username="farshid">Farshid Ghods</reporter>
                        <labels>
                        <label>2.0-release-notes</label>
                        <label>windows</label>
                    </labels>
                <created>Wed, 22 Aug 2012 22:08:25 -0500</created>
                <updated>Mon, 13 May 2013 23:00:49 -0500</updated>
                    <resolved>Wed, 8 May 2013 11:48:48 -0500</resolved>
                            <version>2.0</version>
                <version>2.0.1</version>
                <version>2.0.2</version>
                                <fixVersion>2.0.2</fixVersion>
                                <component>couchbase-bucket</component>
                                <votes>3</votes>
                        <watches>11</watches>
                                                    <comments>
                    <comment id="36754" author="peter" created="Thu, 23 Aug 2012 15:44:08 -0500"  >This is a post 2.0 requirement.</comment>
                    <comment id="36850" author="farshid" created="Fri, 24 Aug 2012 16:22:22 -0500"  >Port server memcached on node &amp;#39;&lt;a href=&apos;mailto:ns_1@169.254.168.17&apos;&gt;ns_1@169.254.168.17&lt;/a&gt;&amp;#39; exited with status 255. Restarting. Messages: Check failed: false &amp;amp;&amp;amp; &amp;quot;Unable to patch because there is an unhandled branch &amp;quot; &amp;quot;instruction in the initial preamble bytes.&amp;quot;: false &amp;amp;&amp;amp; &amp;quot;Unable to patch because there is an unhandled branch &amp;quot; &amp;quot;instruction in the initial preamble bytes.&amp;quot;&lt;br/&gt;
&lt;br/&gt;
This application has requested the Runtime to terminate it in an unusual way.&lt;br/&gt;
Please contact the application&amp;#39;s support team for more information.</comment>
                    <comment id="36851" author="farshid" created="Fri, 24 Aug 2012 16:23:04 -0500"  >there is also some minor issue in the UI logs&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;#39;&lt;a href=&apos;mailto:ns_1@169.254.168.17&apos;&gt;ns_1@169.254.168.17&lt;/a&gt;&amp;#39; in 0.26s&lt;br/&gt;
&amp;nbsp;supervisor_cushion001 &lt;a href=&apos;mailto:ns_1@169.254.168.17&apos;&gt;ns_1@169.254.168.17&lt;/a&gt; 14:20:35 - Fri Aug 24, 2012  &lt;br/&gt;
&amp;nbsp;Client-side error-report for user &amp;quot;Administrator&amp;quot; on node &amp;#39;&lt;a href=&apos;mailto:ns_1@169.254.168.17&apos;&gt;ns_1@169.254.168.17&lt;/a&gt;&amp;#39;:&lt;br/&gt;
User-Agent:Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)&lt;br/&gt;
Got unhandled error: Object doesn&amp;#39;t support this action&lt;br/&gt;
At: &lt;a href=&quot;http://localhost:8091/js/cells.js:64&quot;&gt;http://localhost:8091/js/cells.js:64&lt;/a&gt;&lt;br/&gt;
Backtrace:&lt;br/&gt;
Function: collectBacktraceViaCaller&lt;br/&gt;
Args:&lt;br/&gt;
&lt;br/&gt;
---------&lt;br/&gt;
Function: appOnError&lt;br/&gt;
Args:&lt;br/&gt;
&amp;quot;Object doesn&amp;#39;t support this action&amp;quot;&lt;br/&gt;
&amp;quot;&lt;a href=&quot;http://localhost:8091/js/cells.js&quot;&gt;http://localhost:8091/js/cells.js&lt;/a&gt;&amp;quot;&lt;br/&gt;
64&lt;br/&gt;
30&lt;br/&gt;
---------&lt;br/&gt;
Function: (function () {throw e;})&lt;br/&gt;
Args:&lt;br/&gt;
&lt;br/&gt;
--------- &lt;br/&gt;
</comment>
                    <comment id="36852" author="karan" created="Fri, 24 Aug 2012 16:26:52 -0500"  >We would nede the browser logs attached here. </comment>
                    <comment id="40959" author="wundram" created="Wed, 10 Oct 2012 13:52:28 -0500"  >I managed to work around this.  The problem was with the tcmalloc library.  I replaced libtcmalloc_minimal-4.dll with a new dll with the same __tcmalloc export, and that resolved the issue.</comment>
                    <comment id="42190" author="Orfeas Zafeiris" created="Mon, 22 Oct 2012 11:00:00 -0500"  >For anyone interested this is a x64 version of a &amp;#39;wrapper&amp;#39; for libtcmalloc.&lt;br/&gt;
Just place it in your couchbase &amp;#39;bin&amp;#39; directory and restart the couchbase service.&lt;br/&gt;
&lt;br/&gt;
If anyone wants the x86 version feel free to ask.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.mediafire.com/?xc8nurnxjqr8klb&quot;&gt;http://www.mediafire.com/?xc8nurnxjqr8klb&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
PS: Thanks to Chris Wundram for the hint!</comment>
                    <comment id="43395" author="farshid" created="Tue, 6 Nov 2012 11:26:12 -0600"  >assinging this to myself so that as documentation for now so that we upload this file after getting permission from the owner and share this with users</comment>
                    <comment id="43988" author="sallgeud" created="Wed, 14 Nov 2012 12:28:56 -0600"  >&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7016&quot;&gt;http://www.couchbase.com/issues/browse/MB-7016&lt;/a&gt;</comment>
                    <comment id="44958" author="billrob458" created="Wed, 28 Nov 2012 14:42:45 -0600"  >Thanks Orfeas.  I pulled the wrapper and replaced the dll in my folder and don&amp;#39;t have the same constant failure errors.  Windows 8 Pro 64bit.</comment>
                    <comment id="45652" author="maestrocoder" created="Fri, 7 Dec 2012 13:54:38 -0600"  >I&amp;#39;m troubleshooting a similar problem.  I wrote code that runs fine on win7 64x but when I run on win8 64x I get this error &amp;quot;bucket count must be a power of 2!&amp;quot;.  where do I get this tcmalloc dll file?  and where do I put in on my machine?  maybe I missing something, but the above posts say this could be a fix for win8 issues, but for the tcmallow NOOB I have no idea what to do.  can you please share the basic info?</comment>
                    <comment id="45661" author="maestrocoder" created="Fri, 7 Dec 2012 17:23:25 -0600"  >please allow me to quickly answer my own post here...&lt;br/&gt;
&lt;br/&gt;
the 64x file to download is here:  &lt;a href=&quot;http://www.mediafire.com/?xc8nurnxjqr8klb&quot;&gt;http://www.mediafire.com/?xc8nurnxjqr8klb&lt;/a&gt; &lt;br/&gt;
&lt;br/&gt;
the file goes here:  Just place it in your couchbase &amp;#39;bin&amp;#39; directory and restart the couchbase service. &lt;br/&gt;
&lt;br/&gt;
I read too quickly in my hasty approach to continue coding.  :-)</comment>
                    <comment id="46450" author="ldsenow" created="Thu, 20 Dec 2012 17:49:59 -0600"  >Replace the libtcmalloc_minimal-4.dll worked for me in 2.0 beta version on Windows 8&lt;br/&gt;
after I have installed the 2.0 release version(tried both EE and CE), this trick does not make any difference. Now the service is started but I cant access to the Web console.&lt;br/&gt;
Any idea why or work around?</comment>
                    <comment id="53638" author="kzeller" created="Wed, 27 Mar 2013 15:29:18 -0500"  >removing documentation as component until we know confirm something should be documented....</comment>
                    <comment id="53661" author="sallgeud" created="Wed, 27 Mar 2013 16:10:06 -0500"  >The title of this bug needs to change to be &amp;quot;memcached does not start on Windows Server 2012 and Windows 8 because of bad tcmalloc binary&amp;quot;.  I don&amp;#39;t believe the proper attention is being given to this issue, given that people running a released version of a windows server have to perform a workaround.  The fix is unbelievably simple and still works on 2008r2, etc.</comment>
                    <comment id="53728" author="siri" created="Thu, 28 Mar 2013 00:55:52 -0500"  >Windows 2012 is not yet supported, and so there&amp;#39;s no proper binary. &lt;br/&gt;
However, Windows 2012 support is a priority item for upcoming 2.0.2 release. &lt;br/&gt;
I&amp;#39;ll also link an early build here as soon as it is available in the next few weeks.</comment>
                    <comment id="53900" author="maria" created="Mon, 1 Apr 2013 17:17:35 -0500"  >per bug scrub: we&amp;#39;ll continue to track win2012 for 2.0.2 release until the code freeze date but won&amp;#39;t be a blocker for shipping 2.0.2. windows 8, however, will be a blocker though for the 2.0.2 release.</comment>
                    <comment id="55202" author="maria" created="Tue, 16 Apr 2013 13:31:52 -0500"  >siri still working on this.</comment>
                    <comment id="55905" author="siri" created="Tue, 23 Apr 2013 12:04:52 -0500"  >Yes, definitely for 2.0.2 -- Win 2012 and Win 8. Production worthiness depends on how much testing QE does.&lt;br/&gt;
</comment>
                    <comment id="56563" author="maria" created="Mon, 29 Apr 2013 20:59:12 -0500"  >per bug mtg, we will not be supporting win8/win2012 for 2.0.2. &lt;br/&gt;
deferring to 2.1.</comment>
                    <comment id="57261" author="alkondratenko" created="Mon, 6 May 2013 13:51:06 -0500"  >Nailed. Expect tcmalloc patches attached here soon</comment>
                    <comment id="57277" author="alkondratenko" created="Mon, 6 May 2013 15:04:07 -0500"  >tcmalloc patches above are fixing this issue. They are rebased against our fork of tcmalloc.&lt;br/&gt;
</comment>
                    <comment id="57278" author="alkondratenko" created="Mon, 6 May 2013 15:05:44 -0500"  >Folks who need working dll right now can grab libtcmalloc_minimal-4.dll that&amp;#39;s attached. It&amp;#39;s x86-64 .dll that&amp;#39;s built from upstream tcmalloc with earlier versions of attached patches applied.</comment>
                    <comment id="57279" author="alkondratenko" created="Mon, 6 May 2013 15:07:32 -0500"  >Unaware that we&amp;#39;ve decide to move this out of 2.0.2 I spent some time on Friday and today and I believe fix this issue.&lt;br/&gt;
&lt;br/&gt;
Please allow this for 2.0.2.&lt;br/&gt;
&lt;br/&gt;
In case of positive decision I&amp;#39;d like this reassigned to Bin because he handles our fork of tcmalloc. So that he can grab my patches, apply and push to our repository.</comment>
                    <comment id="57444" author="alkondratenko" created="Tue, 7 May 2013 13:50:46 -0500"  >Assigned back to Maria in case assignment to Mike is some accident.&lt;br/&gt;
&lt;br/&gt;
In case you really wanted to assign to Mike, please explain why.  I see no reason for this.</comment>
                    <comment id="57458" author="mikew" created="Tue, 7 May 2013 15:31:09 -0500"  >Alk,&lt;br/&gt;
&lt;br/&gt;
Maria and Yassen just want me to look at the changes you have and if all looks good I would assign this to bin to get the changes merged into the 2.0.2 code base. Please add me to review when you have a chance.</comment>
                    <comment id="57459" author="mikew" created="Tue, 7 May 2013 15:51:23 -0500"  >I just reviewed Alk&amp;#39;s changes. They require specific knowledge of visual studio and how code is compiled on windows. They look ok to me, but I lack context in that area so I&amp;#39;m not the best person to ask. Alk seems to have run all of the tests too so I think it makes sense to move forward with more extensive testing.</comment>
                    <comment id="57473" author="alkondratenko" created="Tue, 7 May 2013 17:30:53 -0500"  >This stuff is merged upstream now btw</comment>
                    <comment id="57474" author="mikew" created="Tue, 7 May 2013 17:36:02 -0500"  >Bin,&lt;br/&gt;
&lt;br/&gt;
Please merge the following 2 changes from 3/7 which are on alk&amp;#39;s github.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/alk/gperftools/commits/wip-win-patching&quot;&gt;https://github.com/alk/gperftools/commits/wip-win-patching&lt;/a&gt;</comment>
                    <comment id="57475" author="alkondratenko" created="Tue, 7 May 2013 17:37:18 -0500"  >No best place is to grab them from attachments here. Attachments are specifically rebased on top of our version of tcmalloc</comment>
                    <comment id="57551" author="bcui" created="Wed, 8 May 2013 11:48:37 -0500"  >It is merged to couchbase/gperftools&lt;br/&gt;
&lt;br/&gt;
commit 44a584d1de8c89addfb4f1d0522bdbbbed83ba48&lt;br/&gt;
Author: Aliaksey Kandratsenka &amp;lt;&lt;a href=&apos;mailto:alkondratenko@gmail.com&apos;&gt;alkondratenko@gmail.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Date:   Tue May 7 17:22:42 2013 -0700&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;issue-511: implemented rel8 jump patching&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I&amp;#39;ve found that Visual Studio 2012 release 32-bit C runtime library&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;patching fails because array new has rel8 jmp which previous code&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;could not handle.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Implementation is largely copied from conditional jumps handling code.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Apparently Windows Server 2012 (and presumably windows 8) now has this&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;form of iat jump. Which is quite useless (rex.w in according to my&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;understanding is not needed at all) but because of rex.w our code to&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;recognize jumps like that didn&amp;#39;t work.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Fix is just skip this prefix.</comment>
                    <comment id="57772" author="anil" created="Thu, 9 May 2013 20:53:51 -0500"  >maria, can you assign this bug to QE who is going to test this. </comment>
                    <comment id="58144" author="maria" created="Mon, 13 May 2013 23:00:49 -0500"  >Tony, pls verify / close in win8/2k12.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="20419">MB-7016</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="17263" name="0001-issue-511-implemented-rel8-jump-patching.patch" size="4954" author="alkondratenko" created="Mon, 6 May 2013 15:04:07 -0500" />
                    <attachment id="17264" name="0002-issue-511-recognise-rex.w-jmpq-literal-rip-as-iat-ju.patch" size="2068" author="alkondratenko" created="Mon, 6 May 2013 15:04:07 -0500" />
                    <attachment id="17265" name="libtcmalloc_minimal-4.dll" size="1807125" author="alkondratenko" created="Mon, 6 May 2013 15:05:44 -0500" />
                    <attachment id="14585" name="ns-diag-20120824144333.zip" size="325898" author="farshid" created="Fri, 24 Aug 2012 16:44:27 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 23 Aug 2012 15:44:08 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2822</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>