Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Bug: Crash of Ayon Launcher and Blender, when publishing from Blender 3.3 #6018

Closed
2 tasks done
alainxi opened this issue Dec 6, 2023 · 3 comments
Closed
2 tasks done

Comments

@alainxi
Copy link

alainxi commented Dec 6, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior:

Since I updated Ayon's openpype from 3.17.6 to 3.17.7, I cannot export Alembic files anymore (as part of the Blender publishing process).
There are no validation problems at all, but Blender (and the Launcher) crashes at the end of publishing.
When I revert to 3.17.6, everything works again.
My only workaround for now is to disable Extract ABC when publishing.

Ayon's openpype 3.17.6 works all right with Blender 3.3 LTS (Long Time Support, released a year ago).
Ayon's openpype 3.17.7 crashes with Blender 3.3 LTS, but works with Blender 4.0.

Expected Behavior:

Blender 3.3 should be able to publish.

Version

3.17.7-nightly.5

What platform you are running OpenPype on?

Windows

Steps To Reproduce:

From inside Blender 3.3, try to publish a Model.

Are there any labels you wish to add?

  • I have added the relevant labels to the bug report.

Relevant log output:

# Blender 3.3.12, Commit date: 2023-10-17 09:05, Hash 10ade9ceee90

# backtrace
Exception Record:

ExceptionCode         : UNKNOWN EXCEPTION
Exception Address     : 0x00007FFA8655CF19
Exception Module      : KERNELBASE.dll
Exception Flags       : 0x00000001
Exception Parameters  : 0x4
	Parameters[0] : 0x0000000019930520
	Parameters[1] : 0x00000094761F88A8
	Parameters[2] : 0x00007FF6240C9BE8
	Parameters[3] : 0x00007FF618850000


Stack trace:
KERNELBASE.dll      :0x00007FFA8655CEB0  RaiseException
VCRUNTIME140.dll    :0x00007FFA7C1E63F0  CxxThrowException
blender.exe         :0x00007FF61DFC4380  Alembic::Abc::v12::ErrorHandler::handleIt
blender.exe         :0x00007FF61DFC41A0  Alembic::Abc::v12::ErrorHandler::operator()
blender.exe         :0x00007FF619D619B0  Alembic::Abc::v12::ErrorHandler::Context::operator()
blender.exe         :0x00007FF61F7B2E30  `Alembic::Abc::v12::OSchemaObject<Alembic::AbcGeom::v12::OXformSchema>::OSchemaObject<Alembic::AbcG
VCRUNTIME140_1.dll  :0x00007FFA7BFE1080  Symbols not available


Loaded Modules :
0x00007FF618850000 3.3.12.0             blender.exe D:\temp\Blender3_v3_3_12_release\blender.pdb 
0x00007FFA887D0000 10.0.19041.3636      ntdll.dll  
0x00007FFA87CC0000 10.0.19041.3636      KERNEL32.DLL  
0x00007FFA86530000 10.0.19041.3636      KERNELBASE.dll  
0x00007FFA5FB30000 1.7.229.0            bdhkm64.dll  
0x00007FFA5F9D0000 1.61.374.0           atcuf64.dll  
0x00007FFA87E50000 10.0.19041.3636      WS2_32.dll  
0x00007FFA87F20000 10.0.19041.3636      RPCRT4.dll  
0x00007FFA88050000 10.0.19041.3636      USER32.dll  
0x00007FFA86250000 10.0.19041.3636      win32u.dll  
0x00007FFA86B90000 10.0.19041.3636      GDI32.dll  
0x00007FFA86370000 10.0.19041.3636      gdi32full.dll  
0x00007FFA86280000 10.0.19041.3636      msvcp_win.dll  
0x00007FFA85F40000 10.0.19041.3636      ucrtbase.dll  
0x00007FFA86FA0000 10.0.19041.3693      ADVAPI32.dll  
0x00007FFA86E70000 7.0.19041.3636       msvcrt.dll  
0x00007FFA86C70000 10.0.19041.3636      sechost.dll  
0x00007FFA87200000 10.0.19041.3636      SHELL32.dll  
0x00007FFA86D30000 10.0.19041.3636      SHLWAPI.dll  
0x00007FFA86320000 10.0.19041.3636      CFGMGR32.dll  
0x00007FFA86490000 10.0.19041.3636      bcrypt.dll  
0x00007FFA87A80000 10.0.19041.3636      ole32.dll  
0x00007FFA86830000 10.0.19041.3636      combase.dll  
0x00007FFA87950000 10.0.19041.3636      PSAPI.DLL  
0x00007FFA86BC0000 10.0.19041.3636      shcore.dll  
0x00007FFA87BB0000 10.0.19041.3636      IMM32.dll  
0x00007FFA7BCF0000                      tbb.dll  
0x00007FFA75710000                      tbbmalloc.dll  
0x00007FFA7FFC0000 10.0.19041.3636      dbghelp.dll  
0x00007FFA364E0000 10.0.19041.3636      OPENGL32.dll  
0x00007FF9E3B50000 9.0.0.0              openvdb.dll  
0x00007FF9E1660000 60.3.100.0           avcodec-60.dll  
0x00007FFA30F30000 60.3.100.0           avformat-60.dll  
0x00007FFA7B3B0000 60.1.100.0           avdevice-60.dll  
0x00007FFA86D90000 10.0.19041.3636      OLEAUT32.dll  
0x00007FFA33DA0000 58.2.100.0           avutil-58.dll  
0x00007FFA62EF0000 7.1.100.0            swscale-7.dll  
0x0000000067380000 1.2.2.0              libsndfile-1.dll  
0x00007FFA626A0000 1.21.1.0             OpenAL32.dll  
0x00007FFA3D0F0000 2.0.20.0             SDL2.dll  
0x00007FFA882A0000 10.0.19041.3636      SETUPAPI.dll  
0x000000006ACC0000                      libgmp-10.dll  
0x00007FFA7F590000                      libgmpxx.dll  
0x00007FFA30A60000 3.10.13150.1013      python310.dll  
0x00007FFA7F580000                      tbbmalloc_proxy.dll  
0x00007FFA62E60000 14.29.30139.0        MSVCP140.dll  
0x00007FFA7C1E0000 14.29.30139.0        VCRUNTIME140.dll  
0x00007FFA7BFE0000 14.29.30139.0        VCRUNTIME140_1.dll  
0x00007FFA6A380000 10.0.19041.1         AVIFIL32.dll  
0x00007FFA5D540000 6.10.19041.3636      COMCTL32.dll  
0x00007FFA80730000 10.0.19041.3636      VERSION.dll  
0x00007FFA83AB0000 10.0.19041.3636      dwmapi.dll  
0x0000000070680000                      libfftw3-3.dll  
0x00007FFA3E0D0000 10.0.19041.3636      GLU32.dll  
0x00007FFA6A350000 4.10.100.0           swresample-4.dll  
0x00007FFA7BC90000 10.0.19041.3636      Secur32.dll  
0x00007FFA6B440000 10.0.19041.1         AVICAP32.dll  
0x00007FFA7BBB0000 10.0.19041.3636      WINMM.dll  
0x00007FFA6A2D0000 10.0.19041.1         MSVFW32.dll  
0x00007FFA75150000 10.0.19041.1         MSACM32.dll  
0x00007FFA53510000 10.0.19041.1         winmmbase.dll  
0x00007FFA85D90000 10.0.19041.3636      SSPICLI.DLL  
0x00007FFA7FF70000 10.0.19041.3636      dbgcore.DLL  
0x00007FFA83AE0000 10.0.19041.3636      kernel.appcore.dll  
0x00007FFA83DC0000 10.0.19041.3693      windows.storage.dll  
0x00007FFA858F0000 10.0.19041.3636      Wldp.dll  
0x00007FFA836F0000 10.0.19041.3636      uxtheme.dll  
0x00007FFA85EB0000 10.0.19041.3636      bcryptPrimitives.dll  
0x00007FFA85DE0000 10.0.19041.3636      profapi.dll  
0x00007FFA881F0000 2001.12.10941.16384  clbcatq.dll  
0x00007FFA7FA70000 10.0.19041.3636      MMDevApi.dll  
0x00007FFA85C40000 10.0.19041.3636      DEVOBJ.dll  
0x00007FFA7F710000 10.0.19041.3636      AUDIOSES.DLL  
0x00007FFA85460000 10.0.19041.3636      powrprof.dll  
0x00007FFA852D0000                      UMPDC.dll  
0x00007FFA87960000 10.0.19041.3636      MSCTF.dll  
0x00007FFA7E8A0000 10.0.19041.3636      AppXDeploymentClient.dll  
0x00007FF9D1090000 31.0.15.3623         nvoglv64.dll  
0x00007FFA82B00000 10.0.19041.3636      WTSAPI32.dll  
0x00007FFA85A80000 10.0.19041.3636      msasn1.dll  
0x00007FFA806F0000 10.0.19041.3636      cryptnet.dll  
0x000001F813D70000 10.0.19041.3636      CRYPT32.dll  
0x00007FFA805A0000 10.0.19041.3636      drvstore.dll  
0x00007FFA85840000 10.0.19041.3636      cryptbase.dll  
0x00007FFA864C0000 10.0.19041.3636      WINTRUST.dll  
0x00007FFA85050000 10.0.19041.3636      ntmarta.dll  
0x00007FFA759A0000 10.0.19041.3636      dxcore.dll  
0x00007FFA84B10000 10.0.19041.3636      WINSTA.dll  
0x00007FFA52AF0000 10.0.19041.3636      dataexchange.dll  
0x00007FFA80F60000 10.0.19041.3636      d3d11.dll  
0x00007FFA81D50000 10.0.19041.3693      dcomp.dll  
0x00007FFA84680000 10.0.19041.3636      dxgi.dll  
0x00007FFA80860000 10.0.19041.3636      twinapi.appcore.dll  
0x00007FFA74E80000 10.0.19041.3636      textinputframework.dll  
0x00007FFA82350000 10.0.19041.3636      CoreUIComponents.dll  
0x00007FFA826B0000 10.0.19041.3636      CoreMessaging.dll  
0x00007FFA81BF0000 10.0.19041.3636      wintypes.dll  
0x00007FFA5D4D0000 7.2.19041.3636       Oleacc.dll  
0x00007FFA4FCB0000 10.0.19041.3636      explorerframe.dll  
0x00007FFA6BCF0000 10.0.19041.3636      directmanipulation.dll  
0x00007FFA777C0000 10.0.19041.3636      MPR.dll  
0x00007FFA80D90000 10.0.19041.3636      drprov.dll  
0x00007FFA7CDF0000 10.0.19041.3636      ntlanman.dll  
0x00007FFA7C1C0000 10.0.19041.3636      davclnt.dll  
0x00007FFA80440000 10.0.19041.3636      DAVHLPR.dll  
0x00007FFA85030000 10.0.19041.3636      wkscli.dll  
0x00007FFA6CCB0000 10.0.19041.3636      cscapi.dll  
0x00007FFA85400000 10.0.19041.3636      netutils.dll  
0x00007FFA85850000 10.0.19041.3636      CRYPTSP.dll  
0x00007FFA84F10000 10.0.19041.3636      rsaenh.dll  
0x000001F812620000 3.10.13150.1013      python3.DLL  
0x00007FFA7BFD0000 3.10.13150.1013      _uuid.pyd  
0x00007FFA66350000 3.10.13150.1013      _decimal.pyd  
0x00007FFA6B760000 3.10.13150.1013      _hashlib.pyd  
0x00007FFA2F590000 3.1.2.0              libcrypto-3.dll  
0x00007FFA6A2B0000 3.10.13150.1013      _socket.pyd  
0x00007FFA852F0000 10.0.19041.3636      IPHLPAPI.DLL  
0x00007FFA6A2A0000 3.10.13150.1013      select.pyd  
0x00007FFA65A10000 3.10.13150.1013      _ssl.pyd  
0x00007FFA45DF0000 3.1.2.0              libssl-3.dll  
0x00007FFA3E620000 3.10.13150.1013      unicodedata.pyd  
0x00007FFA4A280000                      backend_c.cp310-win_amd64.pyd  
0x00007FFA65360000 3.10.13150.1013      _bz2.pyd  
0x00007FFA62670000 3.10.13150.1013      _lzma.pyd  
0x00007FFA85650000 10.0.19041.3636      mswsock.dll  
0x00007FFA668D0000 3.10.13150.1013      _queue.pyd  
0x00007FFA573C0000 3.10.13150.1013      _ctypes.pyd  
0x00007FFA66420000                      libffi-7.dll  
0x00007FFA561F0000 3.10.13150.1013      _elementtree.pyd  
0x00007FFA51FD0000 3.10.13150.1013      pyexpat.pyd  
0x00007FFA662A0000                      shiboken2.pyd  
0x00007FFA51F80000                      shiboken2.abi3.dll  
0x00007FFA30800000                      _multiarray_umath.cp310-win_amd64.pyd  
0x00007FFA63CB0000                      _multiarray_tests.cp310-win_amd64.pyd  
0x00007FFA305F0000                      _umath_linalg.cp310-win_amd64.pyd  
0x00007FFA63880000                      _pocketfft_internal.cp310-win_amd64.pyd  
0x00007FFA48E60000                      mtrand.cp310-win_amd64.pyd  
0x00007FFA56140000                      bit_generator.cp310-win_amd64.pyd  
0x00007FFA52830000                      _common.cp310-win_amd64.pyd  
0x00007FFA50BC0000                      _bounded_integers.cp310-win_amd64.pyd  
0x00007FFA63790000                      _mt19937.cp310-win_amd64.pyd  
0x00007FFA631A0000                      _philox.cp310-win_amd64.pyd  
0x00007FFA60780000                      _pcg64.cp310-win_amd64.pyd  
0x00007FFA66100000                      _sfc64.cp310-win_amd64.pyd  
0x00007FFA48AE0000                      _generator.cp310-win_amd64.pyd  
0x00007FFA2F230000                      QtCore.pyd  
0x00007FFA50380000                      pyside2.abi3.dll  
0x00007FFA2EC60000 5.15.2.0             Qt5Core.dll  
0x00007FFA2DEF0000 5.15.2.0             Qt5Qml.dll  
0x00007FFA85D60000 10.0.19041.3636      USERENV.dll  
0x00007FFA7BDF0000 10.0.19041.3636      NETAPI32.dll  
0x00007FFA65AB0000 14.29.30139.0        MSVCP140_1.dll  
0x00007FFA35310000 5.15.2.0             Qt5Network.dll  
0x00007FFA85330000 10.0.19041.3636      DNSAPI.dll  
0x00007FFA84B70000 10.0.19041.3636      SRVCLI.DLL  
0x00007FFA85410000 10.0.19041.3636      LOGONCLI.DLL  
0x00007FFA7F5D0000 10.0.19041.3636      SAMCLI.DLL  
0x00007FFA87E40000 10.0.19041.3636      NSI.dll  
0x00007FFA45F20000                      QtDataVisualization.pyd  
0x00007FFA3E130000 5.15.2.0             Qt5DataVisualization.dll  
0x00007FFA2D830000 5.15.2.0             Qt5Gui.dll  
0x00007FFA2CE10000                      QtGui.pyd  
0x00007FFA2C470000                      QtWidgets.pyd  
0x00007FFA2AEA0000 5.15.2.0             Qt5Widgets.dll  
0x00007FFA50110000                      QtSvg.pyd  
0x00007FFA4B030000 5.15.2.0             Qt5Svg.dll  
0x00007FFA82FC0000 10.0.19041.3636      rasadhlp.dll  
0x00007FFA83080000 10.0.19041.3636      fwpuclnt.dll  
0x00007FFA5DC90000 3.10.13150.1013      _asyncio.pyd  
0x00007FFA65A00000 3.10.13150.1013      _overlapped.pyd  
0x00007FFA32420000 5.15.2.0             qwindows.dll  
0x00007FFA4FF20000 5.15.2.0             qwindowsvistastyle.dll  
0x00007FFA80B70000 10.0.19041.3636      policymanager.dll  
0x00007FFA84FA0000 10.0.19041.3636      msvcp110_win.dll  
0x00007FFA7D980000 7.0.19041.3636       propsys.dll  
0x00007FFA655A0000 5.15.2.0             qgif.dll  
0x00007FFA63D60000 5.15.2.0             qicns.dll  
0x00007FFA63C60000 5.15.2.0             qico.dll  
0x00007FFA482C0000 5.15.2.0             qjpeg.dll  
0x00007FFA62E50000 5.15.2.0             qpdf.dll  
0x00007FFA2C020000 5.15.2.0             Qt5Pdf.dll  
0x00007FFA62BD0000 5.15.2.0             qsvg.dll  
0x00007FFA62560000 5.15.2.0             qtga.dll  
0x00007FFA46BC0000 5.15.2.0             qtiff.dll  
0x00007FFA5EBF0000 5.15.2.0             qwbmp.dll  
0x00007FFA45930000 5.15.2.0             qwebp.dll  
0x00007FFA6D030000 10.0.19041.3636      dwrite.dll  
0x00007FFA2CA90000 10.0.19041.3636      d3d9.dll  
0x00007FFA86D10000 10.0.19041.3636      imagehlp.dll  
0x00007FFA53190000 7.2.19041.3636       UIAutomationCore.dll  
0x00007FFA85CB0000 10.0.19041.3636      sxs.dll  
0x00007FFA83440000 10.0.19041.3636      WindowsCodecs.dll  
0x00007FFA4FB70000 10.0.19041.3636      thumbcache.dll

Additional context:

Blender 3.3 should be supported (not only recent versions), because a lot of studios that have in-house Blender plugins don't update Blender very often, and Blender 3.3 was released only a year ago.

[cuID:OP-7546]

@alainxi alainxi added the type: bug Something isn't working label Dec 6, 2023
@iLLiCiTiT
Copy link
Member

iLLiCiTiT commented Dec 6, 2023

Long story short it looks like it crashes because it is using Qt dialog (with exec_). Maybe we should not use Qt to show the error message? I'm not familiar with blender, so hard to tell for me.

That would also solve this issue #6016

@BigRoy
Copy link
Collaborator

BigRoy commented Dec 7, 2023

That would also solve this issue #6016

I actually don't think it would - since the Qt widgets I believe are set to "float on top" any Blender button would still pop-up behind the existing Qt dialogs. Or maybe I'm misinterpreting what it would solve.

@BigRoy
Copy link
Collaborator

BigRoy commented Jul 4, 2024

Blender has advanced many versions and AYON has seen many updates since - including Qt version changes. I'll close this, if similar issues appear in ayon-blender please open an issue there.

@BigRoy BigRoy closed this as completed Jul 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants