You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(win): make symbolication and modulefinder independent of the system ANSI code page. (#1389)
* fix(win): make symbolication independent of the system ANSI code page.
* allow `NULL` module paths and symbol names.
* add an integration test that runs the example from a cyrillic directory and validates the package paths
* resolve relative paths + clean up subdir
* remove the assertion that a frame must have a function
* only assert on the frame_package being a file if it exists...
...however, no longer assert that a frame_package exists.
* isolate package assertions to new test
* don't conflate checking any function/package with checking package file validity
* also adapt the windows modulefinder to be independent system ACP.
The szExePath generated for actual UTF-8 paths was already filled with mojibake :-) so LoadLibrary couldn't find any local modules.
This is actually connected to the symbolication:
* in the server, if a module was found, the backend would assign packages to frames based on the instruction address and the module address range
* if the module couldn't be found, as was the case previously, it had to use the frame package provided
So, now we fixed both and they should overlap.
* update the CHANGELOG
* explicitly specify `PSAPI_VERSION` because we only want to link kernel32
* check string_from_wstr return values
* use a heap-allocated 32K buffer for module paths
* use a heap-allocated 32K buffer for symbol paths
* move allocation into wrapping if
* format after webui edit
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Changelog
2
2
3
+
## Unreleased
4
+
5
+
**Fixes**:
6
+
7
+
- Windows: Make symbolication and the modulefinder independent of the system ANSI code page. ([#1389](https://github.com/getsentry/sentry-native/pull/1389))
0 commit comments