Closed goddade closed 1 year ago
If python3-dbg works fine, it's probably some race condition in the threading. Why do you use the linux lib through WSL on windows, instead of patching the DLL? (I don't have a windows machine, so you are a bit on your own on this issue tbh..)
Same problem in ubuntu 22.04 in virtualbox. 😔️ Any suggestions?
Just a stretch, but I'm seeing similar issues on old (15+ years) CPUs, probably missing some extensions that are compiled in the library. What machine are you running this on? Also, how did you patch libsoda?
Virturalbox runs on ubuntu 20.04, cpu is Intel(R) Xeon(R) Gold 5117. WSL2 runs on windows 10, cpu is Intel(R) Core(TM) i7-6700.
That is unlikely to be the issue then, really odd. It's possible that your way of patching the library broke something, it's impossible for me to guess what is going wrong with the information provided..
Works fine in c++. #16
I forgot to mention the way I patched the library.
I changed 31 C0
to B0 01
.
Thanks for the PR, looks nice. Your patch is nicely small, I think to remember I did it slightly different so it might be from that. Seeing you got it running in C++ I can close this as won't fix? (Since I don't have a clue why it does this)
OK I try to make a c++ warpper, then call it in python.
@goddade does 0914d70 address this?
Pointers in python3-dbg are 32-bit, so ...
This must have been quite a puzzler to figure out! Well done and thanks a lot.
Windows 10 wsl2 ubuntu 22.04 The version of libsoda.so is 1.1.1.2.
Then I tried to use python3-dbg to find more info, but it works fine.