So, it's not producing any error logs when I get the game closed out on me this way, but checking the logs, it seems that it might be a LUA command closing the game rather than a crash.
The bug happens at random points in the game, and most often for me it's closing or switching windows in the forge. For example, if I switch from the news screen to the map screen, it might crash, or if I close out of the news or upgrade screen, it'll crash. There's no error logs, but there's logs of the LUA events, and here's the last one that was produced from my client:
[INFO][Pathing]: Destroy Pathing Engine
[INFO][UI (Lua)]: [00:06:55] OnWidgetDestroyed...ChatWindowController...
[INFO][UI (Lua)]: [00:06:55] Close...ChatWindowController...
[INFO][UI (Lua)]: [00:06:55] OnWidgetDestroyed...ChatWindowController...
[INFO][UI (Lua)]: [00:06:55] Close...ChatWindowController... [INFO][UI (Lua)]: [00:06:55] SectionBrowser:DoExit...
[INFO][UI (Lua)]: [00:06:55] EXIT GAME
[INFO][PREGAME]: CharacterRemote deletion.
[INFO][UI (Lua)]: [00:06:55] remove cooldowntimer
My guess is that instead of something being coded to close the window, it was coded to exit the game. Here's my client's log when I entered the launcher and then closed out via alt+f4:
[INFO][UI (Lua)]: [00:00:01] SectionBrowser:SwitchSection to Login
[INFO][UI (Lua)]: [00:00:01] SectionBrowser.SwitchSection: Opening section 'Login'
[INFO][UI (Lua)]: [00:00:01] ScreenFlow:Next(bf1/ui/dialogs/pregame/login/pg_login_view.xml)
[INFO][UI (Lua)]: [00:00:01] DoTransition: bf1/ui/dialogs/pregame/login/pg_login_view.xml
[INFO][UI (Lua)]: [00:00:01] OnNextView! #0
[INFO][UI (Lua)]: [00:00:01] Creating view bf1/ui/dialogs/pregame/login/pg_login_view.xml
[INFO][UI (Lua)]: [00:00:01] Created new task ReEnableLogin
[INFO][UI (Lua)]: [00:00:01] PregameSection.Open
[INFO][UI (Lua)]: [00:00:01] PregameSection.Open: Setting position on screen
[INFO][UI (Lua)]: [00:00:10] remove cooldowntimer
Here's the log as well if I go into the esc menu and exit via clicking the "exit game" button:
[INFO][UI (Lua)]: [00:00:01] Show ActiveView
[INFO][UI (Lua)]: [00:00:01] Created new task ActivityCheck [INFO][UI (Lua)]: [00:00:04] SectionBrowser:Exit...
[INFO][UI (Lua)]: [00:00:04] EXIT GAME
[INFO][UI (Lua)]: [00:00:04] SectionBrowser.Close
Reproducing this bug is seemingly random for me, and I don't know which windows cause it the most. The ones I have had close on me are the map screen, the loading screen at the very beginning, the news screen while not on quests, and while moving cards from my collection to a deck in the forge.