Crash in Impactor 2.6.1
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 3/5
- Temps estimé
- Une demi-journée
- Accessibilité débutants
- 62/100
Piste de recherche
The blocking calls are in package.rs at the AddTweak, AddBundle, SetCustomIcon and SetCustomEntitlements handlers (around lines 156, 171, 198 and 218), each calling rfd::FileDialog pick_files() inside Iced's update(). subscriptions.rs:461 already uses rfd::AsyncFileDialog with .await and shows the pattern to follow. Done means those four handlers no longer block, and picking a file while dragging onto the window does not crash on macOS.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Content
Found a crash in Impactor 2.6.1 (macOS 15.7.7, arm64)
repro: click Add Tweak → while the file picker is open, drag a file onto it → abort
it's the blocking rfd. package.rs calls rfd::FileDialog::new()...pick_files()
straight inside Iced's update(), 4 spots:
156 AddTweak
171 AddBundle
198 SetCustomIcon
218 SetCustomEntitlements
that blocks the event loop inside -[NSSavePanel runModal]. AppKit spins a nested
runloop for the modal, a drag comes in via NSCoreDragTrackingProc and dispatches
back into the app while update() is still on the stack → re-entry → panic → abort.
crash log matches frame for frame:
39 -[NSSavePanel runModal]
21 NSCoreDragTrackingProc
19 -[NSRunLoop runMode:beforeDate:]
15 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK
2 abort
fix is already in the repo — subscriptions.rs:461 uses rfd::AsyncFileDialog with
.await. those 4 just need Task::perform instead of blocking + Task::none().
side note, probably same root cause: the Tweaks section has no drop target, only
- Add Tweak. if drops worked there nobody'd be dragging onto a modal picker.
- Langage dominant
- Rust
- Étoiles
- 3.4k
- Forks
- 224
- Merge moyen
- 34 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de claration/impactor
-
Extensions inside an embedded watch app are not renamed or signed (AppexBundleIDNotPrefixed)Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 72/100
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 50/100
-
bug
Difficulté 4/5 3-5 jours Accessibilité débutants 42/100
-
[Bug] Unable to openOuvertebug
Difficulté 3/5 Une demi-journée Accessibilité débutants 35/100
-
[Feature] Add local AnisetteOuverteenhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
Toutes les issues de claration/impactor
Issues similaires
-
claim
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Nixitov/Riptide-Native#946 ·
Les mainteneurs répondent en général sous 1 jour
-
area: ai-assistants documentation help wanted
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 94/100
storytold/craft-libs#5594 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
听歌识曲历史跳转后对应音源界面无法返回Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 65/100
LingyunStudio/RustMusic#16 ·