Skip to content

Commit

Permalink
fix: assertion "p->ref_count > 0" failed` in parseJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
HarlonWang committed Feb 6, 2022
1 parent 6c93c85 commit c08a4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remarks.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
## 常见错误:
- fault addr 0x18 in tid 22363:一般是 JSValue 已经被 FreeValue,再次调用就会报这个错误

- list_empty(&rt->gc_obj_list)" failed:一般是使用的 JSValue 没有被 FreeValue 导致
- list_empty(&rt->gc_obj_list)" failed:一般是使用的 JSValue 没有被 FreeValue 导致,可以打开 `quickjs.c` 里的 `DUMP_LEAKS` 开关查看没有释放的泄漏对象

- TypeError: not a function" failed:一般是该 function 对象被释放后,再次调用的时候就会报这个错

Expand Down

0 comments on commit c08a4c8

Please sign in to comment.