-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Crash on startup when program is moved to other screen then closed #1035
Comments
for the time being, until this is fixed, use the portable version (zip archive!) |
If you use two monitors, this description for "working once, then crashing on subsequent attempts" seems similar to a problem I'm experiencing (and used to experience with the Openarl version): If I close PoB while it's on my second monitor, subsequent attempts to open it default to opening it on the second monitor, and PoB throws a memory access error, then hangs without responding to attempts to close it (except through task manager). As in the link above, deleting a line in the Openarl version's Launch.cfg prevented PoB from remembering which monitor it was on last time, working around the problem, but I see no such Launch.cfg to edit for the fork and see if it's the same issue. For now, remembering to move PoB back to my primary monitor before closing it avoids the problem, but if I forget it'll require a reinstall unless I can find where the fork stores the Edit: And of course if I'd taken two more minutes on my own, I'd have found it: |
Yeah i'm running a triple monitor setup and usually move PoB around. I'll try this one, thanks for the suggestion Edit: Unfortunately this didn't help. Even after removing the line and putting the file to read only it still goes black after startup and doesn't respond anymore. I can however close it the traditional way (don't need task manager) so this might be a different issue. |
downloaded and tried using the .zip version but this one doesn't even work on first startup. I get the usual startup console, it reads Unnamed build(Scion) at the top and screen is black and goes into "not responding" when i try to interact with it |
I have the exact same issue here. I've used both .exe and zip archive, same result. I was using the .exe installer about two or three days earlier and it has worked without problems. Edit: After restarting, which updated windows, and removing Path of Building folders from AppData, the issue is gone. |
This should have been fixed with the new installers from version 1.4.170.4 onwards |
Got the latest installer (1.4.170.4) and installed the latest version but can still cause it to crash with the same pattern. |
Still getting this issues with Release 1.4.170.16. have tried both .exe and .zip versions. |
@BWRStennett @lllIIIllII @Notty1 @ShiShi-CZ Could you please try out this updated SimpleGraphic.dll and see if it fixes your crashing issues?
PoB will say there is an update, but do not apply it. If you apply the update, it will replace SimpleGraphic.dll with the original version. Thanks! |
@dclamage Thanks for the ping! I recently came back to PoE for Ritual and uninstalled/reinstalled PoB Community because I was having an issue with updates hanging on updating SimpleGraphic.dll. I don't recall which version PoB installed as, but I'm currently running 1.4.170.25. I can close PoB while it's on my second monitor and relaunch it without any crashes so far. When I launch it now, the SimpleGraphic console briefly appears on whichever monitor I click the shortcut on, and after the console finishes its preparations, PoB launches on my second monitor where I had it last. Even with my workaround, it's never successfully launched on my second monitor before. Preliminary results would seem to suggest that my issue mentioned above has been fixed sometime since I took a break from PoE back in early Heist league. I'll have to wait for another update to confirm my update hanging issue is fixed, but even if it isn't, that's likely a separate issue from this topic. For clarity, I haven't updated my SimpleGraphic.dll as you instructed above, but if it would help your diagnosis at all to run it even when my issue seems to be fixed, let me know. |
@BWRStennett Thanks for the reply. I would be grateful if you could run a quick test with the dll I provided, as I want to make sure it doesn't re-introduce the crash you were experiencing. It shouldn't, but I have no way to test it myself, so I want to make sure. Thanks! |
I downloaded your SimpleGraphic.dll, replaced my own (after making a copy), and launched PoB from the shortcut on my first monitor. The SimpleGraphic console appears on the first monitor, but because I last closed PoB on my second monitor the main window tries to open on the second monitor, and then I get an APPCRASH. Of note, this crash is handled far more gracefully than before, because Windows recognizes the process has stopped working and I can choose to "Close the program." Previously, I would have to kill the process manually. I edited my Launch.cfg as I described back in June, so PoB forgot which monitor it was previously on before closing. I also created a second PoB shortcut on my second monitor. Now, I can launch PoB from either shortcut (so, either monitor) and the SimpleGraphic console will appear on the respective monitor before launching the main PoB window on my first monitor without any problem. However, if I move this PoB window to my second monitor and close it, relaunching PoB from either shortcut reintroduces the crash. Since I've been typing this out, I reset the In summary, your modified SimpleGraphic.dll did indeed reintroduce a very similar crash to what I was experiencing before, albeit a more gracefully-handled error that I can simply close. Upon further testing, the window's frame/bezel is allowed to be on my second monitor when I close it without inducing the crash on next startup, but if any portion of the window's contents appear on the second monitor when I close it, it will crash on next startup. I have now replaced the modified SimpleGraphic.dll with the standard version I was using (still 1.4.170.25) and run all the same tests without any crashes. Hope that helps! |
@BWRStennett Thanks for the info and detailed response. I'll be looking into this and asking you to try another dll later if that's ok? |
@dclamage Sure, I'll try to keep an eye on my email. I haven't been getting push notifications lately, but I check in from time to time. |
I have a new dll for you to test here: https://github.com/dclamage/PathOfBuilding-SimpleGraphic/suites/1899290700/artifacts/37223955 Thanks! |
@dclamage Great! I made a copy of my SimpleGraphic.dll again before testing it as the control one last time (no issues) and then overwriting it with this one. I thought ahead and deleted the Anyway, back to your latest version! Now for the actual bug for which we're here: Lastly, some things I expect you already know, but which I've not reported before: I should mention at this point that in the course of swapping versions around, I accidentally overwrote my copy of the live version backup I made at the start of testing, so I "updated" PoB in order to get a fresh copy. I don't expect there is any difference between the copy I lost of my 1.4.170.25 SimpleGraphic.dll and the 1.4.170.25 SimpleGraphic.dll I just downloaded, but in the event we notice some change in behavior, I'm making note of it here. It seems to act just like the one I had without any crashes, at any rate. No luck yet, but I hope that helps some! Live 1.4.170.25 |
@BWRStennett Thanks for the incredible detail. None of the PoB community devs have been able to reproduce your issue. If you're willing to set aside some time to help out, could you contact me on Discord [REDACTED] so that we can try different things and discuss this in real-time? I live in the PST time zone. |
This issue has been tracked down to a bad interaction between a Windows 7 update and Radeon drivers, and neither company has any plans to fix it. This means PoB simply won't work in that specific scenario. You may be able to fool with driver setups, but my recommendation is to upgrade to Windows 10. If you encounter this issue and you are on Windows 8 or newer, please let me know. |
Still same szenario: Win 10 and a Nvidia card. Tried using both the first and the second DLL provided but that didn't help. The DLLs were tried in a state where it was already crashing all the time. Did a fresh reinstall and tried the first and second DLL but same pattern |
I gave you several weeks to respond and you did not. Thanks for coming back with the issue but please try to be more responsive in the future if you want your issue fixed. We are not able to reproduce the issue ourselves. Please make sure the following:
|
Sorry for that, turned out that my mailclient wasn't configured correctly and the folder that got these updates didn't check automatically. Should get updates every 10 minutes now. Both Windows and Nvidia drivers up to date and all 3 monitors are connected to the GPU. |
@lllIIIllII |
It loads all the 3.x tree data and the last line in the console is "loading item database". |
I am having the same issue as well on windows 10 with updated nvidia drivers and everything. If I close pob on my 2nd screen then relaunch it, it will go through all the start up loading then crashes when pob windows pop ups. If I delete the launch.cfg, it will work again and go back the main monitor. Is there any more details or anything I can help to resolve this issue? |
@hamadbhassan We have plans to use a helper library for handling window creation and OpenGL initialization, rather than doing it ourselves at a low level. Clearly PoB is doing something nonstandard that makes certain computer setups crash, but it's hard to figure out exactly what or how to fix it, since none of the devs can reproduce the issue. You'll just have to be patient, as swapping out something low level like that is both time consuming and intricate, and will need to be thoroughly tested. No ETA at the moment. |
Fair enough. Thanks for the reply. If you need anything from my side, I am happy to help as well. |
Application crashed after the initial startup console
launch the application
execute the .exe file
every time, windows tells me it's not responding anymore
I had just downloaded the most recent version a few hours ago. The first start of the application after a reboot works but once i close it it keeps crashing on startup. Putting windows into sleep mode and starting it back up doesn't resolve the issue. Only a hard reboot does.
Uninstalling doesn't work anymore because the process is still running in some way.
Task manger won't show it but running "tasklist" still shows a "Path of Building.exe".
Killing that process via taskkill worked one time but the issue of the application crashing was still there.
I didn't find a log of the startup console but after the "loading 3.11..." lines there were some "xyz is missing" lines in there (log was moving too fast and closed right after those lines).
The text was updated successfully, but these errors were encountered: