<p>Hi Anuraj,</p>

<p>I saw your message in IRC:</p>

<blockquote>
<p>12:37 &lt; topology&gt; why do travis and my local system give different results for the mlpack test suite?</p>
</blockquote>

<p>Some tests have a random aspect, so it may be possible to get different results like that.  In the case of this PR, when I check the Travis output, it looks like there is a memory issue causing a segfault; often this will be a result of using some uninitialized pointer or something.  This may not occur on your local machine because the uninitialized value may just happen to be some value that does not cause a problem (like for instance, a pointer that is uninitialized has some chance of being NULL, which may not cause a crash).</p>

<p>Have you tried using valgrind to hunt down the source of the error?  Note that you can run just a single test with <code>mlpack_test -t FastMKSTest/FastMKSModelLinearTest</code>.</p>

<p>Hope this is helpful. :)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/799#issuecomment-256213167">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFIlfpW5JRNgZNz8mls3-xGy7iYldks5q3pe7gaJpZM4KPMkZ">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLlcGpxfsYJSabqdIsBLwIvoxtr9ks5q3pe7gaJpZM4KPMkZ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/799#issuecomment-256213167"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/mlpack/mlpack","title":"mlpack/mlpack","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/mlpack/mlpack"}},"updates":{"snippets":[{"icon":"PERSON","message":"@rcurtin in #799: Hi Anuraj,\r\n\r\nI saw your message in IRC:\r\n\r\n\u003e 12:37 \u003c topology\u003e why do travis and my local system give different results for the mlpack test suite?\r\n\r\nSome tests have a random aspect, so it may be possible to get different results like that.  In the case of this PR, when I check the Travis output, it looks like there is a memory issue causing a segfault; often this will be a result of using some uninitialized pointer or something.  This may not occur on your local machine because the uninitialized value may just happen to be some value that does not cause a problem (like for instance, a pointer that is uninitialized has some chance of being NULL, which may not cause a crash).\r\n\r\nHave you tried using valgrind to hunt down the source of the error?  Note that you can run just a single test with `mlpack_test -t FastMKSTest/FastMKSModelLinearTest`.\r\n\r\nHope this is helpful. :)"}],"action":{"name":"View Pull Request","url":"https://github.com/mlpack/mlpack/pull/799#issuecomment-256213167"}}}</script>