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

Old 16 bit application runs well but it crashed, when I try to open a file #1206

Closed
IBIS628 opened this issue Oct 9, 2022 · 10 comments · Fixed by #1211
Closed

Old 16 bit application runs well but it crashed, when I try to open a file #1206

IBIS628 opened this issue Oct 9, 2022 · 10 comments · Fixed by #1211

Comments

@IBIS628
Copy link

IBIS628 commented Oct 9, 2022

Describe the bug

The application is for reading out/ to open driving files. It works fine, but if I try to open a file, it crashes:

Interrupt

**Environment

  • OS: Win 10 21H2
  • Version 19044.2006

I tried to create a trace, but it doesn't work, so here's the content of the cmd window, after it crashed:
Log.txt

@cracyc
Copy link
Contributor

cracyc commented Oct 9, 2022

Please make a trace with the instructions from #226 (comment)

@IBIS628
Copy link
Author

IBIS628 commented Oct 9, 2022

ok, now I got it
trace.txt

@cracyc
Copy link
Contributor

cracyc commented Oct 10, 2022

Can you do that again with "set WINEDEBUG=+all,-snoop,-ldt,-fixup,-module,-local,-disasm,-syslevel,-thunk" (-global removed).

@IBIS628
Copy link
Author

IBIS628 commented Oct 10, 2022

Okay, here is the new trace: trace.txt

@cracyc
Copy link
Contributor

cracyc commented Oct 14, 2022

@IBIS628
Copy link
Author

IBIS628 commented Oct 14, 2022

It works, thanks! But it takes up to 30sec to open a little file (34kB) / up to 3min for a larger file (1MB). Sometimes there will be a Runtime Error 401 "Can't show non-modal form when modal form is displayed"
If you want to try it yourself:
Setup.zip

@cracyc
Copy link
Contributor

cracyc commented Oct 14, 2022

Enabling whpx makes the program more usable but window repainting is still quite slow. I'm not sure how to get the runtime error to happen.
Edit: Some dialogs get hidden behind the main window, last commit fixes that and may fix the runtime error.

@IBIS628
Copy link
Author

IBIS628 commented Oct 15, 2022

Now it's much faster and works good,. Thanks a lot! :D

@cracyc
Copy link
Contributor

cracyc commented Nov 8, 2022

The slow window painting is an issue with dwm. With dwm disabled it's as fast as ntvdm is.

@IBIS628
Copy link
Author

IBIS628 commented Nov 17, 2022

Thank you for continuing to work on my problem. With the new version 2370 and activated whpx it now works almost as well as with an older 32-bit operating system

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

Successfully merging a pull request may close this issue.

2 participants