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

iOS加载只有一帧的gif图片,会crash #205

Closed
lizhaolin09 opened this issue Aug 7, 2024 · 6 comments
Closed

iOS加载只有一帧的gif图片,会crash #205

lizhaolin09 opened this issue Aug 7, 2024 · 6 comments
Labels

Comments

@lizhaolin09
Copy link

lizhaolin09 commented Aug 7, 2024

Describe the bug

iOS加载只有一帧的gif图片,会crash,demo可以复现。

Versions

  • sketch version*: v4.0.0-alpha05
  • Kotlin version*: 2.0.0
  • Compose version(s)*: 1.6.11
  • Running Devices (*) (Model, OS, CPU Architecture, JDK.):
    • iphone 11 pro max; iOS 17.5.1; arm64

Sample code

If possible, provide a small piece of code that reproduces the problem. If the code snippet is too
large to paste here, please link to a Gist, a GitHub repo, or any other public code repository.

Reproduction steps

将demo中的加载的gif替换成一张只有一帧的gif,运行之后crash

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

@lizhaolin09 lizhaolin09 added the bug label Aug 7, 2024
@panpf
Copy link
Owner

panpf commented Aug 7, 2024

请好好填写 bug 模板 🥲

@lizhaolin09
Copy link
Author

请好好填写 bug 模板 🥲

填了

@panpf
Copy link
Owner

panpf commented Aug 7, 2024

直接把你出问题的图片打个压缩包发出来

@lizhaolin09
Copy link
Author

FpRlL4zAdNpY_bHlURXrBuYBn-nF.gif.zip

直接把你出问题的图片打个压缩包发出来

@panpf
Copy link
Owner

panpf commented Aug 7, 2024

已复现,近期修复,你也可以自己修复然后 Pull Request
Reproduced, fixed soon, you can also fix it yourself and then pull request

panpf added a commit that referenced this issue Aug 15, 2024
@panpf
Copy link
Owner

panpf commented Aug 15, 2024

Fixed in version v4.0.0-alpha06

@panpf panpf closed this as completed Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants