ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.6k stars 255 forks source link

CEMU - missings symbols and syscall #27

Open Heasterian opened 3 years ago

Heasterian commented 3 years ago

Emulator is crashing with message below.

Error: Global Symbol posix_spawnattr_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472b430 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_subtract_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472b450 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_intersect not found, cannot apply R_X86_64_GLOB_DAT @0x10472b488 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_copy not found, cannot apply R_X86_64_GLOB_DAT @0x10472b5a8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_copy not found, cannot apply R_X86_64_GLOB_DAT @0x10472b638 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_new not found, cannot apply R_X86_64_GLOB_DAT @0x10472b6f0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_setsigmask not found, cannot apply R_X86_64_GLOB_DAT @0x10472b720 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472b7a8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_config_key_get_system not found, cannot apply R_X86_64_GLOB_DAT @0x10472b7b8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_translate not found, cannot apply R_X86_64_GLOB_DAT @0x10472b7e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_direction_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472b820 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_get_sysconf_subdirectory not found, cannot apply R_X86_64_GLOB_DAT @0x10472b9f0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_find_paragraph_boundary not found, cannot apply R_X86_64_GLOB_DAT @0x10472bb60 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472bb78 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_font_face not found, cannot apply R_X86_64_GLOB_DAT @0x10472bb80 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol link not found, cannot apply R_X86_64_GLOB_DAT @0x10472bbd0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_ref not found, cannot apply R_X86_64_GLOB_DAT @0x10472bd28 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_split not found, cannot apply R_X86_64_GLOB_DAT @0x10472bd48 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_version_check not found, cannot apply R_X86_64_GLOB_DAT @0x10472be30 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_quantize_line_geometry not found, cannot apply R_X86_64_GLOB_DAT @0x10472be80 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472bf10 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_new not found, cannot apply R_X86_64_GLOB_DAT @0x10472bff0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_get_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472c088 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_variant not found, cannot apply R_X86_64_GLOB_DAT @0x10472c0b0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_set not found, cannot apply R_X86_64_GLOB_DAT @0x10472c138 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_is_empty not found, cannot apply R_X86_64_GLOB_DAT @0x10472c150 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_bidi_type_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472c208 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_intersect_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472c210 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_weight not found, cannot apply R_X86_64_GLOB_DAT @0x10472c230 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_get not found, cannot apply R_X86_64_GLOB_DAT @0x10472c2c0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_gravity_hint_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472c2e0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_from_bytes not found, cannot apply R_X86_64_GLOB_DAT @0x10472c3c0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_version not found, cannot apply R_X86_64_GLOB_DAT @0x10472c490 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_level_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472c710 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol __cxa_thread_atexit_impl not found, cannot apply R_X86_64_GLOB_DAT @0x10472c8a0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_create_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472cae0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_get_lib_subdirectory not found, cannot apply R_X86_64_GLOB_DAT @0x10472cb40 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_reference not found, cannot apply R_X86_64_GLOB_DAT @0x10472cd18 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_copy not found, cannot apply R_X86_64_GLOB_DAT @0x10472cef0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_font_metrics_new not found, cannot apply R_X86_64_GLOB_DAT @0x10472cf78 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_stretch not found, cannot apply R_X86_64_GLOB_DAT @0x10472cf98 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_union not found, cannot apply R_X86_64_GLOB_DAT @0x10472cfd0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_equal not found, cannot apply R_X86_64_GLOB_DAT @0x10472d020 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_find_base_dir not found, cannot apply R_X86_64_GLOB_DAT @0x10472d0c8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_variant_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472d0e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_setsigdefault not found, cannot apply R_X86_64_GLOB_DAT @0x10472d1e0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_num_rectangles not found, cannot apply R_X86_64_GLOB_DAT @0x10472d228 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_style not found, cannot apply R_X86_64_GLOB_DAT @0x10472d270 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_tag_end not found, cannot apply R_X86_64_GLOB_DAT @0x10472d290 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_union_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472d400 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_status not found, cannot apply R_X86_64_GLOB_DAT @0x10472d540 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawn_file_actions_adddup2 not found, cannot apply R_X86_64_GLOB_DAT @0x10472d568 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_to_bytes not found, cannot apply R_X86_64_GLOB_DAT @0x10472d590 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_font_matrix not found, cannot apply R_X86_64_GLOB_DAT @0x10472d600 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_glyph_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472d760 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472d888 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_max not found, cannot apply R_X86_64_GLOB_DAT @0x10472d960 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_coverage_unref not found, cannot apply R_X86_64_GLOB_DAT @0x10472daa0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472dbf8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_is_zero_width not found, cannot apply R_X86_64_GLOB_DAT @0x10472dd28 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_surface_set_mime_data not found, cannot apply R_X86_64_GLOB_DAT @0x10472dd40 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_create not found, cannot apply R_X86_64_GLOB_DAT @0x10472dd78 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_text_to_glyphs not found, cannot apply R_X86_64_GLOB_DAT @0x10472de60 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_status_to_string not found, cannot apply R_X86_64_GLOB_DAT @0x10472dff0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_scale_matrix not found, cannot apply R_X86_64_GLOB_DAT @0x10472e220 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawn_file_actions_init not found, cannot apply R_X86_64_GLOB_DAT @0x10472e278 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_tag_begin not found, cannot apply R_X86_64_GLOB_DAT @0x10472e328 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_font_options not found, cannot apply R_X86_64_GLOB_DAT @0x10472e520 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_ctm not found, cannot apply R_X86_64_GLOB_DAT @0x10472e6f8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_get_reference_count not found, cannot apply R_X86_64_GLOB_DAT @0x10472e740 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_xor not found, cannot apply R_X86_64_GLOB_DAT @0x10472e848 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawn_file_actions_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472e8b0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_setflags not found, cannot apply R_X86_64_GLOB_DAT @0x10472e938 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_create not found, cannot apply R_X86_64_GLOB_DAT @0x10472e9a0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_version_string not found, cannot apply R_X86_64_GLOB_DAT @0x10472ea08 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_render_part_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472eae8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_xor_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472eb38 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_lookup_aliases not found, cannot apply R_X86_64_GLOB_DAT @0x10472ec58 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_destroy not found, cannot apply R_X86_64_GLOB_DAT @0x10472ed48 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_status not found, cannot apply R_X86_64_GLOB_DAT @0x10472eed8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol setgroups not found, cannot apply R_X86_64_GLOB_DAT @0x10472f168 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnattr_init not found, cannot apply R_X86_64_GLOB_DAT @0x10472f328 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_item_free not found, cannot apply R_X86_64_GLOB_DAT @0x10472f3e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_parse_markup not found, cannot apply R_X86_64_GLOB_DAT @0x10472f600 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_gravity_to_rotation not found, cannot apply R_X86_64_GLOB_DAT @0x10472f6a0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_get_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472f6e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_contains_point not found, cannot apply R_X86_64_GLOB_DAT @0x10472f720 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_reference not found, cannot apply R_X86_64_GLOB_DAT @0x10472f7e8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol posix_spawnp not found, cannot apply R_X86_64_GLOB_DAT @0x10472f998 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_status not found, cannot apply R_X86_64_GLOB_DAT @0x10472faa0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_ellipsize_mode_get_type not found, cannot apply R_X86_64_GLOB_DAT @0x10472fae8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_contains_rectangle not found, cannot apply R_X86_64_GLOB_DAT @0x10472fb48 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_get_reference_count not found, cannot apply R_X86_64_GLOB_DAT @0x10472fbc0 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_scaled_font_text_extents not found, cannot apply R_X86_64_GLOB_DAT @0x10472fbd8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_region_subtract not found, cannot apply R_X86_64_GLOB_DAT @0x10472fd40 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol cairo_font_face_reference not found, cannot apply R_X86_64_GLOB_DAT @0x10472ff50 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Error: Global Symbol pango_unichar_direction not found, cannot apply R_X86_64_GLOB_DAT @0x10472ffc8 ((nil)) in /home/heasterian/cemu_1.23.1/librsvg-2.so.2
Using native(wrapped) libogg.so.0
Using emulated /home/heasterian/cemu_1.23.1/libnuma.so.1
Error: Unsupported libc Syscall 0xCC (204)
Heasterian commented 3 years ago

So it went a bit further.

Using emulated libnuma.so.1
0009:err:ole:CoGetClassObject class {4590f811-1d3a-11d0-891f-00aa004b2e24} not registered
0009:err:ole:CoGetClassObject no class object {4590f811-1d3a-11d0-891f-00aa004b2e24} could be created for context 0x1
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10fe088, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10fcb08, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f6803feb8 (db=0x97b9e520, x64addr=0x140406e51)
7500|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x22d438, stack=0x7f7d7ad000:0x7f7dfad000 own=(nil) fp=0x22f3c9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10fb588, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10fa008, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10f8a88, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10f7508, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
Warning, jumping to a no-block address (nil) from 0x7f699f0038 (db=0x7f6401e870, x64addr=0x140222d4f)
7901|SIGSEGV @0x648ce3fc (???(/usr/local/bin/box64/0x648ce3fc)) (x64pc=0x1/???:"???", rsp=0x10f5f88, stack=0x1000000:0x1104000 own=(nil) fp=0x10ff7d9), for accessing (nil) (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=0x7bcb9e30
addr2line -a 0x648ce3fc -e /usr/local/bin/box64
0x00000000648ce3fc
/home/heasterian/box64/src/emu/x64run.c:66 (discriminator 3)
Heasterian commented 3 years ago

Also, I get another opcode.

18629|0x22d930: Unimplemented Opcode (00) 0F 00 01 00 80 1F 00 00 7B 00 7B 00 7B 00 33
Grima04 commented 3 years ago

Cemu is now able to launch on box64 + Wine 6.0 when downloading wldap32.dll to the Cemu.exe directory and forcing the dll to load via winecfg. When trying to launch Mario Kart 8 on Cemu though, the game opens for a brief moment and then crashes due to an unimplemented opcode: 19741|0x538f2c51: Unimplemented Opcode (C0) F3 0F BD EE 89 74 24 1C 48 89 EE C1 EE 05 89 Edit: I found another one when launching Zelda BotW: 21059|0x57361622: Unimplemented Opcode (14) F3 0F BD C3 48 89 D3 83 C3 08 89 54 24 08 89

Grima04 commented 3 years ago

Thanks. Now I have gotten two other missing opcodes (with MK8): 23352|0x140b50329: Unimplemented Opcode (00) CD 29 41 B8 01 00 00 00 BA 15 00 00 40 41 8D 23352|0x13e42: Unimplemented Opcode (00) 6F 00 67 00 72 00 61 00 6D 00 44 00 61 00 74

ptitSeb commented 3 years ago

23352|0x140b50329: Unimplemented Opcode (00) CD 29 41 B8 01 00 00 00 BA 15 00 00 40 41 8D

the "CD 29" is "INT 29". While I would know what to do on DOS, I don't understand what is expected under Windows 64bits.

23352|0x13e42: Unimplemented Opcode (00) 6F 00 67 00 72 00 61 00 6D 00 44 00 61 00 74

I don't think that's opcode. More like utf16 text: "ogramDat"

Heasterian commented 3 years ago

I'll leave it here, just to not lose it: https://docs.microsoft.com/en-us/cpp/intrinsics/fastfail?redirectedfrom=MSDN&view=msvc-160

Grima04 commented 3 years ago

I have tested Cemu again with Mario Kart 8 using the latest box64 version. Now the unimplemented opcode errors are gone but Cemu crashes with a SIGSEGV error: 78741|SIGSEGV @0x9f20bedc (???(0x9f20bedc)) (x64pc=0x1402bfa53/???:"???", rsp=0x1321fdf0, stack=0x7f8c613000:0x7f8ce13000 own=(nil) fp=(nil)), for accessing 0x180060008 (code=2/prot=40), db=0x9f3a2520(0x9f20be8c:0x9f20bfb4/0x1402bfa35:0x1402bfa85/???:clean, hash:581759/581759) handler=0x10004fe00

Edit: I have now attached a log made with BOX64_DLSYM_ERROR=1 as well: cemu.log

Grima04 commented 2 years ago

I have launched Cemu again with Wine 6.0 and box64 (v0.1.3 3aa12a5) to see if something changed. Now it crashes due to an unimplemented opcode: 24794|0x14004818e: Unimplemented Opcode (EA) 66 0F 3A 22 D8 03 49 8D 40 03 66 0F 7F 5C 24

Firlaev-Hans commented 2 years ago

That opcode is now implemented but now I get a symbol not found error (also with Wine 6.0):

Error: Symbol heim_abort not found, cannot apply R_X86_64_JUMP_SLOT @0x101f30178 (0xcfc6) in /media/firlaev-hans/HDDEXT4/lib/x86_64-linux-gnu/libgssapi.so.3
Error: relocating Plt symbols in elf libgssapi.so.3
Error initializing needed lib libgssapi.so.3

This same symbol has also been a problem with multiple other games, such as Sleeping Dogs: Definitive Edition

ptitSeb commented 2 years ago

this libgssapi.so.3 probably needs some wrapping on box side. That would make things easier to use the native version of it.

rajdakin commented 1 month ago

Is this fixed now?

Firlaev-Hans commented 1 month ago

Yes, both the Windows version and the native Linux version (which didn't exist when this issue was made) seem to at least launch fine now. I can't do much further testing at the moment.