Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[wpiutil] Remove broken StackWalker library #7777

Conversation

calcmogul
Copy link
Member

@calcmogul calcmogul commented Feb 13, 2025

A Discord user reported that StackWalker gives blank stacktraces: https://discord.com/channels/176186766946992128/368993897495527424/1261940029287301150

Gold856 | 20 — 7/13/24, 11:58 PM
Can confirm: StackWalker is broken on Windows

Tyler | 2363M | WPILib | Choreo — 7/13/24, 11:59 PM
how broken? blank stacktrace broken?

Gold856 | 20 — 7/13/24, 11:59 PM
Yep

Gold856 | 20 — 7/14/24, 12:00 AM
Just nothing printed out, not even a new line

MSVC's C++23 support is unstable, so we can't use std::stacktrace yet. In the meantime, we can just return an empty string and remove the unmaintained StackWalker library and its hacky upstream_utils script.

@calcmogul calcmogul requested review from PeterJohnson and a team as code owners February 13, 2025 00:03
@github-actions github-actions bot added the component: wpiutil WPI utility library label Feb 13, 2025
@calcmogul calcmogul force-pushed the wpiutil-remove-broken-stack-walker-library branch from b6f918c to 5a1b204 Compare February 13, 2025 00:03
@calcmogul calcmogul force-pushed the wpiutil-remove-broken-stack-walker-library branch from 5a1b204 to 47994c9 Compare February 13, 2025 00:13
A Discord user reported that StackWalker gives blank stacktraces:
https://discord.com/channels/176186766946992128/368993897495527424/1261940029287301150

MSVC's C++23 support is unstable, so we can't use std::stacktrace yet.
In the meantime, we can just return an empty string and remove the
unmaintained StackWalker library and its hacky upstream_utils script.
@calcmogul calcmogul force-pushed the wpiutil-remove-broken-stack-walker-library branch from 47994c9 to 4394316 Compare February 13, 2025 00:15
PeterJohnson
PeterJohnson previously approved these changes Feb 13, 2025
@PeterJohnson PeterJohnson merged commit 155b3d4 into wpilibsuite:main Feb 13, 2025
47 checks passed
@calcmogul calcmogul deleted the wpiutil-remove-broken-stack-walker-library branch February 13, 2025 06:55
katzuv pushed a commit to katzuv/allwpilib that referenced this pull request Feb 16, 2025
A Discord user reported that StackWalker gives blank stacktraces.

MSVC's C++23 support is unstable, so we can't use std::stacktrace yet.
In the meantime, we can just return an empty string and remove the
unmaintained StackWalker library and its hacky upstream_utils script.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component: wpiutil WPI utility library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants