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: ioctl sign-extension warning on FreeBSD (Ben)
----------------------------------------------------------------------
Message: 1
Date: Mon, 29 May 2017 17:48:10 +0200
From: Ben <[email protected]>
To: Motion discussion list <[email protected]>
Subject: Re: [Motion-user] ioctl sign-extension warning on FreeBSD
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
Done! See https://github.com/Motion-Project/motion/pull/393.
Thanks,
Ben
> On 29 May 2017, at 12:14, Joseph Heenan <[email protected]> wrote:
>
> Great! If you have the time to create a merge request in GitHub with that
> change in it that would be really appreciated!
>
> Thanks
>
> Joseph
>
>> On 28 May 2017, at 18:47, Ben <[email protected]> wrote:
>>
>> Thanks Joseph, that helped me locate the problem:
>>
>> Run till exit from #0 0x00000008036433e0 in ioctl () from /lib/libc.so.7
>> 0x0000000000416cc8 in xioctl (vid_source=0x80c014300, request=1080579584,
>> arg=0x80c014308) at video_v4l2.c:177
>> 177 ret = ioctl(vid_source->fd_device, request, arg);
>> Current language: auto; currently minimal
>> (gdb) bt
>> #0 0x0000000000416cc8 in xioctl (vid_source=0x80c014300,
>> request=1080579584, arg=0x80c014308) at video_v4l2.c:177
>> #1 0x0000000000417928 in v4l2_get_capability (vid_source=0x80c014300) at
>> video_v4l2.c:185
>> #2 0x00000000004157de in v4l2_device_init (cnt=0x80bc4b000,
>> viddev=0x80c00f0c0, width=960, height=720, input=-1, norm=0, freq=0,
>> tuner_number=0)
>> at video_v4l2.c:790
>> #3 0x0000000000415527 in v4l2_start (cnt=0x80bc4b000) at video_v4l2.c:1226
>> #4 0x000000000041ad2e in vid_start (cnt=0x80bc4b000) at video_common.c:657
>> #5 0x00000000004088a0 in motion_init (cnt=0x80bc4b000) at motion.c:879
>> #6 0x000000000040836d in motion_loop (arg=0x80bc4b000) at motion.c:2476
>> #7 0x00000008032de755 in pthread_create () from /lib/libthr.so.3
>> #8 0x0000000000000000 in ?? ()
>>
>> I changed line 168 from:
>>
>> #ifdef __OpenBSD__
>>
>> to:
>>
>> #if defined (__OpenBSD__) || defined (__FreeBSD__)
>>
>> and that fixed the problem. Can somebody commit this, or should I create an
>> issue on GitHub?
>>
>> Kind regards,
>> Ben
>>
>>
>>> On 26 May 2017, at 15:40, Joseph Heenan <[email protected]> wrote:
>>>
>>> Run motion in gdb, set a breakpoint on ioctl, and type 'fin'. If the
>>> warning message appears, type 'bt' to see where the call was from. If the
>>> warning message doesn't appear, press 'c' to continue.
>>>
>>> (May require quite a degree of patience before you get to the problem one!)
>>>
>>> Joseph
>>>
>>>
>>>
>>>> On 26 May 2017, at 12:45, Ben <[email protected]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I?m running Motion 4.0.1 on FreeBSD 10.3-STABLE amd64. I have four ipcams
>>>> and one webcam (Logitech C920) connected and everything works fine except
>>>> for one thing: the console gives a continues stream of messages like this:
>>>>
>>>> May 26 13:42:11 aurora kernel: WARNING pid 40273 (motion): ioctl
>>>> sign-extension ioctl ffffffffc058560f
>>>> May 26 13:42:11 aurora kernel: WARNING pid 40273 (motion): ioctl
>>>> sign-extension ioctl ffffffffc0585611
>>>> May 26 13:42:11 aurora kernel: WARNING pid 40273 (motion): ioctl
>>>> sign-extension ioctl ffffffffc058560f
>>>> May 26 13:42:11 aurora kernel: WARNING pid 40273 (motion): ioctl
>>>> sign-extension ioctl ffffffffc0585611
>>>> ? etc
>>>>
>>>> It seems to come from the USB camera, because these message are gone when
>>>> I disable it. I can?t find which call is causing this warning message. It
>>>> seems to be harmless except that it?s filling up my log files in high
>>>> tempo.
>>>>
>>>> Any ideas for solving this problem?
>>>>
>>>> Thanks,
>>>> Ben
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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
>>>> [email protected]
>>>> 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_______________________________________________
>>> 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
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> [email protected]
>> 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_______________________________________________
> 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
------------------------------
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 131, Issue 6
*******************************************