Zed Explorer Crashes when using the recording function

Zed Explorer crashes after 1-2 seconds after starting the recording function. I have checked different output formats and frame setting. It seems no any effect, and ZED Explorer still crashes when recording. Thanks for your kind help. My setting file is attached.

{
    "AI Models": {
        "info": [
            "HUMAN BODY MEDIUM DETECTION is not optimized",
            "HUMAN BODY ACCURATE DETECTION is not optimized",
            "HUMAN BODY 38 FAST DETECTION is not optimized",
            "HUMAN BODY 38 MEDIUM DETECTION is not optimized",
            "HUMAN BODY 38 ACCURATE DETECTION is not optimized",
            "PERSON HEAD DETECTION is not optimized",
            "PERSON HEAD ACCURATE DETECTION is not optimized",
            "REID ASSOCIATION is not optimized",
            "NEURAL DEPTH is not optimized"
        ],
        "valid": [
            "MULTI CLASS DETECTION is optimized",
            "MULTI CLASS MEDIUM DETECTION is optimized",
            "MULTI CLASS ACCURATE DETECTION is optimized",
            "HUMAN BODY FAST DETECTION is optimized"
        ]
    },
    "Camera Test": {
        "InternalDevicesCount": 1,
        "ZEDCount": 1,
        "camera": {
            "Device ID": 1,
            "Firmware": 1523,
            "Init Output": "OK",
            "Model": "ZED",
            "Serial Number": 16041,
            "valid": [
                "<b>Camera: </b>ZED",
                "<b>Firmware: </b>1523"
            ]
        },
        "resolutions": {
            "HD1080@15": {
                "fps (input)": 15,
                "fps (output)": 14,
                "height (input)": 1080,
                "height (output)": 1080,
                "initialization": "OK",
                "status": true,
                "width (input)": 1920,
                "width (output)": 1920
            },
            "HD1080@30": {
                "fps (input)": 30,
                "fps (output)": 21,
                "height (input)": 1080,
                "height (output)": 1080,
                "initialization": "OK",
                "status": true,
                "width (input)": 1920,
                "width (output)": 1920
            },
            "HD2K@15": {
                "fps (input)": 15,
                "fps (output)": 13,
                "height (input)": 1242,
                "height (output)": 1242,
                "initialization": "OK",
                "status": true,
                "width (input)": 2208,
                "width (output)": 2208
            },
            "HD720@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@30": {
                "fps (input)": 30,
                "fps (output)": 29,
                "height (input)": 720,
                "height (output)": 720,
                "initialization": "OK",
                "status": true,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "HD720@60": {
                "dropCount": 14,
                "fps (input)": 60,
                "fps (output)": 46,
                "height (input)": 720,
                "height (output)": 720,
                "imageCount": 486,
                "initialization": "OK",
                "status": true,
                "tearingCount": 0,
                "width (input)": 1280,
                "width (output)": 1280
            },
            "VGA@100": {
                "fps (input)": 100,
                "fps (output)": 71,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@15": {
                "fps (input)": 15,
                "fps (output)": 15,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@30": {
                "fps (input)": 30,
                "fps (output)": 29,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            },
            "VGA@60": {
                "fps (input)": 60,
                "fps (output)": 48,
                "height (input)": 376,
                "height (output)": 376,
                "initialization": "OK",
                "status": true,
                "width (input)": 672,
                "width (output)": 672
            }
        },
        "sensors": {
        }
    },
    "Devices": {
        "ASMediaFound": false,
        "CorruptedFirmware": false,
        "OC_Cam_Detected": false,
        "OtherUSBDevices": [
        ],
        "USBList": [
            {
                "USB_path": "/5",
                "idProduct": "0xc102",
                "idVendor": "0x048d"
            },
            {
                "USB_path": "/2",
                "idProduct": "0x0610",
                "idVendor": "0x05e3"
            },
            {
                "USBMode": 3,
                "USB_path": "/15/2",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 0,
                "idProduct": "0xf582",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/6",
                "idProduct": "0x115f",
                "idVendor": "0x5986"
            },
            {
                "USBMode": 3,
                "USB_path": "/15/2",
                "bDescriptorType": 1,
                "bDeviceProtocol": 1,
                "bLength": 18,
                "bMaxPacketSize0": 9,
                "bNumConfigurations": 1,
                "bcdDevice": "1.0",
                "bcdUSB": "3.0",
                "bcdUSBClass": 239,
                "bcdUSBSubClass": 2,
                "busNumber": 1,
                "device": "ZED",
                "iManufacturer": 1,
                "iProduct": 2,
                "iSerial": 0,
                "idProduct": "0xf582",
                "idVendor": "0x2b03"
            },
            {
                "USB_path": "/15",
                "idProduct": "0x0620",
                "idVendor": "0x05e3"
            },
            {
                "USB_path": "/10",
                "idProduct": "0x0033",
                "idVendor": "0x8087"
            },
            {
                "USB_path": "/1",
                "idProduct": "0x5918",
                "idVendor": "0x062a"
            },
            {
                "USB_path": "/2",
                "idProduct": "0x0610",
                "idVendor": "0x05e3"
            },
            {
                "USB_path": "/1",
                "idProduct": "0x5918",
                "idVendor": "0x062a"
            }
        ],
        "USBMode": 3,
        "ZED Camera Module Detected": 62850,
        "ZEDDetected": true,
        "captureDevices": [
        ],
        "controllers": [
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "\u001a( USB ƿh",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0007",
                "Location": "Port_#0002.Hub_#0002",
                "Manufacturer": "(\u0007� USB ƿh)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-4"
            },
            {
                "CompatibleIDs": "PCI\\VEN_8086&DEV_51ED&REV_01",
                "Description": "&\b USB xHCI �;:�6h",
                "DeviceName": "Intel(R) USB 3.10 �iU;:�6h - 1.20 (Microsoft)",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0002",
                "Location": "PCI ;� 0\u0001�\u0007 20\u0001�� 0",
                "Manufacturer": "\u001a( USB xHCI ;:�6h",
                "Name": "PCI",
                "PhysicalName": "\\Device\\NTPNP_PCI0010"
            },
            {
                "CompatibleIDs": "USB\\USB30_HUB",
                "Description": "\u001a( SuperSpeed USB ƿh",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0005",
                "Location": "Port_#0015.Hub_#0002",
                "Manufacturer": "(\u0007� USB ƿh)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-2"
            },
            {
                "CompatibleIDs": "USB\\USB20_HUB",
                "Description": "\u001a( USB ƿh",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0015",
                "Location": "Port_#0001.Hub_#0002",
                "Manufacturer": "(\u0007� USB ƿh)",
                "Name": "USB",
                "PhysicalName": ""
            },
            {
                "CompatibleIDs": "PCI\\VEN_8086&DEV_461E&REV_02",
                "Description": "&\b USB xHCI �;:�6h",
                "DeviceName": "Intel(R) USB 3.20 �iU;:�6h - 1.20 (Microsoft)",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0000",
                "Location": "PCI ;� 0\u0001�\u0007 13\u0001�� 0",
                "Manufacturer": "\u001a( USB xHCI ;:�6h",
                "Name": "PCI",
                "PhysicalName": "\\Device\\NTPNP_PCI0008"
            },
            {
                "CompatibleIDs": "",
                "Description": "USB 9ƿh(USB 3.0)",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0004",
                "Location": "",
                "Manufacturer": "(\u0007� USB ƿh)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-1"
            },
            {
                "CompatibleIDs": "",
                "Description": "USB 9ƿh(USB 3.0)",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0003",
                "Location": "",
                "Manufacturer": "(\u0007� USB ƿh)",
                "Name": "USB",
                "PhysicalName": "\\Device\\USBPDO-0"
            },
            {
                "CompatibleIDs": "USB\\USB30_HUB",
                "Description": "\u001a( SuperSpeed USB ƿh",
                "DeviceName": "",
                "Driver": "{36fc9e60-c465-11cf-8056-444553540000}\\0014",
                "Location": "Port_#0014.Hub_#0002",
                "Manufacturer": "(\u0007� USB ƿh)",
                "Name": "USB",
                "PhysicalName": ""
            }
        ],
        "valid": [
            "<b>USB Bandwidth: </b> OK"
        ]
    },
    "Graphics Card": {
        "deviceCount": 1,
        "deviceDriverVersion": 12040,
        "devices": [
            {
                "arch": "Ampere",
                "computeCapability": "8.6",
                "cores": 3840,
                "name": "NVIDIA GeForce RTX 3060 Laptop GPU",
                "totalMemoryBytes": "6441926656",
                "totalMemoryMB": 6143.5
            }
        ],
        "initResult": 0,
        "valid": [
            "<b>Graphics card: </b> NVIDIA GeForce RTX 3060 Laptop GPU"
        ]
    },
    "Processor": {
        "OS": "Windows 10 FallCreators",
        "avxSupported": true,
        "coreCount": "14",
        "cpu": "12th Gen Intel(R) Core(TM) i9-12900H",
        "datetime": "2024-04-06 23:51:29",
        "hyperThreading": "1",
        "motherboard": "LNVNB161216, LENOVO",
        "ramCapacity": "15.7309",
        "ramUsage": "0",
        "ramUsed": "8.99576",
        "threadCount": "20",
        "valid": [
            "<b>Processor: </b> 12th Gen Intel(R) Core(TM) i9-12900H",
            "<b>Motherboard: </b> LNVNB161216, LENOVO"
        ]
    },
    "ZED SDK": {
        "CUDA Toolkit version": "V12.1.66 -->located in C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v12.1/bin/nvcc.exe",
        "CUDA loading": false,
        "ZED SDK Version (Diag)": "4.0.8",
        "ZED SDK Version (RT)": "4.0.8",
        "ai": {
            "checkAI": true,
            "cudaVersion": 12010,
            "cudnnCudartVersion": 12000,
            "cudnnVersion": 8801,
            "cudnnVersionExpected": 8801,
            "tensorVersion": 8600
        },
        "binFiles": [
            "cudnn64_8.dll",
            "cudnn_adv_infer64_8.dll",
            "cudnn_adv_train64_8.dll",
            "cudnn_cnn_infer64_8.dll",
            "cudnn_cnn_train64_8.dll",
            "cudnn_ops_infer64_8.dll",
            "cudnn_ops_train64_8.dll",
            "nvinfer.dll",
            "nvinfer_builder_resource.dll",
            "nvinfer_dispatch.dll",
            "nvinfer_lean.dll",
            "nvinfer_plugin.dll",
            "nvinfer_vc_plugin.dll",
            "nvonnxparser.dll",
            "nvparsers.dll",
            "sl_ai64.dll",
            "sl_zed64.dll",
            "zlibwapi.dll"
        ],
        "driverVersion": "551.86",
        "drivervDllVersion": "31.0.15.5186",
        "resourcesFiles": [
            "objects_accurate_3.2.model",
            "objects_accurate_3.2.model_optimized-fbcbw-1-86-12010-8801-8600-7-192-3072-48-100-512-30-00",
            "objects_medium_3.2.model",
            "objects_medium_3.2.model_optimized-ebgbw-1-86-12010-8801-8600-7-192-3072-48-100-512-30-00",
            "objects_performance_3.2.model",
            "objects_performance_3.2.model_optimized-fbcbw-1-86-12010-8801-8600-7-192-3072-48-100-512-30-00",
            "skeleton_body18_3.2.model",
            "skeleton_body18_3.2.model_optimized-bjcbw-1-86-12010-8801-8600-7-192-3072-48-100-512-30-0-2-192"
        ],
        "resourcesFilesExpected": [
            "objects_performance_3.2"
        ],
        "runtimeDllVersion": 12010,
        "valid": [
            "<b>ZED SDK version:</b> 4.0.8",
            "<b>CUDA version:</b> V12.1.66"
        ]
    }
}

To try to solve it, I have installed the old version ZED SDK, 3.5.6. However, it didn’t work. It is strange that the ZED Explorer directly crashes after 1-2 seconds even not using the recording function. And the depth viewer seems work normally. Could someone help me figure it out? Thanks!

Hi @BruceWang,

Welcome to the forums! :wave:

Can you please run the recording sample from our github (zed-sdk/recording/recording/mono at master · stereolabs/zed-sdk · GitHub) in order to verify that the issue is coming from ZED Explorer, and not from the recording function, on version 4.1 of the ZED SDK?

Hello Stereolabs,

I had the issue that recording with ZED_Explorer seems to work, but opening the recorded file caused Zed_Explorer to crash.
build this recording mono sample and recorded it and then playback with ZED_Explorer seems to work.

In cases like these where ZED_Explorer crashes upon reading an SVO, the SVO may be corrupted and you can attempt to repair it using this command:

ZED_SVO_Editor -repair </path/to/svo/file>

then ZED_SVO_Editor return segmentation fault.

Would it be possible for you to send a sample SVO which has this issue so we can troubleshoot on our end?

Sorry to reply late. I am new to cmake and zed. This is my cmake process.

I am not quite sure about whether this process is correct. After building the project, I run the executable, and the terminal displayed 'Usage: Only the path of the output SVO file should be passed as argument.

D:\zed_test\zed-sdk\recording\recording\mono\cpp\build\Release\ZED_SVO_Recording.exe (process 32060) exited with code 1.’ The debugging results are attched.

'ZED_SVO_Recording.exe' (Win32): Loaded 'D:\zed_test\zed-sdk\recording\recording\mono\cpp\build\Release\ZED_SVO_Recording.exe'. The module was generated without symbols.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbase.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Program Files (x86)\ZED SDK\bin\sl_zed64.dll'. The module was generated without symbols.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\win32u.dll' has been loaded.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\gdi32.dll' loaded.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\gdi32full.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\msvcp_win.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\ole32.dll' loaded.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\combase.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\oleaut32.dll' loaded.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\bcrypt.dll'.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\ws2_32.dll' loaded.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140_1.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\nvcuda.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\urlmon.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\nvcuvid.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\nvEncodeAPI64.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\vcomp140.dll'.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\mfc140.dll' loaded.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'.
'ZED_SVO_Recording.exe' (Win32): 'C:\Windows\System32\imm32.dll' loaded.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\concrt140.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\winhttp.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\iertutil.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\srvcli.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\netutils.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_5.82.22621.2506_none_b43bab19638c9595\comctl32.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'.
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\bcryptprimitives.dll'.
Crypto++ DLL integrity check may fail. Expected module base address is 0000000042900000, but module loaded at 00007FFAA9290000.
Crypto++ DLL in-memory integrity check failed. This may be caused by debug breakpoints or DLL relocation.
Crypto++ DLL integrity check failed. Actual MAC is: D9E4B8F9EE9564664813886F2E530F8F6D1D1D6B.
Exception thrown at 0x00007FFBD2BF53AC in ZED_SVO_Recording.exe: Microsoft C++ Exception: int at memory location 0x0000003146CFDE80.
Thread 0x79e0 exited with a return value of 0 (0x0).
'ZED_SVO_Recording.exe' (Win32): Loaded 'C:\Windows\System32\kernel.appcore.dll'.
Thread 0x88b8 exited with a return value of 1 (0x1).
Thread 0x8c0c exited with a return value of 1 (0x1).
Program '[32060] ZED_SVO_Recording.exe' exited with return value 1 (0x1).

Thanks for your time and patient help.

Hi @BruceWang,

This error means that you must pass as the first argument to the program the path to which the SVO file will be saved.

1 Like

Hi, thanks for your patient advice, using this way, the ZED camera can be used to record videos and generate the corresponding SVO file. Then, I try to open this recorded video using ZED explorer, and it crashes again. What should I do next, thanks for your warm help.

@mattrouss By the way, the Depth Viewer doesn’t crash when opening the recorded SVO file, however, it displayed that is an invalid file.

Have you tried using the ZED_SVO_Editor tool on the corrupted SVO?

1 Like

Thanks much for your help! It works!