Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reload 或者 load 复杂的页面 几次 就会崩掉,而且内存不降 #35

Closed
1 task done
zjt123 opened this issue Aug 26, 2022 · 6 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@zjt123
Copy link
Contributor

zjt123 commented Aug 26, 2022

Affected version

main

No same issues found.

  • Yes, I search all issues but not found.

Steps to Reproduce

F/libc (15661): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 15830 (1.ui), pid 15661 (flutter_example)


Build fingerprint: 'Xiaomi/cepheus/cepheus:10/QKQ1.190825.002/V12.0.6.0.QFACNXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2022-08-26 20:17:46+0800
pid: 15661, tid: 15830, name: 1.ui >>> com.example <<<
uid: 10829
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
Cause: null pointer dereference
x0 0000007894ebe200 x1 00000076e24b1af8 x2 ffffffffffffffff x3 0000000000000005
x4 00000000000001ac x5 000000783c9de0b1 x6 000000000000000a x7 000000000000000a
x8 0000000000000000 x9 0000000000000000 x10 0000007815ad2374 x11 0000000000000000
x12 66206120746f6e20 x13 0a6e6f6974636e75 x14 000000000000006f x15 0000000000000000
x16 0000007815b61380 x17 0000007815ad2340 x18 00000078337da000 x19 0000007894ebe200
x20 0000007894ebe298 x21 000000783c663e00 x22 ffffffffffffffff x23 00000076e24b1af0
x24 000000783c99a6e0 x25 ffffffffffffffff x26 0000007833aca020 x27 000000000000f890
x28 0000000400000077 x29 0000007833ac9020
sp 0000007833ac9020 lr 00000078158ab638 pc 0000007815ad238c
backtrace:
#00 pc 000000000004c38c /data/app/com.example-gZbO2tAf4PcMf5hqsFvJiQ==/lib/arm64/libquickjs.so (__JS_FreeValueRT+76) (BuildId: 35b47a52a8e61f4f004d5ce83902cc1972e703c4)
#1 pc 0000000000095634 /data/app/com.example-gZbO2tAf4PcMf5hqsFvJiQ==/lib/arm64/libkraken.so (kraken::binding::qjs::handleInvokeModuleTransientCallback(void*, int, char const*, NativeString*)+768) (BuildId: 4698670a131d19019f67c2ca11703614453ceb83)
#2 pc 0000000000006db4 [anon:dart-codespace]

Code example

搞几个复杂的场景看看

Expected results

..

Actual results

..

@zjt123 zjt123 added the bug Something isn't working label Aug 26, 2022
@zhangstar666
Copy link

有没有具体的代码,或者发一个demo。

@andycall
Copy link
Member

目前 bridge 正在重构,之前的旧代码已经不再维护,可以下个版本再看一下

@zjt123
Copy link
Contributor Author

zjt123 commented Aug 29, 2022

目前 bridge 正在重构,之前的旧代码已经不再维护,可以下个版本再看一下

下一版本预计什么时候、或者什么时候会提交到主分支?

@zjt123
Copy link
Contributor Author

zjt123 commented Aug 29, 2022

有没有具体的代码,或者发一个demo。

你随便搞一下就可以了 。多reload或者load几次内存也不会降下去的

@andycall
Copy link
Member

andycall commented Nov 9, 2022

@zjt123 现在 main 分支还会有问题吗?

@zjt123
Copy link
Contributor Author

zjt123 commented Nov 23, 2022

@zjt123 现在 main 分支还会有问题吗?

列表(图片文本)不停的请求加载更多数据内存一直增加

9484d409b0acbb25872514489c4c8f2

looseyi pushed a commit that referenced this issue May 29, 2024
[feat][qjs]: upgrade qjs version to 1.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants