Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on linux at startup in usdview #40

Open
sebastienblor opened this issue Nov 20, 2019 · 5 comments
Open

Crash on linux at startup in usdview #40

sebastienblor opened this issue Nov 20, 2019 · 5 comments
Assignees
Labels
bug Something isn't working core Related to the Arnold Core crash Issue related to one of the components crashing render delegate Related to the Arnold Render Delegate user Reported by a user

Comments

@sebastienblor
Copy link
Collaborator

sebastienblor commented Nov 20, 2019

On linux, running usdview with the arnold render delegate crashes. The current workaround for this is to ld-preload the arnold library.
So we need to run

LD_PRELOAD=/path_to_arnold/bin/libai.so usdview scene.usda

and this prevents the crashes

Core ticket: #8869

@sebastienblor sebastienblor added the bug Something isn't working label Nov 20, 2019
@sirpalee sirpalee added the render delegate Related to the Arnold Render Delegate label Nov 29, 2019
@sirpalee sirpalee changed the title [Render Delegate] Crash on linux at startup in usdview Crash on linux at startup in usdview Nov 29, 2019
@sirpalee sirpalee added core Related to the Arnold Core crash Issue related to one of the components crashing labels Nov 29, 2019
@sirpalee sirpalee added the user Reported by a user label May 7, 2020
@compso compso added this to Arnold USD Apr 8, 2022
@compso compso moved this to Todo in Arnold USD Apr 8, 2022
@nrusch
Copy link
Contributor

nrusch commented Jul 1, 2022

This same issue also affects the procedural and Ndr discovery plugin.

@autodesk-oss-arnold-bot
Copy link

Issue synced internally to ARNOLD-13223

@cchampet
Copy link

Hello
At Superprod we do not use the workaround with LD_PRELOAD anymore (in maya), since we experienced some side effects with plugins shipped in maya.
Example with maya-2022.3 and mtoa-5.3.1 (on centos 7): we have a crash in maya while importing some fbx. Using ldd commands we can see that fbxmaya.so started to describe dependencies to mtoa, which probably leads to errors (not exactly the same version of dependencies ?).

We can provide additional info if it helps.

@cpichard
Copy link
Collaborator

cpichard commented Aug 1, 2024

Hi,
Thanks @cchampet, is usdview working with Arnold without the LD_PRELOAD workaround ? The other issue seems related to fbx, maya, mtoa and it might be worth reporting it in the dedicated forum.

@cchampet
Copy link

cchampet commented Aug 1, 2024

Hello @cpichard !
Indeed the workaround works on our case, with usdview (usd-21.11) and arnold_usd-7.2.1.0.
So yes, our issue is probably more related to fbx/maya/mtoa plugins. Nevertheless, do you have some perspectives to remove this LD_PRELOAD? (I'm always afraid of LD_PRELOAD in environment with many libraries involved)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Related to the Arnold Core crash Issue related to one of the components crashing render delegate Related to the Arnold Render Delegate user Reported by a user
Projects
Status: Todo
Development

No branches or pull requests

5 participants