Houdini crashes instantly

2 views
Skip to first unread message

Francois Lord

unread,
Nov 11, 2025, 9:05:41 PM (2 days ago) Nov 11
to rrKn...@googlegroups.com

Hi,

We have upgraded to RRv9.1.20 and rez to 3.2.1 over the last few months and we now need to render frames for the first time since April. When we try rendering with Houdini (any method), it crashes instantly. I don't know what else we might have changed. I tried with Houdini 21 and 20.5 which used to work fine. 

What could this be?

The command RR uses is something like this:

\\path\to\rez\rez-env.exe houdini-21.0.440-r1 htoa-6.4.4.0-r1 [...more rez packages] -- "hython" "C:/RR_localdata/renderscripts/kso_houdini.py" -scene "//path/to/scene/scene__simpleKarmaH21.hipnc" -renderer "createUSD" -exportmode true -FrStart 1 -FrEnd 1 -FrStep 1 -FPadding 1 -FName "////path/to/scene/geo/scene__simpleKarmaH21.usd_rop1.usd" -FSingleFile True -rop "/stage/usd_rop1" -threads 20 -renderDemo False -avFrameTime 0 -AASamples 1.0 -noFrameLoop True -unlockAssets True -PyModPath C:\RR_localdata\renderscripts

And the log looks like this, it can't find python311.dll:

R 7| (0) Couldn't load -/bin/python311.dll.

R 8|

R 9| Le module spécifié est introuvable.

R 10|

R 11| 13804: Fatal error: Segmentation fault

R 12| -- TRACEBACK BEGIN --

R 13| Traceback from hython 21.0.440 (Compiled on windows-x86_64-cl19.42):

R 14| CURRENT THREAD 19100

R 15| +0x0441094a [PYsetArgvForPythonInitialization] C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\libPY.dll

R 16| +0x04410752 [PYmakeSurePythonIsInitialized] C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\libPY.dll

R 17| +0x044104f1 [PY_BaseInterpreterAutoLock::PY_BaseInterpreterAutoLock] C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\libPY.dll

R 18| +0x140075ad7 C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\hython.exe

R 19| +0x140077f2a C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\hython.exe

R 20| +0x1400783f0 C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\hython.exe

R 21| +0x14014f480 C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\hython.exe

R 22| +0x7ffcd3dfe8d7 [BaseThreadInitThunk] C:\WINDOWS\System32\KERNEL32.DLL

R 23| +0x7ffcd55e8d9c [RtlUserThreadStart] C:\WINDOWS\SYSTEM32\ntdll.dll

R 24| OTHER THREAD 7760

R 25| +0x7ffcd5746ee4 [ZwWaitForWorkViaWorkerFactory] C:\WINDOWS\SYSTEM32\ntdll.dll

R 26| +0x7ffcd565e02e [RtlRaiseStatus] C:\WINDOWS\SYSTEM32\ntdll.dll

R 27| +0x7ffcd3dfe8d7 [BaseThreadInitThunk] C:\WINDOWS\System32\KERNEL32.DLL

R 28| +0x7ffcd55e8d9c [RtlUserThreadStart] C:\WINDOWS\SYSTEM32\ntdll.dll

R 29| OTHER THREAD 20612

R 30| +0x7ffcd5746ee4 [ZwWaitForWorkViaWorkerFactory] C:\WINDOWS\SYSTEM32\ntdll.dll

R 31| +0x7ffcd565e02e [RtlRaiseStatus] C:\WINDOWS\SYSTEM32\ntdll.dll

R 32| +0x7ffcd3dfe8d7 [BaseThreadInitThunk] C:\WINDOWS\System32\KERNEL32.DLL

R 33| +0x7ffcd55e8d9c [RtlUserThreadStart] C:\WINDOWS\SYSTEM32\ntdll.dll

R 34| OTHER THREAD 20200

R 35| +0x7ffcd5746ee4 [ZwWaitForWorkViaWorkerFactory] C:\WINDOWS\SYSTEM32\ntdll.dll

R 36| +0x7ffcd565e02e [RtlRaiseStatus] C:\WINDOWS\SYSTEM32\ntdll.dll

R 37| +0x7ffcd3dfe8d7 [BaseThreadInitThunk] C:\WINDOWS\System32\KERNEL32.DLL

R 38| +0x7ffcd55e8d9c [RtlUserThreadStart] C:\WINDOWS\SYSTEM32\ntdll.dll

R 39| -- TRACEBACK END --

R 40|

R 41| >"C:\Program Files\RoyalRender\lc64\rrCheckexitcode.exe" 139 0 0 1

R 42| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

0| ++ Nov 11. 20:30.50 Render executable closed ++++++++++++++++++++++++++++++++++++++++++++++++++++

1| ++ Royal Render checks the return code of the executable or the OS +++++++++++++++++++++++++++++++

2| ++ Executable returned 139 (0x8b) as exit code for frame 1 (jobthread 0, instance 0). ++++++++++++

3| ++ Error COULD be: Error 139: Le syst�me a tent� de substituer un lecteur � un r�pertoire stock� sur un lecteur substitu�..

4| ++ => Executable returned with an error code +++++++++++++++++++++++++++++++++++++++++++++++++++++

5| ++ Sending message 0 1 24616 1 T0 I0

6| ++ 9.1.18a ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

7| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

8| >"\\nadlabnas\Logiciels\RoyalRender\bin\win64\rrKillWait" 1 hserver true

9| ||rrKillWait|| waiting 0.0s for HSERVER.EXE ... thisProcessGroup.

10| ||rrKillWait|| INFO: this process group was started by ... (ID 6236 CMD.EXE)

11| ||rrKillWait|| INFO: parent of our process group starter ... (ID 21712 RRCLIENTCONSOLE.EXE)

12| ||rrKillWait|| no render app with same parent process found. Searching render apps without parent

13| ||rrKillWait|| FOUND process (has parent, IGNORING) HSERVER.EXE ID 6684 owner: SYSTEM| Parent SERVICES.EXE ID1284

14|


Thanks 

F

RR, Schoenberger

unread,
Nov 12, 2025, 3:52:44 AM (yesterday) Nov 12
to rrKn...@googlegroups.com

Hi

 

I am not aware of a larger change in RR that would prevent Houdini from starting.

Houdini is used a lot with RR and we did not got any issue reports.

 

Can you start Houdini (via its cached path C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\hython.exe) directly and can you start Houdini via Rez without RR?

 

regards,
Holger Schönberger

Craftsman and Keeper of the Royal Render Flame

Please use the rrKnights Tavern
or our support system for new questions.

 

Francois Lord

unread,
Nov 12, 2025, 1:22:19 PM (yesterday) Nov 12
to rrKn...@googlegroups.com

Yes I can run Houdini via rez and hython from the local path. I even tried as the user the service is running under.

I don't think something changed in RR itself, but probably in the way our IT staff installed it in the machines for this year. 

I have a hard time troubleshooting this because I don't know what RR is doing exactly before running the process. I copy-pasted the command I see in the log and tried it in a terminal. It runs hython correctly but it fails with this message:

C:\REZ\houdini\21.0.440-r1\95dd\a\payload\bin\hython.exe: can't open file 'C:\\RR_localdata\\renderscripts\\kso_houdini.py': [Errno 2] No such file or directory

F

--
If you reply, the message is send to the user group which is sufficient and desired.
("Reply All" might send the message twice to the last author which is not required.
Replying "in private" prevents other users to see the answers and might not be seen by the single receiver if he has email rules in place.
If you want to talk to us in private, please use support (at) RoyalRender instead)
---
You received this message because you are subscribed to the Google Groups "Royal Render Knights Tavern" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rrKnights+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/rrKnights/004501dc53b1%24b1c22600%2415467200%24%40RoyalRender.de.

RR, Schoenberger

unread,
Nov 12, 2025, 2:58:54 PM (yesterday) Nov 12
to rrKn...@googlegroups.com

Hi

 

 

> can't open file 'C:\\RR_localdata\\renderscripts\\kso_houdini.py

Please change the user rights for the folder C:\\RR_localdata.

Add your user or all users for read/write.

Inherited permissions should already be activated, so it should affect all subfolders and files.

 

 

> I have a hard time troubleshooting this because I don't know what RR is doing exactly

 

After a client got a job, it creates a batch file C:\RR_LocalData\C_...bat

You can execute this batch.

You have to

  • Change the job settings: Disable the job option “Local Render out”
  • Let the client get the job.
  • Uncheck “Enabled” within the rrClient UI to prevent it from getting a new job
  • Two ways to start:
    a) Start the C:\RR_LocalData\C_...bat from the explorer.
        You may add the commandline “pause” to the end of the batch file to prevent it from closing.
    b) Open a terminal and execute it.
         But in some special cases you may not be able to run the batch twice as some environments are already set.
         A clean env is recommended.
         You may run this commandline to open a new command prompt:
                 start cmd /k C_Elliot10_A.bat


 

 

One important step in finding the difference is comparing the environment.

Before you do the batch file test

edit the file RR\render_apps\_setenv\all\_global__inhouse.rrEnv

and add the line

[Exec] set

This prints all env vars.



Instead of just running the batch, pipe it into a log file:

start cmd /k   “C_Elliot10_A.bat >C:\RR_LocalData\_output.txt”

 

 

Use a file comparison app to compare it with the render logfile in RR. (The one that was used to create the batch file)

Get the job {ID} of the job in rrControl

RRs logfile is located in RR/rrJobData/<Project>/{ID-DirstLetter}/{ID}_..../log/

 

 

 

PS:

Houdini 21 is about to be tested for issues in the next few days

Houdini 20.5 was used a lot.

Reply all
Reply to author
Forward
0 new messages