maxkleiner / maXbox4

code compiler script studio
GNU General Public License v3.0
23 stars 10 forks source link

Work with Wine Error Code #39

Open maxkleiner opened 8 months ago

maxkleiner commented 8 months ago

EOSerror SystemError code -2003283966

I am getting an EOSError code by starting an EXE with Wine: EOSerror SystemError code -2003283966 How can I find the reason why or the meaning of the code?

https://softwareschulecode.files.wordpress.com/2023/11/mintlinux2023-11-24.png?w=1800&h=

I tried the dbg debugger and fixed access violations in RAD Studio 11.3 Alexandria

error_mintlinux2023-11-24

maxkleiner commented 8 months ago

The same goes with Win7 to start: error_screen_8_win7 Win8.1 works!

maxkleiner commented 8 months ago

faced the same issue on Ubuntu 18.10. and Kali Linux I had to de-install & re-install package winbind

sudo apt-get remove winbind && sudo apt-get install winbind and this error went out... (another one remains, but that's probably another issue : errorVirtualBox_Kalilinux64_27_11_2023

maxkleiner commented 8 months ago

So I decided to check (Resxplor resxplor.exe compile with and without TSynedit component) another small app with TSynedit on it and we got the same errorcode and also by PyScripter we got an hint that it depends on a page fault: Error_resX_withsynedit_VirtualBox_Kalilinux64_29_11_2023_18_28_25 Pyscripter uses also TSynEdit Error_pyscripter_log_VirtualBox_Kalilinux64_29_11_2023_18_33_21

maxkleiner commented 8 months ago

https://stackoverflow.com/questions/43256043/returning-error-code-in-linux-kernel?rq=2 I was trying to understand how Linux system calls return error codes. I bumped into times() system call. This simple system call copies some data to user space and if that operation was not successful returns -EFAULT:

SYSCALL_DEFINE1(times, struct tms __user *, tbuf) { if (tbuf) { struct tms tmp;

    do_sys_times(&tmp);
    if (copy_to_user(tbuf, &tmp, sizeof(struct tms)))
        return -EFAULT;
}
force_successful_syscall_return();
return (long) jiffies_64_to_clock_t(get_jiffies_64());

}

Then I turned strace on but with no solutions I can see error_strace_VirtualBox_Kalilinux64_01_12_2023_17_00_45

maxkleiner commented 8 months ago

IMHO, a missing API function that doesn't exist in a emulated host environment (Wine) is not an excuse to put such a fix you mention inside the program's code. mX5 is written for Windows and it works excellent there. the mX5 alphaversion based on D10.4 with SynEdit GDI works fine with Wine. Since a workaround is found for Wine and D11.3 SynEdit Dircect Write, I guess that's all it matters.

maxkleiner commented 8 months ago

Update for V 5.0.2.40

maxkleiner commented 4 months ago

Another Test in Win7 64bit also DirectDraw

wom7systemerrormx5