spacedriveapp / spacedrive

Spacedrive is an open source cross-platform file explorer, powered by a virtual distributed filesystem written in Rust.
https://spacedrive.com
GNU Affero General Public License v3.0
32.31k stars 948 forks source link

Unknown job type - Clean install and scan desktop crashes spacedrive #2686

Closed TwanLuttik closed 3 weeks ago

TwanLuttik commented 2 months ago

Check for other issues

Issue description

In the log file i assume this is the line that causes my spacedrive to crash while its scanning my desktop which has quite some files on it.

2024-08-20T20:18:49.699357Z ERROR load{library_id=42ca9d90-5a56-4944-a6aa-706cb0a51d5f db_path=/Users/twanluttik/Library/Application Support/spacedrive/libraries/42ca9d90-5a56-4944-a6aa-706cb0a51d5f.db config_path=/Users/twanluttik/Library/Application Support/spacedrive/libraries/42ca9d90-5a56-4944-a6aa-706cb0a51d5f.sdlibrary should_seed=true}: sd_core::old_job::manager: core/src/old_job/manager.rs:400: Unknown job type; job_report.name=media_processor job_report.id=0683dc13-ae71-4c9a-b84d-07568c71d94b

sd.log.2024-08-20.txt

Steps to reproduce

No response

Platform and versions

Development tool versions (optional)



Stack trace

No response

Additional context

No response

Code of Conduct

linear[bot] commented 2 months ago

ENG-1868 Unknown job type - Clean install and scan desktop crashes spacedrive

TwanLuttik commented 2 months ago

And when i open the location in spacedrive, it cause the same crash and error.

TwanLuttik commented 3 weeks ago

I think Haden is on this as well but we found out which specific file it causes to crash spacedrive.

https://github.com/user-attachments/assets/e01a7ddc-8760-4896-8716-7e46f009ff7e

HeavenVolkoff commented 3 weeks ago

Is your Mac a M1 Mac? If so, I think this is probably the same crash that a user was experiencing on discord on M1 with HEVC files (considering the file you uploaded is a HEVC). This was fixed in https://github.com/spacedriveapp/native-deps/releases/tag/v0.23. However, the fix is not present in a stable release yet. Can you try compiling main to see if the crash stops?