roleoroleo / onvif_simple_server

Light implementation of an onvif server intended for use in resource-constrained devices
GNU General Public License v3.0
20 stars 7 forks source link

CGI pid XX died with signal 11 #4

Closed onepif closed 1 month ago

onepif commented 5 months ago

hi! When you launch the software on the camera (goke7205v300), the following happens (see screenshot). for the test I ran it on arm64 - everything worked correctly there What can be wrong? Screenshot_20240204_222157

roleoroleo commented 5 months ago

signal 11 is probably a seg fault. It's not normal What client are you using? You should send me some log. Enable log: # echo 5 > /tmp/onvif_simple_server.debug read the log: # cat /tmp/onvif_simple_server.log

and/or

capture the network traffic between the client and the server and send me the .pcap

onepif commented 5 months ago

log+pcap.zip

roleoroleo commented 5 months ago

The error is a "500 Internal Server Error". And it's after a GetDeviceInformation request. The code is ok, not completely safe but is ok. Probably I should improve the control of the configuration file... next release.

Check the configuration file, especially the following options:

model=
manufacturer=
firmware_ver=
hardware_id=
serial_num=
roleoroleo commented 5 months ago

Check my last commits.