LuckSiege / LuckSiege/PictureSelector

拍照崩溃GL_OOM reserved vma failed, errno:22

Open
#2,492 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
13.6k
Forks
3.1k
PR merge metrics
No merged PRs in 30d

Description

## Current use version?
#### 当前使用的版本是多少?

```
implementation 'io.github.lucksiege:pictureselector:v3.10.6'
implementation 'io.github.lucksiege:compress:v3.10.6'
```

## Will this problem occur in demo?
#### Demo能否复现这问题?

```
可以复现
```

## Describe the problem or provide an error log?
#### 描述问题或提供错误log?

```
OPPO Find X ColorOS7.1(Android 10) 手机, 调用拍照功能, 大概20%的概率出现崩溃.
崩溃信息
GL_OOM reserved vma failed, errno:22
Unknown bits set in runtime_flags: 0x28000

```
截图如下
![FC41BAFDC451AFCC6D06685113B0A430](https://user-images.githubusercontent.com/19343587/191446718-44a0a7e2-4f9b-4494-b763-55e7a37d58c2.png)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash through the demo's photo-taking flow on an OPPO Find X running ColorOS 7.1 and Android 10, using the reported PictureSelector and compress versions. Investigate the provided GL_OOM reserved vma failed log; done means identifying whether the library can prevent or properly handle this camera crash.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.