Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wine Compatability (Linux Support) #247

Open
maxkleiner opened this issue Nov 30, 2023 · 12 comments
Open

Wine Compatability (Linux Support) #247

maxkleiner opened this issue Nov 30, 2023 · 12 comments

Comments

@maxkleiner
Copy link

I am getting an EOSError code by starting an EXE with TSynedit component in it with Wine7:
EOSerror SystemError code -2003283966 How can I find the reason why or the meaning of the code?
I tried the dbg debugger and fixed access violations in RAD Studio 11.3 Alexandria but TSynEdit Version from getit in Delphi 10.4 works, the cause is in my opinion is RAD Studio 11.3 Alexandria with TSynEdit (could be an access of Dwrite since the newest SynEdit uses).
Ddb debugger mentioned an unhandled page fault access at the initialisation or start:

Error_resX_withsynedit_VirtualBox_Kalilinux64_29_11_2023_18_28_25
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 error code and also by #PyScripter (which uses Synedit too) we got a hint that it depends on a page fault:

Error_pyscripter_log_VirtualBox_Kalilinux64_29_11_2023_18_33_21
See also
maxkleiner/maXbox4#39

@pyscripter
Copy link
Contributor

pyscripter commented Nov 30, 2023

Are you using the latest version of PyScripter? There have been some Win7 fixes.

@maxkleiner
Copy link
Author

Right:
image

@pyscripter
Copy link
Contributor

Does PyScripter produce an error message with a call stack?

@maxkleiner
Copy link
Author

Yes the Wine Debugger calls a stack trace window (see above pic 2) and in the meantime I made more testst with synedit based on D 10.4 and synedit D 11.3 , all 64.bit apps before 11.3 (synedit without directwrite) run on Wine even on older versions on wine (1.6 - 8.1) so bug is more or less an exception from SynDwrite or SynEditMiscClasses.?

@pyscripter
Copy link
Contributor

pyscripter commented Dec 1, 2023

Yes the Wine Debugger calls a stack trace window (see above pic 2)

I mean an error message from PyScripter. PyScripter shows an error message when an unhandled exception is encountered.

@maxkleiner
Copy link
Author

No it stops there with the program error details, so I've tried using the cmd line to launch the app as well as just double clicking on the icon wine creates as if it was a windows environment. When I try to use it like a windows environment and just double click, then the same unhandled exception as program error appears.

@maxkleiner
Copy link
Author

Has to do with issue SynEdit/SynEdit#91
I try next a syn_dwrite disabling:
// DirectWrite
{$IFDEF SYN_DELPHI_XE2_UP}
{.$DEFINE SYN_DirectWrite}
{$ENDIF}
but I don't know the drawbacks

@pyscripter
Copy link
Contributor

Which fork of SynEdit are you using? You cannot disable DirectWrite with this fork. Could you please try the Wine workaround suggested in SynEdit/SynEdit#91?

@maxkleiner
Copy link
Author

The workaround doesnt work, so the same runtime error we find in windows7 is now with wine9 latest version
wom7systemerrormx5

@pyscripter
Copy link
Contributor

I meant have you tried this fix.

@maxkleiner
Copy link
Author

maxkleiner commented Mar 26, 2024

I meant have you tried this fix.
Yes but none of the workarounds work for me.

@maxkleiner
Copy link
Author

maxkleiner commented Jun 24, 2024

Does anybody know the error code: -2003283966 (wine9) or -2003292288 (win7) ? (cause dwrite or d2d1)

writ(SysErrorMessage(-2003283966));
Indicates the specified font does not exist
writ(SysErrorMessage(-2003292288));
The bitmap pixel format is unsupported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants