<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Promise</title><link>https://blog.ast.moe/en/tags/promise/</link><description>Recent posts: Gorimuchu</description><generator>Hugo</generator><item><title>I forgot to keep a Promise alive in Boa, which broke the malloc.</title><link>https://blog.ast.moe/en/blog/2026-09-10-4/</link><pubDate>Thu, 10 Sep 2026 20:37:07 +0900</pubDate><guid>https://blog.ast.moe/en/blog/2026-09-10-4/</guid><description>&lt;p&gt;While running Boa’s Test262, the test occasionally failed with exit code 134.&lt;/p&gt;
&lt;p&gt;The logs show the following errors:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;malloc(): unsorted double linked list corrupted
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;The issue is the “normal Test262 release run is aborted due to an allocator consistency error” (&lt;a href="https://github.com/ieee0824/omoikane/issues/638"&gt;issue #638&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;At first, I assumed some recent change was corrupting memory somewhere. However, because Test262 runs a large number of tests in parallel, the logs alone don’t reveal which specific test is causing the problem.&lt;/p&gt;</description></item></channel></rss>