Crash writing out images with image_output_format = exr using Replicator BasicWriter

Hi

I’m using Kit App Template 107.3 Base Kit Editor on Ubuntu 24.04 and running into an crash when writing out exr(s) with Replicator BasicWriter.

Repro below:

import omni.replicator.core as rep

with rep.new_layer():

    # Add Default Light
    distance_light = rep.create.light(rotation=(315,0,0), intensity=3000, light_type="distant")

    camera = rep.create.camera(position=(0, 0, 1000))

    render_product = rep.create.render_product(camera, (1024, 1024))

    torus = rep.create.torus(semantics=[('class', 'torus')] , position=(0, -200 , 100))

    sphere = rep.create.sphere(semantics=[('class', 'sphere')], position=(0, 100, 100))

    cube = rep.create.cube(semantics=[('class', 'cube')],  position=(100, -200 , 100) )

    with rep.trigger.on_frame(num_frames=10):
        with rep.create.group([torus, sphere, cube]):
            rep.modify.pose(
                position=rep.distribution.uniform((-100, -100, -100), (200, 200, 200)),
                scale=rep.distribution.uniform(0.1, 2))

    # Initialize and attach writer
    writer = rep.WriterRegistry.get("BasicWriter")

    writer.initialize( output_dir="_output", rgb=True,   bounding_box_2d_tight=True, image_output_format="exr")

    writer.attach([render_product])

    rep.orchestrator.run()

If I don’t supply an image_output_format to writer.initialize (defaulting to png) then it does not crash.

Is anyone able to reproduce the same issue? I’ve attached the crash data with more info.

Thanks
Richard

crash_basic_writer_exr.zip (448.6 KB)

This is likely to have been fixed in an upcoming release. The library for writing EXR will be openEXR, avoiding the issue.