tauri-apps / tauri-apps/plugins-workspace
[upload] - Download crashes app on macOS
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 602
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 9
Description
Some files being downloaded crashes the application.
```
const zipUrl = `${system.filesystem_root}/${system.subdomain}/presentations/${presentation.id}/${presentation.id}.zip`;
download(
zipUrl,
`${props.appDataDirPath}/presentations/${presentation.id}.zip`,
(progress, total) => {
console.log(`Downloaded ${progress} of ${presentation.zip_size} bytes`)
}
)
.then(() => {})
.catch((error) => {});
```
I've attached the crash log. The only meaningful message I've got from it is `Code 5 Trace/BPT trap: 5` - which apparently according to google, means incompatibility with Apple Silicon.
I don't have an issue with the file or fs as I can download majority of the files. It's only some that causes the crash. I don't really know how to debug this.
[log.txt](https://github.com/tauri-apps/plugins-workspace/files/13474007/log.txt)
Contributor guide
Assessment
This issue has not been assessed yet.