Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fatal Exception when trying to view a Unicode string in the Watch window #165

Closed
achalpandeyy opened this issue Feb 25, 2024 · 1 comment

Comments

@achalpandeyy
Copy link

achalpandeyy commented Feb 25, 2024

[Window Title]
Fatal Exception

[Content]
A fatal exception (code 0xc0000005) occurred. The process is terminating.

Press Ctrl+C to copy this text to clipboard, then create a new issue in
https://github.com/EpicGames/raddebugger/issues

Call stack:
1. [0x7ff7983633a7] df_symbol_name_from_binary_voff +471, df_core.c line 3215
2. [0x7ff798363502] df_symbol_name_from_process_vaddr +146, df_core.c line 3232
3. [0x7ff798360632] df_single_line_eval_value_strings_from_eval +1538, df_gfx.c line 6936
4. [0x7ff798347e49] df_eval_viz_windowed_row_list_from_viz_block_list +1513, df_gfx.c line 7290
5. [0x7ff79834c8e5] df_eval_watch_view_build +9109, df_views.c line 1163
6. [0x7ff7982e553c] df_view_ui_Watch +140, df_views.c line 6747
7. [0x7ff79838e71c] df_window_update_and_render +152060, df_gfx.c line 5744
8. [0x7ff7983f46b4] update_and_render +4708, raddbg.c line 282
9. [0x7ff798399e76] entry_point +5830, raddbg.c line 552
10. [0x7ff7983f6cf2] WinMain +930, raddbg_main.cpp line 347
11. [0x7ff7983fec4e] __scrt_common_main_seh +262, exe_common.inl line 288
12. [0x7ffb9f45257d] KERNEL32
13. [0x7ffba11aaa58] ntdll

Version: 0.9.8 [7c9f127]

[Close]

I believe the following should reproduce it:

  1. Use the following C source file
#include <stdlib.h>
#include <string.h>
#include <locale.h>

int main()
{    
	char *s6 = "Unicode! 🅤🅝🅘🅒🅞🅓🅔‽ 🇺‌🇳‌🇮‌🇨‌🇴‌🇩‌🇪! 😄 The very name strikes fear and awe into the hearts of programmers worldwide. We all know we ought to “support Unicode” in our software (whatever that means—like using wchar_t for all the strings, right?). But Unicode can be abstruse, and diving into the thousand-page [Unicode Standard](http://www.unicode.org/versions/latest/) plus its dozens of supplementary [annexes, reports](http://www.unicode.org/reports/), and [notes](http://www.unicode.org/notes/) can be more than a little intimidating. I don’t blame programmers for still finding the whole thing mysterious, even 30 years after Unicode’s inception.";
    
    printf("%s\n", s6);
    
	return 0;
}
  1. Try to watch s6 in the Watch window
@achalpandeyy achalpandeyy changed the title Fatal Exception on dev Fatal Exception when trying to view a Unicode string in the Watch window Feb 25, 2024
@ryanfleury
Copy link
Collaborator

Should be fixed as of 642acdf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants