ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.33k stars 228 forks source link

flashplayer: SIGSEGV when attempts to press "open..." #568

Open knyipab opened 2 years ago

knyipab commented 2 years ago

My setup is termux proot-distro ubuntu 21.10 (aarch64, manage to compile box86 using MultiArch and works with wine games like Little Fighter 2).

32-bit Linux flashplayer is a bit difficult to find now. It's available as ./data/fp in SSF2 (Linux), Or alternatively, it's on Adobe Flash Standalone Projector back in 2017 or before, with help of Web Archive)

How to reproduce: cd into the "data" folder --> box86 flashplayer. The window does show up (as below) but it crashes when press "open...".

Screenshot_20220207-213006_bVNC Free

Log from terminal

ERROR: ld.so: object '/usr/lib/aarch64-linux-gnu/libgcc_s.so.1' from /etc/ld.so.preload cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Debug level is 1
Dynarec for ARMv8, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Box86 with Dynarec v0.2.5 60078852 built on Feb  4 2022 23:20:31
BOX86_LD_LIBRARY_PATH: /tarballs/wine_x86/lib/
BOX86_PATH: /tarballs/wine_x86/bin/
Counted 52 Env var
Looking for flashplayer32
Using native(wrapped) libgthread-2.0.so.0
Using native(wrapped) libX11.so.6
Using native(wrapped) libdl.so.2
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXt.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libssl3.so
Using native(wrapped) libsmime3.so
Using native(wrapped) libnss3.so
Using native(wrapped) libnssutil3.so
Using native(wrapped) libplds4.so
Using native(wrapped) libplc4.so
Using native(wrapped) libnspr4.so
Using native(wrapped) libpthread.so.0
Using native(wrapped) libgtk-x11-2.0.so.0
Using native(wrapped) libgdk-x11-2.0.so.0
Using native(wrapped) libgobject-2.0.so.0
Using native(wrapped) libglib-2.0.so.0
Using native(wrapped) libgio-2.0.so.0
Using native(wrapped) libgmodule-2.0.so.0
Using native(wrapped) libgdk_pixbuf-2.0.so.0
Using native(wrapped) libpangocairo-1.0.so.0
Using native(wrapped) libpango-1.0.so.0
Using native(wrapped) libatk-1.0.so.0
Using native(wrapped) libpangoft2-1.0.so.0
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libcairo.so.2
Using native(wrapped) libm.so.6
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Error: Global Symbol gtk_major_version not found, cannot apply R_386_GLOB_DAT @0x8edc530 ((nil)) in flashplayer32
Using global gdk_display for gdk-x11 (0xffbf5998:0xe8a2cdc8)
Error: Global Symbol SSL_ImplementedCiphers not found, cannot apply R_386_GLOB_DAT @0x8edd30c ((nil)) in flashplayer32
Error: Global Symbol SSL_NumImplementedCiphers not found, cannot apply R_386_GLOB_DAT @0x8edd5ac ((nil)) in flashplayer32
Error: Global Symbol gtk_minor_version not found, cannot apply R_386_GLOB_DAT @0x8edd938 ((nil)) in flashplayer32
Vector smash protection is enabled.
Error loading needed lib libcurl.so.5
Warning: Cannot dlopen("libcurl.so.5"/0x8ded189, 1)
Error loading needed lib libcurl-gnutls.so.5
Warning: Cannot dlopen("libcurl-gnutls.so.5"/0x8ded196, 1)
Using native(wrapped) libcurl.so.4

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.642: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.649: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.652: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.656: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.665: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.670: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.673: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.679: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.692: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.704: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.708: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.710: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.722: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.729: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.738: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.742: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.744: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.746: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.753: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.756: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.758: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.759: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.762: Unable to locate theme engine in module_path: "pixmap",

(flashplayer32:12133): Gtk-WARNING **: 21:29:52.764: Unable to locate theme engine in module_path: "adwaita",
Error loading needed lib libvdpau.so
Warning: Cannot dlopen("libvdpau.so"/0x8ded6a5, A)
Error loading needed lib libvdpau.so.1
Warning: Cannot dlopen("libvdpau.so.1"/0x8ded6b1, A)

(flashplayer32:12133): Gdk-WARNING **: 21:29:53.396: shmat failed: error 12 (Cannot allocate memory)
12133|SIGSEGV @0xd95ef4b8 (???(0xd95ef4b8)) (x86pc=0x85206fb/flashplayer32:"flashplayer32/_setjmp + 5015888", esp=0xe8808ac4, stack=0xe800a000:0xe880a000 own=(nil) fp=0xe8808b5c), for accessing (nil) (code=1/prot=0), db=0xd9721858(0xd95ef440:0xd95ef56c/0x85206d0:0x8520720/flashplayer32/_setjmp + 5015888:clean, hash:955f4da4/955f4da4)
Application crashed with an unhandled SIGSEGV
ptitSeb commented 2 years ago

Is this fixed now, can the ticket be closed?