Segmentation Fault (core dumped) error during ZED_Diagnostic

After running ZED_Diagnostic, every test passes until the Camera Test. I get the following error:

bibi69@bibi:/usr/local/zed/tools$ ZED_Diagnostic -d
Stack trace (most recent call last) in thread 14057:
#9    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
#8    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffff8d0b5edb, in 
#7    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffff8d04d5b7, in 
#6    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6", at 0xffff8d3231fb, in 
#5    Object "ZED_Diagnostic", at 0x458b5f, in 
#4    Object "ZED_Diagnostic", at 0x472f27, in 
#3    Object "ZED_Diagnostic", at 0x47cb4b, in 
#2    Object "ZED_Diagnostic", at 0x47a5ff, in 
#1    Object "ZED_Diagnostic", at 0x4794a3, in 
#0    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffff8d067c40, in 
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)

My system’s info:

Ubuntu 22.04.5 LTS

ZED SDK version: 5.2.0
CUDA version: V12.6.68

I’m using a Jetson Orin Nano Dev Kit with a Zed 2i camera

Hi @nsparky21
Welcome to the Stereolabs community.

Are you using the Jetson in headless mode, with no connected displays?

No, I have a monitor connected

Please try with ZED_Diagnostic -c.

Try also with ZED_Diagnostic --package-crash and shhare the diagnostic files that it generates.

Hi @Myzhar thanks for your response. Here are the outputs:

bibi69@bibi:/usr/local/zed/tools$ ZED_Diagnostic -c
ZED Diagnostic Tool

- Running ZED SDK Diagnostic : OK  
    ZED SDK version: 5.2.0
    CUDA version: V12.6.68
- Running Processor Diagnostic : OK  
    Processor:   ARMv8 Processor rev 1 (v8l)
    Motherboard:  Jetson, NVIDIA
- Running Graphics Card Diagnostic : OK  
    Graphics card:  Orin
- Running CUDA Operations Diagnostic : OK  
    GPU 0 (Orin): CUDA operations working correctly
- Running AI Models Diagnostic : OK  
    MULTI CLASS DETECTION is optimized
    MULTI CLASS MEDIUM DETECTION is optimized
    MULTI CLASS ACCURATE DETECTION is optimized
    HUMAN BODY FAST DETECTION is optimized
    HUMAN BODY MEDIUM DETECTION is optimized
    HUMAN BODY ACCURATE DETECTION is optimized
    HUMAN BODY 38 FAST DETECTION is optimized
    HUMAN BODY 38 MEDIUM DETECTION is optimized
    HUMAN BODY 38 ACCURATE DETECTION is optimized
    PERSON HEAD DETECTION is optimized
    PERSON HEAD ACCURATE DETECTION is optimized
    REID ASSOCIATION is optimized
    NEURAL LIGHT DEPTH is optimized
    NEURAL DEPTH is optimized
    NEURAL PLUS DEPTH is optimized
Stack trace (most recent call last) in thread 23499:
#9    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
#8    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffff8dfd5edb, in 
#7    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffff8df6d5b7, in 
#6    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6", at 0xffff8e2431fb, in 
#5    Object "ZED_Diagnostic", at 0x458b5f, in 
#4    Object "ZED_Diagnostic", at 0x472f27, in 
#3    Object "ZED_Diagnostic", at 0x47cb4b, in 
#2    Object "ZED_Diagnostic", at 0x47a5ff, in 
#1    Object "ZED_Diagnostic", at 0x4794a3, in 
#0    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffff8df87c40, in 
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)

bibi69@bibi:/usr/local/zed/tools$ ZED_Diagnostic --package-crash       
ZED Diagnostic Tool

- Running ZED SDK Diagnostic : OK  
    ZED SDK version: 5.2.0
    CUDA version: V12.6.68
- Running Processor Diagnostic : OK  
    Processor:   ARMv8 Processor rev 1 (v8l)
    Motherboard:  Jetson, NVIDIA
- Running Graphics Card Diagnostic : OK  
    Graphics card:  Orin
- Running CUDA Operations Diagnostic : OK  
    GPU 0 (Orin): CUDA operations working correctly
- Running AI Models Diagnostic : OK  
    MULTI CLASS DETECTION is optimized
    MULTI CLASS MEDIUM DETECTION is optimized
    MULTI CLASS ACCURATE DETECTION is optimized
    HUMAN BODY FAST DETECTION is optimized
    HUMAN BODY MEDIUM DETECTION is optimized
    HUMAN BODY ACCURATE DETECTION is optimized
    HUMAN BODY 38 FAST DETECTION is optimized
    HUMAN BODY 38 MEDIUM DETECTION is optimized
    HUMAN BODY 38 ACCURATE DETECTION is optimized
    PERSON HEAD DETECTION is optimized
    PERSON HEAD ACCURATE DETECTION is optimized
    REID ASSOCIATION is optimized
    NEURAL LIGHT DEPTH is optimized
    NEURAL DEPTH is optimized
    NEURAL PLUS DEPTH is optimized
Stack trace (most recent call last) in thread 23570:
#9    Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in 
#8    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffa5d55edb, in 
#7    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffa5ced5b7, in 
#6    Object "/usr/lib/aarch64-linux-gnu/libstdc++.so.6", at 0xffffa5fc31fb, in 
#5    Object "ZED_Diagnostic", at 0x458b5f, in 
#4    Object "ZED_Diagnostic", at 0x472f27, in 
#3    Object "ZED_Diagnostic", at 0x47cb4b, in 
#2    Object "ZED_Diagnostic", at 0x47a5ff, in 
#1    Object "ZED_Diagnostic", at 0x4794a3, in 
#0    Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffa5d07c40, in 
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)

Seems to be the same error for both funcs

The ZED_Diagnostic_Results.json seems to be empty

Does the problem persist if you launch ZED_Diagnostic with no connected cameras?

Nope, it seems to work well

bibi69@bibi:/usr/local/zed/tools$ ZED_Diagnostic
QPixmap::scaled: Pixmap is a null pixmap
"Errors occurred<br/>A detailed report can be saved to be shared with support if needed."
"<b>No Camera detected</b> <br/> Make sure the camera is plugged in."
"<b>No GMSL driver found.</b><br/> USB camera are not impacted by this."
"<b>No GMSL driver detected or not a Stereolabs board.</b>"

And Camera Test and GMSL Driver fail

Please write an email to support@stereolabs.com with a link to this thread.

Hi Rish,
Thank you for contacting us.

Based on the details you provided, your device may require repair or replacement. To proceed, please complete a Return Merchandise Authorization (RMA) request through our Return Portal: https://returns.stereolabs.com/.

This will allow you to return your product to us. Once we’ve received the item, we’ll ship a replacement unit to you.
You will receive email notifications at each step of the process (return received, replacement shipped, tracking, etc.).
Let us know if you need help during any part of the process.

Best regards,

Walter

Walter Lucetti
Senior Computer Engineer
SDK / Robotics / HW
Stereolabs Support

Hi Rish,
Based on the details you gave me, your device may need repair or replacement. To proceed, please complete a Return Merchandise Authorization (RMA) request through our Return Portal: https://returns.stereolabs.com/.

This will allow you to return your product to us. Once we’ve received the item, we’ll ship a replacement unit to you.
You will receive email notifications at each step of the process (return received, replacement shipped, tracking, etc.).
Let us know if you need help at any point in the process.

Best regards,

Walter

Walter Lucetti
Senior Computer Engineer
SDK / Robotics / HW
Stereolabs Support

I am facing the exact same issue, and I can confirm this is NOT hardware related and NOT the device’s fault. Using the ZED 2i camera and ZED SDK 5.2.0 (released Feb 2026), this exact same issue appears:
Stack trace (most recent call last) in thread 14375:
#9 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#8 Object "/usr/lib/libc.so.6", at 0x7fe62a51a2bb, in
#7 Object "/usr/lib/libc.so.6", at 0x7fe62a496979, in
#6 Object "/usr/lib/libstdc++.so.6", at 0x7fe62a901283, in
#5 Object "ZED_Diagnostic", at 0x457dd3, in
#4 Object "ZED_Diagnostic", at 0x473714, in
#3 Object "ZED_Diagnostic", at 0x472e30, in
#2 Object "ZED_Diagnostic", at 0x47082f, in
#1 Object "ZED_Diagnostic", at 0x46f6ec, in
#0 Object "/usr/lib/libc.so.6", at 0x7fe62a585d8d, in
Segmentation fault (Address not mapped to object [(nil)])
fish: Job 1, 'ZED_Diagnostic' terminated by signal SIGSEGV (Address boundary
error)

However, downgrading to the ZED SDK 5.1.2, fixes this issue and the diagnostic finishes with no errors.

Hi @Kelsios
Welcome to the Stereolabs community.
What’s your Operating System?

Hey,

This is on Arch. Will also try on the ZED box mini (orin NX model), but I suspect the result will be the same. There are no differences between the installed libc implementations on both systems, despite the different OS. Seems to me like a SDK 5.2.0 issue, though will report back with my findings.

1 Like

Hi everyone, I’m facing the same issue. I’m using a ZED2i camera, with SDK 5.2.0, Ubuntu 22.04, CUDA 13.0. I see the same crash with the segmentation fault as mentioned earlier when I run the diagnostic tool. Because of the same issue, I’m unable to run the ZED ROS2 driver, because of a crash in the node. When I run the ZED Explorer, I’m able to see the camera output correctly, which means that the camera is working fine. The installation of the SDK 5.2.0 went smooth without any errors.

I tried reverting back to SDK 5.1.2 with CUDA 13 and it works flawlessly, no crashes, nor segmentation faults. The diagnostic tool does not report any issues. Also the ROS2 driver works correctly.

Here is the output of the command ZED_Diagnostic -c


ZED Diagnostic Tool
- Running ZED SDK Diagnostic : OK 
ZED SDK version: 5.2.0
CUDA version: V13.0.88
- Running Processor Diagnostic : OK 
Processor:   11th Gen Intel(R) Core™ i9-11950H @ 2.60GHz 
Motherboard:  8873, HP
- Running Graphics Card Diagnostic : OK 
Graphics card:  NVIDIA GeForce RTX 3080 Laptop GPU
- Running CUDA Operations Diagnostic : OK 
GPU 0 (NVIDIA GeForce RTX 3080 Laptop GPU): CUDA operations working correctly
- Running AI Models Diagnostic : OK 
   MULTI CLASS DETECTION is not optimized 
   MULTI CLASS MEDIUM DETECTION is not optimized 
   MULTI CLASS ACCURATE DETECTION is not optimized 
   HUMAN BODY FAST DETECTION is not optimized 
   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 LIGHT DEPTH is optimized     
   NEURAL DEPTH is optimized              
   NEURAL PLUS DEPTH is optimized                                                                                                         
Stack trace (most recent call last) in thread 12824: 
#9    Object “[0xffffffffffffffff]”, at 0xffffffffffffffff, in           
#8    Object “/lib/x86_64-linux-gnu/libc.so.6”, at 0x706bc2b268cf, in 
#7    Object “/lib/x86_64-linux-gnu/libc.so.6”, at 0x706bc2a94ac2, in 
#6    Object “/lib/x86_64-linux-gnu/libstdc++.so.6”, at 0x706bc2edc252, in 
#5    Object “./ZED_Diagnostic”, at 0x458db6, in 
#4    Object “./ZED_Diagnostic”, at 0x473374, in 
#3    Object “./ZED_Diagnostic”, at 0x47dc4b, in 
#2    Object “./ZED_Diagnostic”, at 0x47b114, in 
#1    Object “./ZED_Diagnostic”, at 0x479b8e, in 
#0    Object “/lib/x86_64-linux-gnu/libc.so.6”, at 0x706bc2baee8d, in 
Segmentation fault (Address not mapped to object [(nil)]) 
Segmentation fault (core dumped)

If it’s useful, I also add the output of the nvidia-smi command:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.126.09             Driver Version: 580.126.09     CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3080 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   45C    P5             14W /   80W |     836MiB /  16384MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+