Seems like some times it works, some times not. I just got this:
depthai-python/examples/ColorCamera/rgb_preview.py
[1944301011E9982E00] [1.3] [1715265059.067] [host] [warning] Device crashed, but no crash dump could be extracted.
terminate called after throwing an instance of 'std::system_error'
what(): Device already closed or disconnected: Input/output error
Stack trace (most recent call last):
#31 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x768132229d8f, in
#30 Object "python3", at 0x5bfbb5d6e02c, in Py_BytesMain
#29 Object "python3", at 0x5bfbb5d97a5d, in Py_RunMain
#28 Object "python3", at 0x5bfbb5da4f82, in _PyRun_AnyFileObject
#27 Object "python3", at 0x5bfbb5da5337, in _PyRun_SimpleFileObject
#26 Object "python3", at 0x5bfbb5da5e54, in
#25 Object "python3", at 0x5bfbb5d9f9ca, in
#24 Object "python3", at 0x5bfbb5da6107, in
#23 Object "python3", at 0x5bfbb5d7b255, in PyEval_EvalCode
#22 Object "python3", at 0x5bfbb5c859c5, in
#21 Object "python3", at 0x5bfbb5c8f628, in _PyEval_EvalFrameDefault
#20 Object "python3", at 0x5bfbb5c96a7a, in _PyObject_MakeTpCall
#19 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa7556c6, in
#18 Object "python3", at 0x5bfbb5c96e2a, in
#17 Object "python3", at 0x5bfbb5cab086, in
#16 Object "python3", at 0x5bfbb5caec1f, in
#15 Object "python3", at 0x5bfbb5c96a7a, in _PyObject_MakeTpCall
#14 Object "python3", at 0x5bfbb5ca010d, in
#13 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa75763f, in
#12 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa7ad371, in
#11 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa9b3557, in dai::Device::Device(dai::Pipeline const&, dai::DeviceInfo const&)
#10 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa9d3606, in dai::DeviceBase::DeviceBase(dai::DeviceBase::Config, dai::DeviceInfo const&)
#9 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa737346, in
#8 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa9bcd14, in dai::DeviceBase::close()
#7 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa9d09be, in dai::DeviceBase::closeImpl()
#6 Object "/home/benw/Luxonis/venv/lib/python3.10/site-packages/depthai.cpython-310-x86_64-linux-gnu.so", at 0x7680fa9bd0b3, in dai::DeviceBase::~DeviceBase()
#5 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7681260ae276, in std::terminate()
#4 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7681260ae20b, in
#3 Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7681260a2b9d, in
#2 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7681322287f2, in abort
#1 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x768132242475, in raise
#0 Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7681322969fc, in pthread_kill
Aborted (Signal sent by tkill() 26486 1000)
Aborted (core dumped)