<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2013-01-16 19:18, Tony Rogvall
wrote:<br>
</div>
<blockquote
cite="mid:792B5828-1D85-4215-A144-6A07269007BB@rogvall.se"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<br>
<div>
<div>On 16 jan 2013, at 19:15, Björn-Egil Dahlberg <<a
moz-do-not-send="true" href="mailto:egil@erlang.org">egil@erlang.org</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">On 2013-01-14 15:00, Tony Rogvall wrote:<br>
<blockquote type="cite">While designing a system_info debug
tool I found this:<br>
<br>
<br>
7> erlang:system_info(stop_memory_trace).<br>
../include/internal/ethr_mutex.h:655: Fatal error in
ethr_mutex_lock(): Invalid argument (22)<br>
Abort trap: 6<br>
</blockquote>
This was one of Rickards pet project and I suspect that the
memory tracer hasn't been subject to major updates since
launch of smp.<br>
<br>
It is not used, not documented, and not rigorously tested. The
memory tracer should be removed IMHO (, or otherwise
corrected). Rickard, opinions?<br>
<br>
</blockquote>
I just picked all system_info I could find :-)</div>
<div><br>
<blockquote type="cite">I first recalled, incorrectly, that this
was an opt-in configurable tracer, but I see now that isn't
the case. Does this break through testcases or plain usage?<br>
<br>
</blockquote>
Plain usage. Just call it.</div>
<div>(Have only tried on the config below)</div>
</blockquote>
Right, tried on linux first, was ok.<br>
Then tried on Darwin Kernel Version 11.4.2 and .. yep, sadness. =(<br>
<blockquote
cite="mid:792B5828-1D85-4215-A144-6A07269007BB@rogvall.se"
type="cite">
<div>/Tony</div>
<div><br>
<blockquote type="cite">// Björn-Egil<br>
<br>
<blockquote type="cite"><br>
Erlang R15B03 (erts-5.9.3) [source] [64-bit] [smp:2:2]
[async-threads:0] [hipe] [kernel-poll:false]<br>
<br>
uname -a<br>
Darwin p13.local 12.2.0 Darwin Kernel Version 12.2.0: Sat
Aug 25 00:48:52 PDT 2012;
root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64<br>
<br>
/Tony<br>
<br>
<br>
<br>
_______________________________________________<br>
erlang-bugs mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
<br>
<br>
</blockquote>
<br>
_______________________________________________<br>
erlang-bugs mailing list<br>
<a moz-do-not-send="true" href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-bugs">http://erlang.org/mailman/listinfo/erlang-bugs</a><br>
</blockquote>
</div>
<br>
<div>
<span class="Apple-style-span" style="border-collapse: separate;
color: rgb(0, 0, 0); font-family: Helvetica; font-style:
normal; font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-align: -webkit-auto; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">
<div><span class="Apple-style-span" style="color: rgb(51, 51,
51); font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px; ">"Installing applications can lead to
corruption over time. </span><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px; ">Applications gradually write over each
other's libraries, partial upgrades occur, user and system
errors happen, and minute changes may be unnoticeable and
difficult to fix"</span></div>
<div><span class="Apple-style-span" style="color: rgb(51, 51,
51); font-family: Geneva, Arial, Helvetica, sans-serif;
font-size: 12px; "><br>
</span></div>
</span><br class="Apple-interchange-newline">
</div>
<br>
</blockquote>
<br>
</body>
</html>