PathOfBuilding icon indicating copy to clipboard operation
PathOfBuilding copied to clipboard

Crashing a few seconds after launch

Open olavim opened this issue 1 year ago • 8 comments

Check version

  • [X] I'm running the latest version of Path of Building and I've verified this by checking the changelog

Check for duplicates

  • [X] I've checked for duplicate issues by using the search function of the issue tracker

Screenshots of crash/graphical issue, version and options menu

https://github.com/PathOfBuildingCommunity/PathOfBuilding/assets/10083672/bdb828e3-71ad-49f7-950b-acc74a1769f1

pob pob2

What are your system specifications and configuration?

Operating system: Windows 10 Pro Graphics: NVIDIA GeForce GTX 1080 Ti, Driver 3.27.0.120 Display: Two 1440p monitors

Install paths tried:

  • C:\Users\Olavi\AppData\Roaming\Path of Building Community
  • C:\Program Files\Path of Building Community
  • C:\Users\Olavi\Downloads\PoB (portable)
  • E:\PoB (portable)

Other steps taken:

  • Tried launching default installation in Windows safe mode: no effect.
  • Tried beta: no effect.
  • Tried unplugging second monitor, restarting the pc, and then using PoB on only one monitor: no effect.
  • Tried launching PoB with admin privileges: no effect.
  • Tried launching PoB with the --no-jit argument: no effect.
  • Whether PoB window is maximized or not makes no difference.

Windows Event Viewer error:

Faulting application name: Path of Building.exe, version: 0.0.0.0, time stamp: 0x606d1b4c
Faulting module name: SimpleGraphic.dll, version: 0.0.0.0, time stamp: 0x61ccf697
Exception code: 0xc0000005
Fault offset: 0x0001b19a
Faulting process ID: 0x437c
Faulting application start time: 0x01da492ef9fea07e
Faulting application path: C:\Users\Olavi\AppData\Roaming\Path of Building Community\Path of Building.exe
Faulting module path: C:\Users\Olavi\AppData\Roaming\Path of Building Community\SimpleGraphic.dll
Report ID: 55b97ad9-1f0d-4bf0-ab62-5e83701da6bf
Faulting package full name: 
Faulting package-relative application ID: 

How to reproduce the issue

  1. Launch PoB
  2. Wait a few seconds, maybe hover over UI elements or click around
  3. Crash

Makes no difference if working on fresh build, existing save, or imported character (from PoE directly or PoB code).

Character build code

No response

olavim avatar Jan 17 '24 10:01 olavim

Thanks for the detailed bug report! I was going to suggest trying the beta client, but it looks like you've tried that already. However, given that it crashes so soon after launch, I suspect the update to actually download the new exe and DLLs didn't go through. Is that accurate or did you get an update after switching to the beta client?

Wires77 avatar Jan 17 '24 14:01 Wires77

Downloading the beta client goes without a hitch as long as I can manage to do it before the app crashes. I probably just had the beta tick on after trying different stuff for this issue. That said, the beta client is more robust. I might go 10-30 minutes without issue, but eventually I still crash with the same Windows event, with no lua errors or other useful logs.

Right now I've gone over an hour with the beta client without crashing. This is right after reinstalling my GPU driver, which I hadn't tried, and installing the latest Windows update. So fingers crossed 😄

olavim avatar Jan 17 '24 15:01 olavim

It seems the issue's mostly gone now. With the updates I did and beta branch I'm not crashing all the time.

The app will still crash pretty much every time if I try to look for a megalomaniac jewel from the items tab trade thingy, but that's maybe a different issue? It crashes the same way but Windows event viewer reports a lua51.dll related issue instead:

Faulting application name: Path of Building.exe, version: 0.0.0.0, time stamp: 0x65133e84
Faulting module name: lua51.dll, version: 0.0.0.0, time stamp: 0x650da688
Exception code: 0xc0000005
Fault offset: 0x0000000000001b68
Faulting process ID: 0xa654
Faulting application start time: 0x01da499c1ae06c12
Faulting application path: C:\Users\Olavi\AppData\Roaming\Path of Building Community\Path of Building.exe
Faulting module path: C:\Users\Olavi\AppData\Roaming\Path of Building Community\lua51.dll
Report ID: d684fe2b-33b3-46ff-9d58-8be40805c88c
Faulting package full name: 
Faulting package-relative application ID: 

olavim avatar Jan 17 '24 23:01 olavim

Is everything else on your system working correctly?

Have you tried general maintenance:

  1. Go to Windows Search, type cmd, and click Run as administrator.
  2. In the elevated cmd window, type chkdsk /f C: and hit Enter.

when that's finished:

  1. In the elevated cmd window, type SFC /scannow and hit Enter.

when that's finished:

  1. In the elevated cmd window, type dism /online /cleanup-image /restorehealth and hit Enter.

Nightblade avatar Jan 18 '24 01:01 Nightblade

My PoB started crashing a lot again while using the items tab. I'll let you know if I see an improvement after running those commands. For reference, chkdsk reported no problems, SFC fixed something, and dism fixed something.

olavim avatar Jan 18 '24 13:01 olavim

I'm still experiencing crashes. It's still more infrequent in the beta, but they do happen.

olavim avatar Jan 21 '24 03:01 olavim

Is everything else on your system working correctly?

Nightblade avatar Jan 21 '24 05:01 Nightblade

I haven't noticed anything else being broken.

olavim avatar Jan 21 '24 14:01 olavim