Cycles: Instant crash when switching to OptiX with OSL #118020

Closed
opened 2024-02-09 00:11:29 +01:00 by Nika Kutsniashvili · 20 comments
Contributor

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 537.42

Blender Version
Broken: version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-02-08 00:10, hash: 4a50f1d4ee9a
Worked: (newest version of Blender that worked as expected)

Short description of error
Instant crash when switching to OptiX and going in Rendered mode in Cycles. If I'm in rendered mode and switch from Cuda to OptiX its fine, but once you switch to solid and back to rendered it crashes instantly.

Steps to Reproduce

  • Open default scene
  • Select Optix in prefs
  • Enable OSL
  • Switch to viewport render
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 537.42 **Blender Version** Broken: version: 4.1.0 Beta, branch: blender-v4.1-release, commit date: 2024-02-08 00:10, hash: `4a50f1d4ee9a` Worked: (newest version of Blender that worked as expected) **Short description of error** Instant crash when switching to OptiX and going in Rendered mode in Cycles. If I'm in rendered mode and switch from Cuda to OptiX its fine, but once you switch to solid and back to rendered it crashes instantly. **Steps to Reproduce** - Open default scene - Select Optix in prefs - Enable OSL - Switch to viewport render
Nika Kutsniashvili added the
Priority
Normal
Type
Report
Status
Needs Triage
labels 2024-02-09 00:11:29 +01:00
Member

Hi, thanks for the report. This was fixed in 546.33 driver release: #114548 (comment)
Can you check again with updated drivers?

Hi, thanks for the report. This was fixed in 546.33 driver release: https://projects.blender.org/blender/blender/issues/114548#issuecomment-1083287 Can you check again with updated drivers?
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2024-02-09 05:08:16 +01:00
Author
Contributor

Updated to 551.23, still crash on todays 4.1 build after kernels load up

Updated to 551.23, still crash on todays 4.1 build after kernels load up
Member
Can you attach logs?: https://docs.blender.org/manual/en/dev/troubleshooting/crash.html#windows
Author
Contributor
Logs
# Blender 4.1.0, Commit date: 2024-02-08 19:55, Hash 2e6223d90f3f
bpy.context.space_data.context = 'RENDER'  # Property
bpy.context.space_data.shading.type = 'RENDERED'  # Property

# backtrace
Exception Record:

ExceptionCode         : EXCEPTION_ACCESS_VIOLATION
Exception Address     : 0x00007FF8C4ACB021
Exception Module      : oslexec.dll
Exception Flags       : 0x00000000
Exception Parameters  : 0x2
	Parameters[0] : 0x0000000000000000
	Parameters[1] : 0x000000000000018C


Stack trace:
oslexec.dll         :0x00007FF8C269DC60  OSL_v1_13_5::OSLCompiler::output_filename
oslexec.dll         :0x00007FF8C269DC60  OSL_v1_13_5::OSLCompiler::output_filename
oslexec.dll         :0x00007FF8C269DC60  OSL_v1_13_5::OSLCompiler::output_filename
oslexec.dll         :0x00007FF8C265B2F0  OSL_v1_13_5::pvt::LLVM_Util::getPointerToFunction
oslexec.dll         :0x00007FF8C2605080  OSL_v1_13_5::shade_image
oslexec.dll         :0x00007FF8C25333A0  OSL_v1_13_5::ShadingSystem::optimize_group
oslexec.dll         :0x00007FF8C2532DC0  OSL_v1_13_5::ShadingSystem::optimize_all_groups
oslexec.dll         :0x00007FF8C2532DC0  OSL_v1_13_5::ShadingSystem::optimize_all_groups
oslexec.dll         :0x00007FF8C24F96EB  Symbols not available


Loaded Modules :
0x00007FF6A1AD0000 4.1.0.0              blender.exe C:\Program Files\Blender Foundation\blender-4.1.0-beta+v41.2e6223d90f3f-windows.amd64-release\blender.pdb 
0x00007FF92A410000 10.0.19041.1466      ntdll.dll  
0x00007FF929A20000 10.0.19041.1503      KERNEL32.DLL  
0x00007FF927C20000 10.0.19041.1503      KERNELBASE.dll  
0x00007FF9293D0000 10.0.19041.1503      USER32.dll  
0x00007FF927F60000 10.0.19041.1526      win32u.dll  
0x00007FF929AE0000 10.0.19041.1202      GDI32.dll  
0x00007FF9169A0000                      tbbmalloc.dll  
0x00007FF9282C0000 10.0.19041.1466      gdi32full.dll  
0x00007FF918E50000                      tbb.dll  
0x00007FF9280F0000 10.0.19041.789       msvcp_win.dll  
0x00007FF927B20000 10.0.19041.789       ucrtbase.dll  
0x00007FF929660000 10.0.19041.1466      ADVAPI32.dll  
0x00007FF928960000 7.0.19041.546        msvcrt.dll  
0x00007FF929B20000 10.0.19041.1466      sechost.dll  
0x00007FF9287C0000 10.0.19041.1466      RPCRT4.dll  
0x00007FF928A00000 10.0.19041.1503      SHELL32.dll  
0x00007FF929BC0000 10.0.19041.1202      ole32.dll  
0x00007FF922CB0000 10.0.19041.546       VERSION.dll  
0x00007FF923700000 14.29.30139.0        VCRUNTIME140.dll  
0x00007FF928460000 10.0.19041.1348      combase.dll  
0x00007FF9072A0000 14.29.30139.0        MSVCP140.dll  
0x00007FF929860000 10.0.19041.1023      SHLWAPI.dll  
0x00007FF9236C0000 14.29.30139.0        VCRUNTIME140_1.dll  
0x00007FF928270000 10.0.19041.1151      CFGMGR32.dll  
0x00007FF929710000 10.0.19041.546       WS2_32.dll  
0x00007FF905F70000 10.0.19041.867       dbghelp.dll  
0x00007FF9298C0000 10.0.19041.985       OLEAUT32.dll  
0x00007FF92A320000 10.0.19041.1387      shcore.dll  
0x00007FF8D11E0000 4.1.0.0              embree4.dll  
0x00007FF8DA530000 6.1.0.0              sycl6.dll  
0x00007FF929280000 10.0.19041.546       IMM32.dll  
0x00007FF917640000                      oslquery.dll  
0x00007FF8C5BD0000                      oslcomp.dll  
0x00007FF8C2480000                      oslexec.dll  
0x00007FF8D08E0000                      OpenImageIO.dll  
0x00007FF880070000                      cycles_kernel_oneapi_aot.dll  
0x00007FF907190000                      OpenImageIO_Util.dll  
0x00007FF8D8670000                      OpenColorIO_2_3.dll  
0x00007FF914780000                      boost_python311-vc142-mt-x64-1_82.dll  
0x00007FF915C50000 2.2.0.0              OpenImageDenoise.dll  
0x00007FF914360000 1.38.8.0             MaterialXFormat.dll  
0x00007FF9070B0000 1.38.8.0             MaterialXCore.dll  
0x00007FF8E68E0000 60.16.100.0          avformat-60.dll  
0x00007FF894780000                      usd_ms.dll  
0x00007FF8922D0000 60.31.102.0          avcodec-60.dll  
0x00007FF9167B0000 60.3.100.0           avdevice-60.dll  
0x00007FF8BD040000 58.29.100.0          avutil-58.dll  
0x00007FF928240000 10.0.19041.1023      bcrypt.dll  
0x00007FF8FAA10000                      fftw3f.dll  
0x00007FF906CD0000 7.5.100.0            swscale-7.dll  
0x00007FF8E6310000 1.2.2.0              sndfile.dll  
0x00007FF8E46B0000 1.23.1.0             OpenAL32.dll  
0x00007FF8E1150000 2.28.2.0             SDL2.dll  
0x00007FF913AD0000                      Iex.dll  
0x00007FF929EA0000 10.0.19041.1503      SETUPAPI.dll  
0x00007FF890B40000 11.0.0.0             openvdb.dll  
0x00007FF8D7F80000                      OpenEXR.dll  
0x00007FF90ECF0000                      Imath.dll  
0x00007FF904100000                      epoxy-0.dll  
0x00007FF9045D0000                      boost_locale-vc142-mt-x64-1_82.dll  
0x00007FF8CF150000 3.11.7150.1013       python311.dll  
0x00007FF8F0650000                      gmp-10.dll  
0x00007FF926410000 10.0.19041.1266      dxgi.dll  
0x00007FF918E40000                      tbbmalloc_proxy.dll  
0x00007FF914C00000 6.10.19041.1110      COMCTL32.dll  
0x00007FF9141A0000 10.0.19041.1         AVIFIL32.dll  
0x00007FF925850000 10.0.19041.746       dwmapi.dll  
0x00007FF8F91C0000                      fftw3.dll  
0x00007FF917990000                      libgmpxx.dll  
0x00007FF917600000                      oslnoise.dll  
0x00007FF912940000                      boost_thread-vc142-mt-x64-1_82.dll  
0x00007FF8DE020000                      OpenEXRCore.dll  
0x00007FF908200000 10.0.19041.1503      dbgeng.dll  
0x00007FF903E00000 10.0.19041.546       Secur32.dll  
0x00007FF9126C0000 4.12.100.0           swresample-4.dll  
0x00007FF88F950000 2.2.0.0              OpenImageDenoise_core.dll
0x00007FF9045B0000 10.0.19041.1         AVICAP32.dll
0x00007FF8EAB20000 10.0.19041.1081      OPENGL32.dll
0x00007FF9018C0000 1.38.8.0             MaterialXRender.dll
0x00007FF8FE9F0000 1.38.8.0             MaterialXGenGlsl.dll
0x00007FF8FCF50000 1.38.8.0             MaterialXGenMsl.dll
0x00007FF8FB8F0000 1.38.8.0             MaterialXGenShader.dll
0x00007FF917A30000 10.0.19041.546       WINMM.dll
0x00007FF917580000                      IlmThread.dll
0x00007FF9028C0000 10.0.19041.1         MSACM32.dll
0x00007FF904000000 10.0.19041.1         MSVFW32.dll
0x00007FF918D30000 10.0.19041.1503      dbgmodel.dll
0x00007FF9227C0000 10.0.19041.546       XmlLite.dll
0x00007FF901890000 10.0.19041.1081      GLU32.dll
0x00007FF902B80000 10.0.19041.1         winmmbase.dll
0x00007FF9279E0000 10.0.19041.1266      SSPICLI.DLL
0x00007FF925A30000 10.0.19041.546       kernel.appcore.dll
0x00007FF925C30000 10.0.19041.1503      windows.storage.dll
0x00007FF927570000 10.0.19041.1320      Wldp.dll
0x00007FF925550000 10.0.19041.1266      uxtheme.dll
0x00007FF9283D0000 10.0.19041.1415      bcryptPrimitives.dll
0x00007FF927A60000 10.0.19041.844       profapi.dll
0x00007FF9274E0000 10.0.19041.546       CRYPTBASE.DLL
0x00007FF9291D0000 2001.12.10941.16384  clbcatq.dll
0x00007FF9222A0000 10.0.19041.1503      MMDevApi.dll
0x00007FF9278F0000 10.0.19041.1151      DEVOBJ.dll
0x00007FF922330000 10.0.19041.1503      AUDIOSES.DLL
0x00007FF927090000 10.0.19041.546       powrprof.dll
0x00007FF926F50000                      UMPDC.dll
0x00007FF9292B0000 10.0.19041.1503      MSCTF.dll
0x00007FF9230B0000 7.0.19041.1023       PROPSYS.dll
0x00007FF9226A0000 10.0.19041.1288      AppXDeploymentClient.dll
0x00007FF8A80F0000 31.0.15.5123         nvoglv64.dll
0x00007FF923620000 10.0.19041.546       WTSAPI32.dll
0x00007FF927700000 10.0.19041.546       msasn1.dll
0x00007FF91D130000 10.0.19041.906       cryptnet.dll
0x00007FF927F90000 10.0.19041.1320      CRYPT32.dll
0x00007FF91EDB0000 10.0.19041.1320      drvstore.dll
0x00000202CCF30000 10.0.19041.1503      WINTRUST.dll
0x00007FF926850000 10.0.19041.546       ntmarta.dll
0x00007FF929640000 10.0.19041.1415      imagehlp.dll
0x00007FF9274C0000 10.0.19041.546       CRYPTSP.dll
0x00007FF926B80000 10.0.19041.1052      rsaenh.dll
0x00007FF9263E0000 10.0.19041.1387      gpapi.dll
0x00007FF88CCE0000 31.0.15.5123         nvgpucomp64.dll
0x00007FF91D0F0000 10.0.19041.546       dxcore.dll
0x00007FF926CC0000 10.0.19041.546       WINSTA.dll
0x00007FF90ECB0000 10.0.19041.1387      dataexchange.dll
0x00007FF923990000 10.0.19041.1202      d3d11.dll
0x00007FF924780000 10.0.19041.1387      dcomp.dll
0x00007FF920110000 10.0.19041.964       twinapi.appcore.dll
0x00007FF910600000 10.0.19041.1503      textinputframework.dll
0x00007FF924DD0000 10.0.19041.546       CoreUIComponents.dll
0x00007FF925130000 10.0.19041.746       CoreMessaging.dll
0x00007FF924620000 10.0.19041.1348      wintypes.dll
0x00007FF901830000 1.5.2.0              Wintab32.dll
0x00007FF8F98B0000 10.0.19041.1023      explorerframe.dll
0x00007FF915880000 10.0.19041.1202      directmanipulation.dll
0x00007FF922960000 10.0.19041.1387      policymanager.dll
0x00007FF926C10000 10.0.19041.546       msvcp110_win.dll
0x00007FF929150000 10.0.19041.546       coml2.dll
0x00007FF918D20000 10.0.19041.546       LINKINFO.dll
0x00007FF8F04F0000 10.0.19041.1466      Windows.StateRepositoryPS.dll
0x00007FF9253B0000 10.0.19041.1320      apphelp.dll
0x00007FF902570000 10.0.19041.789       zipfldr.dll
0x00007FF8F8410000 10.0.19041.546       MPR.dll
0x00007FF91FD00000 10.0.19041.546       drprov.dll
0x00007FF906210000 10.0.19041.1466      ntlanman.dll
0x00007FF914060000 10.0.19041.546       davclnt.dll
0x00007FF91FCB0000 10.0.19041.546       DAVHLPR.dll
0x00007FF926CA0000 10.0.19041.1466      wkscli.dll
0x00007FF902D50000 10.0.19041.546       cscapi.dll
0x00007FF927080000 10.0.19041.546       netutils.dll
0x00000202D3FA0000 3.11.7150.1013       python3.DLL
0x00007FF8D0610000                      _multiarray_umath.cp311-win_amd64.pyd
0x00007FF9040E0000                      _multiarray_tests.cp311-win_amd64.pyd
0x00007FF9014F0000 3.11.7150.1013       _ctypes.pyd
0x00007FF917040000                      libffi-8.dll
0x00007FF8DD940000                      _umath_linalg.cp311-win_amd64.pyd
0x00007FF902710000                      _pocketfft_internal.cp311-win_amd64.pyd
0x00007FF8FB700000                      mtrand.cp311-win_amd64.pyd
0x00007FF8FE9C0000                      bit_generator.cp311-win_amd64.pyd
0x00007FF8FDAA0000                      _common.cp311-win_amd64.pyd
0x00007FF916CC0000 3.11.7150.1013       _hashlib.pyd
0x00007FF8C1F40000 3.1.5.0              libcrypto-3.dll
0x00007FF8FC600000                      _bounded_integers.cp311-win_amd64.pyd
0x00007FF901810000                      _mt19937.cp311-win_amd64.pyd
0x00007FF8FDF10000                      _philox.cp311-win_amd64.pyd
0x00007FF8FC4F0000                      _pcg64.cp311-win_amd64.pyd
0x00007FF916C20000                      _sfc64.cp311-win_amd64.pyd
0x00007FF8F5BE0000                      _generator.cp311-win_amd64.pyd
0x00007FF8FC4D0000 3.11.7150.1013       _bz2.pyd
0x00007FF8FADC0000 3.11.7150.1013       _lzma.pyd
0x00007FF8FB690000 3.11.7150.1013       _socket.pyd
0x00007FF926F70000 10.0.19041.546       IPHLPAPI.DLL
0x00007FF916B50000 3.11.7150.1013       select.pyd
0x00007FF8CEDC0000 31.0.15.5123         nvcuda.dll
0x00007FF8BBB90000 31.0.15.5123         nvcuda64.dll
0x00007FF8BF8B0000 31.0.15.5123         nvapi64.dll
0x00007FF8E6270000                      pi_level_zero.dll
0x00007FF8F8810000 1.5.0.0              ze_loader.dll
0x00007FF8E52D0000 2.2.0.0              OpenImageDenoise_device_cpu.dll
0x00007FF8CFDD0000 2.2.0.0              OpenImageDenoise_device_cuda.dll
0x00007FF8E2EC0000 3.11.7150.1013       unicodedata.pyd
0x00007FF87CA80000 8.0.0.0              nvoptix.dll
0x00007FF878780000 31.0.15.5123         nvrtum64.dll
0x00007FF8DDD70000 8.17.15.5123         nvml.dll
0x00007FF877830000 8.17.15.5123         nvml.dll
0x00007FF929570000 10.0.19041.546       PSAPI.DLL

# Python backtrace
<details> <summary> Logs </summary> ``` # Blender 4.1.0, Commit date: 2024-02-08 19:55, Hash 2e6223d90f3f bpy.context.space_data.context = 'RENDER' # Property bpy.context.space_data.shading.type = 'RENDERED' # Property # backtrace Exception Record: ExceptionCode : EXCEPTION_ACCESS_VIOLATION Exception Address : 0x00007FF8C4ACB021 Exception Module : oslexec.dll Exception Flags : 0x00000000 Exception Parameters : 0x2 Parameters[0] : 0x0000000000000000 Parameters[1] : 0x000000000000018C Stack trace: oslexec.dll :0x00007FF8C269DC60 OSL_v1_13_5::OSLCompiler::output_filename oslexec.dll :0x00007FF8C269DC60 OSL_v1_13_5::OSLCompiler::output_filename oslexec.dll :0x00007FF8C269DC60 OSL_v1_13_5::OSLCompiler::output_filename oslexec.dll :0x00007FF8C265B2F0 OSL_v1_13_5::pvt::LLVM_Util::getPointerToFunction oslexec.dll :0x00007FF8C2605080 OSL_v1_13_5::shade_image oslexec.dll :0x00007FF8C25333A0 OSL_v1_13_5::ShadingSystem::optimize_group oslexec.dll :0x00007FF8C2532DC0 OSL_v1_13_5::ShadingSystem::optimize_all_groups oslexec.dll :0x00007FF8C2532DC0 OSL_v1_13_5::ShadingSystem::optimize_all_groups oslexec.dll :0x00007FF8C24F96EB Symbols not available Loaded Modules : 0x00007FF6A1AD0000 4.1.0.0 blender.exe C:\Program Files\Blender Foundation\blender-4.1.0-beta+v41.2e6223d90f3f-windows.amd64-release\blender.pdb 0x00007FF92A410000 10.0.19041.1466 ntdll.dll 0x00007FF929A20000 10.0.19041.1503 KERNEL32.DLL 0x00007FF927C20000 10.0.19041.1503 KERNELBASE.dll 0x00007FF9293D0000 10.0.19041.1503 USER32.dll 0x00007FF927F60000 10.0.19041.1526 win32u.dll 0x00007FF929AE0000 10.0.19041.1202 GDI32.dll 0x00007FF9169A0000 tbbmalloc.dll 0x00007FF9282C0000 10.0.19041.1466 gdi32full.dll 0x00007FF918E50000 tbb.dll 0x00007FF9280F0000 10.0.19041.789 msvcp_win.dll 0x00007FF927B20000 10.0.19041.789 ucrtbase.dll 0x00007FF929660000 10.0.19041.1466 ADVAPI32.dll 0x00007FF928960000 7.0.19041.546 msvcrt.dll 0x00007FF929B20000 10.0.19041.1466 sechost.dll 0x00007FF9287C0000 10.0.19041.1466 RPCRT4.dll 0x00007FF928A00000 10.0.19041.1503 SHELL32.dll 0x00007FF929BC0000 10.0.19041.1202 ole32.dll 0x00007FF922CB0000 10.0.19041.546 VERSION.dll 0x00007FF923700000 14.29.30139.0 VCRUNTIME140.dll 0x00007FF928460000 10.0.19041.1348 combase.dll 0x00007FF9072A0000 14.29.30139.0 MSVCP140.dll 0x00007FF929860000 10.0.19041.1023 SHLWAPI.dll 0x00007FF9236C0000 14.29.30139.0 VCRUNTIME140_1.dll 0x00007FF928270000 10.0.19041.1151 CFGMGR32.dll 0x00007FF929710000 10.0.19041.546 WS2_32.dll 0x00007FF905F70000 10.0.19041.867 dbghelp.dll 0x00007FF9298C0000 10.0.19041.985 OLEAUT32.dll 0x00007FF92A320000 10.0.19041.1387 shcore.dll 0x00007FF8D11E0000 4.1.0.0 embree4.dll 0x00007FF8DA530000 6.1.0.0 sycl6.dll 0x00007FF929280000 10.0.19041.546 IMM32.dll 0x00007FF917640000 oslquery.dll 0x00007FF8C5BD0000 oslcomp.dll 0x00007FF8C2480000 oslexec.dll 0x00007FF8D08E0000 OpenImageIO.dll 0x00007FF880070000 cycles_kernel_oneapi_aot.dll 0x00007FF907190000 OpenImageIO_Util.dll 0x00007FF8D8670000 OpenColorIO_2_3.dll 0x00007FF914780000 boost_python311-vc142-mt-x64-1_82.dll 0x00007FF915C50000 2.2.0.0 OpenImageDenoise.dll 0x00007FF914360000 1.38.8.0 MaterialXFormat.dll 0x00007FF9070B0000 1.38.8.0 MaterialXCore.dll 0x00007FF8E68E0000 60.16.100.0 avformat-60.dll 0x00007FF894780000 usd_ms.dll 0x00007FF8922D0000 60.31.102.0 avcodec-60.dll 0x00007FF9167B0000 60.3.100.0 avdevice-60.dll 0x00007FF8BD040000 58.29.100.0 avutil-58.dll 0x00007FF928240000 10.0.19041.1023 bcrypt.dll 0x00007FF8FAA10000 fftw3f.dll 0x00007FF906CD0000 7.5.100.0 swscale-7.dll 0x00007FF8E6310000 1.2.2.0 sndfile.dll 0x00007FF8E46B0000 1.23.1.0 OpenAL32.dll 0x00007FF8E1150000 2.28.2.0 SDL2.dll 0x00007FF913AD0000 Iex.dll 0x00007FF929EA0000 10.0.19041.1503 SETUPAPI.dll 0x00007FF890B40000 11.0.0.0 openvdb.dll 0x00007FF8D7F80000 OpenEXR.dll 0x00007FF90ECF0000 Imath.dll 0x00007FF904100000 epoxy-0.dll 0x00007FF9045D0000 boost_locale-vc142-mt-x64-1_82.dll 0x00007FF8CF150000 3.11.7150.1013 python311.dll 0x00007FF8F0650000 gmp-10.dll 0x00007FF926410000 10.0.19041.1266 dxgi.dll 0x00007FF918E40000 tbbmalloc_proxy.dll 0x00007FF914C00000 6.10.19041.1110 COMCTL32.dll 0x00007FF9141A0000 10.0.19041.1 AVIFIL32.dll 0x00007FF925850000 10.0.19041.746 dwmapi.dll 0x00007FF8F91C0000 fftw3.dll 0x00007FF917990000 libgmpxx.dll 0x00007FF917600000 oslnoise.dll 0x00007FF912940000 boost_thread-vc142-mt-x64-1_82.dll 0x00007FF8DE020000 OpenEXRCore.dll 0x00007FF908200000 10.0.19041.1503 dbgeng.dll 0x00007FF903E00000 10.0.19041.546 Secur32.dll 0x00007FF9126C0000 4.12.100.0 swresample-4.dll 0x00007FF88F950000 2.2.0.0 OpenImageDenoise_core.dll 0x00007FF9045B0000 10.0.19041.1 AVICAP32.dll 0x00007FF8EAB20000 10.0.19041.1081 OPENGL32.dll 0x00007FF9018C0000 1.38.8.0 MaterialXRender.dll 0x00007FF8FE9F0000 1.38.8.0 MaterialXGenGlsl.dll 0x00007FF8FCF50000 1.38.8.0 MaterialXGenMsl.dll 0x00007FF8FB8F0000 1.38.8.0 MaterialXGenShader.dll 0x00007FF917A30000 10.0.19041.546 WINMM.dll 0x00007FF917580000 IlmThread.dll 0x00007FF9028C0000 10.0.19041.1 MSACM32.dll 0x00007FF904000000 10.0.19041.1 MSVFW32.dll 0x00007FF918D30000 10.0.19041.1503 dbgmodel.dll 0x00007FF9227C0000 10.0.19041.546 XmlLite.dll 0x00007FF901890000 10.0.19041.1081 GLU32.dll 0x00007FF902B80000 10.0.19041.1 winmmbase.dll 0x00007FF9279E0000 10.0.19041.1266 SSPICLI.DLL 0x00007FF925A30000 10.0.19041.546 kernel.appcore.dll 0x00007FF925C30000 10.0.19041.1503 windows.storage.dll 0x00007FF927570000 10.0.19041.1320 Wldp.dll 0x00007FF925550000 10.0.19041.1266 uxtheme.dll 0x00007FF9283D0000 10.0.19041.1415 bcryptPrimitives.dll 0x00007FF927A60000 10.0.19041.844 profapi.dll 0x00007FF9274E0000 10.0.19041.546 CRYPTBASE.DLL 0x00007FF9291D0000 2001.12.10941.16384 clbcatq.dll 0x00007FF9222A0000 10.0.19041.1503 MMDevApi.dll 0x00007FF9278F0000 10.0.19041.1151 DEVOBJ.dll 0x00007FF922330000 10.0.19041.1503 AUDIOSES.DLL 0x00007FF927090000 10.0.19041.546 powrprof.dll 0x00007FF926F50000 UMPDC.dll 0x00007FF9292B0000 10.0.19041.1503 MSCTF.dll 0x00007FF9230B0000 7.0.19041.1023 PROPSYS.dll 0x00007FF9226A0000 10.0.19041.1288 AppXDeploymentClient.dll 0x00007FF8A80F0000 31.0.15.5123 nvoglv64.dll 0x00007FF923620000 10.0.19041.546 WTSAPI32.dll 0x00007FF927700000 10.0.19041.546 msasn1.dll 0x00007FF91D130000 10.0.19041.906 cryptnet.dll 0x00007FF927F90000 10.0.19041.1320 CRYPT32.dll 0x00007FF91EDB0000 10.0.19041.1320 drvstore.dll 0x00000202CCF30000 10.0.19041.1503 WINTRUST.dll 0x00007FF926850000 10.0.19041.546 ntmarta.dll 0x00007FF929640000 10.0.19041.1415 imagehlp.dll 0x00007FF9274C0000 10.0.19041.546 CRYPTSP.dll 0x00007FF926B80000 10.0.19041.1052 rsaenh.dll 0x00007FF9263E0000 10.0.19041.1387 gpapi.dll 0x00007FF88CCE0000 31.0.15.5123 nvgpucomp64.dll 0x00007FF91D0F0000 10.0.19041.546 dxcore.dll 0x00007FF926CC0000 10.0.19041.546 WINSTA.dll 0x00007FF90ECB0000 10.0.19041.1387 dataexchange.dll 0x00007FF923990000 10.0.19041.1202 d3d11.dll 0x00007FF924780000 10.0.19041.1387 dcomp.dll 0x00007FF920110000 10.0.19041.964 twinapi.appcore.dll 0x00007FF910600000 10.0.19041.1503 textinputframework.dll 0x00007FF924DD0000 10.0.19041.546 CoreUIComponents.dll 0x00007FF925130000 10.0.19041.746 CoreMessaging.dll 0x00007FF924620000 10.0.19041.1348 wintypes.dll 0x00007FF901830000 1.5.2.0 Wintab32.dll 0x00007FF8F98B0000 10.0.19041.1023 explorerframe.dll 0x00007FF915880000 10.0.19041.1202 directmanipulation.dll 0x00007FF922960000 10.0.19041.1387 policymanager.dll 0x00007FF926C10000 10.0.19041.546 msvcp110_win.dll 0x00007FF929150000 10.0.19041.546 coml2.dll 0x00007FF918D20000 10.0.19041.546 LINKINFO.dll 0x00007FF8F04F0000 10.0.19041.1466 Windows.StateRepositoryPS.dll 0x00007FF9253B0000 10.0.19041.1320 apphelp.dll 0x00007FF902570000 10.0.19041.789 zipfldr.dll 0x00007FF8F8410000 10.0.19041.546 MPR.dll 0x00007FF91FD00000 10.0.19041.546 drprov.dll 0x00007FF906210000 10.0.19041.1466 ntlanman.dll 0x00007FF914060000 10.0.19041.546 davclnt.dll 0x00007FF91FCB0000 10.0.19041.546 DAVHLPR.dll 0x00007FF926CA0000 10.0.19041.1466 wkscli.dll 0x00007FF902D50000 10.0.19041.546 cscapi.dll 0x00007FF927080000 10.0.19041.546 netutils.dll 0x00000202D3FA0000 3.11.7150.1013 python3.DLL 0x00007FF8D0610000 _multiarray_umath.cp311-win_amd64.pyd 0x00007FF9040E0000 _multiarray_tests.cp311-win_amd64.pyd 0x00007FF9014F0000 3.11.7150.1013 _ctypes.pyd 0x00007FF917040000 libffi-8.dll 0x00007FF8DD940000 _umath_linalg.cp311-win_amd64.pyd 0x00007FF902710000 _pocketfft_internal.cp311-win_amd64.pyd 0x00007FF8FB700000 mtrand.cp311-win_amd64.pyd 0x00007FF8FE9C0000 bit_generator.cp311-win_amd64.pyd 0x00007FF8FDAA0000 _common.cp311-win_amd64.pyd 0x00007FF916CC0000 3.11.7150.1013 _hashlib.pyd 0x00007FF8C1F40000 3.1.5.0 libcrypto-3.dll 0x00007FF8FC600000 _bounded_integers.cp311-win_amd64.pyd 0x00007FF901810000 _mt19937.cp311-win_amd64.pyd 0x00007FF8FDF10000 _philox.cp311-win_amd64.pyd 0x00007FF8FC4F0000 _pcg64.cp311-win_amd64.pyd 0x00007FF916C20000 _sfc64.cp311-win_amd64.pyd 0x00007FF8F5BE0000 _generator.cp311-win_amd64.pyd 0x00007FF8FC4D0000 3.11.7150.1013 _bz2.pyd 0x00007FF8FADC0000 3.11.7150.1013 _lzma.pyd 0x00007FF8FB690000 3.11.7150.1013 _socket.pyd 0x00007FF926F70000 10.0.19041.546 IPHLPAPI.DLL 0x00007FF916B50000 3.11.7150.1013 select.pyd 0x00007FF8CEDC0000 31.0.15.5123 nvcuda.dll 0x00007FF8BBB90000 31.0.15.5123 nvcuda64.dll 0x00007FF8BF8B0000 31.0.15.5123 nvapi64.dll 0x00007FF8E6270000 pi_level_zero.dll 0x00007FF8F8810000 1.5.0.0 ze_loader.dll 0x00007FF8E52D0000 2.2.0.0 OpenImageDenoise_device_cpu.dll 0x00007FF8CFDD0000 2.2.0.0 OpenImageDenoise_device_cuda.dll 0x00007FF8E2EC0000 3.11.7150.1013 unicodedata.pyd 0x00007FF87CA80000 8.0.0.0 nvoptix.dll 0x00007FF878780000 31.0.15.5123 nvrtum64.dll 0x00007FF8DDD70000 8.17.15.5123 nvml.dll 0x00007FF877830000 8.17.15.5123 nvml.dll 0x00007FF929570000 10.0.19041.546 PSAPI.DLL # Python backtrace ``` </details>

From the backtrace it seems you are using Open Shading Language, which is not enabled by default.

Please attach and example .blend file that crashes.

From the backtrace it seems you are using Open Shading Language, which is not enabled by default. Please attach and example .blend file that crashes.
Member

Thanks. Looks like optix OSL is enabled. Can confirm in that case

Thanks. Looks like optix OSL is enabled. Can confirm in that case
Pratik Borhade added
Module
Render & Cycles
Status
Confirmed
and removed
Status
Needs Information from User
labels 2024-02-09 11:40:34 +01:00
Pratik Borhade changed title from Instant crash when switching to OptiX and going in Rendered mode in Cycles to Cycles: Instant crash when switching to OptiX with OSL 2024-02-09 11:41:13 +01:00
Brecht Van Lommel added
Priority
High
and removed
Priority
Normal
labels 2024-02-09 11:41:32 +01:00
Member

@brecht didn't notice your comment. Crash is replicable in default scene. Just need to select OptiX and OSL

@brecht didn't notice your comment. Crash is replicable in default scene. Just need to select OptiX and OSL
Member

Some commit between 62e1059960a3 - fcbb94ed1e6e introduced the crash.
Maybe the library changes 802ac5ba5a ?

Some commit between `62e1059960a3 - fcbb94ed1e6e` introduced the crash. Maybe the library changes 802ac5ba5afc04a2c4bdd72ef52df281d9065824 ?

Almost certainly the library upgrade, yes. I will look into it.

Almost certainly the library upgrade, yes. I will look into it.

got the same problem on GTX 1070 ti with the 4.2 build from 13.2.2024 4:00 and 29.1.2024 with different scenes and geforce game ready and studio driver.
blender is crashes when building shader...

got the same problem on GTX 1070 ti with the 4.2 build from 13.2.2024 4:00 and 29.1.2024 with different scenes and geforce game ready and studio driver. blender is crashes when building shader...
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-02-14 03:40:16 +01:00

This requires updated libraries for Windows and Linux, will reopen until those have landed.

This requires updated libraries for Windows and Linux, will reopen until those have landed.
Blender Bot added
Status
Needs Triage
and removed
Status
Resolved
labels 2024-02-14 03:42:08 +01:00
Pratik Borhade added
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-02-14 04:24:16 +01:00
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-02-14 04:30:26 +01:00

The Windows libraries have not been updated yet, so keeping open.

The Windows libraries have not been updated yet, so keeping open.
Blender Bot added
Status
Needs Triage
and removed
Status
Resolved
labels 2024-02-14 12:39:01 +01:00
Brecht Van Lommel added
Status
Confirmed
Type
Bug
and removed
Status
Needs Triage
Type
Report
labels 2024-02-14 12:39:32 +01:00

Windows libraries were updated as well now.

Windows libraries were updated as well now.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-02-19 12:58:39 +01:00
Brecht Van Lommel added
Status
Resolved
and removed
Status
Archived
labels 2024-02-19 12:58:48 +01:00
Member

@brecht , looks like crash is still there in 4.1/4.2
@deadpin and I got crash with optix OSL when checking #118756 (also see #module-triaging)

@brecht , looks like crash is still there in 4.1/4.2 @deadpin and I got crash with optix OSL when checking #118756 (also see `#module-triaging`)
Blender Bot added
Status
Confirmed
and removed
Status
Resolved
labels 2024-02-28 18:59:56 +01:00

It's working correctly on Linux for me, but I guess there is still some Windows specific problem.

It's working correctly on Linux for me, but I guess there is still some Windows specific problem.
Member

Do we have a stack where it crashes? I can't repro locally.

Do we have a stack where it crashes? I can't repro locally.

I was able to reproduce this on Windows and started looking into it Thursday. It's crashing in oslexec somewhere, and I just got a custom OSL build working to investigate that, but ran out of time. I'll continue on it next week.

I was able to reproduce this on Windows and started looking into it Thursday. It's crashing in oslexec somewhere, and I just got a custom OSL build working to investigate that, but ran out of time. I'll continue on it next week.

This was caused by an uninitialized variable in OSL, fixed in:
8a1242f75b

I'll make a PR to upgrade OSL, it looks quite safe as there have been no significant code changes besides this commit since our current version.

This was caused by an uninitialized variable in OSL, fixed in: https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/commit/8a1242f75bf89e8d44038865ebb40a27164fac71 I'll make a PR to upgrade OSL, it looks quite safe as there have been no significant code changes besides this commit since our current version.
Blender Bot added
Status
Resolved
and removed
Status
Confirmed
labels 2024-03-06 16:34:47 +01:00

Reopening again until the libs have been updated.

Reopening again until the libs have been updated.
Blender Bot added
Status
Confirmed
and removed
Status
Resolved
labels 2024-03-06 17:01:06 +01:00

I confirmed it is now fixed in the latest daily build.

I confirmed it is now fixed in the latest daily build.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-03-11 13:43:36 +01:00
Brecht Van Lommel added
Status
Resolved
and removed
Status
Archived
labels 2024-03-11 13:43:42 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#118020
No description provided.