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

[WASM] llvmonly-runtime.c:804, condition `<disabled>' not met #12998

Closed
jeromelaban opened this issue Feb 14, 2019 · 2 comments
Labels

Comments

@jeromelaban
Copy link
Contributor

@jeromelaban jeromelaban commented Feb 14, 2019

Steps to Reproduce

  1. Clone this solution at commit nventive/Uno.Xaml-Controls-Gallery@f1be090.
  2. In the folder XamlControlsGallery.Wasm, under linux run msbuild /r /p:Configuration=Release, it will generate an AOT layout
  3. Serve the dist folder located in the bin/Release directory
  4. In the side menu, select Navigation, then NavigationView

Current Behavior

The execution fails with the following stack trace:

_wasm_logger@:wasm-function[241]:0x6f94f
_eglib_log_adapter@:wasm-function[68917]:0x14a5b9b
_monoeg_g_logstr@:wasm-function[69316]:0x14b353b
_monoeg_g_logv_nofree@:wasm-function[69315]:0x14b34f4
_monoeg_assertion_message@:wasm-function[69319]:0x14b3627
_mini_llvmonly_init_gshared_method_this@:wasm-function[64611]:0x13e87d2
_init_method_gshared_this_1333@:wasm-function[62986]:0x13d4e35
_aot_dummy_System_Collections_Generic_List_1_T_INT_GetEnumerator@:wasm-function[56981]:0x120a052
_Uno_UI_Windows_UI_Xaml_Controls_NavigationView_SetSelectedItemAndExpectItemInvokeWhenSelectionChangedIfNotInvokedFromAPI_object@:wasm-function[42859]:0xd96235
_Uno_UI_Windows_UI_Xaml_Controls_NavigationView_OnSelectionChanged_object_Windows_UI_Xaml_Controls_SelectionChangedEventArgs@:wasm-function[42837]:0xd94643
_Uno_UI_wrapper_delegate_invoke__Module_invoke_void_object_SelectionChangedEventArgs_object_Windows_UI_Xaml_Controls_SelectionChangedEventArgs@:wasm-function[51435]:0x105a618
_Uno_UI_wrapper_delegate_invoke__Module_invoke_void_object_SelectionChangedEventArgs_object_Windows_UI_Xaml_Controls_SelectionChangedEventArgs@:wasm-function[51435]:0x105a581
_Uno_UI_Windows_UI_Xaml_Controls_Primitives_Selector_InvokeSelectionChanged_object___object__@:wasm-function[45256]:0xe05baf
_Uno_UI_Windows_UI_Xaml_Controls_Primitives_Selector_OnSelectedItemChanged_object_object@:wasm-function[45253]:0xe05994
_Uno_UI_Windows_UI_Xaml_Controls_ListViewBase_OnSelectedItemChanged_object_object@:wasm-function[42599]:0xd86043
...

This is the failing method location: https://github.com/nventive/Uno/blob/d4a39e61e2b289c942725402fdddca90e23ef76e/src/Uno.UI/UI/Xaml/Controls/NavigationView/NavigationView.cs#L1921

Expected Behavior

The executes without assertions. This code runs properly under the interpreter.

On which platforms did you notice this

[ ] macOS
[ ] Linux
[ ] Windows
[x] WebAssembly

Version Used: 5f65ce9

@lewing lewing added the target-wasm label Feb 14, 2019
@marek-safar

This comment has been minimized.

Copy link
Member

@marek-safar marek-safar commented Feb 14, 2019

/cc @vargaz

@jeromelaban

This comment has been minimized.

Copy link
Contributor Author

@jeromelaban jeromelaban commented Feb 14, 2019

jeromelaban added a commit to unoplatform/uno that referenced this issue Feb 14, 2019
GetEnumerator on a null List<T> is causing mono/mono#12998
@jeromelaban jeromelaban referenced this issue Feb 14, 2019
2 of 6 tasks complete
jeromelaban added a commit to unoplatform/uno that referenced this issue Feb 14, 2019
GetEnumerator on a null List<T> is causing mono/mono#12998
jeromelaban added a commit to unoplatform/uno that referenced this issue Feb 14, 2019
GetEnumerator on a null List<T> is causing mono/mono#12998
jeromelaban added a commit to unoplatform/uno that referenced this issue Feb 14, 2019
GetEnumerator on a null List<T> is causing mono/mono#12998
jeromelaban added a commit to unoplatform/uno that referenced this issue Feb 15, 2019
GetEnumerator on a null List<T> is causing mono/mono#12998
vargaz added a commit to vargaz/mono that referenced this issue Feb 21, 2019
luhenry added a commit that referenced this issue Feb 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.