summary refs log tree commit diff stats
path: root/results/scraper/fex/1793
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-07-17 09:10:43 +0200
commitf2ec263023649e596c5076df32c2d328bc9393d2 (patch)
tree5dd86caab46e552bd2e62bf9c4fb1a7504a44db4 /results/scraper/fex/1793
parent63d2e9d409831aa8582787234cae4741847504b7 (diff)
downloadqemu-analysis-main.tar.gz
qemu-analysis-main.zip
add downloaded fex bug-reports HEAD main
Diffstat (limited to 'results/scraper/fex/1793')
-rw-r--r--results/scraper/fex/179338
1 files changed, 38 insertions, 0 deletions
diff --git a/results/scraper/fex/1793 b/results/scraper/fex/1793
new file mode 100644
index 000000000..e1d03a23f
--- /dev/null
+++ b/results/scraper/fex/1793
@@ -0,0 +1,38 @@
+Looks like this is causing Interpreter to crash when running at least vulkaninfo (without thunks).
+Looks like this is causing Interpreter to crash when running at least vulkaninfo (without thunks).

+

+Couple of different crashes.

+```

+Thread 1 "FEXLoader" received signal SIGSEGV, Segmentation fault.

+Xbyak::CodeArray::isAutoGrow (this=0x0) at /mnt/Work/Work/work/FEXNew/External/xbyak/xbyak/xbyak.h:1107

+1107            bool isAutoGrow() const { return type_ == AUTO_GROW; }

+(gdb) bt

+#0  Xbyak::CodeArray::isAutoGrow (this=0x0) at /mnt/Work/Work/work/FEXNew/External/xbyak/xbyak/xbyak.h:1107

+#1  0x00005555557f4cb7 in Xbyak::LabelManager::define_inner<std::unordered_map<int, Xbyak::LabelManager::ClabelVal, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, Xbyak::LabelManager::ClabelVal> > >, std::unordered_multimap<int, Xbyak::JmpLabel const, std::hash<int>, std::equal_to<int>, std::allocator<std::pair<int const, Xbyak::JmpLabel const> > >, int> (this=0x7ffff7763140, defList=std::unordered_map with 0 elements, undefList=std::unordered_multimap with 0 elements, labelId=@0x7fffffffc6ac: 1, addrOffset=24) at /mnt/Work/Work/work/FEXNew/External/xbyak/xbyak/xbyak.h:1345

+#2  0x00005555557f49e0 in Xbyak::LabelManager::defineClabel (this=0x7ffff7763140, label=...) at /mnt/Work/Work/work/FEXNew/External/xbyak/xbyak/xbyak.h:1451

+#3  0x00005555557e80c4 in Xbyak::CodeGenerator::L (this=0x7ffff77630b0, label=...) at /mnt/Work/Work/work/FEXNew/External/xbyak/xbyak/xbyak.h:2370

+#4  0x00005555557e8f98 in FEXCore::CPU::X86Dispatcher::GenerateInterpreterTrampoline (this=0x7ffff7763000, CodeBuffer=0x7fffe273a9d8 "L\211\367H\215\065") at /mnt/Work/Work/work/FEXNew/External/FEXCore/Source/Interface/Core/Dispatcher/X86Dispatcher.cpp:456

+#5  0x0000555555897853 in FEXCore::CPU::InterpreterCore::CompileCode (this=0x7ffff762d480, Entry=140736973056609, IR=0x7ffff7795d30, DebugData=0x7ffff7795d60, RAData=0x0, GDBEnabled=false) at /mnt/Work/Work/work/FEXNew/External/FEXCore/Source/Interface/Core/Interpreter/InterpreterCore.cpp:80

+#6  0x00005555556f0074 in FEXCore::Context::Context::CompileCode (this=0x7ffff7694000, Thread=0x7ffff7690000, GuestRIP=140736973056609) at /mnt/Work/Work/work/FEXNew/External/FEXCore/Source/Interface/Core/Core.cpp:948

+#7  0x00005555556f028f in FEXCore::Context::Context::CompileBlock (this=0x7ffff7694000, Frame=0x7ffff76901b0, GuestRIP=140736973056609) at /mnt/Work/Work/work/FEXNew/External/FEXCore/Source/Interface/Core/Core.cpp:989

+#8  0x00005555556f0149 in FEXCore::Context::Context::CompileBlockJit (this=0x7ffff7694000, Frame=0x7ffff76901b0, GuestRIP=140736973056609) at /mnt/Work/Work/work/FEXNew/External/FEXCore/Source/Interface/Core/Core.cpp:959

+```

+

+or

+```

+terminate called after throwing an instance of 'Xbyak::Error'

+  what():  label is not found

+  ```

+```

+(gdb) disas $pc,+32

+Dump of assembler code from 0x7fffd63ef8b2 to 0x7fffd63ef8d2:

+=> 0x00007fffd63ef8b2:  add    BYTE PTR [rax],al

+   0x00007fffd63ef8b4:  add    BYTE PTR [rax],al

+   0x00007fffd63ef8b6:  add    BYTE PTR [rax],al

+   0x00007fffd63ef8b8:  add    BYTE PTR [rax],al

+   0x00007fffd63ef8ba:  add    BYTE PTR [rax],al

+   ```

+

+This is on an x86 host, interpreter, 500 inst, no-multiblock, Ubuntu 22.04 without rootfs.

+

+_Originally posted by @Sonicadvance1 in https://github.com/FEX-Emu/FEX/issues/1782#issuecomment-1164140882_
\ No newline at end of file