<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi there is a problem with port_info it segfaults the erlang VM when two processes are executing it in parallel. We’ve been tracking this for the last two days and condensed the a crashing test down to this:</div><div class=""><br class=""></div><a href="https://gist.github.com/Licenser/41a7ffe5ca52f57a169c" class="">https://gist.github.com/Licenser/41a7ffe5ca52f57a169c</a><div class=""><br class=""></div><div class="">Ryan has some crash dumps:</div><div class=""><br class=""></div><div class=""><div id="msg_1426081533_001225" class=" avatar message show_user divider" data-ts="1426081533.001225" aria-labelledby="msg_1426081533_001225_label" style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: transparent; position: relative; word-wrap: break-word; clear: both; -webkit-user-select: text; padding: 0px 2rem 0.1rem 3rem; font-family: Lato, sans-serif; font-size: 15px; line-height: 22px; color: rgb(61, 60, 64); margin-top: 0.5rem;"><span class="message_content" style="box-sizing: border-box; display: block; min-height: 1rem; margin-top: -1px;"><pre class="special_formatting" style="box-sizing: border-box; padding: 0.5rem; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 0.75rem; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0.5rem; margin-bottom: 0.2rem; line-height: 1.15rem; word-break: normal; word-wrap: break-word; white-space: pre-wrap; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902);">fffffd7ff6406670 collect_heap_frags.isra.7+0x90()<br style="box-sizing: border-box;" class="">fffffd7ff6406ba0 erts_garbage_collect+0x28f()<br style="box-sizing: border-box;" class="">fffffd7ff6406bd0 erts_gc_after_bif_call+0xa4()<br style="box-sizing: border-box;" class="">fffffd7ff6406f10 process_main+0x45da()<br style="box-sizing: border-box;" class="">fffffd7ff6406f70 sched_thread_func+0xef()<br style="box-sizing: border-box;" class="">fffffd7ff6406fb0 thr_wrapper+0x73()<br style="box-sizing: border-box;" class="">fffffd7ff6406fe0 libc.so.1`_thrp_setup+0x8a(fffffd7ffd2a5a40)<br style="box-sizing: border-box;" class="">fffffd7ff6406ff0 libc.so.1`_lwp_start()</pre></span></div><div class=""><div id="msg_1426081552_001226" class=" message avatar" data-ts="1426081552.001226" aria-labelledby="msg_1426081552_001226_label" style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: transparent; position: relative; word-wrap: break-word; clear: both; -webkit-user-select: text; padding: 0.25rem 2rem 0.1rem 3rem; font-family: Lato, sans-serif; font-size: 15px; line-height: 22px; color: rgb(61, 60, 64);"><span class="message_content" style="box-sizing: border-box; display: block; min-height: 1rem;"><pre class="special_formatting" style="box-sizing: border-box; padding: 0.5rem; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 0.75rem; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0.5rem; margin-bottom: 0.2rem; line-height: 1.15rem; word-break: normal; word-wrap: break-word; white-space: pre-wrap; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902);">fffffd7ff6207af0 copy_struct+0xb5()<br style="box-sizing: border-box;" class="">fffffd7ff6207ba0 erts_port_info+0x292()<br style="box-sizing: border-box;" class="">fffffd7ff6207bd0 erts_internal_port_info_1+0xeb()<br style="box-sizing: border-box;" class="">fffffd7ff6207f10 process_main+0x45a9()<br style="box-sizing: border-box;" class="">fffffd7ff6207f70 sched_thread_func+0xef()<br style="box-sizing: border-box;" class="">fffffd7ff6207fb0 thr_wrapper+0x73()<br style="box-sizing: border-box;" class="">fffffd7ff6207fe0 libc.so.1`_thrp_setup+0x8a(fffffd7ffd2a6240)<br style="box-sizing: border-box;" class="">fffffd7ff6207ff0 libc.so.1`_lwp_start()</pre></span></div></div><div class=""><div id="msg_1426081578_001227" class=" message avatar" data-ts="1426081578.001227" aria-labelledby="msg_1426081578_001227_label" style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: transparent; position: relative; word-wrap: break-word; clear: both; -webkit-user-select: text; padding: 0.25rem 2rem 0.1rem 3rem; font-family: Lato, sans-serif; font-size: 15px; line-height: 22px; color: rgb(61, 60, 64);"><span class="message_content" style="box-sizing: border-box; display: block; min-height: 1rem;"><pre class="special_formatting" style="box-sizing: border-box; padding: 0.5rem; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 0.75rem; color: rgb(51, 51, 51); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; margin-top: 0.5rem; margin-bottom: 0.2rem; line-height: 1.15rem; word-break: normal; word-wrap: break-word; white-space: pre-wrap; background-color: rgb(251, 250, 248); border: 1px solid rgba(0, 0, 0, 0.14902);">fffffd7ff73fe670 sweep_one_area+0x58()<br style="box-sizing: border-box;" class="">fffffd7ff73feba0 erts_garbage_collect+0x985()<br style="box-sizing: border-box;" class="">fffffd7ff73febd0 erts_gc_after_bif_call+0xa4()<br style="box-sizing: border-box;" class="">fffffd7ff73fef10 process_main+0x45da()<br style="box-sizing: border-box;" class="">fffffd7ff73fef70 sched_thread_func+0xef()<br style="box-sizing: border-box;" class="">fffffd7ff73fefb0 thr_wrapper+0x73()<br style="box-sizing: border-box;" class="">fffffd7ff73fefe0 libc.so.1`_thrp_setup+0x8a(fffffd7ffd2a1a40)<br style="box-sizing: border-box;" class="">fffffd7ff73feff0 libc.so.1`_lwp_start()<br style="box-sizing: border-box;" class=""><span class="copyonly" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; height: 0px; background-size: 0px; text-indent: -9999px; font-size: 0px; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">```</span></pre></span></div><div id="msg_1426081615_001228" class=" message avatar" data-ts="1426081615.001228" aria-labelledby="msg_1426081615_001228_label" style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: transparent; position: relative; word-wrap: break-word; clear: both; -webkit-user-select: text; padding: 0.25rem 2rem 0.1rem 3rem; font-family: Lato, sans-serif; font-size: 15px; line-height: 22px; color: rgb(61, 60, 64);"><span class="message_star_holder" style="box-sizing: border-box; position: absolute; top: 3px; left: 22px; padding: 0px 0.25rem;"><span data-msg-id="1426081615.001228" data-c-id="C03D9RDUD" class="fa fa-star star_message star" style="box-sizing: border-box; display: inline-block; line-height: 1; font-family: FontAwesome; font-size: 0.8rem; text-rendering: auto; -webkit-font-smoothing: antialiased; cursor: pointer; color: rgb(186, 187, 191); visibility: hidden;"></span></span><i class="copy_only" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; height: 0px; background-size: 0px; text-indent: -9999px; font-size: 0px; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;"><br style="box-sizing: border-box;" class=""></i><i class="copy_only" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; height: 0px; background-size: 0px; text-indent: -9999px; font-size: 0px; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;"><a href="https://lucera.slack.com/team/rzezeski" target="/team/rzezeski" class="member color_U039VHSJ3 message_sender" data-member-id="U039VHSJ3" style="box-sizing: border-box; color: rgb(61, 60, 64) !important; text-decoration: none; word-break: break-word; font-weight: 900; padding-right: 0.25rem; margin-left: 0px; font-style: normal;">rzezeski</a><i class="copy_only" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; height: 0px; background-size: 0px; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;"></i></i><i class="copy_only" style="box-sizing: border-box; display: inline-block; vertical-align: baseline; height: 0px; background-size: 0px; text-indent: -9999px; font-size: 0px; float: left; text-rendering: auto; -webkit-user-select: none; background-repeat: no-repeat no-repeat;">[14:46]</i></div></div><div class=""><br class=""></div><div class="">this produces a segfault instantly after running arg:run(2) tested with:</div><div class=""><br class=""></div><div class="">R16B02 (SmartOS)</div><div class="">R16B03 (OS X)</div><div class="">R17B03 (by Darach)</div><div class=""><br class=""><div apple-content-edited="true" class="">
<div class="">---</div><div class="">Cheers,</div><div class="">Heinz Nikolaus Gies</div><div class=""><a href="mailto:heinz@licenser.net" class="">heinz@licenser.net</a></div><div class=""><br class=""></div><br class="Apple-interchange-newline">
</div>
<br class=""></div></div></body></html>