Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Segmentation fault (Chris) 2. Re: Segmentation fault (MrDave) ---------------------------------------------------------------------- Message: 1 Date: Fri, 23 Mar 2018 19:02:02 +0100 From: Chris <motion_ch...@goxp.de> To: motion-user@lists.sourceforge.net Subject: [Motion-user] Segmentation fault Message-ID: <caou_r9pbzwwqxlnvtgae1ku9ni6lbt_vrv4v3c1wsr4nal9...@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Hi, I am running motion on raspbian (Linux raspberrypi 4.9.80-v7+ #1098 SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux) And am getting very often Segmentation fault: $ motion -d 9 [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion/motion.conf [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "duplicated" [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera1-dist.conf [0:motion] [NTC] [ALL] config_camera: Processing camera config file /etc/motion/camera2-dist.conf [0:motion] [ALR] [ALL] read_camera_dir: Camera directory config /etc/conf.d not found: No such file or directory [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started [0:motion] [NTC] [ALL] motion_startup: Logging to file (/var/log/motion/motion.log) Segmentation fault in the motion.log I noticed this: [2:ml2] [DBG] [ALL] [Mar 23 16:40:09] motion_loop: Setup post capture 0 [1:ml1] [NTC] [EVT] [Mar 23 16:40:09] event_newfile: File of type 1 saved to: /var/lib/motion/CAM1_11-20180323164000-00.jpg [2:ml2] [NTC] [EVT] [Mar 23 16:40:09] event_newfile: File of type 1 saved to: /var/lib/motion/CAM2_33-20180323164008-01.jpg [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_check_content_type: Content-type image/jpeg [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_check_content_length: Content-Length -1 [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_check_content_length: Content-Length 201138 [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_read_next_header: Found image header record [2:nc2] [DBG] [NET] [Mar 23 16:40:10] netcam_read_html_jpeg: Potential split boundary - 2895 chars flushed, 1 re-positioned [2:nc2] [DBG] [NET] [Mar 23 16:40:10] netcam_image_read_complete: Calculated frame time 318228.625000 [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: 1) vid_source->pframe 0 [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: 2) vid_source->pframe 0 [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: 3) vid_source->pframe 1 vid_source->buf.index 1 [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: vid_source->buf.bytesused 1843200 [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: the_buffer index 1 Address (6b947000) [2:ml2] [ERR] [ENC] [Mar 23 16:40:10] ffmpeg_avcodec_log: Too large number of skipped frames 60361 > 60000 [2:ml2] [ERR] [ENC] [Mar 23 16:40:10] ffmpeg_put_frame: Error while writing video frame: Connection reset by peer [2:ml2] [NTC] [ALL] [Mar 23 16:40:10] motion_loop: Thread exiting [2:ml2] [NTC] [STR] [Mar 23 16:40:10] stream_stop: Closing motion-stream listen socket & active motion-stream sockets [2:ml2] [NTC] [STR] [Mar 23 16:40:10] stream_stop: Closed motion-stream listen socket & active motion-stream sockets The 4th and 5th line from bottom with ERRor: ffmpeg_avcodec_log: Too large number of skipped frames 60361 > 60000 ffmpeg_put_frame: Error while writing video frame: Connection reset by peer Is this the reason of Seg fault and how to resolve it? thanks, Chris ------------------------------ Message: 2 Date: Fri, 23 Mar 2018 19:33:18 -0600 From: MrDave <motionmrd...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] Segmentation fault Message-ID: <38bd3ba3-05f1-6364-2003-824b94683...@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed You may want to consider upgrading to release 4.1.1 https://github.com/Motion-Project/motion/releases If the issue persists, you may need to build from source to determine whether the problem still exists. Dave On 3/23/2018 12:02 PM, Chris wrote: > Hi, > > I am running motion on raspbian (Linux raspberrypi 4.9.80-v7+ #1098 > SMP Fri Mar 9 19:11:42 GMT 2018 armv7l GNU/Linux) > > And am getting very often Segmentation fault: > > $ motion -d 9 > [0:motion] [NTC] [ALL] conf_load: Processing thread 0 - config file > /etc/motion/motion.conf > [0:motion] [ALR] [ALL] conf_cmdparse: Unknown config option "duplicated" > [0:motion] [NTC] [ALL] config_camera: Processing camera config file > /etc/motion/camera1-dist.conf > [0:motion] [NTC] [ALL] config_camera: Processing camera config file > /etc/motion/camera2-dist.conf > [0:motion] [ALR] [ALL] read_camera_dir: Camera directory config > /etc/conf.d not found: No such file or directory > [0:motion] [NTC] [ALL] motion_startup: Motion 4.0 Started > [0:motion] [NTC] [ALL] motion_startup: Logging to file > (/var/log/motion/motion.log) > Segmentation fault > > in the motion.log I noticed this: > [2:ml2] [DBG] [ALL] [Mar 23 16:40:09] motion_loop: Setup post capture 0 > [1:ml1] [NTC] [EVT] [Mar 23 16:40:09] event_newfile: File of type 1 > saved to: /var/lib/motion/CAM1_11-20180323164000-00.jpg > [2:ml2] [NTC] [EVT] [Mar 23 16:40:09] event_newfile: File of type 1 > saved to: /var/lib/motion/CAM2_33-20180323164008-01.jpg > [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_check_content_type: > Content-type image/jpeg > [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_check_content_length: > Content-Length -1 > [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_check_content_length: > Content-Length 201138 > [2:nc2] [INF] [NET] [Mar 23 16:40:09] netcam_read_next_header: Found > image header record > [2:nc2] [DBG] [NET] [Mar 23 16:40:10] netcam_read_html_jpeg: Potential > split boundary - 2895 chars flushed, 1 re-positioned > [2:nc2] [DBG] [NET] [Mar 23 16:40:10] netcam_image_read_complete: > Calculated frame time 318228.625000 > [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: 1) vid_source->pframe 0 > [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: 2) vid_source->pframe 0 > [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: 3) vid_source->pframe > 1 vid_source->buf.index 1 > [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: > vid_source->buf.bytesused 1843200 > [1:ml1] [DBG] [VID] [Mar 23 16:40:10] v4l2_next: the_buffer index 1 > Address (6b947000) > [2:ml2] [ERR] [ENC] [Mar 23 16:40:10] ffmpeg_avcodec_log: Too large > number of skipped frames 60361 > 60000 > [2:ml2] [ERR] [ENC] [Mar 23 16:40:10] ffmpeg_put_frame: Error while > writing video frame: Connection reset by peer > [2:ml2] [NTC] [ALL] [Mar 23 16:40:10] motion_loop: Thread exiting > [2:ml2] [NTC] [STR] [Mar 23 16:40:10] stream_stop: Closing > motion-stream listen socket & active motion-stream sockets > [2:ml2] [NTC] [STR] [Mar 23 16:40:10] stream_stop: Closed > motion-stream listen socket & active motion-stream sockets > > The 4th and 5th line from bottom with ERRor: > ffmpeg_avcodec_log: Too large number of skipped frames 60361 > 60000 > ffmpeg_put_frame: Error while writing video frame: Connection reset by peer > > > Is this the reason of Seg fault and how to resolve it? > > thanks, > Chris > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > ------------------------------ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 141, Issue 18 ********************************************