<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
Hi Sam,<br>
<br>
This is indeed a bug. <br>
We will create an internal patch for this.<br>
<br>
Thank you for reporting it!<br>
<br>
Regards,<br>
Gustav Simonsson<br>
Erlang/OTP team<br>
<br>
On 2012-07-02 04:06, Sam Bobroff wrote:
<blockquote
cite="mid:CAJ_Ok8WbuEdjJz1LSJBRz+0N5J6JJT5cQfB_2VC+r+o8EsYc-g@mail.gmail.com"
type="cite">Hi All,
<div><br>
</div>
<div>After upgrading to R15B01, one of my gen_servers began
crashing during start up with {error, timeout_value}. The server
is started via gen_server:enter_loop and is globally registerd
using a name of this form {global, server_name}.</div>
<div><br>
</div>
<div>The reason seems to be these lines in gen_server.erl, which
look like a cut-and-paste error:</div>
<div><br>
</div>
<div>
<div>enter_loop(Mod, Options, State, ServerName = {Scope, _})</div>
<div> when Scope == local; Scope == local -></div>
<div> enter_loop(Mod, Options, State, ServerName, infinity);</div>
</div>
<div><br>
</div>
<div>Should one of the guards be testing for global?</div>
<div><br>
</div>
<div>(I assume enter_loop isn't heavily used!)</div>
<div>
<br>
</div>
<div>Cheers,</div>
<div>Sam.</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>