This repository has been archived on 2026-07-09. You can view files and clone it, but cannot push or open issues or pull requests.
agent-knowledge-base-archived/problems/2026-05-25-depthai-poe-pipeline-switch-crash.md
2026-05-25 19:48:48 +03:00

1.5 KiB

DepthAI PoE Pipeline Switch Crash

Context

On 2026-05-25, an OAK-D PoE at 192.168.1.100 was probed from Windows using Python depthai version 3.6.1.

The device was reachable on TCP port 11490, reported as OAK-D-POE, and could capture RGB, mono, rectified stereo, and depth frames.

Symptom

Capturing RGB/mono and then switching to a stereo-depth pipeline in the same Python process caused a native DepthAI/device crash:

Device crashed, but no crash dump could be extracted.
Device likely crashed but did not reboot in time to get the crash dump
RuntimeError: Device already closed or disconnected: io error

An earlier attempt to read device features/calibration and then build camera pipelines in the same process also crashed inside the native DepthAI API.

Working Recovery

Split RGB/mono and stereo-depth capture into separate Python processes, with a short reconnect delay:

py tools\oakd_poe_probe.py --ip 192.168.1.100 --output out\oakd_poe_probe --skip-depth --reconnect-delay 4
py tools\oakd_poe_probe.py --ip 192.168.1.100 --output out\oakd_poe_probe_depth --only-depth --skip-eeprom --reconnect-delay 4

This successfully saved:

  • device report and EEPROM calibration;
  • RGB and mono frames;
  • rectified stereo frames;
  • raw 16-bit depth and depth preview.

Guidance

For OAK-D PoE diagnostics, prefer short-lived DepthAI processes until the C++ integration is designed and tested. If the device crashes, wait for it to return on 192.168.1.100:11490 before reconnecting.