canvas icon indicating copy to clipboard operation
canvas copied to clipboard

[1.16.2] Crash while browsing through REI with Canvas

Open Desempregago opened this issue 5 years ago • 20 comments

The game doesn't generate a crash report, just a Process crashed with exitcode -1073741819. line at the end of the file. It doesn't even generate a hs_errorlog_xxx.log at the instance's root folder.

Using REI 5.2.7 + Canvas 1.0.878

Desempregago avatar Aug 23 '20 03:08 Desempregago

NOTE: This doesn't seem to happen with the game in Windowed mode.

Desempregago avatar Aug 23 '20 03:08 Desempregago

UPDATE: It does.

Desempregago avatar Aug 23 '20 03:08 Desempregago

And again, it just generates a Process crashed with exitcode -1073741819. at the end of the log file.

Desempregago avatar Aug 23 '20 03:08 Desempregago

Could you please attach log anyway? May offer some clues.

grondag avatar Aug 23 '20 18:08 grondag

latest.log

the "Process crashed with exitcode -1073741819." entry does not appears in the log, only in the MultiMC console.

Desempregago avatar Aug 23 '20 19:08 Desempregago

Sem título

Desempregago avatar Aug 23 '20 19:08 Desempregago

Betting this is an AE2 compatibility issue. Strange that it shows up this way.

There's a shortcoming in the Fabric render API that Gimpansor worked around by casting but Canvas has a different class. Will leave this open until confirmed.

grondag avatar Aug 23 '20 22:08 grondag

Update: It's not Applied Energistics. Ran without it and the game crashed as soon as I switched to page 2. Probably something related to item 3d models or enchantment glints?

Also, the Process crashed with exitcode -1073741819. log entry remains.

Desempregago avatar Aug 26 '20 00:08 Desempregago

Sometimes while in the config screen the game also crashes.

Desempregago avatar Aug 26 '20 00:08 Desempregago

I have more info on this!

https://paste.ee/p/GtI6V

https://hastebin.com/raw/juvujugere

Both players have geforce videocards

and -1073741819 is FFFF FFFF C000 0005 in case you did not notice. The infamous windows buffer overrun/overflow

These crashes are using the AOF:Strawberry modpack https://www.curseforge.com/minecraft/modpacks/aof-strawberry

Both crashes are when using REI

I could not repro since I dont have a geforce card.

And AE2 is not in the modpack

calloatti avatar Aug 29 '20 03:08 calloatti

I see that OP also has a GeForce video card.

calloatti avatar Aug 29 '20 03:08 calloatti

Here's someone else's crash log I have received:

https://paste.ee/p/1LF5h

Nvidia GeForce 1070

shedaniel avatar Aug 29 '20 04:08 shedaniel

Thank you for the extra info. Going to try some things to see if they help.

grondag avatar Aug 29 '20 18:08 grondag

For the record, one of the affected players says that removing canvas stops the crashing. Edit: The other player disabled REI to test and of course that stopped the crashes too.

calloatti avatar Aug 29 '20 19:08 calloatti

Another log. It does not include the actual crash but maybe the rest can be of use https://paste.gg/p/anonymous/ca352fac48ef442f969958780cd232a4

This is also the https://www.curseforge.com/minecraft/modpacks/aof-strawberry modpack

calloatti avatar Aug 29 '20 23:08 calloatti

This time I got to catch a pseudo-crashlog.

Desempregago avatar Sep 04 '20 23:09 Desempregago

Still trying to isolate this problem. It seems to be Nvidia-specific. Please try the following:

  1. Turn off fast entry rendering in REI: image

  2. Ensure your Nvidia drivers are up to date. (This sort of crash seems to be fairly common with Nvidia drivers)

  3. Make sure you are using the latest GitHub build for Canvas. (See releases.) There were some recent changes in Canvas item rendering to fix enchantment glint. It's possible these might help but I doubt it.

grondag avatar Sep 05 '20 16:09 grondag

Update:

Reviewing the available logs so far, this does appear to be an Nvidia driver issue that is triggered when REI uses the Immediate BufferBuilder to draw while Canvas is present.

Disabling Faster Entry Rendering in the REI config (see above post) has worked for at least one user.

Another user reports no crashes using Nvidia driver 432. Logs with crashes seem to have 445 or later. So, an earlier driver or the latest hot fix driver may also be worth trying.

While this does appear to be driver-related, it only seems to happen when Canvas is present and so Canvas is doing something that contributes to it. Leaving open for that reason until it's confirmed the latest drivers don't break, or until the triggering condition can be discovered.

Please continue to report new information, including whether or not the config workaround or different drivers work for you.

grondag avatar Sep 05 '20 17:09 grondag

I've replicated this, with NVIDIA driver 451.67, GTX 1650 hybrid (mobile) graphics, Canvas 1.0.989, REI 5.6.2. See the following hs_err_pid files: hs_err_pid28228.log hs_err_pid28272.log hs_err_pid1428.log (sometimes it doesn't give these - it just quits with exit code -1073741819)

The following steps reliably replicate the issue:

  1. Set the game to GUI scale 1 - so all items are shown in REI
  2. Maximise the game, so all items are shown in REI
  3. Open REI

I have confirmed that disabling Faster Entry Rendering does fix the issue, and it occurs with only Canvas, REI and Fabric API.

I tried the latest Canvas GitHub build with the modpack I was using but got a java.util.concurrent.CompletionException: java.lang.NoSuchMethodError: grondag.canvas.apiimpl.material.MeshMaterialFinder.shader(ILgrondag/frex/api/material/MaterialShader;)Lgrondag/canvas/apiimpl/material/MeshMaterialFinder; - I think the enchantment glint fixes are in 1.0.989 anyway.

I'll now try updating my NVIDIA graphics drivers and see if that also solves the issue.

Edit: Updated my NVIDIA drivers to 456.71 and it still occurs, and it also happens after downgrading to 442.74.

comp500 avatar Oct 24 '20 04:10 comp500

Same issue in newst build too(java.util.concurrent.CompletionException: java.lang.NoSuchMethodError: grondag.canvas.apiimpl.material.MeshMaterialFinder.shader(ILgrondag/frex/api/material/MaterialShader;)Lgrondag/canvas/apiimpl/material/MeshMaterialFinder;) My video card is NVIDIA 1060 3G

flier268 avatar Dec 07 '20 09:12 flier268

I don't think I can reproduce this issue with newer versions of canvas and rei. If nobody else can reproduce the issue this should be closed.

supsm avatar Oct 13 '22 16:10 supsm