Opened 3 years ago

Closed 2 years ago

#6270 closed defect (fixed)

Crash on Vulkan detection on some AMD drivers

Reported by: Lúcio Meira David Owned by: Vladislav Belov
Priority: Release Blocker Milestone: Alpha 26
Component: Core engine Keywords: unhandled exception, access violation, reading
Cc: Patch:

Description

The game crashes on start of the launcher. Note: the game is installed in a different partition than the windows partition. I'll reinstall in the windows partition and see what happens.

Below, the error details:

--

Details: unhandled exception (Access violation reading 0x0000000C)

Location: unknown:0 (?)

Call stack:

(error while dumping stack: No stack frames found) errno = 13 (Insufficient access rights to open file) OS error = 0 (no error code was set)

Attachments (2)

crashlog.dmp (132.9 KB ) - added by Lúcio Meira David 3 years ago.
crashlog.txt (13.2 KB ) - added by Lúcio Meira David 3 years ago.

Download all attachments as: .zip

Change History (10)

by Lúcio Meira David, 3 years ago

Attachment: crashlog.dmp added

by Lúcio Meira David, 3 years ago

Attachment: crashlog.txt added

comment:1 by Silier, 3 years ago

Priority: Should HaveRelease Blocker

comment:2 by Stan, 3 years ago

Stack

>	atioglxx.dll!6121788a()	Inconnu	Code non-utilisateur. Binaire correspondant introuvable.
 	atioglxx.dll![Les frames ci-dessous sont peut-être incorrects et/ou manquants, aucun symbole chargé pour atioglxx.dll]	Inconnu	Aucun symbole n'a été chargé.
 	atioglxx.dll!607ca822()	Inconnu	Code non-utilisateur. Binaire correspondant introuvable.
 	atioglxx.dll!60b64f25()	Inconnu	Code non-utilisateur. Binaire correspondant introuvable.
 	opengl32.dll!63095c24()	Inconnu	Code non-utilisateur. Impossible de trouver ou d'ouvrir le fichier PDB.
 	pyrogenesis.exe!CRenderer::SetViewport(const SViewPort & vp={...}) Ligne 1509	C++	Les symboles ont été chargés.
 	pyrogenesis.exe!CVideoMode::UpdateRenderer(int w=1024, int h=768) Ligne 455	C++	Les symboles ont été chargés.
 	pyrogenesis.exe!CVideoMode::SetFullscreen(bool fullscreen=false) Ligne 417	C++	Les symboles ont été chargés.
 	pyrogenesis.exe!psDisplayError(const wchar_t * __formal=0x0133c900, unsigned int __formal=0) Ligne 366	C++	Les symboles ont été chargés.
 	win32u.dll!76e4301c()	Inconnu	Code non-utilisateur. Impossible de trouver ou d'ouvrir le fichier PDB.

comment:3 by Langbart, 3 years ago

In the last three days there have been three users with a similar problem on IRC 0ad.

  • flito (11/Aug/21)
  • Tirili (10/Aug/21)
  • uuu (9/Aug/21)
    19:41 < uuu> yep - sorted: using discreet gpu on laptop#
    19:42 < Langbart> did it work?
    19:42 < uuu> forced the rtx 3080 - bloody gaming laptps
    19:42 < Langbart> i would gladly add it to the FAQ
    19:42 < Langbart> thanks
    19:42 < uuu> yep all working
    

They all ran on Windows and reported the same error details as in the description of this ticket.

in reply to:  1 comment:4 by Lúcio Meira David, 3 years ago

Replying to Angen:

Maybe related https://wildfiregames.com/forum/topic/51184-alpha-25-could-not-start/?tab=comments#comment-446453

Thank you! The same solution (force the selection of the nvidia graphics card) worked perfectly.

comment:5 by Langbart, 3 years ago

One more user via IRC 0ad (15/Aug/21):

04:53 < Dancing> I'm having an issue with the newest Alpha
...
04:54 < Dancing> Much to our regret we must report the program has encountered an error.  Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files. You may find paths to these files at https://trac.wildfiregames.com/wiki/GameDataPaths   Details: unhandled exception (Access violation reading 0x0000000C)  Location: unknown:0 (?)  Call stack:  (error while dumping stack: No stack frames found) errno = 13 (Insuffic
...
04:57 < Langbart> it might use the wrong gpu and you need to force the correct one
04:59 < Dancing> Yes
04:59 < Dancing> this was it

comment:6 by Silier, 2 years ago

possible duplicate #6467

comment:7 by Stan, 2 years ago

Summary: Access violation reading 0x0000000CCrash on Vulkan detection on some AMD drivers

comment:8 by Vladislav Belov, 2 years ago

Owner: set to Vladislav Belov
Resolution: fixed
Status: newclosed

In 26779:

Moves Vulkan report code to its device to prevent crashing when a GL device is created. Fixes #6270

Differential Revision: https://code.wildfiregames.com/D4577

Note: See TracTickets for help on using tickets.