ish-app / ish-app/ish

Libheif - Illegal Instruction

Open
#1,067 2 comments 0 reactions 0 assignees View on GitHub
emulator
Dominant language
C
Stars
20.5k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

Libheif, an opensource library and a collection of tools for working with HEIC files, crashes with Illegal Instruction. To install it in iSH, run `apk add libheif-dev`. This one would be great to have working in iSH, because there are very few alternatives (i.e. HEIC files are still not natively supported by Safari, all Python libraries rely on libheif, etc.)

```
Jans-iPad-Pro:~# uname -a
Linux Jans-iPad-Pro 4.20.69-ish iSH 1.0.2 (79) Nov 11 2020 23:59:13 i686 Linux
Jans-iPad-Pro:~# heif-convert test.heic test.jpg
File contains 1 images
Illegal instruction
Jans-iPad-Pro:~# dmesg
19 stub syscall 375
19 illegal instruction at 0xf7e9ff2f: 0f 75 f6 66 0f 70 ff 00
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the crash in iSH by installing libheif-dev with apk and running heif-convert test.heic test.jpg. Use the provided uname and dmesg output as the starting evidence; done means the conversion no longer terminates with an illegal instruction.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
operating-systems
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.