<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 16 jan 2013, at 19:15, Björn-Egil Dahlberg <<a 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><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 href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-bugs<br><br><br></blockquote><br>_______________________________________________<br>erlang-bugs mailing list<br><a href="mailto:erlang-bugs@erlang.org">erlang-bugs@erlang.org</a><br>http://erlang.org/mailman/listinfo/erlang-bugs<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></body></html>