[quickjs-devel] Re: Segmentation fault

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

It is another example that cyclic module references are difficult to handle properly !

Best regards,

Fabrice.

On 06/28/2020 03:35 AM, Alex Protasenko wrote:

Hello,

Getting core dumped when running the following example (version 2020-04-12):

$ qjs -m ./a.js
Segmentation fault (core dumped)


Files are as follows:

./a.js:

export * from "./b.js";
export * from "./c.js";

./b.js:

import * as a from "./a.js";

./c.js:

export function c() {}


Thanks

Alex




Other related posts: