raspberry-pi-camera / raspindi

Raspberry Pi Camera NDI Source application
MIT License
163 stars 38 forks source link

Segmentation Fault (again) #51

Closed SBCV-apegram closed 1 year ago

SBCV-apegram commented 1 year ago

**Describe the bug*** I think the segfault from issue 49 happens on line 162 of main.cpp. Commenting that out results in a bad_alloc on line 134 of main.cpp. That's as far as I could get with my limited knowledge of C++.

Raspberry Pi OS Lite (64bit) - Debian Bullseye on a Raspberry Pi 4B (2GB) (I switched in the 64bit NDI modules as I mentioned in my other issue.

My original device (CM4 4GB/32GB) is still working flawlessly, I have not installed any updates or patches, and will not until this starts working...

SBCV-apegram commented 1 year ago

I've solved the issue in my fork by updating the libcamera headers to 1.0.2. I've tested using the 64-bit libndi 5 on a Raspberry Pi 4B (2GB) with Bullseye Lite.