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

fails to render 87th frame and 92nd #601

Open
BuyMyMojo opened this issue Jul 2, 2021 · 13 comments
Open

fails to render 87th frame and 92nd #601

BuyMyMojo opened this issue Jul 2, 2021 · 13 comments

Comments

@BuyMyMojo
Copy link

crashes when trying to render specifically the 87th and the 92nd frames. choosing to skip that frame then everything renders just fine.

tested on blender 2.92 with the following file:
multi-view-cube-renderman.zip

crash log taken from the LocalQueue:

Looking in links: c:\Users\hello\AppData\Local\Temp\tmpxadx88zm
Color management: Using C:\Program Files\Pixar\RenderManProServer-24.0\lib\ocio\filmic-blender\config.ocio as a configuration file
Blender 2.92.0 (hash 02948a2cab44 built 2021-02-25 09:31:14)
Read prefs: C:\Users\hello\AppData\Roaming\Blender Foundation\Blender\2.92\config\userpref.blend
Color management: scene view "Filmic" not found, setting default "Filmic Base Contrast".
Color management: sequencer colorspace "sRGB" not found, will use default instead.
E0702 14:11:26.552000000 29164 server_chttp2.cc:40] {"created":"@1625199086.552000000","description":"No address added out of total 1 resolved","file":"E:\ratnih\ratnih-vc14\grpc\src\core\ext\transport\chttp2\server\chttp2_server.cc","file_line":348,"referenced_errors":[{"created":"@1625199086.552000000","description":"Failed to add port to server","file":"E:\ratnih\ratnih-vc14\grpc\src\core\lib\iomgr\tcp_server_windows.cc","file_line":509,"referenced_errors":[{"created":"@1625199086.552000000","description":"OS Error","file":"E:\ratnih\ratnih-vc14\grpc\src\core\lib\iomgr\tcp_server_windows.cc","file_line":201,"os_error":"Only one usage of each socket address (protocol/network address/port) is normally permitted.\r\n","syscall":"bind","wsa_error":10048}]}]}
Read blend: F:\\\\blender projects\\\\Blender\\\\Blender projects\\\\_multi-view-cube-rendermanpid27948_1625198870_.blend
Color management: scene view "Standard" not found, setting default "Filmic Base Contrast".
Color management: sequencer colorspace "sRGB" not found, will use default instead.
RZ0000 {WARNING}: RemoteStatsServer - Grpc server failed to start on port -1
[Error] libwebsocket: Monitor acceptor::bind: Only one usage of each socket address (protocol/network address/port) is normally permitted
WebSocketServer initialization failure.
Fra:92 Mem:81.92M (Peak 81.96M) | Time:00:00.00 | 0%
    0%
    1%
    2%
    3%
    4%
An application exception has occurred in blender.exe.
  Error codes: 0x00007FFF96E8C16D 0xC0000005 0x00000000 (0x00000000) (0x17F76038)
*** exception ***
Pixar PhotoRealistic RenderMan 24.0
copyright (c) 1988-2021 Pixar.
linked Tue Jun 15 20:27:08 2021 Pacific Daylight Time @2172149
build windows10_x86-64_vc14icc190_external_release

Rendered on Fri Jul 02 14:11:42 AUS Eastern Standard Time 2021
Rendering at 2048x2048 pixels, 100 maxsamples
	"__NULL__Ci" (mode = Ci_variance_auto, type = null)
	"__NULL__a" (mode = a_variance_auto, type = null)
	"F:\blender_projects\Blender\Blender_projects\quad_view_cube\images\v001_t01\Scene.View_Layer.0092.png" (mode = Ci,a, type = png)

         Total heap mem: 3058.22 MB
       Max resident mem: 3058.22 MB
            Page faults: 962360
       Real time:     00:15
       User time:     03:44
       Sys time:      00:02
@prman-pixar
Copy link
Owner

That looks like genuine crash of the renderer. Can you package up your scene with all the textures and attach it here? Or give us a link where we can download?

@BuyMyMojo
Copy link
Author

blender file and exr files:
https://drive.google.com/file/d/1AQjhqrjqFwn-GSpj4JPJCmN2Mi6IqbFt/view?usp=sharing

renderman doesn't let me use relative paths for it to pack them so the only things you'll need to change is the done lights. just re link them to the exr files with the same name in the zip

@prman-pixar
Copy link
Owner

Thanks, taking a look. If the images are relative to the .blend file, you can use the <blend_dir> token in the image path.

@prman-pixar
Copy link
Owner

I can't reproduce the crash if i just render frame 87. Is this happening on random frames? Does it work if you retry the frame?

@BuyMyMojo
Copy link
Author

it's when I render out the whole animation. when it gets to 87 it crashes then if I set the start point to 88 it crashes on frame 92. I forgot to mention that apologies

@prman-pixar
Copy link
Owner

Hmm...I still haven't been able to get it to crash, unfortunately. Are you using the latest code from GitHub? Also, the scene is a little odd to me. You're using multiple dome lights with portal lights all pointing to a cube. Are you using this just to texture the cube? That's a little expensive if that's what you're trying to accomplish.

@BuyMyMojo
Copy link
Author

it's to sort of simulate this effect:

it was a sort of test file for the idea I had after discussing with someone and the version I was using was from the release section of the github. I can try again with the direct code later to see if there is any difference?

@prman-pixar
Copy link
Owner

OK, got it. Yeah, I would try again with the latest code on GitHub. Let me know if that still doesn't work for you. Also, try using RIB instead of blender batch, and see if that makes a difference.

@BuyMyMojo
Copy link
Author

BuyMyMojo commented Jul 8, 2021

Rendering with latest version now. just wanted to report this while I let it render. the % output in the localqueue is a bit broken
starts with this:
image

and when it finishes it stays on 0%:
image

I can put it in as it's own issue if you'd like?

@BuyMyMojo
Copy link
Author

Also even tho it ends on a 0% the queue shows 100% or 99% only when it completes
image

@BuyMyMojo
Copy link
Author

Using the latest code it fails on frame 46

Fra:46 Mem:81.66M (Peak 81.69M) | Time:00:44.81 | 0%
An application exception has occurred in blender.exe.
  Error codes: 0x00007FF8F436C16D 0xC0000005 0x00000000 (0x00000000) (0x05F51FF4)
*** exception ***
Pixar PhotoRealistic RenderMan 24.0
copyright (c) 1988-2021 Pixar.
linked Tue Jun 15 20:27:08 2021 Pacific Daylight Time @2172149
build windows10_x86-64_vc14icc190_external_release

Rendered on Thu Jul 08 18:59:03 AUS Eastern Standard Time 2021
Rendering at 2048x2048 pixels, 100 maxsamples
	"__NULL__Ci" (mode = Ci_variance_auto, type = null)
	"__NULL__a" (mode = a_variance_auto, type = null)
	"F:\blender_projects\Blender\Blender_projects\quad_view_cube\images\v001_t01\Scene.View_Layer.0046.png" (mode = Ci,a, type = png)

         Total heap mem: 3040.21 MB
       Max resident mem: 3119.53 MB
            Page faults: 985302
       Real time:     00:46
       User time:     10:15
       Sys time:      00:05

@prman-pixar
Copy link
Owner

The percentage thing should be fixed now. Forgot to flush stderr.

Can you try RIB instead of blender batch and see if you get different behavior? This sounds like it might be a random bug, if it's failing on different frames.

@prman-pixar
Copy link
Owner

@BuyMyMojo Sorry I never got back to looking at this. Are you still seeing this crash?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants