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
* thread #1, queue = 'com.apple.main-thread', stop reason = hit program assert
frame #4: 0x0000000100a027d5 wamrc`llvm::CallInst::init(this=0x00006000035671e0, FTy=0x000000011b0176d8, Func=0x000060000a604440, Args=ArrayRef<llvm::Value *> @ 0x00007ff7bfef5840, Bundles=ArrayRef<llvm::OperandBundleDefT<llvm::Value *> > @ 0x00007ff7bfef5860, NameStr=0x00007ff7bfef5a70) at Instructions.cpp:652:5
649 "Calling a function with bad signature!");
650
651 for (unsigned i = 0; i != Args.size(); ++i)
-> 652 assert((i >= FTy->getNumParams() ||
653 FTy->getParamType(i) == Args[i]->getType()) &&
654 "Calling a function with a bad signature!");
655 #endif
it seems like an integer/float mismatch in compile_op_float_min_max.
frame #9: 0x0000000100890b56 wamrc`::LLVMBuildCall2(B=0x00006000030002d0, Ty=0x000000011b0176d8, Fn=0x000060000a604440, Args=0x0000600000020000, NumArgs=2, Name="call") at Core.cpp:3876:26
frame #10: 0x000000010025a178 wamrc`__call_llvm_intrinsic(comp_ctx=0x0000000119025a00, func_ctx=0x000000011981af30, name="i64.or", ret_type=0x0000000119038c60, param_types=0x00007ff7bfef6410, param_count=2, param_values=0x0000600000020000) at aot_llvm.c:3758:17
frame #11: 0x0000000100259cc5 wamrc`aot_call_llvm_intrinsic(comp_ctx=0x0000000119025a00, func_ctx=0x000000011981af30, intrinsic="i64.or", ret_type=0x0000000119038c60, param_types=0x00007ff7bfef6410, param_count=2) at aot_llvm.c:3792:11
frame #12: 0x00000001001e4a54 wamrc`compile_op_float_min_max(comp_ctx=0x0000000119025a00, func_ctx=0x000000011981af30, is_f32=false, left=0x000060000a604140, right=0x000060000a6041a0, is_min=true) at aot_emit_numberic.c:293:9
frame #13: 0x00000001001cba92 wamrc`compile_op_float_arithmetic(comp_ctx=0x0000000119025a00, func_ctx=0x000000011981af30, arith_op=FLOAT_MIN, is_f32=false) at aot_emit_numberic.c:994:13
frame #14: 0x00000001001cfd05 wamrc`aot_compile_op_f64_arithmetic(comp_ctx=0x0000000119025a00, func_ctx=0x000000011981af30, arith_op=FLOAT_MIN) at aot_emit_numberic.c:1237:12
frame #15: 0x0000000100029b8c wamrc`aot_compile_func(comp_ctx=0x0000000119025a00, func_index=280) at aot_compiler.c:2228:22
frame #16: 0x00000001000200a5 wamrc`aot_compile_wasm(comp_ctx=0x0000000119025a00) at aot_compiler.c:3925:14
frame #17: 0x0000000100008903 wamrc`main(argc=1, argv=0x00007ff7bfeff5b0) at main.c:677:10
frame #18: 0x000000011636552e dyld`start + 462
The text was updated successfully, but these errors were encountered:
yamt
added a commit
to yamt/wasm-micro-runtime
that referenced
this issue
May 13, 2024
it seems like an integer/float mismatch in compile_op_float_min_max.
The text was updated successfully, but these errors were encountered: