cmds.arnoldRender is crashing on linux (Error in `/mnt/app/maya2022.4.0/platform-linux/maya/bin/python-bin': free(): invalid size: 0x00007f2f8d7b5600)

arsam_asif
Explorer
Explorer

cmds.arnoldRender is crashing on linux (Error in `/mnt/app/maya2022.4.0/platform-linux/maya/bin/python-bin': free(): invalid size: 0x00007f2f8d7b5600)

arsam_asif
Explorer
Explorer

Using a simple setup like this from a terminal:

 

maya.standalone.initialize()
cmds.loadPlugin("mtoa")
cmds.polyCube()
cmds.imagePlane()
cmds.arnoldRender(seq='', cam='persp', w=200, h=200, saveToRenderView=False)
maya.standalone.uninitialize()

 

 

I get crashes with this backtrace:

 

*** Error in `/mnt/app/ext/maya/2022.4.0/platform-linux/python-3.7/maya/bin/python-bin': free(): invalid pointer: 0x00007f2f8d7b5600 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81329)[0x7f2fd8165329]
/home/user/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2080ad5)[0x7f2f920a0ad5]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208282b)[0x7f2f920a282b]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c1d4)[0x7f2f920ac1d4]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x22996e4)[0x7f2f922b96e4]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c372)[0x7f2f920ac372]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208a370)[0x7f2f920aa370]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089dd5)[0x7f2f920a9dd5]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089465)[0x7f2f920a9465]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c03f)[0x7f2f920ac03f]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208a370)[0x7f2f920aa370]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089dd5)[0x7f2f920a9dd5]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089465)[0x7f2f920a9465]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c03f)[0x7f2f920ac03f]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2091462)[0x7f2f920b1462]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224bbbe)[0x7f2f9226bbbe]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224c40f)[0x7f2f9226c40f]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224c29c)[0x7f2f9226c29c]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x105f6a1)[0x7f2f9107f6a1]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x105f22c)[0x7f2f9107f22c]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x10635e2)[0x7f2f910835e2]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1064b26)[0x7f2f91084b26]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1233feb)[0x7f2f91253feb]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11e3a1a)[0x7f2f91203a1a]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11db373)[0x7f2f911fb373]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11d8649)[0x7f2f911f8649]
/lib64/libpthread.so.0(+0x7ea5)[0x7f2fd8bc2ea5]
/lib64/libc.so.6(clone+0x6d)[0x7f2fd81e2b0d]

 



This is specifically happening mtoa 5.2+.
The backtrace is from mtoa 5.3.4.1.

0 Likes
Reply
346 Views
4 Replies
Replies (4)

Stephen.Blair
Community Manager
Community Manager

That snippet is incomplete, so I don't know what else was left out. What's actually crashing? maya.standalone.uninitialize ?



// Stephen Blair
// Arnold Renderer Support
0 Likes

arsam_asif
Explorer
Explorer

Here is a complete log when running that command. I am pretty certain uninitialize is not the problem:

This plugin does not support createPlatformOpenGLContext!
00:00:00   526MB         | log started Thu Nov  9 12:54:19 2023
00:00:00   526MB         | Arnold 7.2.4.1 [1fee86c4] linux x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/10/17 03:09:19
00:00:00   526MB         | running on mchn.cmp.com, pid=133468
00:00:00   526MB         |  2 x Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz (16 cores, 32 logical) with 63856MB
00:00:00   526MB         |  NVIDIA driver version 525.78 (Optix 60805)
00:00:00   526MB         |  GPU 0: NVIDIA GeForce GTX 1080 @ 1733MHz (compute 6.1) with 8113MB (7990MB available) (NVLink:0)
00:00:00   526MB         |  CentOS Linux 7 (Core), Linux kernel 3.10.0-1160.45.1.el7.x86_64
00:00:00   526MB         |  soft limit for open files changed from 1024 to 4094
00:00:00   526MB         |  
00:00:00   526MB         | Installing system handler with mask 255
00:00:00   534MB         | [metadata] loading metadata file: /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/arnold.mtd
00:00:00   537MB         | [color_manager_ocio] default ocio.config found in /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/../ocio/configs/arnold/config.ocio
00:00:00   537MB         | loading plugins from /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders ...
00:00:00   537MB         |  mtoa_shaders.so: MayaBulge uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaCloth uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaGrid uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaFractal uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaNoise uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaCloud uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaCloudAlpha uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaSnow uses Arnold 7.2.4.1
00:00:00   537MB         |  mtoa_shaders.so: MayaSolidFractal uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaVolumeNoise uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaBrownian uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaStucco uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MtoaWriteColor uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MtoaWriteFloat uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaEnvSphere uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaFluid uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaMarble uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaMountain uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaWater uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaCrater uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaLeather uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaGranite uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaRock uses Arnold 7.2.4.1
00:00:00   538MB         |  mtoa_shaders.so: MayaFluidData uses Arnold 7.2.4.1
00:00:00   539MB         |  mtoa_shaders.so: MayaFluidTexture2D uses Arnold 7.2.4.1
00:00:00   539MB         |  xgenSpline_shaders.so: XGenHairMapping uses Arnold 7.2.4.1
00:00:00   539MB         |  hairPhysicalShader_shaders.so: HairPhysicalShaderDiffuseColorAdapter uses Arnold 7.2.4.1
00:00:00   539MB         |  hairPhysicalShader_shaders.so: HairPhysicalShaderSpecularWeightAdapter uses Arnold 7.2.4.1
00:00:00   539MB         |  hairPhysicalShader_shaders.so: HairPhysicalShaderSpecularGlossAdapter uses Arnold 7.2.4.1
00:00:00   539MB         |  hairPhysicalShader_shaders.so: HairPhysicalShaderTransmissionWeightAdapter uses Arnold 7.2.4.1
00:00:00   539MB         |  hairPhysicalShader_shaders.so: HairPhysicalShaderTransmissionSpreadAdapter uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatConstant uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatComposite uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatCondition uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatCorrect uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatLogic uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatMask uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkFloatMath uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorComposite uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorCondition uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorConstant uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorCorrect uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorLogic uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorMask uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkColorMath uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkChannels uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkPremultiply uses Arnold 7.2.4.1
00:00:00   539MB         |  lookdevkit_shaders.so: ldkSimplexNoise uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyAbsFloatOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyAbs2FloatsOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyAbs3FloatsOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyAbsIntOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyRelFloatOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyRel2FloatsOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyRel3FloatsOverride uses Arnold 7.2.4.1
00:00:00   539MB         |  renderSetup_shaders.so: applyRelIntOverride uses Arnold 7.2.4.1
00:00:00   539MB         | loaded 56 plugins from 5 lib(s) in 0:00.04
00:00:00   539MB         | loading plugins from /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/../plugins ...
00:00:00   539MB         |  alembic_proc.so: alembic uses Arnold 7.2.4.1
00:00:00   553MB         |  usd_proc.so: usd uses Arnold 7.2.4.1
00:00:00   553MB         |  cryptomatte.so: cryptomatte uses Arnold 7.2.4.1
00:00:00   553MB         |  cryptomatte.so: cryptomatte_filter uses Arnold 7.2.4.1
00:00:00   553MB         |  cryptomatte.so: cryptomatte_manifest_driver uses Arnold 7.2.4.1
00:00:00   553MB         |  [metadata] loading metadata file: /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/../plugins/cryptomatte.mtd
00:00:00   560MB         |  synColor_shaders.so: color_manager_syncolor uses Arnold 7.2.4.1
00:00:00   560MB         | loaded 6 plugins from 4 lib(s) in 0:00.09
00:00:00   562MB         | Successfully loaded Arnold ass file exporter
00:00:00   563MB         | Successfully loaded Arnold ass file importer
00:00:00   563MB         | Successfully loaded Arnold-USD file exporter
00:00:00   563MB         | Successfully loaded tx texture file
00:00:00   561MB         | Successfully loaded arnoldRender command
00:00:00   561MB         | Successfully loaded arnoldIpr command
00:00:00   561MB         | Successfully loaded arnoldBakeGeo command
00:00:00   561MB         | Successfully loaded arnoldRenderToTexture command
00:00:00   561MB         | Successfully loaded arnoldExportAss command
00:00:00   561MB         | Successfully loaded arnoldImportAss command
00:00:00   561MB         | Successfully loaded arnoldPlugins command
00:00:00   561MB         | Successfully loaded arnoldListAttributes command
00:00:00   561MB         | Successfully loaded arnoldTemperatureToColor command
00:00:00   561MB         | Successfully loaded arnoldFlushCache command
00:00:00   561MB         | Successfully loaded arnoldRenderView command
00:00:00   561MB         | Successfully loaded arnoldUpdateTx command
00:00:00   561MB         | Successfully loaded arnoldScene command
00:00:00   561MB         | Successfully loaded arnoldLicense command
00:00:00   561MB         | Successfully loaded arnoldViewport command
00:00:00   561MB         | Successfully loaded arnoldExportToMaterialX command
00:00:00   561MB         | Successfully loaded arnoldExportOperators command
00:00:00   561MB         | Successfully loaded arnoldExportImagers command
00:00:00   561MB         | Successfully loaded arnoldExportAlembic command
00:00:00   563MB         | [metadata] loading metadata file: /home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/xgenTranslator.mtd
00:00:00   563MB         | [mtoa] Extension (/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/xgenTranslator.so) requires Maya plugin xgenToolkit, registering will be deferred until plugin is loaded.
00:00:00   563MB         | [metadata] loading metadata file: /home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/xgenSplineTranslator.mtd
00:00:00   563MB         | [mtoa] Extension (/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/xgenSplineTranslator.so) requires Maya plugin xgenToolkit, registering will be deferred until plugin is loaded.
00:00:00   563MB         | [metadata] loading metadata file: /home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/usdProxyShapeTranslator.mtd
00:00:00   563MB         | [mtoa] Extension (/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/usdProxyShapeTranslator.so) requires Maya plugin mayaUsdPlugin, registering will be deferred until plugin is loaded.
00:00:00   563MB         | loading plugins from /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders ...
00:00:00   563MB         |  skipping already loaded plugin: /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders/mtoa_shaders.so ...
00:00:00   563MB         |  skipping already loaded plugin: /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders/xgenSpline_shaders.so ...
00:00:00   563MB         |  skipping already loaded plugin: /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders/hairPhysicalShader_shaders.so ...
00:00:00   563MB         |  skipping already loaded plugin: /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders/lookdevkit_shaders.so ...
00:00:00   563MB         |  skipping already loaded plugin: /home/user/packages/maya_mtoa/platform-linux/maya-2022/shaders/renderSetup_shaders.so ...
00:00:00   563MB         | loading plugins from /home/user/packages/maya_mtoa/platform-linux/maya-2022/procedurals ...
00:00:00   563MB WARNING |  unable to load dynamic library /home/user/packages/maya_mtoa/platform-linux/maya-2022/procedurals/xgen_procedural.so: libAdskSeExpr.so: cannot open shared object file: No such file or directory
00:00:00   563MB WARNING |  unable to load dynamic library /home/user/packages/maya_mtoa/platform-linux/maya-2022/procedurals/xgenSpline_procedural.so: libAdskSeExpr.so: cannot open shared object file: No such file or directory
00:00:00   563MB         | no plugins loaded
00:00:01   568MB         | [mtoa] Extension hairPhysicalShaderTranslator(/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/hairPhysicalShaderTranslator.so) requires Maya plugin hairPhysicalShader, registering will be deferred until plugin is loaded.
00:00:01   568MB         | [mtoa] Extension usdPreviewSurfaceTranslator(/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/usdPreviewSurfaceTranslator.so) requires Maya plugin mayaUsdPlugin, registering will be deferred until plugin is loaded.
00:00:01   568MB         | [mtoa] Extension bifrostTranslator(/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/bifrostTranslator.so) requires Maya plugin bifrostvisplugin, registering will be deferred until plugin is loaded.
00:00:01   568MB         | [mtoa] Extension bifShapeTranslator(/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/bifShapeTranslator.so) requires Maya plugin bifrostGraph, registering will be deferred until plugin is loaded.
00:00:01   568MB         | [mtoa] Extension gpuCacheTranslator(/home/user/packages/maya_mtoa/platform-linux/maya-2022/extensions/gpuCacheTranslator.so) requires Maya plugin gpuCache, registering will be deferred until plugin is loaded.
00:00:01   568MB         | Successfully registered Arnold nodes
libai.so already loaded
00:00:01   569MB         | Successfully loaded python module 'arnold'
00:00:01   569MB         | Successfully loaded python module 'mtoa'
00:00:04   639MB         | Successfully loaded renderer 'arnold'
00:00:04   640MB         | [color_manager_ocio] default ocio.config found in /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/../ocio/configs/arnold/config.ocio
00:00:04   640MB         | [color_manager_ocio] default ocio.config found in /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/../ocio/configs/arnold/config.ocio
Exporting Arnold Scene...
Updating Arnold Scene...
[mtoa] Rendering Frame: 1 (1/1)  Camera: persp  Layer: masterLayer
	/home/user/maya/projects/default/images/tmp/untitled.exr
00:00:04   644MB         | log started Thu Nov  9 12:54:24 2023
00:00:04   644MB         | Arnold 7.2.4.1 [1fee86c4] linux x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/10/17 03:09:19
00:00:04   644MB         | host application: MtoA 5.3.4.1 4d32feb2 (fix-5.3.4) Maya 2022
00:00:04   644MB         | running on mchn.cmp.com, pid=133468
00:00:04   644MB         |  2 x Intel(R) Xeon(R) Silver 4110 CPU @ 2.10GHz (16 cores, 32 logical) with 63856MB
00:00:04   644MB         |  NVIDIA driver version 525.78 (Optix 60805)
00:00:04   644MB         |  GPU 0: NVIDIA GeForce GTX 1080 @ 1733MHz (compute 6.1) with 8113MB (7990MB available) (NVLink:0)
00:00:04   644MB         |  CentOS Linux 7 (Core), Linux kernel 3.10.0-1160.45.1.el7.x86_64
00:00:04   644MB         |  soft limit for open files is set at 4094
00:00:04   644MB         |  
*** Error in `/mnt/app/ext/maya/2022/platform-linux/python-3.7/maya/bin/python-bin': free(): invalid pointer: 0x00007fea8a14f600 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x81329)[0x7fead4aff329]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2080ad5)[0x7fea8ea3aad5]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208282b)[0x7fea8ea3c82b]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c1d4)[0x7fea8ea461d4]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x22996e4)[0x7fea8ec536e4]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c372)[0x7fea8ea46372]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208a370)[0x7fea8ea44370]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089dd5)[0x7fea8ea43dd5]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089465)[0x7fea8ea43465]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c03f)[0x7fea8ea4603f]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208a370)[0x7fea8ea44370]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089dd5)[0x7fea8ea43dd5]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089465)[0x7fea8ea43465]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c03f)[0x7fea8ea4603f]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2091462)[0x7fea8ea4b462]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224bbbe)[0x7fea8ec05bbe]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224c40f)[0x7fea8ec0640f]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224c29c)[0x7fea8ec0629c]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x105f6a1)[0x7fea8da196a1]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x105f22c)[0x7fea8da1922c]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x10635e2)[0x7fea8da1d5e2]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1064b26)[0x7fea8da1eb26]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1233feb)[0x7fea8dbedfeb]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11e3a1a)[0x7fea8db9da1a]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11db373)[0x7fea8db95373]
/home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11d8649)[0x7fea8db92649]
/lib64/libpthread.so.0(+0x7ea5)[0x7fead555cea5]
/lib64/libc.so.6(clone+0x6d)[0x7fead4b7cb0d]
======= Memory map: ========
00400000-00401000 r-xp 00000000 00:2e 285612211                          /mnt/app/ext/maya/2022/platform-linux/python-3.7/maya/bin/python-bin
00600000-00601000 r--p 00000000 00:2e 285612211                          /mnt/app/ext/maya/2022/platform-linux/python-3.7/maya/bin/python-bin
00601000-00602000 rw-p 00001000 00:2e 285612211                          /mnt/app/ext/maya/2022/platform-linux/python-3.7/maya/bin/python-bin
01854000-0b044000 rw-p 00000000 00:00 0                                  [heap]
200000000-300200000 ---p 00000000 00:00 0 
7fe9de932000-7fe9dea32000 rw-p 00000000 00:00 0 
7fe9dea33000-7fe9dea34000 ---p 00000000 00:00 0 
7fe9dea34000-7fe9df234000 rw-p 00000000 00:00 0 
7fe9df234000-7fe9df23a000 r-xp 00000000 fd:00 537466159                  /usr/lib64/libnss_dns-2.17.so
7fe9df23a000-7fe9df439000 ---p 00006000 fd:00 537466159                  /usr/lib64/libnss_dns-2.17.so
7fe9df439000-7fe9df43a000 r--p 00005000 fd:00 537466159                  /usr/lib64/libnss_dns-2.17.so
7fe9df43a000-7fe9df43b000 rw-p 00006000 fd:00 537466159                  /usr/lib64/libnss_dns-2.17.so
7fe9df43b000-7fe9df7db000 r-xp 00000000 fd:02 33583238                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/libadlmint.so
7fe9df7db000-7fe9df9da000 ---p 003a0000 fd:02 33583238                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/libadlmint.so
7fe9df9da000-7fe9dfa07000 r--p 0039f000 fd:02 33583238                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/libadlmint.so
7fe9dfa07000-7fe9dfa10000 rw-p 003cc000 fd:02 33583238                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/libadlmint.so
7fe9dfa10000-7fe9dfa19000 rw-p 00000000 00:00 0 
7fe9dfa19000-7fe9dfa1a000 ---p 00000000 00:00 0 
7fe9dfa1a000-7fe9e031a000 rw-p 00000000 00:00 0 
7fe9e031b000-7fe9e031c000 ---p 00000000 00:00 0 
7fe9e031c000-7fe9e0b1c000 rw-p 00000000 00:00 0 
7fe9e0b1c000-7fe9e0b1d000 ---p 00000000 00:00 0 
7fe9e0b1d000-7fe9e131d000 rw-p 00000000 00:00 0 
7fe9e131d000-7fe9e1405000 r-xp 00000000 fd:02 33583236                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/AdpSDKCore.so
7fe9e1405000-7fe9e1604000 ---p 000e8000 fd:02 33583236                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/AdpSDKCore.so
7fe9e1604000-7fe9e1606000 r--p 000e7000 fd:02 33583236                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/AdpSDKCore.so
7fe9e1606000-7fe9e1607000 rw-p 000e9000 fd:02 33583236                   /home/user/packages/maya_mtoa/platform-linux/maya-2022/bin/AdpSDKCore.so
7fe9e1607000-7fe9e1708000 rw-p 00000000 00:00 0 
7fe9e1708000-7fe9e1f73000 r--s 00000000 fd:00 1174153                    /var/lib/sss/mc/passwd
7fe9e1f73000-7fe9e1f74000 ---p 00000000 00:00 0 
7fe9e1f74000-7fe9e27b4000 rw-p 00000000 00:00 0 
7fe9e2834000-7fe9e2874000 rw-p 00000000 00:00 0 
7fe9e2934000-7fe9e293c000 r-xp 00000000 fd:00 538021863                  /usr/lib64/libnss_sss.so.200:00:05   651MB WARNING | signal caught: SIGABRT -- Abnormal process abort

****
* Arnold 7.2.4.1 [1fee86c4] linux x86_64 clang-15.0.7 oiio-2.4.1 osl-1.12.9 vdb-7.1.1 adlsdk-7.4.2.47 clmhub-3.1.1.43 rlm-14.2.5 optix-6.6.0 2023/10/17 03:09:19
* CRASHED in __GI_raise at 00:00:00
* signal caught: SIGABRT -- Abnormal process abort
*
* backtrace:
>> 0 0x00007fead4ab4387 [libc.so.6      ] __GI_raise              [                :?]
*  1 0x00007fead4ab5a77 [libc.so.6      ] __GI_abort              [                :?]
*  2 0x00007fead4af6f66 [libc.so.6      ] __libc_message          [                :?]
*  3 0x00007fead4aff328 [libc.so.6      ] _int_free               [malloc.c        :?]
*  4 0x00007fea8ea3aad4 [libai.so       ]                         
*  5 0x00007fea8ea3c82a [libai.so       ]                         
*  6 0x00007fea8ea461d3 [libai.so       ]                         
*  7 0x00007fea8ec536e3 [libai.so       ]                         
*  8 0x00007fea8ea46371 [libai.so       ]                         
*  9 0x00007fea8ea4436f [libai.so       ]                         
* 10 0x00007fea8ea43dd4 [libai.so       ]                         
* 11 0x00007fea8ea43464 [libai.so       ]                         
* 12 0x00007fea8ea4603e [libai.so       ]                         
* 13 0x00007fea8ea4436f [libai.so       ]                         
* 14 0x00007fea8ea43dd4 [libai.so       ]                         
* 15 0x00007fea8ea43464 [libai.so       ]                         
* 16 0x00007fea8ea4603e [libai.so       ]                         
* 17 0x00007fea8ea4b461 [libai.so       ]                         
* 18 0x00007fea8ec05bbd [libai.so       ]                         
* 19 0x00007fea8ec0640e [libai.so       ]                         
* 20 0x00007fea8ec0629b [libai.so       ]                         
* 21 0x00007fea8da196a0 [libai.so       ]                         
* 22 0x00007fea8da1922b [libai.so       ]                         
* 23 0x00007fea8da1d5e1 [libai.so       ]                         
* 24 0x00007fea8da1eb25 [libai.so       ]                         
* 25 0x00007fea8dbedfea [libai.so       ] AiOutputIteratorDestroy 
* 26 0x00007fea8db9da19 [libai.so       ] AiOutputIteratorDestroy 
* 27 0x00007fea8db95372 [libai.so       ] AiOutputIteratorDestroy 
* 28 0x00007fea8db92648 [libai.so       ] AiOutputIteratorDestroy 
* 29 0x00007fead555cea4 [libpthread.so.0] start_thread            [pthread_create.c:?]
* 30 0x00007fead4b7cb0c [libc.so.6      ] __clone                 
*
* loaded modules:
*    0x00007fead4a7e000  libc.so.6
*    0x00007fea8c9ba000  libai.so
*    0x00007fead5555000  libpthread.so.0
*
* memory: VM 8206 MB, RSS 652 MB, 355 page faults
****

****
* NOTE: Error reporting is disabled. Please consider enabling error reports to assist in debugging.
****
Stack trace:
  pthread_sigmask
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1347a3e) [0x7fea8dd01a3e]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1347811) [0x7fea8dd01811]
  /lib64/libpthread.so.0(+0xf630) [0x7fead5564630]
  gsignal
  abort
  /lib64/libc.so.6(+0x78f67) [0x7fead4af6f67]
  /lib64/libc.so.6(+0x81329) [0x7fead4aff329]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2080ad5) [0x7fea8ea3aad5]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208282b) [0x7fea8ea3c82b]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c1d4) [0x7fea8ea461d4]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x22996e4) [0x7fea8ec536e4]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c372) [0x7fea8ea46372]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208a370) [0x7fea8ea44370]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089dd5) [0x7fea8ea43dd5]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089465) [0x7fea8ea43465]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c03f) [0x7fea8ea4603f]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208a370) [0x7fea8ea44370]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089dd5) [0x7fea8ea43dd5]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2089465) [0x7fea8ea43465]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x208c03f) [0x7fea8ea4603f]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x2091462) [0x7fea8ea4b462]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224bbbe) [0x7fea8ec05bbe]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224c40f) [0x7fea8ec0640f]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x224c29c) [0x7fea8ec0629c]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x105f6a1) [0x7fea8da196a1]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x105f22c) [0x7fea8da1922c]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x10635e2) [0x7fea8da1d5e2]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1064b26) [0x7fea8da1eb26]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x1233feb) [0x7fea8dbedfeb]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11e3a1a) [0x7fea8db9da1a]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11db373) [0x7fea8db95373]
  /home/user/packages/maya_mtoa/platform-linux/maya-2022/plug-ins/../bin/libai.so(+0x11d8649) [0x7fea8db92649]
  /lib64/libpthread.so.0(+0x7ea5) [0x7fead555cea5]
  clone
1Result: untitled
Fatal Error. Attempting to save in /usr/tmp/user.20231109.1254.ma
Writing crash report in /usr/tmp/user.20231109.1254.crash
/tmp/rez_context_8lNaWT/rez-shell.sh: line 8: 133468 Segmentation fault      (core dumped) python -c "import test_mtoa;test_mtoa.test_minimal()"
0 Likes

arsam_asif
Explorer
Explorer

Duplicated post.

0 Likes

arsam_asif
Explorer
Explorer

The code snippet is just missing import statements, but is complete other than that if that's what you meant:

from maya import cmds
import maya.standalone
maya.standalone.initialize()
cmds.loadPlugin("mtoa")
cmds.polyCube()
cmds.imagePlane()
cmds.arnoldRender(seq='', cam='persp', w=200, h=200, saveToRenderView=False)
maya.standalone.uninitialize()

 

0 Likes