-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
launch playground or E2ETest app - i think you have to do it without starting the bundler
maximize, restore
App crashes with the stack below.
I believe this is because connecting to the bundler sets up a callback in facebook code. In the crashing case the callback never gets set by RN core, but we still try to call the callback...
# ChildEBP RetAddr
00 1438dc4c 18ccaec7 Microsoft_ReactNative_17e10000!facebook::react::Instance::callJSFunction+0x41 [C:\rnw\vnext\build\x86\Debug\ReactCommon\react-native-patched\ReactCommon\cxxreact\Instance.cpp @ 189]
01 1438dd6c 18cd874e Microsoft_ReactNative_17e10000!Mso::React::ReactInstanceWin::CallJsFunction+0xf7 [C:\rnw\vnext\Microsoft.ReactNative\ReactHost\ReactInstanceWin.cpp @ 639]
02 1438de8c 187b9a29 Microsoft_ReactNative_17e10000!react::uwp::UwpReactInstanceProxy::CallJsFunction+0xee [C:\rnw\vnext\Microsoft.ReactNative\ReactHost\UwpReactInstanceProxy.cpp @ 68]
03 1438e070 187b2fb1 Microsoft_ReactNative_17e10000!react::uwp::DeviceInfo::fireEvent+0x159 [C:\rnw\vnext\ReactUWP\Modules\DeviceInfoModule.cpp @ 58]
04 1438e150 187b8871 Microsoft_ReactNative_17e10000!<lambda_5f54b12040f03c6eccc4342c7a4ff06a>::operator()<winrt::Windows::UI::Core::CoreWindow const &,winrt::Windows::UI::Core::WindowSizeChangedEventArgs const &>+0x41 [C:\rnw\vnext\ReactUWP\Modules\DeviceInfoModule.cpp @ 29]
05 1438e25c 7ab07556 Microsoft_ReactNative_17e10000!winrt::impl::delegate<winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow,winrt::Windows::UI::Core::WindowSizeChangedEventArgs>,<lambda_5f54b12040f03c6eccc4342c7a4ff06a> >::Invoke+0x71 [C:\rnw\vnext\build\x86\Debug\Microsoft.ReactNative\Generated Files\winrt\Windows.Foundation.h @ 893]
06 (Inline) -------- Windows_UI!Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::WindowSizeChangedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll::__l2::<lambda_f2339b31eef01df78e3af58019e05583>::operator()+0x1d [onecore\external\sdk\inc\wrl\event.h @ 954]
07 1438e298 7ab06f67 Windows_UI!Microsoft::WRL::InvokeTraits<-2>::InvokeDelegates<<lambda_f2339b31eef01df78e3af58019e05583>,Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::WindowSizeChangedEventArgs *> >+0x4e [onecore\internal\sdk\inc\wrl\internalevent.h @ 119]
08 1438e2c8 7aae7406 Windows_UI!Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::WindowSizeChangedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::DoInvoke<<lambda_f2339b31eef01df78e3af58019e05583> >+0x67 [onecore\external\sdk\inc\wrl\event.h @ 946]
09 (Inline) -------- Windows_UI!Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::WindowSizeChangedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll+0x19 [onecore\external\sdk\inc\wrl\event.h @ 954]
0a 1438e324 7aae730d Windows_UI!Windows::UI::Core::WindowServer::SendWindowSizeEvent+0xe6 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\windowserver.cpp @ 2911]
0b 1438e33c 7aae7952 Windows_UI!Windows::UI::Core::WindowServer::OnWindowSizeEvent+0x2e [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\windowserver.cpp @ 2776]
0c 1438e3c8 75c47a83 Windows_UI!Windows::UI::Core::WindowServer::WndProc+0x1b2 [onecoreuap\windows\advcore\winrt\onecoreiwindow\corewindow\common\windowserver.cpp @ 7873]
00 1438dc4c 18ccaec7 Microsoft_ReactNative_17e10000!facebook::react::Instance::callJSFunction+0x41 [C:\rnw\vnext\build\x86\Debug\ReactCommon\react-native-patched\ReactCommon\cxxreact\Instance.cpp @ 189]
0:009> dx this
this : 0x2fba0f8c [Type: facebook::react::Instance *]
[+0x000] callback_ : empty [Type: std::shared_ptr<facebook::react::InstanceCallback>]
[+0x008] nativeToJsBridge_ : empty [Type: std::unique_ptr<facebook::react::NativeToJsBridge,std::default_delete<facebook::react::NativeToJsBridge> >]
[+0x00c] moduleRegistry_ : empty [Type: std::shared_ptr<facebook::react::ModuleRegistry>]
[+0x014] m_syncMutex [Type: std::mutex]
[+0x044] m_syncCV [Type: std::condition_variable]
[+0x06c] m_syncReady : false [Type: bool]