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

How does Android interrupt quickly while running fullTranscribe and free up memory #1079

Open
Mingkun-Lu opened this issue Jul 4, 2023 · 0 comments

Comments

@Mingkun-Lu
Copy link

I am now trying to break the loop by adding the cancel flag to the ggml_graph_compute() method, but there is now a probability of a crash
23-07-04 10:30:59.969 17367-18720 libc com..- A Fatal signal 11 (SIGSEGV), code 1, fault addr 0xfde80 in tid 18720 (pool-43-thread-)
2023-07-04 10:30:59.969 17367-18724 libc com..
- A Fatal signal 11 (SIGSEGV), code 1, fault addr 0x100d80 in tid 18724 (pool-43-thread-)
2023-07-04 10:30:59.969 17367-18722 libc com..- A Fatal signal 11 (SIGSEGV), code 1, fault addr 0xb1480 in tid 18722 (pool-43-thread-)
2023-07-04 10:31:00.138 18782-18782 DEBUG pid-18782 A pid: 17367, tid: 18720, name: pool-43-thread- >>> com..
- <<<
2023-07-04 10:31:00.153 18782-18782 DEBUG pid-18782 A #00 pc 00000000000e8180 /data/app/com.-/base.apk (offset 0xf7dd000)
2023-07-04 10:31:00.153 18782-18782 DEBUG pid-18782 A #1 pc 00000000000e7948 /data/app/com..
-/base.apk (offset 0xf7dd000)
2023-07-04 10:31:00.153 18782-18782 DEBUG pid-18782 A #2 pc 00000000000da8bc /data/app/com..-/base.apk (offset 0xf7dd000)
2023-07-04 10:31:00.153 18782-18782 DEBUG pid-18782 A #3 pc 00000000000d08e4 /data/app/com..
-/base.apk (offset 0xf7dd000)
2023-07-04 10:31:00.153 18782-18782 DEBUG pid-18782 A #4 pc 00000000000d0468 /data/app/com.f.*******-/base.apk (offset 0xf7dd000)

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x394fe0 in tid 23542 (pool-43-thread-)
2023-07-04 10:47:02.340 21753-21862 art com.frontrow.vlog I Explicit concurrent mark sweep GC freed 7518(328KB) AllocSpace objects, 1(260KB) LOS objects, 16% free, 78MB/94MB, paused 2.231ms total 232.353ms
2023-07-04 10:47:02.464 23577-23577 DEBUG pid-23577 A pid: 21753, tid: 23542, name: pool-43-thread- >>> com..- <<<
2023-07-04 10:47:02.480 23577-23577 DEBUG pid-23577 A #00 pc 00000000000edc28 /data/app/com.
-1/base.apk (offset 0x9dca000)
2023-07-04 10:47:02.480 23577-23577 DEBUG pid-23577 A #1 pc 00000000000db208 /data/app/com.-base.apk (offset 0x9dca000)
2023-07-04 10:47:02.480 23577-23577 DEBUG pid-23577 A #2 pc 00000000000d0b08 /data/app/com.
-/base.apk (offset 0x9dca000)
2023-07-04 10:47:02.481 23577-23577 DEBUG pid-23577 A #3 pc 00000000000d0468 /data/app/com.*******-/base.apk (offset 0x9dca000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant