Skip to content

The process is immediately suspended after opening Swift #335

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

Open
SuperSummer07 opened this issue Jan 25, 2025 · 2 comments
Open

The process is immediately suspended after opening Swift #335

SuperSummer07 opened this issue Jan 25, 2025 · 2 comments
Labels
investigation Further information is requested

Comments

@SuperSummer07
Copy link

OS: Windows10 64
Platform: X-Plane 11

After successfully installing Swift on my computer, I tried to start it, but the Swift process appeared in the task manager and was suspended after a few seconds, and then the process ended.
I have tried following https://swift-project.org/troubleshooting/crash_startup/ Guiding oneself to eliminate errors, but the provided solutions are not effective.
Is there any other way to solve this situation?

@ltoenning
Copy link
Contributor

Have you took a look at the log files? You can find them as described here: https://swift-project.org/troubleshooting/swift_log_files/ Maybe this gives a clue why swift keeps crashing.

If you are not sure about the content of the log file, you can send it to me via Discord as a private message and I will have a look.

@ltoenning ltoenning added the investigation Further information is requested label Feb 1, 2025
@half-nothing
Copy link

The same thing happened to me
Windows11 XP11 Swift Version 0.15.46

I contacted Flyingfox on Discard ( Thanks for his patient help :) ) and he asked me to see if any virus scanner was running
I actually found one in the corner, and when I turned it off, it actually worked, and I thought that solved the problem
But as I prepared for a pleasant playtime the next day, the problem arose, again
So I had to pull out my WinDbg to analyze the dump
And then I found this interesting thing

0000004b`942ff720 00007ffb`0b6c1ee4 EZFRD64!DllCanUnloadNow+0x1360
0000004b`942ff7c0 00007ffb`0b6d05b2 WINMM!TimerCompletion+0xc4
0000004b`942ff830 00007ffb`1e5be8d7 WINMM!timeThread+0x92
0000004b`942ff970 00007ffb`1f17bf2c KERNEL32!BaseThreadInitThunk+0x17
0000004b`942ff9a0 00000000`00000000 ntdll!RtlUserThreadStart+0x2c

Yes, it is EZFRD64.dll

0:023> lm vm EZFRD64
start             end                 module name
00007ffa`c85d0000 00007ffa`c87fc000   EZFRD64  C (export symbols)       EZFRD64.dll
    Loaded symbol image file: EZFRD64.dll
    Mapped memory image file: D:\Program Files\PXNJoystick\EZFRD64.dll
    Image path: D:\Program Files\PXNJoystick\EZFRD64.dll
    Image name: EZFRD64.dll

So I found the problem, PXNJoystick this software comes with EZFRD64.dll file due to some unknown reasons caused this problem
So the solution is simple
Rename EZFRD64.dll to EZFRD64.dll.bak
I also renamed EZFRD.dll to EZFRD.dll.bak
So, my problem is solved, and now it runs very smoothly

I hope you found my experience helpful

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

No branches or pull requests

3 participants