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

[Windows] Crash when BonsoirDiscovery start failed #98

Closed
heiha100 opened this issue Jul 7, 2024 · 1 comment
Closed

[Windows] Crash when BonsoirDiscovery start failed #98

heiha100 opened this issue Jul 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@heiha100
Copy link
Contributor

heiha100 commented Jul 7, 2024

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. forbiden Dnscache service on windows
  2. start bonsoir demo
  3. start discovery service
  4. see error in "windows event manager" or %LOCALAPPDATA%\CrashDumps when crash dump is enabled

Expected behavior
App should run normally event BonsoirDiscovery start failed

Screenshots
image
exception is throwed by this line

Desktop (please complete the following information):

  • OS: Windows
  • Version: Win10

Additional context
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007fffa0aed823 (bonsoir_windows_plugin!thunk@7fffa0ae7676+0x00000000000061ad)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 0000000000000000
Attempt to read from address 0000000000000000

PROCESS_NAME: flix.exe

READ_ADDRESS: 0000000000000000

ERROR_CODE: (NTSTATUS) 0xc0000005 - 0x%p 0x%p %s

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: 0000000000000000

STACK_TEXT:
000000432ff5e5f0 00007fffa0afc1e2 : 000001c4f3c1b6f8 000001c4f3c1b6f8 000001c4f3c1b6f0 000001c400000024 : bonsoir_windows_plugin!thunk@7fffa0ae7676+0x61ad
000000432ff5e7b0 00007fffa0afcb7f : 000001c482e6b528 000000432ff5eb50 000000432ff5ebc8 000001c482e6b520 : bonsoir_windows_plugin!std::_Non_trivial_move_assign<std::Variant_destroy_layer<std::monostate,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > >,std::monostate,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > >::_Non_trivial_move_assign<std::Variant_destroy_layer<std::monostate,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > >,std::monostate,b+0x22
000000432ff5e9f0 00007fffa0afb496 : 0000000000000000 000001c482e6b520 000000432ff5ea20 0000000000000000 : bonsoir_windows_plugin!std::Variant_storage<0,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > >::Variant_storage<0,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > ><6,std::vector<int,std::allocator >,0>+0x1f
000000432ff5ea20 00007fffa0afcb37 : 0000000000000000 000001c48313acf0 0000000000000040 000000432ff5eb50 : bonsoir_windows_plugin!std::Variant_storage<0,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > >::Variant_storage<0,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > ><4,std::vector<float,std::allocator > const &,0>+0x26
000000432ff5eb30 00007fffa0b01d91 : 000001c482f36490 000001c482f36490 000000432ff5ed68 000000000000000b : bonsoir_windows_plugin!std::Variant_storage<0,std::monostate,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > >::Variant_storage<0,std::monostate,bool,int,__int64,double,std::basic_string<char,std::char_traits,std::allocator >,std::vector<unsigned char,std::allocator >,std::vector<int,std::allocator >,std::vector<__int64,std::allocator<__int64> >,std::vector<double,std::allocator >,std::vector<flutter::EncodableValue,std::allocatorflutter::EncodableValue >,std::map<flutter::EncodableValue,flutter::EncodableValue,std::lessflutter::EncodableValue,std::allocator<std::pair<flutter::EncodableValue const ,flutter::EncodableValue> > >,flutter::CustomEncodableValue,std::vector<float,std::allocator > ><6,std::vector<unsigned char,std::allocator >,0>+0x47
000000432ff5eba0 00007fff9ef27a49 : 0000000000000002 00007ff82677b86b 00000000001b0026 000001c4e5d63710 : bonsoir_windows_plugin!std::operator<<<std::char_traits >+0x251
000000432ff5ecb0 00007fff9e7059a8 : 0000000000000000 0000000000000010 0000000000000008 0000000000000002 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x8245f9
000000432ff5ed40 00007fff9e7b7b1f : 000000432ff5efc0 000001c4f3af7a40 0000000000000000 00007fff9e7159e3 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x2558
000000432ff5eef0 00007fff9e7c4580 : 000001c48306ab10 000001c4e5d00000 0000000000000000 0000000000000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xb46cf
000000432ff5ef70 00007fff9e7c451e : 000001c4f3af7c10 00007fff9f445e90 000001c4f3127af8 000001c4f30beb10 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xc1130
000000432ff5efa0 00007fff9e7c4c9e : 000000432ff5f158 00007fff9f3e6bd7 000001c4f3af7c10 0000000000000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xc10ce
000000432ff5efe0 00007fff9e7c1bbd : 0000000000000402 00007ff800000000 000001c4e5d29140 000001c4f3127aa0 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xc184e
000000432ff5f020 00007fff9e7c31a9 : 0000000200000002 00007ff826775ba1 0000000000000002 00007ff82677b86b : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xbe76d
000000432ff5f1d0 00007fff9e7b080c : 0000000000000000 000001c4e5ca7b00 000001c4e5d290f0 000001c4e5ca0000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xbfd59
000000432ff5f220 00007fff9e7071d9 : 0000000000000010 000001c4e5ca0d20 0000000000000000 0000000000000000 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0xad3bc
000000432ff5f250 00007fff9e71a7c1 : 0000000000000000 0000000000000000 000001c4e5d29140 000000432ff5f448 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x3d89
000000432ff5f390 00007fff9e71c025 : 00000000ffffffeb 0000000000040a02 000000432ff5f7e0 00007ff825f902aa : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x17371
000000432ff5f420 00007fff9e71c10d : 0000000000030000 0000000000000001 0000000080000022 0000000000040a02 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x18bd5
000000432ff5f4a0 00007ff825f8ef5c : 000000432ff5f7e0 0000dbf98d1e5aee 0000000000000001 0000000000040a02 : flutter_windows!FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable+0x18cbd
000000432ff5f4d0 00007ff825f8e684 : 0000000000000000 00007fff9e71c0a0 0000004330123800 00007ff825fa267e : user32!UserCallWinProcCheckWow+0x50c
000000432ff5f660 00007ff7f6372856 : 00007fff9e71c0a0 0000000000000001 0000000000000000 00007ff82679cc70 : user32!DispatchMessageWorker+0x494
000000432ff5f6e0 00007ff7f641d692 : 0000000000000000 0000000000000000 0000000000000001 00007ff82679cc70 : flix!wWinMain+0x256
000000432ff5f900 00007ff826667344 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : flix!__scrt_common_main_seh+0x106
000000432ff5f940 00007ff82679cc91 : 00000000004e004c 000001c4e5bc0100 0000000000000000 0000000000000000 : kernel32!BaseThreadInitThunk+0x14
000000432ff5f970 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x21

@heiha100 heiha100 added the bug Something isn't working label Jul 7, 2024
@Skyost
Copy link
Owner

Skyost commented Jul 9, 2024

Thanks for reporting and submitting a PR ! I'll review it soon.

@Skyost Skyost closed this as completed Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants