Comments (15)
So I have added some function, but many are still missing (but it may go a bit farther).
from box86.
So, that's a lot of unwrapped functions.
I guess some may comes for libutil.so that is emulated. I'll see if I can that lib to the list of wrapped one.
I'll try to get that dropbox executable, so I can test myself. I assume the crash is because of some unwrapped function for now.
Now, about other libs, libssl is added, but there are just a handfull of function wrapped for now.
from box86.
With latest commit, dropbox seems to launch... until it crash.
I get :
Using default BOX86_LD_LIBRARY_PATH: ./:lib/
Using default BOX86_PATH: ./:bin/
Counted 60 Env var
Looking for dropbox
Using native(wrapped) libpthread.so.0
Using native(wrapped) libdl.so.2
Using emulated /mnt/utmp/codeblocks/usr/lib/i386-linux-gnu/libutil.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) librt.so.1
Using native(wrapped) libm.so.6
Warning, don't know of to handle rel #4 type: 0xe (unknown) (0x40133ff0)
dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-Zeqzjx
dropbox: initializing
dropbox: initializing python 3.7.2
dropbox: setting program path '/media/sda1/sources/dropbox/.dropbox-dist/dropbox-lnx.x86-76.3.110/dropbox'
dropbox: setting home path '/media/sda1/sources/dropbox/.dropbox-dist/dropbox-lnx.x86-76.3.110'
dropbox: setting python path '/media/sda1/sources/dropbox/.dropbox-dist/dropbox-lnx.x86-76.3.110:/media/sda1/sources/dropbox/.dropbox-dist/dropbox-lnx.x86-76.3.110/python-packages-37.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
Using emulated /media/sda1/sources/dropbox/.dropbox-dist/dropbox-lnx.x86-76.3.110/_heapq.cpython-37m-i386-linux-gnu.so
dropbox: running main script
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "dropbox/__init__.pyc", line 10, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "dropbox/overrides.pyc", line 71, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "build_number/__init__.pyc", line 23, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "build_number/_frozen_version.pyc", line 3, in <module>
File "build_number/versions.pyc", line 186, in __init__
AssertionError: Bad platform 'lnx.armv7l'
!! dropbox: fatal python exception:
['Traceback (most recent call last):\n', ' File "<frozen importlib._bootstrap>", line 983, in _find_and_load\n', ' File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 668, in _load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible\n', ' File "dropbox/__init__.pyc", line 10, in <module>\n', ' File "<frozen importlib._bootstrap>", line 983, in _find_and_load\n', ' File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 668, in _load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible\n', ' File "dropbox/overrides.pyc", line 71, in <module>\n', ' File "<frozen importlib._bootstrap>", line 983, in _find_and_load\n', ' File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 668, in _load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible\n', ' File "build_number/__init__.pyc", line 23, in <module>\n', ' File "<frozen importlib._bootstrap>", line 983, in _find_and_load\n', ' File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 668, in _load_unlocked\n', ' File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible\n', ' File "build_number/_frozen_version.pyc", line 3, in <module>\n', ' File "build_number/versions.pyc", line 186, in __init__\n', "AssertionError: Bad platform 'lnx.armv7l'\n"] (error 3)
Segmentation fault
So it seems it detect my true cpu "armv7l" and crash with that. Not sure how to fix that.
from box86.
That is Python. I am figuring how that could be solved.
from box86.
Ok, with commit 8c285de dropbox seems to load much farther now, I guess you can try again @lunderhage
from box86.
Yeah, we get past the cpu architecture check.
I get even further by force installing libffi6 for i386:
dpkg --force all -i /tmp/libffi6_3.2.1-9_i386.deb
(it's a docker container anyway)
from box86.
librsync1_0.9.7-10build1_i386.deb is needed as well.
from box86.
This is the current state after installing those two i386 libraries:
dropbox-box86_1 | dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-i386-linux-gnu.so'
dropbox-box86_1 | Using emulated /home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-i386-linux-gnu.so
dropbox-box86_1 | Using emulated /home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/_yappi.cpython-37m-i386-linux-gnu.so
dropbox-box86_1 | Using emulated /home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/nucleus_python.cpython-37m-i386-linux-gnu.so
dropbox-box86_1 | thread panicked while processing panic. aborting.
dropbox-box86_1 | 0022|0xb2c6efe6: Unimplemented Opcode 0F 0B 0F 0B B9 01 00 00
docker-dropbox-box86-arm_dropbox-box86_1 exited with code 72
from box86.
That "thread panicked while processing panic" doesn't sounds good.
Also the OpCode "0F 0B" is "Undefined Opcode 2", i.e. ud2
: an opcode who sole purpose is to trigger an invalid opcode interruption. That doesn't sounds too good either.
from box86.
According to this post it could work to delete nucleus_python.cpython-37m-i386-linux-gnu.so in the dropbox installation:
https://www.dropboxforum.com/t5/Installs-integrations/Linux-Dropbox-doesn-t-start-Illegal-instruction/td-p/319640
Then it segfaults this way instead:
dropbox-box86_1 | dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-i386-linux-gnu.so'
dropbox-box86_1 | Using emulated /home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/linuxffi.gnu.compiled._linuxffi_gnu.cpython-37m-i386-linux-gnu.so
dropbox-box86_1 | Using emulated /home/dropbox/.dropbox-dist/dropbox-lnx.x86-76.4.126/_yappi.cpython-37m-i386-linux-gnu.so
dropbox-box86_1 | Warning, call to __cxa_thread_atexit_impl(0xb4d4bd30, 0xa5201824, 0xb4e9693c) ignored
dropbox-box86_1 | Warning, call to __cxa_thread_atexit_impl(0xb4d48360, 0xa520184c, 0xb4e9693c) ignored
dropbox-box86_1 | Segmentation fault (core dumped)
docker-dropbox-box86-arm_dropbox-box86_1 exited with code 139
from box86.
Can you try if it's working now, and close the ticket if it does?
from box86.
Made an attempt today:
Box86 v0.1.9 0a3c678 built on Jan 5 2021 14:43:32
dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-899lq9
dropbox: initializing
dropbox: initializing python 3.7.9
dropbox: setting program path '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/dropbox.i686'
dropbox: setting python path '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321:/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/python-packages.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: enabling allocator metrics
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/cryptography.hazmat.bindings._constant_time.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/cryptography.hazmat.bindings._openssl.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/cryptography.hazmat.bindings._padding.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/psutil._psutil_linux.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/psutil._psutil_posix.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/apex._apex.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/tornado.speedups.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/wrapt._wrappers.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/PyQt5.QtWidgets.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/PyQt5.QtCore.cpython-37m-i386-linux-gnu.so'
dropbox: load fq extension '/home/dropbox/.dropbox-dist/dropbox-lnx.x86-112.4.321/PyQt5.QtGui.cpython-37m-i386-linux-gnu.so'
0030|Double SIGSEGV!
0029|SIGSEGV @0x628b4646 (???(box86/0x628b4646)) (x86pc=0x62ad308f/???:"???", esp=0xab833c90), for accessing (nil) (code=1)
0032|Double SIGSEGV!
from box86.
Was there any progress on this? I am also interested in getting DB to work on an odroid board using box86
from box86.
@pimaster3141 Maybe give it a try and see? If it crashes, a new error log might be helpful too
from box86.
Can the ticket be closed?
from box86.
Related Issues (20)
- Box86 in docker works on arm linux, not on arm macos HOT 2
- wine in box86 v0.3.0 can't get drives in winecfg HOT 7
- [RPi4] Enabling XInput support in Wine HOT 10
- Monster Hunter Frontier Online random crash
- Problems with winegstreamer HOT 8
- steam not running for me on raspberry pi4 x64 4GB HOT 1
- Cant install box86 on proot-distro in termux dpkg systemd error HOT 1
- Some games not running anymore with master branch HOT 15
- Tor not working with Box86 HOT 2
- "Directory not empty" error when trying to reinstall steam HOT 1
- box86 down?, box64 still respond HOT 2
- How the hell do I compile this on Alpine Linux? HOT 4
- blank login window for Steam HOT 2
- Installing wine 5.1/6.0 on arm debain
- Performance regression in Starcraft Broodwar 1.16 with cnc-ddraw (with bisect) HOT 3
- had to use DBUS_FATAL_WARNINGS=0 to get steam to launch on RK3588
- X_ChangeProperty: BadValue in "Penumbra: Overture" (Linux Native)
- SIGSEGV in "Penumbra: Black Plague" (Linux native)
- Unimplemented Opcode (51) EF 61 50 52 50 52 0F 31
- Running Wine and VARA HF works on eb44fd6 but crashes on 1411d44 HOT 34
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box86.