Segmentation fault(core dumped) when capture videos

When I run “python”, it works well.
But when I run “python capture_video=True capture_video_freq=1500 capture_video_len=100 force_render=False”, it reports:
/home/isaacgym/python/IsaacGymEnvs/isaacgymenvs/tasks/ DeprecationWarning: an integer is required (got type isaacgym._bindings.linux-x86_64.gym_38.DofDriveMode). Implicit conversion to integers using int is deprecated, and may be removed in a future version of Python.
asset_options.default_dof_drive_mode = gymapi.DOF_MODE_NONE
/home/miniconda3/envs/isaacgym/lib/python3.8/site-packages/gym/wrappers/ UserWarning: WARN: Overwriting existing videos at /home/isaacgym/python/IsaacGymEnvs/isaacgymenvs/videos folder (try specifying a different video_folder for the RecordVideo wrapper if this is not desired)
/home/miniconda3/envs/isaacgym/lib/python3.8/site-packages/gym/wrappers/monitoring/ DeprecationWarning: WARN: env.metadata["render.modes"] is marked as deprecated and will be replaced with env.metadata[“render_modes”]see for more details logger.deprecation( /home/miniconda3/envs/isaacgym/lib/python3.8/site-ackages/gym/wrappers/monitoring/ DeprecationWarning: WARN:env.metadata[“video.frames_per_second”] is marked as deprecated and will be replaced with env.metadata["render_fps"] see Rename render modes/fps by trigaten · Pull Request #2654 · openai/gym · GitHub for more details
Segmentation fault (core dumped)

my environment is pytorch2.0.0, cuda11.8, RTX4090, Isaacgym preview 4
how can I capture videos correctly?