[lldb] [llvm] [LLDB][Minidump] Support minidumps where there are multiple exception streams (PR #97470)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 8 10:28:11 PDT 2024


jeffreytan81 wrote:

> @jeffreytan81 I think the callout for multiple exception is a good question. I made a C# testbed to see what would happen if I had multiple simultaneous exceptions. [Gist here](https://gist.github.com/Jlalond/467bc990f10fbb75cc9ca7db897a7beb). When manually collecting a minidump on my Windows system and then viewing it, I do get a warning that my application has multiple exceptions.
> 
> ![image](https://private-user-images.githubusercontent.com/25160653/346230140-d7f7f1c2-3de9-40bd-b692-f3f3ef23fd38.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA0NTk4NzIsIm5iZiI6MTcyMDQ1OTU3MiwicGF0aCI6Ii8yNTE2MDY1My8zNDYyMzAxNDAtZDdmN2YxYzItM2RlOS00MGJkLWI2OTItZjNmM2VmMjNmZDM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA4VDE3MjYxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTViZTBkMGEzMmUyMDgzMDUyYzQyZWZiMzEzNmY2YmU1MzQ2OTU4Y2M5MWE5YWUwNzIxOGQyZTQzMzRjNjFmYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.0hYRLR8moBxXwtvieDm-QrmHXdH_pxUUt8xLF4HriVE)
> 
> This leads me to believe multiple exceptions is acceptable, albeit rare.

That's good to know, but this is still a indirectly way to check. We would feel much convinced if you can copy the minidump generated by lldb to Windows and give windbg or Visual Studio a try. 

https://github.com/llvm/llvm-project/pull/97470


More information about the llvm-commits mailing list