nitinrs
Posts: 1
Joined: Mon Oct 09, 2017 8:22 am

Pi camera Segmentation Fault when app. closes camera

Mon Oct 09, 2017 8:40 am

HI,

I am using Arch Linux 4.9.52-1-ARCH and connected with PI v1 camera (5MP). One of the face recognition application captures snap of the live stream and supposed to enroll the face in the database. Once enroll event is called, the app. closes the camera stream (Pi camera LED goes off) and proceed with enrollment.

During this operation, the app crashes with segmentation fault. The app uses gstreamer plugins to capture the image (gstreamer 1.12 .x is installed with gstreamer 1.12.x good and base plugins)

Limited GDB traces shows,

Thread 9 "FaceIDapp" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x705ff2d0 (LWP 602)]
0x6d0a338c in ?? () from /usr/lib/gstreamer-1.0/libgstvideo4linux2.so

The app. crashes with live stream only. WIth camera disabled, the app. works fine with files/directory based enrollment.

Any pointers for this crash?
Also need to know is there any way to set default streaming resolution of Pi camera in any of the conf file in Arch Linux?

Thanks/Nitin

Return to “Arch”

Who is online

Users browsing this forum: No registered users and 2 guests