[quickjs-devel] Re: JS_FreeRuntime: Assertion `list_empty(&rt->gc_obj_list)' failed.

  • From: Fabrice Bellard <fabrice@xxxxxxxxxxx>
  • To: quickjs-devel@xxxxxxxxxxxxx
  • Date: Mon, 29 Jun 2020 20:11:10 +0200

Hi,

Thank you for the bug report. It will be fixed in the next release.

Best regards,

Fabrice.

On 06/28/2020 09:32 PM, Yongheng Chen wrote:

Hi,

We found an assertion failed in the latest release of QuickJs.

Here’s the POC:

```

(function() {

function a() { JSON.parse(Array("[]", a)) }

return { a }

})().a()

```

CMDline: `qjs ./poc.js`.

Git hash: 32d72d477be79f2325d1e8aae24693af611bc896

Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



Other related posts: