Hi,
We’ve been having some difficulties with our workstation crashing while developing an extension for the latest version of Code, 2022.3.1 (didn’t seem to be happening with 2022.3.0, and I don’t think we made substantive changes before it started crashing). I would normally look for error logs and include them with this post, but given that the entire computer is freezing and needs to be power cycled, the best we’ve been able to do so far is take pictures of the errors in the frozen terminal output. I include these pictures below, along with a transcription of the errors for easier copying/pasting.
Image 1:
Red Messages:
2023-01-30 21:32:24 [634, 321ms] [Error] [carb.crashreporter-breakpad.plugin] Wrote dump file 'C:/Users/LabUser/AppData/Local/ov/data/Kit/Code2022.3\560ceb41-1115-4ae5-9e55-f4adbc6032a8.dmp.zip'
2023-01-30 21:32:24 [634, 322ms] [Error] [carb.crashreporter-breakpad.plugin] the dump file was deleted due to a successful upload. Its originalsize was 1889020 bytes and was readable.
2023-01-30 21:32:24 [634, 321ms] [Error] [carb.crashreporter-breakpad.plugin] Crash detected in pid 10936 thread 1034
// A bunch of yellow messages containing potentially useful crash metadata
2023-01-30 21:32:24 [635, 032ms] [Fatal] [carb.crashreporter-breakpad.plugin] Thread 10384 backtrace follows:
2023-01-30 21:32:24 [635, 034ms] [Fatal] [carb.crashreporter-breakpad.plugin] 000: gpu.foundation.plugin.dll!omni::activity::getInstance+0x3ffe9
2023-01-30 21:32:24 [635, 042ms] [Fatal] [carb.crashreporter-breakpad.plugin] 001: omni.usd.dll!omin::usd::Selection::update+0x29ec4
2023-01-30 21:32:24 [635, 043ms] [Fatal] [carb.crashreporter-breakpad.plugin] 002: omni.usd.dll!omin::usd::Selection::update+0x29ec4
2023-01-30 21:32:24 [635, 049ms] [Fatal] [carb.crashreporter-breakpad.plugin] 003: carb.events.plugin.dll!+0x5b90
2023-01-30 21:32:24 [635, 049ms] [Fatal] [carb.crashreporter-breakpad.plugin] 004: carb.events.plugin.dll!+0x6c1a
2023-01-30 21:32:24 [635, 056ms] [Fatal] [carb.crashreporter-breakpad.plugin] 005: omni.kit.loop-default.plugin.dll!+0x9c7b
2023-01-30 21:32:24 [635, 057ms] [Fatal] [carb.crashreporter-breakpad.plugin] 006: omni.kit.loop-default.plugin.dll!+0x71e6
2023-01-30 21:32:24 [635, 058ms] [Fatal] [carb.crashreporter-breakpad.plugin] 007: omni.kit.loop-default.plugin.dll!+0x6f19
2023-01-30 21:32:24 [635, 060ms] [Fatal] [carb.crashreporter-breakpad.plugin] 008: ucrtbase.dll!configurethreadlocale+0x92
2023-01-30 21:32:24 [635, 060ms] [Fatal] [carb.crashreporter-breakpad.plugin] 009: KERNEL32.DLL!BaseThreadInitThunk+0x14
2023-01-30 21:32:24 [635, 061ms] [Fatal] [carb.crashreporter-breakpad.plugin] 010: ntdll.dll!RtlUserThreadStart+0x21
Images 2 & 3:
Red Messages:
2023-01-30 21:36:38 [71, 939ms] [Error] [gpu.foundation.plugin] A GPU crash occurred. Exiting the application... Reasons for the failure: a device lost, out of memory, or an unexpected bug.
2023-01-30 21:32:24 [78, 601ms] [Error] [carb.crashreporter-breakpad.plugin] crash detected
// A bunch of yellow messages containing potentially useful crash information; unfortunately we didn't think to get a proper picture of these at the time.
2023-01-30 21:36:51 [84, 429ms] [Fatal] [carb.crashreporter-breakpad.plugin] Thread 9464 backtrace follows:
2023-01-30 21:36:51 [84, 430ms] [Fatal] [carb.crashreporter-breakpad.plugin] 000: gpu.foundation.plugin.dll!omni::activity::getInstance+0x3ffe9
2023-01-30 21:36:51 [84, 431ms] [Fatal] [carb.crashreporter-breakpad.plugin] 001: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x61b1
2023-01-30 21:36:51 [84, 432ms] [Fatal] [carb.crashreporter-breakpad.plugin] 002: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x1267a
2023-01-30 21:36:51 [84, 433ms] [Fatal] [carb.crashreporter-breakpad.plugin] 003: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x7aba
2023-01-30 21:36:51 [84, 433ms] [Fatal] [carb.crashreporter-breakpad.plugin] 004: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x1267a
2023-01-30 21:36:51 [84, 434ms] [Fatal] [carb.crashreporter-breakpad.plugin] 005: omni.kit.renderer.plugin.dll!carbOnPluginStartup+0x1225d
2023-01-30 21:36:51 [84, 439ms] [Fatal] [carb.crashreporter-breakpad.plugin] 006: carb.events.plugin.dll!+0x5b90
2023-01-30 21:36:51 [84, 441ms] [Fatal] [carb.crashreporter-breakpad.plugin] 007: carb.events.plugin.dll!+0x6c1a
2023-01-30 21:36:51 [84, 449ms] [Fatal] [carb.crashreporter-breakpad.plugin] 008: omni.kit.loop-default.plugin.dll!+0x9c7b
2023-01-30 21:36:51 [84, 454ms] [Fatal] [carb.crashreporter-breakpad.plugin] 009: omni.kit.app.plugin.dll!+0xf6ea
2023-01-30 21:36:51 [84, 455ms] [Fatal] [carb.crashreporter-breakpad.plugin] 010: omni.kit.app.plugin.dll!+0x4c3fe
2023-01-30 21:36:51 [84, 462ms] [Fatal] [carb.crashreporter-breakpad.plugin] 011: kit.exe!+0x2ec9
2023-01-30 21:36:51 [84, 463ms] [Fatal] [carb.crashreporter-breakpad.plugin] 012: kit.exe!+0x3454
2023-01-30 21:36:51 [84, 464ms] [Fatal] [carb.crashreporter-breakpad.plugin] 013: kit.exe!+0x3e64
2023-01-30 21:36:51 [84, 465ms] [Fatal] [carb.crashreporter-breakpad.plugin] 014: KERNEL32.DLL!BaseThreadInitThunk+0x14
2023-01-30 21:36:51 [84, 466ms] [Fatal] [carb.crashreporter-breakpad.plugin] 015: ntdll.dll!RtlUserThreadStart+0x21
It seems like, in both cases, the top of the stack trace includes a call to getInstance, but how this causes the entire computer to freeze up is beyond me. It even crashes sometimes on launch, and our extension isn’t set to auto-load, so we’re not even sure if the root cause is the extension, and if it is, which part of it would be causing this behavior.
We’ve tried updating Windows and the GPU drivers, but it hasn’t fixed the issue. We’ve also updated Nucleus and Cache as well, although it looks like there’s a new version of Nucleus that was released today, so while we intend to update as soon as this post is up, it technically isn’t fully updated right now. Those updates also did not fix the issue.
I can provide additional information about the workstation if needed, but a lot of it is already included in the first image’s crash metadata printout (in yellow). I can also provide some specifics about the extension if necessary as well.
Thanks!