Opened 7 years ago

Closed 6 years ago

#4712 closed defect (needsinfo)

Water Effects - Alpha 22 crashes where Alpha 21 doesn't

Reported by: Bobby Owned by:
Priority: Should Have Milestone:
Component: Core engine Keywords:
Cc: fabio Patch:

Description

Windows version of 0 A.D. crashes on my laptop when a new game is generated. This issue did not exist in previous versions of this game. Sometimes (rarely) game starts but crashes as soon as game is zoomed in/out or screen moved.

===== 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.

Details: unhandled exception (Access violation writing 0x6D616F04)

Location: unknown:0 (?)

Call stack:

01D69E70

errno = 0 (No error reported here) OS error = 126 (The specified module could not be found.)

Attachments (1)

logs.7z (25.8 KB ) - added by Bobby 7 years ago.

Download all attachments as: .zip

Change History (12)

by Bobby, 7 years ago

Attachment: logs.7z added

comment:1 by Lionkanzen, 7 years ago

Please let us know ....and attach the crashlog.txt and crashlog.dmp files

comment:2 by elexis, 7 years ago

This mainlog.html doesn't contain any errors.

The crashlog.txt only contains

OS error = 126 (The specified module could not be found.)

which seems to indicate that it couldn't load a required file.

Could check whether you had enough disk space (and directory permissions) to install 0ad and try to reinstall.

comment:3 by Bobby, 7 years ago

There is plenty of space on the filesystem, I resinstalled the game and run setup as administrator - same result.

comment:4 by elexis, 6 years ago

Actually it sounds more like a system DLL file is missing or could otherwise not be loaded.

Last edited 6 years ago by elexis (previous) (diff)

comment:5 by Bobby, 6 years ago

Game runs w/o crashing after I disabled all the eye candy options in the Graphics Settings - Prefer GLSL, Post Processing, Shadows, Particles, Activate Water Effects, VSync - all are inactive/disabled now. Alpha 21 runs ok with those options enabled.

comment:6 by elexis, 6 years ago

Milestone: BacklogAlpha 23
Summary: Alpha 22 crashesAlpha 22 crashes where Alpha 21 doesn't

Okay that is strange.

Can you try to figure out which option exactly breaks it? Until now we had the most trouble with Prefer GLSL: #4734.

In a22 we changed some hardware detection code, perhaps it's related to that.

comment:7 by Bobby, 6 years ago

OK, I enabled the Graphics options one by one and I triggered the crash that way: All Graphics settings enabled except Water Effects, start a Random Map then click Menu -> Options -> just click Activate Water effets -> game immediately crashes with

Details: unhandled exception (Access violation writing 0x6D616F04) Location: unknown:0 (?) Call stack: 01929DD0 errno = 0 (No error reported here) OS error = 126 (The specified module could not be found.)

The same is valid if Water Effects are enabled in the Options -> game crashes immediately after map is generated.

comment:8 by elexis, 6 years ago

Cc: fabio added
Summary: Alpha 22 crashes where Alpha 21 doesn'tWater Effects - Alpha 22 crashes where Alpha 21 doesn't

Well, I can't reproduce the error using the steps you mentioned. I expect that it would have been reported prior already (I might be wrong) if it was a bug in our code.

Do you still have alpha 21 around? (Now that you exactly know how to reproduce this, sure that the same steps don't break it in alpha 21?) The only change to that setting was in r20010, but that is in alpha 23, not 22.

Also sure it is exactly the Water Settings option and not any option of the water settings? You could start the application, enable water effects but disable all other water settings.

For instance I wouldn't be surprised if your graphics card doesn't support some specific shader.

Graphics Card : Intel Intel(R) HD Graphics 4000
OpenGL Drivers : 4.0.0 - Build 9.17.10.2867; OpenGL 4.0.0 - Build 9.17.10.2867

There was one ticket specifically about this graphics card, but Im not sure which one it was. There was r19877, but that was about an NVIDIA driver. There is also #4734.

At last there were two water shader changes in alpha 22: r18938, r19425.

I will cc fabio as he is good with these driver issues.

comment:9 by Stan, 6 years ago

I'll have a look at this today. Sorry it took so long to answer. Any news from fabio ?

Edit: Ah apparently Trac comments are now in reverse order.

Last edited 6 years ago by Stan (previous) (diff)

comment:10 by Stan, 6 years ago

Had a look.

>	ig7icd32.dll!539ee4eb()	Inconnu	Aucun symbole n'a été chargé.
 	[Les frames ci-dessous sont peut-être incorrects et/ou manquants, aucun symbole chargé pour ig7icd32.dll]		Frame annoté
 	ig7icd32.dll!539370f1()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!5393842e()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!539380c0()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!5393608a()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!5393217c()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!539414f3()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!53943675()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!53c884f6()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!53c89dc9()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!53802ba8()	Inconnu	Aucun symbole n'a été chargé.
 	ig7icd32.dll!537c8eef()	Inconnu	Aucun symbole n'a été chargé.

Apparently there is nothing related to the game in there. Only a bunch of calls in the dll. Dll can be found in the driver here http://www.dell.com/support/home/fr/fr/frbsdt1/Drivers/DriversDetails?driverId=8TD9W

comment:11 by elexis, 6 years ago

Milestone: Alpha 23
Resolution: needsinfo
Status: newclosed

We don't have anyone else with that problem so far. I suspect a driver bug, but we can't really say unless we have more information.

Memory : 8192 MiB; 2097 MiB free
Graphics Card : Intel Intel(R) HD Graphics 4000

Another exotic possibility is a corrupted shader cache file.

Note: See TracTickets for help on using tickets.