# Cannot initialize second camera

**URL:** <https://community.stereolabs.com/t/cannot-initialize-second-camera/7643>\
**Category:** Software\
**Created:** [December 9, 2024, 10:01am UTC](https://community.stereolabs.com/t/cannot-initialize-second-camera/7643 "2024-12-09T10:01:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Haven](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/h/3ec8ea/32.png) [@Haven](https://community.stereolabs.com/u/Haven)\
**Post date:** [December 9, 2024, 10:01am UTC](https://community.stereolabs.com/t/cannot-initialize-second-camera/7643/1 "2024-12-09T10:01:28Z")

</div>

Possibly related to [ZED X Camera Cannot initialize Error opening Camera: Camera Failed to setup](https://community.stereolabs.com/t/zed-x-camera-cannot-initialize-error-opening-camera-camera-failed-to-setup/7581)

I have two ZED X camera attached to a ZED dual link card with an Nvidia Jetson Orin dev kit. When I try to open and stream both cameras using ZED\_Explorer I can see the first one but not the second one.

Using JP5.1.2 and the following installers for the camera drivers and ZED SDK  
[stereolabs](https://www.stereolabs.com/)-zedlink-duo\_1.2.1-LI-MAX96712-ALL-L4T35.4.1\_arm64.deb  
ZED\_SDK\_Tegra\_L4T35.4\_v4.2.2.zstd.run

Output of `sudo ZED_Diagnostic --dmseg` I can send separately (cannot upload if new user?

When running ZED\_Explorer and switching to my second camera (first streams ok) I get the following error with ZED\_Explorer crashing

```auto
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 379)
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Stack trace (most recent call last) in thread 7961:
#10 Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#9 Object "/usr/lib/aarch64-linux-gnu/libc.so.6", at 0xffffab94462b, in
#8 Object "/usr/lib/aarch64-linux-gnu/libpthread.so.0", at 0xffffac8da623, in
#7 Object "/usr/lib/aarch64-linux-gnu/libQt5Core.so.5", at 0xffffabd3d50f, in
#6 Object "ZED_Explorer", at 0x454637, in
#5 Object "ZED_Explorer", at 0x575683, in
#4 Object "ZED_Explorer", at 0x5ac05b, in
#3 Object "ZED_Explorer", at 0x5ab64b, in
#2 Object "ZED_Explorer", at 0x59a8bb, in
#1 Object "ZED_Explorer", at 0x5a3b8f, in
#0 Object "/usr/lib/aarch64-linux-gnu/tegra/libnvargus_socketclient.so", at 0xffffadc08368, in
Segmentation fault (Address not mapped to object [(nil)])
Segmentation fault (core dumped)

```

```auto
(base) brianlerner@beachbot-1:~$ ZED_Explorer -a
## Cam 0 ##
 Model : "ZED-X"
 S/N : 43740003
 State : "Camera Available"
 Path : /dev/i2c-30
 ID : 0
 Type : "GMSL2"
********************
## Cam 1 ##
 Model : "ZED-X"
 S/N : 45235829
 State : "Camera Available"
 Path : /dev/i2c-30
 ID : 1
 Type : "GMSL2"
********************

```

I also tried opening with the ZED\_SENSOR\_Viewer and get the following error. No sensor readings are showing for the second camera.

```auto
(base) brianlerner@beachbot-1:~$ ZED_Sensor_Viewer
[2024-12-06 18:20:11 UTC][ZED][INFO] Logging level INFO
[2024-12-06 18:20:11 UTC][ZED][INFO] Logging level INFO
[2024-12-06 18:20:11 UTC][ZED][INFO] [Init] Depth mode: NONE
[ZED-X][Warning] Failed to connect to zed_x_daemon.
[2024-12-06 18:20:14 UTC][ZED][INFO] [Init] Camera FW version: 2001
[2024-12-06 18:20:14 UTC][ZED][INFO] [Init] Video mode: HD1200@30
[2024-12-06 18:20:14 UTC][ZED][INFO] [Init] Serial Number: S/N 43740003
[2024-12-06 18:20:16 UTC][ZED][WARNING] [Init] Self-calibration failed. Point the camera towards a more textured and brighter area. Avoid objects closer than 1 meter (Error code: 0x01)
[2024-12-06 18:20:21 UTC][ZED][INFO] Logging level INFO
[2024-12-06 18:20:21 UTC][ZED][INFO] Logging level INFO
[2024-12-06 18:20:21 UTC][ZED][INFO] [Init] Depth mode: NONE
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 379)
[2024-12-06 18:20:41 UTC][ZED][ERROR] [ZED] Cannot initialize the camera.
(Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96)
(Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91)
Segmentation fault (core dumped)

```

---

<div class="post-metadata">

**Author:** ![Myzhar](https://community.stereolabs.com/user_avatar/community.stereolabs.com/myzhar/32/11_2.png) [@Myzhar](https://community.stereolabs.com/u/Myzhar)\
**Post date:** [December 9, 2024, 2:14pm UTC](https://community.stereolabs.com/t/cannot-initialize-second-camera/7643/2 "2024-12-09T14:14:11Z")

</div>

Please write an email to [support@stereolabs.com](mailto:support@stereolabs.com) and send the diagnostic report as an attachment.
