<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Well, you can never be entierly sure, but it fails in this line[1]
    and I don't really see that happening unless malloc returns NULL.<br>
    <br>
    Do you still have the core file? Could you do a "bt full"+"info
    registers"+"disassemble lcnt_thread_data_alloc" on the thread that
    fails?<br>
    <br>
    Lukas<br>
    <br>
       [1]:
<a class="moz-txt-link-freetext" href="https://github.com/erlang/otp/blob/bbfc75ea8795d26a2fe9254f3f646e761f2ad61e/erts/emulator/beam/erl_lock_count.c#L154">https://github.com/erlang/otp/blob/bbfc75ea8795d26a2fe9254f3f646e761f2ad61e/erts/emulator/beam/erl_lock_count.c#L154</a><br>
    <div class="moz-cite-prefix">On 04/08/14 16:02, Louis-Philippe
      Gauthier wrote:<br>
    </div>
    <blockquote
cite="mid:CAGvQrRjKuvZ4e3kOYrpbZqqgYyBQzC0rpZjoSGMNjh3D_Y5e3w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Are you sure? This happens on a system with 30+ GB
        of free memory...</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Aug 4, 2014 at 4:56 AM, Lukas
          Larsson <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:lukas@erlang.org" target="_blank">lukas@erlang.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
              <br>
              This happens when malloc returns NULL. I'll add a check so
              that there is a nicer error message, but there is not much
              we can do when there is no memory left.<br>
              <br>
              Lukas
              <div>
                <div class="h5"><br>
                  <div>On 25/07/14 17:49, Louis-Philippe Gauthier wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>Hi,</div>
                      <div>Looks like in some certain conditions I get a
                        segfault when starting the VM when compiled with
                        lock counter.</div>
                      <div><br>
                      </div>
                      <div><a moz-do-not-send="true"
                          href="https://gist.github.com/lpgauth/27e66f7a2104d8b5af74"
                          target="_blank">https://gist.github.com/lpgauth/27e66f7a2104d8b5af74</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>LP</div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
erlang-bugs mailing list
<a moz-do-not-send="true" href="mailto:erlang-bugs@erlang.org" target="_blank">erlang-bugs@erlang.org</a>
<a moz-do-not-send="true" href="http://erlang.org/mailman/listinfo/erlang-bugs" target="_blank">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
erlang-bugs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>