Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."
Today's Topics:
1. Re: Possible bug in 4.4 (tosiara)
----------------------------------------------------------------------
Message: 1
Date: Mon, 29 Nov 2021 17:44:02 +0200
From: tosiara <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] Possible bug in 4.4
Message-ID:
<CACHTdwQEob8W2HW_QQnu0=kiYaKvxUH=er-c1cojkhoegpq...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
This issue is now being tracked in Github:
https://github.com/Motion-Project/motion/issues/1441
On Sun, Nov 28, 2021 at 9:32 PM Steve <[email protected]> wrote:
>
> Finally!
>
> *** buffer overflow detected ***: terminated
>
> Thread 8 "nc5:Cam-Dek" received signal SIGABRT, Aborted.
> [Switching to Thread 0x7fffddffb640 (LWP 7845)]
> 0x00007ffff6104d22 in raise () from /usr/lib/libc.so.6
> (gdb) bt
> #0 0x00007ffff6104d22 in raise () at /usr/lib/libc.so.6
> #1 0x00007ffff60ee862 in abort () at /usr/lib/libc.so.6
> #2 0x00007ffff6146d28 in __libc_message () at /usr/lib/libc.so.6
> #3 0x00007ffff61d5cca in __fortify_fail () at /usr/lib/libc.so.6
> #4 0x00007ffff61d45a4 in () at /usr/lib/libc.so.6
> #5 0x00007ffff61d3eb9 in __strncat_chk () at /usr/lib/libc.so.6
> #6 0x0000555555566e85 in ()
> #7 0x0000555555572a08 in ()
> #8 0x0000555555570ca9 in ()
> #9 0x00007ffff63e4259 in start_thread () at /usr/lib/libpthread.so.0
> #10 0x00007ffff61c65e3 in clone () at /usr/lib/libc.so.6
> (gdb)
>
>
>
> On 11/14/21 04:07, tosiara wrote:
> > Could you try running motion in a debugger and try reproducing there?
> >
> > gdb --args /path/to/motion -c /path/to/config -n
> >
> > Then type command run and hit enter - motion will run
> >
> > When the issue occurs, the debugger will interrupt. Then type command
> > bt and hit enter. Send the output here
> >
> > On Sun, Nov 14, 2021 at 8:02 AM Steve <[email protected]> wrote:
> >>
> >> It sounds a lot like this from 5 years ago:
> >> https://sourceforge.net/p/motion/mailman/message/34890916/
> >>
> >> On 11/13/21 17:33, Steve wrote:
> >>> Motion is crashing more frequently now so I've stopped it. I sure hope
> >>> this gets fixed soon.
> >>>
> >>> On 11/8/21 14:19, Steve wrote:
> >>>> Here's the log from when Motion crashed a few hours ago:
> >>>>
> >>>> Nov 08 10:46:41 server-v motion[450]: [4:ml4:Cam-Gar] [WRN] [NET]
> >>>> netcam_init_jpeg: no new pic, no signal rcvd
> >>>> Nov 08 10:46:41 server-v motion[450]: [1:ml1:Cam-Dek] [WRN] [NET]
> >>>> netcam_init_jpeg: no new pic, no signal rcvd
> >>>> Nov 08 10:46:42 server-v motion[450]: [4:ml4:Cam-Gar] [WRN] [NET]
> >>>> netcam_init_jpeg: no new pic, no signal rcvd
> >>>> Nov 08 10:46:42 server-v motion[450]: [1023B blob data]
> >>>> Nov 08 10:47:06 server-v systemd[1]: motion.service: Main process
> >>>> exited, code=killed, status=6/ABRT
> >>>> Nov 08 10:47:06 server-v systemd[1]: motion.service: Failed with
> >>>> result 'signal'.
> >>>> Nov 08 10:47:06 server-v systemd[1]: motion.service: Consumed 18h
> >>>> 47min 17.860s CPU time.
> >>>>
> >>>> On 11/3/21 08:49, Steve wrote:
> >>>>> I apologize for not checking my post more carefully. The omitted
> >>>>> line at the top of the .conf is:
> >>>>>
> >>>>> # The full URL of the network camera stream.
> >>>>> netcam_url mjpeg://cam-gar.localdomain:8080/?action=stream
> >>>>>
> >>>>> I'm running mjpg_streamer on the Pi-cams. It's from:
> >>>>>
> >>>>> https://github.com/jacksonliam/mjpg-streamer
> >>>>>
> >>>>> And the command on the cam that uses it is:
> >>>>>
> >>>>> /usr/bin/mjpg_streamer -o "output_http.so -w ./www" -i
> >>>>> "input_raspicam.so -x 800 -y 608 -fps 6"
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 11/3/21 01:52, tosiara wrote:
> >>>>>> Is your pi cam an http or a mmal? I don't see any source in your
> >>>>>> provided config
> >>>>>>
> >>>>>> If that is http, try to change the url to be mjpg://xxxxx and see if
> >>>>>> that makes any difference?
> >>>>>>
> >>>>>> I suspect this: https://github.com/Motion-Project/motion/issues/1424
> >>>>>>
> >>>>>> On Mon, Nov 1, 2021 at 4:08 AM Steve <[email protected]> wrote:
> >>>>>>>
> >>>>>>> Since upgrading to v4.4 yesterday I'm seeing the following on each
> >>>>>>> of 2
> >>>>>>> cameras every second:
> >>>>>>>
> >>>>>>> [WRN] [NET] netcam_init_jpeg: no new pic, no signal rcvd
> >>>>>>>
> >>>>>>> Video is still being recorded as with v4.3.x and this only happens
> >>>>>>> on my
> >>>>>>> 2 Pi-cams which are set to 800x608 size. My Reolink cams are at
> >>>>>>> 1920x1072.
> >>>>>>>
> >>>>>>> Might I have missed changing an option name? Here is the .conf on
> >>>>>>> a Pi-cam:
> >>>>>>>
> >>>>>>> # ID used to identify this camera from external curl commands.
> >>>>>>> camera_id 3
> >>>>>>>
> >>>>>>> # Text to be overlayed in the lower left corner of images
> >>>>>>> text_left Cam-Gar
> >>>>>>>
> >>>>>>> # Text to be overlayed in the lower right corner of images.
> >>>>>>> text_right %Y_%m_%d\n%T_%q
> >>>>>>>
> >>>>>>> # X times larger than normal (1-10)
> >>>>>>> text_scale 2
> >>>>>>>
> >>>>>>> # Container/Codec to used for the movie. See motion_guide.html
> >>>>>>> movie_codec hevc
> >>>>>>>
> >>>>>>> # Target directory for pictures, snapshots and movies
> >>>>>>> target_dir /Videos/motion-images/Cam-Gar
> >>>>>>>
> >>>>>>> ############################################################
> >>>>>>> # Motion detection configuration parameters
> >>>>>>> ############################################################
> >>>>>>>
> >>>>>>> # Image width in pixels.
> >>>>>>> width 800
> >>>>>>>
> >>>>>>> # Image height in pixels.
> >>>>>>> height 608
> >>>>>>>
> >>>>>>> # Maximum number of frames to be captured per second.
> >>>>>>> framerate 6
> >>>>>>> #framerate 4
> >>>>>>>
> >>>>>>> # Ignore sudden massive light intensity changes.
> >>>>>>> lightswitch_percent 30
> >>>>>>>
> >>>>>>> # Number of images that must contain motion to trigger an event.
> >>>>>>> minimum_motion_frames 3
> >>>>>>>
> >>>>>>> # Gap in seconds of no motion detected that triggers the end of an
> >>>>>>> event.
> >>>>>>> event_gap 10
> >>>>>>>
> >>>>>>> # The number of pre-captured (buffered) pictures from before motion.
> >>>>>>> pre_capture 30
> >>>>>>>
> >>>>>>> # Number of frames to capture after motion is no longer detected.
> >>>>>>> post_capture 30
> >>>>>>>
> >>>>>>> # Number of frames to ignore when lightswitch has been triggered.
> >>>>>>> lightswitch_frames 12
> >>>>>>>
> >>>>>>> # Despeckle the image using (E/e)rode or (D/d)ilate or (l)abel.
> >>>>>>> despeckle_filter EedDl
> >>>>>>>
> >>>>>>> # Activates the automatic tuning of noise level.
> >>>>>>> noise_tune on
> >>>>>>>
> >>>>>>> # A dynamic, self-learing mask.
> >>>>>>> #smart_mask_speed 5
> >>>>>>>
> >>>>>>> # Threshold for number of changed pixels that triggers motion.
> >>>>>>> threshold 3500
> >>>>>>>
> >>>>>>> # Activate the automatic tuning of threshold level.
> >>>>>>> threshold_tune on
> >>>>>>>
> >>>>>>> ############################################################
> >>>>>>> # Script execution configuration parameters
> >>>>>>> ############################################################
> >>>>>>>
> >>>>>>> # Command to be executed when an event starts.
> >>>>>>> ; on_event_start value
> >>>>>>>
> >>>>>>> # Command to be executed when an event ends.
> >>>>>>> ; on_event_end value
> >>>>>>>
> >>>>>>> # Command to be executed when a movie file is closed.
> >>>>>>> ; on_movie_end value
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> _______________________________________________
> >>>>>>> Motion-user mailing list
> >>>>>>> [email protected]
> >>>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
> >>>>>>> https://motion-project.github.io/
> >>>>>>>
> >>>>>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> >>>>>>
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Motion-user mailing list
> >>>>>> [email protected]
> >>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
> >>>>>> https://motion-project.github.io/
> >>>>>>
> >>>>>> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> >>>>>>
> >>>>>
> >> --
> >> --------------------------------------------------------------------
> >> Steve Schaeffer When all is said and done...
> >> [email protected] there will have been a lot more said than done.
> >> --------------------------------------------------------------------
> >>
> >>
> >>
> >> _______________________________________________
> >> Motion-user mailing list
> >> [email protected]
> >> https://lists.sourceforge.net/lists/listinfo/motion-user
> >> https://motion-project.github.io/
> >>
> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> >
> >
> > _______________________________________________
> > Motion-user mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > https://motion-project.github.io/
> >
> > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user
> >
>
> --
> --------------------------------------------------------------------
> Steve Schaeffer When all is said and done...
> [email protected] there will have been a lot more said than done.
> --------------------------------------------------------------------
------------------------------
------------------------------
Subject: Digest Footer
_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 185, Issue 27
********************************************