多并发(线程)调用AndroidDemo,crash
Open
- Dominant language
- C++
- Stars
- 4k
- Forks
- 592
- PR merge metrics
- No merged PRs in 30d
Description
我目前在测试官方提供的Demo,就是将MainActivity改成了两个线程调用,但是发现一直crash,通过测试定位到,是模型的切词函数出错,应该是底层C++的问题,请问你们有没有发现这个问题,有什么解决的建议吗?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the crash by changing MainActivity to call the official AndroidDemo from two threads. Then inspect the model's tokenization function and its underlying C++ path. Done means identifying the concurrency failure and confirming a reliable resolution with the two-thread test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, cpp
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100