msvc-based stacktrace should also allow to determine the module image path
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 38/100
- Type d'issue
- Fonctionnalité
- Clarté
- Plutôt claire
- Activité
- À l'abandon
- Stack technique
- cpp
- Domaine
- operating-systems, tooling
Piste de recherche
Commencez par localiser l’implémentation de stacktrace basée sur MSVC et examinez la manière dont elle détermine actuellement les noms des modules. Examinez IDebugSymbols::GetModuleByOffset, GetModuleNames et RtlCaptureStackBackTrace ; le travail est terminé lorsque les chemins des images des modules sont inclus et que le cas signalé d’un stacktrace vide est traité sans modifier le comportement existant de stacktrace.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
The current msvc-based stacktrace only determines the module name - not its complete path - contrary to the full featured unixoid implementation. It turns out that this is rather simple to realize and valuable when attempting to analyze application problems by inspecting the referred to image paths. It means that you first calls IDebugSymbols::GetModuleByOffset followed by IDebugSymbols::GetModuleNames using the ImageNameBuffer, ImageNameBufferSize, and ImageNameSize parameters. I'm using this extended information in my own stacktrace implementation.
There is another way of improving the quality of msvc stacktraces related to the problem described capturestackbacktrace-randomly-fails-after-initial. I'm aware that the current stacktrace implementation has eliminated any explicit call of CoInitializeEx, but that does not prevent the user to make such a call. Instead of rewriting RtlCaptureStackBackTrace as suggested in this article, a very simple workaround seems to help here. Before calling RtlCaptureStackBackTrace with a static buffer (128), just call RtlCaptureStackBackTrace with the FramesToCapture equal to just 1 ignoring this stub call, which prevents the potential empty stacktrace situation for the second call.
Would there be interest for a corresponding PULL request?
- Langage dominant
- C++
- Étoiles
- 497
- Forks
- 86
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Ce projet ne fournit ni conteneur de développement, ni Dockerfile, ni guide de contribution : l'installation est à votre charge. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
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 boostorg/stacktrace
-
`std::formatter` specializationOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 52/100
boostorg/stacktrace#233 ·
-
Ошибка в InscapeOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 15/100
boostorg/stacktrace#211 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
boostorg/stacktrace#208 · 6 commentaires ·
-
Difficulté 3/5 1-2 jours Accessibilité débutants 48/100
boostorg/stacktrace#197 · 3 commentaires ·
-
Implementation with `libdwfl`?Ouverteenhancement help wanted
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
boostorg/stacktrace#176 · 1 commentaire ·
Toutes les issues de boostorg/stacktrace
Issues similaires
-
Add a FakeAudioIo for host testsOuvertec++ good first issue M2: audio plumbing no hardware needed tests
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
GageLawton/noise-cancellation#23 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
objectionary/eo-graphs#85 ·
-
bug derived types format I/O medium priority semantics
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Les mainteneurs répondent en général sous 1 jour
-
Kindly pin CUDA 12.X as required toolkit for stable release v0.3.3 compilation in CUDA systemsOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 68/100
facebookresearch/habitat-sim#2645 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour