Native crash capture on Windows and Linux
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 28/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Ambito
- desktop, observability-sre, testing-qa
Direzione di ricerca
Start by reviewing PR #621 and the existing Dart exception-capture path, then define the Windows/Linux native integration points and consent behavior. Add the native integration tests described here using a crashing test plugin or FFI library, and verify next-launch reporting, opt-out behavior, matching symbol artifacts, and documented limitations.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem Statement
PR #621 adds Windows/Linux support but explicitly excludes native crash capture. Dart error hooks cannot reliably observe crashes in the Flutter engine, native plugins, or libraries called through dart:ffi when those failures terminate the process before Dart callbacks execute.
Examples include Windows access violations and Linux segmentation faults or aborts. These failures currently have no desktop native crash-reporting path in the SDK. This is a follow-up feature request, not a blocker for the documented scope of #621.
Solution Brainstorm
Add opt-in native crash capture for Flutter applications on Windows and Linux:
- Integrate platform-appropriate crash collection for supported native engine/plugin/FFI failures.
- Persist crash records safely and report them on the next launch when immediate delivery is impossible, respecting consent and SDK configuration.
- Include native stack addresses, matching loaded-image/debug identifiers, and app/build context. Document the required symbol-upload workflow and supported symbol formats for readable stacks.
- Document limitations clearly; do not promise capture of every process termination, hang, or out-of-memory failure.
Validation
Add native Windows/Linux integration tests that deliberately trigger a crash in a test plugin or FFI library, restart the application, and verify the resulting $exception event. Cover opt-out behavior and release-build symbolication with matching artifacts.
Keep this distinct from Dart exception capture, background-isolate forwarding, and Dart obfuscated-stack support.
Related
- Desktop support: #51
- Initial Windows/Linux implementation: #621
- Android-native crash tracking: #490 (different platform scope)
- Lingua principale
- Dart
- Stelle
- 97
- Fork
- 90
- Merge medio
- 1g 21h
- PR unite (30g)
- 44
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PostHog/posthog-flutter
-
dependencies enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
PostHog/posthog-flutter#377 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
PostHog/posthog-flutter#669 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Support widgetApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
PostHog/posthog-flutter#596 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement feature/replay
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
PostHog/posthog-flutter#593 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Session replay: support v2 trigger groups (conditional recording)Forse già presa @marc-merino l’ha presa 23 giorni fa. Apertaenhancement feature/replay
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
PostHog/posthog-flutter#545 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PostHog/posthog-flutter
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
aaronified/fluenough#918 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
VeryGoodOpenSource/very_good_analysis#255 ·
I maintainer di solito rispondono entro 1 giorno
-
TButton 小尺寸时文字在垂直方向不居中,有点偏下Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
Tencent/tdesign-flutter#1233 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
fossasia/badgemagic-app#2025 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno