Unable to open Logitech C270
Question
When starting motion on an
OpenWrt router connected to a Logitech C270 webcam, I get a "No space left on device" message:
v4l2_set_mmap: Error starting stream. VIDIOC_STREAMON: No space left on device
I'm not sure what's happening. I see both v4l2 and v4l1 in the log. I don't know what file it is trying to write. I have plenty of disk space.
root@OpenWrt:/tmp# motion
[0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion.conf
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_movies"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_debug_movies"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_timelapse"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_timelapse_mode"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_bps"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_variable_bitrate"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_video_codec"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_deinterlace"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "sdl_threadnr"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "movie_filename"
[0] [ALR] [ALL] conf_cmdparse: Unknown config option "timelapse_filename"
[0] [NTC] [ALL] motion_startup: Motion trunkREV528 Started
[0] [NTC] [ALL] motion_startup: Logging to file (/tmp/motion.log)
[0] [NTC] [ALL] [Jun 02 09:12:26] motion_startup: Using log type (ALL) log level (ALL)
[0] [NTC] [ALL] [Jun 02 09:12:26] main: Motion running in setup mode.
[0] [NTC] [ALL] [Jun 02 09:12:26] main: Thread 1 is from /etc/motion.conf
[0] [NTC] [ALL] [Jun 02 09:12:26] main: Thread 1 is device: /dev/video0 input -1
[0] [NTC] [ALL] [Jun 02 09:12:26] main: Stream port 8081
[0] [NTC] [ALL] [Jun 02 09:12:26] main: Waiting for threads to finish, pid: 3228
[0] [NTC] [STR] [Jun 02 09:12:26] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Jun 02 09:12:26] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Jun 02 09:12:26] httpd_run: motion-httpd/trunkREV528 running, accepting connections
[0] [NTC] [STR] [Jun 02 09:12:26] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 8080
[1] [NTC] [ALL] [Jun 02 09:12:26] motion_init: Thread 1 started
[1] [NTC] [VID] [Jun 02 09:12:26] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "UVC Camera (046d:0825)"
cap.bus_info: "usb-dwc_otg.0-1.1.3"
cap.capabilities=0x04000001
------------------------
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_select_input: - CAMERA
[1] [WRN] [VID] [Jun 02 09:12:26] v4l2_select_input: Device doesn't support VIDIOC_G_STD
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format: Config palette index 17 (YU12) doesn't work.
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format: Supported palettes:
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format: (0) YUYV (YUV 4:2:2 (YUYV))
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format: 0 - YUV 4:2:2 (YUYV) (compressed : 0) (0x56595559)
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format: (1) MJPG (MJPEG)
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format: 1 - MJPEG (compressed : 1) (0x47504a4d)
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_set_pix_format Selected palette YUYV
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_do_set_pix_format: Testing palette YUYV (320x240)
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_do_set_pix_format: Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: found control 0x00980900, "Brightness", range 0,255
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: "Brightness", default -8193, current 128
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,255
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: "Contrast", default 57343, current 32
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: found control 0x00980902, "Saturation", range 0,255
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: "Saturation", default 57343, current 32
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: found control 0x00980913, "Gain", range 0,255
[1] [NTC] [VID] [Jun 02 09:12:26] v4l2_scan_controls: "Gain", default 57343, current 0
[1] [DBG] [VID] [Jun 02 09:12:26] v4l2_set_mmap: mmap information: frames=4
[1] [DBG] [VID] [Jun 02 09:12:26] v4l2_set_mmap: 0 length=153600 Address (76bd7000)
[1] [DBG] [VID] [Jun 02 09:12:26] v4l2_set_mmap: 1 length=153600 Address (76bb1000)
[1] [DBG] [VID] [Jun 02 09:12:26] v4l2_set_mmap: 2 length=153600 Address (76b8b000)
[1] [DBG] [VID] [Jun 02 09:12:26] v4l2_set_mmap: 3 length=153600 Address (76b65000)
[1] [ERR] [VID] [Jun 02 09:12:26] v4l2_set_mmap: Error starting stream. VIDIOC_STREAMON: No space left on device
[1] [NTC] [VID] [Jun 02 09:12:26] vid_v4lx_start: Using V4L1
[1] [NTC] [ALL] [Jun 02 09:12:26] image_ring_resize: Resizing pre_capture buffer to 1 items
[0] [DBG] [ALL] [Jun 02 09:12:27] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:28] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:29] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:30] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:31] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:32] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:33] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:34] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:35] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[0] [DBG] [ALL] [Jun 02 09:12:36] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [ERR] [ALL] [Jun 02 09:12:36] motion_init: Error capturing first image
[1] [NTC] [STR] [Jun 02 09:12:36] http_bindsock: motion-stream testing : IPV4 addr: 127.0.0.1 port: 8081
[1] [NTC] [STR] [Jun 02 09:12:36] http_bindsock: motion-stream Bound : IPV4 addr: 127.0.0.1 port: 8081
[1] [NTC] [ALL] [Jun 02 09:12:36] motion_init: Started motion-stream server in port 8081
[1] [ERR] [ALL] [Jun 02 09:12:36] motion_loop: Video device fatal error - Closing video device
[1] [NTC] [VID] [Jun 02 09:12:36] vid_close: Closing video device /dev/video0
[1] [INF] [ALL] [Jun 02 09:12:36] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 21
[1] [DBG] [ALL] [Jun 02 09:12:36] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:36] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 21
[0] [DBG] [ALL] [Jun 02 09:12:37] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [DBG] [ALL] [Jun 02 09:12:37] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:37] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 16
[1] [DBG] [ALL] [Jun 02 09:12:37] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:37] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 16
[0] [DBG] [ALL] [Jun 02 09:12:38] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [DBG] [ALL] [Jun 02 09:12:38] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:38] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 13
[1] [DBG] [ALL] [Jun 02 09:12:38] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:38] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 13
[0] [DBG] [ALL] [Jun 02 09:12:39] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [DBG] [ALL] [Jun 02 09:12:39] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:39] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 12
[1] [DBG] [ALL] [Jun 02 09:12:39] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:39] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 12
[0] [DBG] [ALL] [Jun 02 09:12:40] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [WRN] [ALL] [Jun 02 09:12:40] motion_loop: Retrying until successful connection with camera
[1] [NTC] [VID] [Jun 02 09:12:40] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [NTC] [VID] [Jun 02 09:12:40] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "UVC Camera (046d:0825)"
cap.bus_info: "usb-dwc_otg.0-1.1.3"
cap.capabilities=0x04000001
------------------------
[1] [NTC] [VID] [Jun 02 09:12:40] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] [Jun 02 09:12:40] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] [Jun 02 09:12:40] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] [Jun 02 09:12:40] v4l2_select_input: - CAMERA
[1] [ERR] [VID] [Jun 02 09:12:40] v4l2_select_input: Error selecting input 0 VIDIOC_S_INPUT: Device or resource busy
[1] [NTC] [VID] [Jun 02 09:12:40] vid_v4lx_start: Using V4L1
[1] [ERR] [ALL] [Jun 02 09:12:40] motion_loop: Video device fatal error - Closing video device
[1] [NTC] [VID] [Jun 02 09:12:40] vid_close: Closing video device /dev/video0
[1] [INF] [ALL] [Jun 02 09:12:40] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[1] [DBG] [ALL] [Jun 02 09:12:40] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:40] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[0] [DBG] [ALL] [Jun 02 09:12:41] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [DBG] [ALL] [Jun 02 09:12:41] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:41] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[1] [DBG] [ALL] [Jun 02 09:12:41] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:41] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[0] [DBG] [ALL] [Jun 02 09:12:42] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [DBG] [ALL] [Jun 02 09:12:42] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:42] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[1] [DBG] [ALL] [Jun 02 09:12:42] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:42] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
^C[0] [DBG] [ALL] [Jun 02 09:12:43] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
[1] [DBG] [ALL] [Jun 02 09:12:43] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:12:43] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[1] [DBG] [ALL] [Jun 02 09:12:43] motion_loop: vid_return_code 1
[1] [DBG] [ALL] [Jun 02 09:12:43] motion_loop: End of event 1
[1] [INF] [ALL] [Jun 02 09:12:43] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[0] [DBG] [ALL] [Jun 02 09:12:44] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 1
[0] [NTC] [STR] [Jun 02 09:12:44] httpd_run: motion-httpd - Finishing
[0] [NTC] [STR] [Jun 02 09:12:44] httpd_run: motion-httpd Closing
[0] [NTC] [STR] [Jun 02 09:12:44] motion_web_control: motion-httpd thread exit
[1] [NTC] [ALL] [Jun 02 09:12:44] motion_loop: Thread exiting
[1] [NTC] [STR] [Jun 02 09:12:44] stream_stop: Closing motion-stream listen socket & active motion-stream sockets
[1] [NTC] [STR] [Jun 02 09:12:44] stream_stop: Closed motion-stream listen socket & active motion-stream sockets
[0] [DBG] [ALL] [Jun 02 09:12:45] main: DEBUG-1 threads_running 0 motion_threads_running 0 , finish 1
[0] [NTC] [ALL] [Jun 02 09:12:45] main: Threads finished
I have installed strace to help debugging. Here's the output:
root@OpenWrt:/tmp# strace -f motion
execve("/usr/bin/motion", ["motion"], [/* 24 vars */]) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773da000
stat("/etc/ld.so.cache", 0x7fc1f5b0) = -1 ENOENT (No such file or directory)
open("/lib/libm.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=85067, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\200\26\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 151552, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x773a0000
old_mmap(0x773a0000, 84608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x773a0000
old_mmap(0x773c4000, 3147, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x14000) = 0x773c4000
close(3) = 0
munmap(0x773d9000, 4096) = 0
open("/lib/libpthread.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=78650, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320?\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 155648, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7737a000
old_mmap(0x7737a000, 73752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x7737a000
old_mmap(0x7739c000, 4922, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x7739c000
old_mmap(0x7739e000, 5216, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7739e000
close(3) = 0
munmap(0x773d9000, 4096) = 0
open("/lib/libjpeg.so.62", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=124311, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0000\36\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 192512, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7734b000
old_mmap(0x7734b000, 123364, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x7734b000
old_mmap(0x77379000, 1431, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1e000) = 0x77379000
close(3) = 0
munmap(0x773d9000, 4096) = 0
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=76247, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\3206\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 143360, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x77328000
old_mmap(0x77328000, 75840, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x77328000
old_mmap(0x7734a000, 2519, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x7734a000
close(3) = 0
munmap(0x773d9000, 4096) = 0
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=355504, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\320\237\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 442368, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x772bc000
old_mmap(0x772bc000, 351956, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x772bc000
old_mmap(0x77321000, 7344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x55000) = 0x77321000
old_mmap(0x77323000, 17508, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x77323000
close(3) = 0
munmap(0x773d9000, 4096) = 0
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=355504, ...}) = 0
close(3) = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=28966, ...}) = 0
open("/lib/libdl.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=12502, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\260\n\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 81920, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x772a8000
old_mmap(0x772a8000, 9344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x772a8000
old_mmap(0x772ba000, 4310, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x772ba000
close(3) = 0
munmap(0x773d9000, 4096) = 0
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=355504, ...}) = 0
close(3) = 0
open("/lib/libgcc_s.so.1", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=76247, ...}) = 0
close(3) = 0
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=355504, ...}) = 0
close(3) = 0
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=355504, ...}) = 0
close(3) = 0
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=355504, ...}) = 0
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|0x4000000, -1, 0) = 0x773d9000
set_thread_area(0x773e0440) = 0
mprotect(0x7739c000, 4096, PROT_READ) = 0
mprotect(0x77321000, 4096, PROT_READ) = 0
mprotect(0x773db000, 4096, PROT_READ) = 0
mprotect(0x772ba000, 4096, PROT_READ) = 0
set_tid_address(0x773d9068) = 3232
SYS_4309() = 0
rt_sigaction(SIGRT_0, {0x8, [RT_69 RT_70 RT_71 RT_72 RT_73 RT_74 RT_75 RT_76 RT_78 RT_83 RT_84 RT_86 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], SA_RESTART|SA_INTERRUPT|SA_NODEFER|0x73833a4}, NULL, 16) = 0
rt_sigaction(SIGRT_1, {0x10000008, [RT_69 RT_70 RT_71 RT_72 RT_73 RT_74 RT_75 RT_76 RT_78 RT_83 RT_84 RT_86 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], SA_RESTART|SA_INTERRUPT|SA_NODEFER|0x7383280}, NULL, 16) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_0 RT_1], NULL, 16) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
rt_sigaction(SIGCHLD, {0x10000, [RT_69 RT_71 RT_72 RT_74 RT_75 RT_76 RT_78 RT_81 RT_82 RT_83 RT_84 RT_86 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], 0x404780 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGPIPE, {0x10000, [RT_69 RT_71 RT_72 RT_74 RT_75 RT_76 RT_78 RT_81 RT_82 RT_83 RT_84 RT_86 RT_89 RT_90 RT_91 RT_93 RT_94 RT_95], 0x404780 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGALRM, {0x10000000, [RT_68 RT_69 RT_71 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], 0x4044c0 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGHUP, {0x10000000, [RT_68 RT_69 RT_71 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], 0x4044c0 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGINT, {0x10000000, [RT_68 RT_69 RT_71 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], 0x4044c0 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGQUIT, {0x10000000, [RT_68 RT_69 RT_71 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], 0x4044c0 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGTERM, {0x10000000, [RT_68 RT_69 RT_71 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], 0x4044c0 /* SA_??? */}, NULL, 16) = 0
rt_sigaction(SIGUSR1, {0x10000000, [RT_68 RT_69 RT_71 RT_76 RT_77 RT_78 RT_79 RT_80 RT_81 RT_87 RT_88 RT_89 RT_90 RT_91 RT_92 RT_93 RT_94 RT_95], 0x4044c0 /* SA_??? */}, NULL, 16) = 0
brk(0) = 0xabc000
brk(0xabd000) = 0xabd000
brk(0xac3000) = 0xac3000
stat64(0x7730e4f4, 0x7fc1e568) = 0
stat64(0x7fc1ffa7, 0x7fc1e568) = 0
open("/tmp/motion.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/root/.motion/motion.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/motion.conf", O_RDONLY) = 3
ioctl(3, TIOCNXCL, 0x7fc1e680) = -1 ENOTTY (Inappropriate ioctl for device)
brk(0xac4000) = 0xac4000
socket(PF_FILE, SOCK_DGRAM, 0) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
fcntl64(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
connect(4, {sa_family=AF_FILE, path="/dev/log"}, 16) = 0
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<13>Jun 2 09:16:32 syslog: [0] "..., 106, MSG_NOSIGNAL) = 106
write(2, "[0] [NTC] [ALL] conf_load: Proce"..., 78[0] [NTC] [ALL] conf_load: Processing thread 0 - config file /etc/motion.conf
) = 78
read(3, "# Rename this distribution examp"..., 4096) = 4096
read(3, "fter each http request.\n# force:"..., 4096) = 4096
read(3, "t triggers the end of an event\n#"..., 4096) = 4096
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 103, MSG_NOSIGNAL) = 103
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 76[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_movies"
) = 76
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 109, MSG_NOSIGNAL) = 109
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 82[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_output_debug_movies"
) = 82
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 99, MSG_NOSIGNAL) = 99
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 72[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_timelapse"
) = 72
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 104, MSG_NOSIGNAL) = 104
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 77[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_timelapse_mode"
) = 77
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 93, MSG_NOSIGNAL) = 93
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 66[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_bps"
) = 66
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 106, MSG_NOSIGNAL) = 106
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 79[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_variable_bitrate"
) = 79
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 101, MSG_NOSIGNAL) = 101
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 74[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_video_codec"
) = 74
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 101, MSG_NOSIGNAL) = 101
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 74[0] [ALR] [ALL] conf_cmdparse: Unknown config option "ffmpeg_deinterlace"
) = 74
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 95, MSG_NOSIGNAL) = 95
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 68[0] [ALR] [ALL] conf_cmdparse: Unknown config option "sdl_threadnr"
) = 68
read(3, "disable extpipe (default: off)\nu"..., 4096) = 4096
read(3, " always\n# point to the latest sn"..., 4096) = 4096
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 97, MSG_NOSIGNAL) = 97
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 70[0] [ALR] [ALL] conf_cmdparse: Unknown config option "movie_filename"
) = 70
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<9>Jun 2 09:16:32 syslog: [0] ["..., 101, MSG_NOSIGNAL) = 101
write(2, "[0] [ALR] [ALL] conf_cmdparse: U"..., 74[0] [ALR] [ALL] conf_cmdparse: Unknown config option "timelapse_filename"
) = 74
read(3, "rack_maxx 200\n\n# Minimum value o"..., 4096) = 4096
read(3, "lt value:\n# insert into security"..., 4096) = 2413
read(3, "", 4096) = 0
close(3) = 0
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 3
read(3, "EST\n", 68) = 4
close(3) = 0
send(4, "<13>Jun 2 09:16:32 syslog: [0] "..., 87, MSG_NOSIGNAL) = 87
write(2, "[0] [NTC] [ALL] motion_startup: "..., 59[0] [NTC] [ALL] motion_startup: Motion trunkREV528 Started
) = 59
open("/tmp/motion.log", O_WRONLY|O_CREAT|O_APPEND, 0666) = 3
ioctl(3, TIOCNXCL, 0x7fc1f668) = -1 ENOTTY (Inappropriate ioctl for device)
time([1338628592]) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
send(4, "<13>Jun 2 09:16:32 syslog: [0] "..., 94, MSG_NOSIGNAL) = 94
write(2, "[0] [NTC] [ALL] motion_startup: "..., 66[0] [NTC] [ALL] motion_startup: Logging to file (/tmp/motion.log)
) = 66
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
write(3, "[0] [NTC] [ALL] [Jun 02 09:16:32"..., 87) = 87
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
write(3, "[0] [NTC] [ALL] [Jun 02 09:16:32"..., 70) = 70
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
write(3, "[0] [NTC] [ALL] [Jun 02 09:16:32"..., 74) = 74
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
write(3, "[0] [NTC] [ALL] [Jun 02 09:16:32"..., 81) = 81
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
time(NULL) = 1338628592
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
open("/etc/TZ", O_RDONLY) = 5
read(5, "EST\n", 68) = 4
close(5) = 0
write(3, "[0] [NTC] [ALL] [Jun 02 09:16:32"..., 57) = 57
old_mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x770a8000
mprotect(0x770a8000, 4096, PROT_NONE) = 0
clone(Process 3233 attached
child_stack=0x772a70e0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x772a7598, tls=0x772ae970, child_tidptr=0x772a7598) = 3233
[pid 3232] old_mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x76ea8000
[pid 3232] mprotect(0x76ea8000, 4096, PROT_NONE) = 0
[pid 3232] clone(Process 3234 attached
child_stack=0x770a70e0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x770a7598, tls=0x770ae970, child_tidptr=0x770a7598) = 3234
[pid 3232] time(NULL) = 1338628592
[pid 3232] open("/etc/TZ", O_RDONLY) = 5
[pid 3232] read(5, "EST\n", 68) = 4
[pid 3232] close(5) = 0
[pid 3232] time(NULL) = 1338628592
[pid 3232] open("/etc/TZ", O_RDONLY) = 5
[pid 3232] read(5, "EST\n", 68) = 4
[pid 3232] close(5) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 5
[pid 3232] read(5, "EST\n", 68) = 4
[pid 3232] close(5) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 5
[pid 3232] read(5, "EST\n", 68) = 4
[pid 3232] close(5) = 0
[pid 3232] write(3, "[0] [NTC] [ALL] [Jun 02 09:16:32"..., 81) = 81
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] SYS_4309() = 0
[pid 3234] rt_sigaction(SIGPIPE, {SIG_DFL, [], SA_NOCLDSTOP}, NULL, 16) = 0
[pid 3234] rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_NOCLDSTOP}, NULL, 16) = 0
[pid 3234] open("/etc/hosts", O_RDONLY) = 5
[pid 3234] ioctl(5, TIOCNXCL, 0x770a5868) = -1 ENOTTY (Inappropriate ioctl for device)
[pid 3234] brk(0xac5000) = 0xac5000
[pid 3234] read(5, "127.0.0.1 localhost\n", 4096) = 20
[pid 3234] close(5) = 0
[pid 3234] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 5
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] write(3, "[0] [NTC] [STR] [Jun 02 09:16:32"..., 100) = 100
[pid 3234] setsockopt(5, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
[pid 3234] bind(5, {sa_family=AF_INET, sin_port=htons(8080), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] write(3, "[0] [NTC] [STR] [Jun 02 09:16:32"..., 98) = 98
[pid 3234] listen(5, 10) = 0
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] write(3, "[0] [NTC] [STR] [Jun 02 09:16:32"..., 101) = 101
[pid 3233] SYS_4309() = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] futex(0xac290c, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 3234] futex(0xac290c, FUTEX_WAKE_PRIVATE, 1) = 1
[pid 3233] <... futex resumed> ) = 0
[pid 3234] time( <unfinished ...>
[pid 3233] futex(0xac290c, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid 3234] <... time resumed> NULL) = 1338628592
[pid 3233] <... futex resumed> ) = 0
[pid 3234] open("/etc/TZ", O_RDONLY <unfinished ...>
[pid 3233] write(3, "[1] [NTC] [ALL] [Jun 02 09:16:32"..., 64 <unfinished ...>
[pid 3234] <... open resumed> ) = 6
[pid 3233] <... write resumed> ) = 64
[pid 3234] read(6, <unfinished ...>
[pid 3233] time( <unfinished ...>
[pid 3234] <... read resumed> "EST\n", 68) = 4
[pid 3233] <... time resumed> NULL) = 1338628592
[pid 3234] close(6 <unfinished ...>
[pid 3233] futex(0x77322060, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
[pid 3234] <... close resumed> ) = 0
[pid 3234] futex(0x77322060, FUTEX_WAKE_PRIVATE, 1) = 1
[pid 3234] time(NULL) = 1338628592
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] open("/etc/TZ", O_RDONLY) = 6
[pid 3234] read(6, "EST\n", 68) = 4
[pid 3234] close(6) = 0
[pid 3234] write(3, "[0] [NTC] [STR] [Jun 02 09:16:32"..., 103) = 103
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3233] <... futex resumed> ) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] futex(0x77322060, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 93) = 93
[pid 3233] open("/dev/video0", O_RDWR) = 6
[pid 3233] ioctl(6, 0x40685600, 0xac3bd0) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 228) = 228
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 71) = 71
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 67) = 67
[pid 3233] ioctl(6, 0xc050561a, 0x772a5ca0) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 105) = 105
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 62) = 62
[pid 3233] ioctl(6, 0xc0045627, 0x772a5ca0) = 0
[pid 3233] ioctl(6, 0x40085617, 0x772a5c20) = -1 EINVAL (Invalid argument)
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [WRN] [VID] [Jun 02 09:16:32"..., 89) = 89
[pid 3233] ioctl(6, 0xc0cc5640, 0xac3d04) = -1 EINVAL (Invalid argument)
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 100) = 100
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 75) = 75
[pid 3233] ioctl(6, 0xc0405602, 0x772a5db4) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 83) = 83
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628592
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:32"..., 106) = 106
[pid 3233] ioctl(6, 0xc0405602, 0x772a5db4) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 72) = 72
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 95) = 95
[pid 3233] ioctl(6, 0xc0405602, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 76) = 76
[pid 3233] ioctl(6, 0xc0cc5640[0] [NTC] [ALL] [Jun 02 09:16:32] motion_startup: Using log type (ALL) log level (ALL)
[0] [NTC] [ALL] [Jun 02 09:16:32] main: Motion running in setup mode.
[0] [NTC] [ALL] [Jun 02 09:16:32] main: Thread 1 is from /etc/motion.conf
[0] [NTC] [ALL] [Jun 02 09:16:32] main: Thread 1 is device: /dev/video0 input -1
[0] [NTC] [ALL] [Jun 02 09:16:32] main: Stream port 8081
[0] [NTC] [ALL] [Jun 02 09:16:32] main: Waiting for threads to finish, pid: 3232
[0] [NTC] [STR] [Jun 02 09:16:32] httpd_run: motion-httpd testing : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Jun 02 09:16:32] httpd_run: motion-httpd Bound : IPV4 addr: 127.0.0.1 port: 8080
[0] [NTC] [STR] [Jun 02 09:16:32] httpd_run: motion-httpd/trunkREV528 running, accepting connections
[1] [NTC] [ALL] [Jun 02 09:16:32] motion_init: Thread 1 started
[0] [NTC] [STR] [Jun 02 09:16:32] httpd_run: motion-httpd: waiting for data on 127.0.0.1 port TCP 8080
[1] [NTC] [VID] [Jun 02 09:16:32] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "UVC Camera (046d:0825)"
cap.bus_info: "usb-dwc_otg.0-1.1.3"
cap.capabilities=0x04000001
------------------------
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_select_input: - CAMERA
[1] [WRN] [VID] [Jun 02 09:16:32] v4l2_select_input: Device doesn't support VIDIOC_G_STD
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_set_pix_format: Config palette index 17 (YU12) doesn't work.
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_set_pix_format: Supported palettes:
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_set_pix_format: (0) YUYV (YUV 4:2:2 (YUYV))
[1] [NTC] [VID] [Jun 02 09:16:32] v4l2_set_pix_format: 0 - YUV 4:2:2 (YUYV) (compressed : 0) (0x56595559)
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_set_pix_format: (1) MJPG (MJPEG)
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_set_pix_format: 1 - MJPEG (compressed : 1) (0x47504a4d)
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_set_pix_format Selected palette YUYV
, 0xac3d04) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 89) = 89
[pid 3233] ioctl(6, 0xc0cc5605, 0xac3d04) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 142) = 142
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = -1 EINVAL (Invalid argument)
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 107) = 107
[pid 3233] ioctl(6, 0xc008561b, 0x772a5dac) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 96) = 96
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 105) = 105
[pid 3233] ioctl(6, 0xc008561b, 0x772a5dac) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 93) = 93
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 107) = 107
[pid 3233] ioctl(6, 0xc008561b, 0x772a5dac) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 95) = 95
[pid 3233] ioctl(6, 0xc0445624, 0x772a5db4) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 101) = 101
[pid 3233] ioctl(6, 0xc008561b, 0x772a5dac) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 88) = 88
[pid 3233] ioctl(6, 0xc0145608, 0xac3dd0) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [DBG] [VID] [Jun 02 09:16:33"..., 76) = 76
[pid 3233] ioctl(6, 0xc0445609, 0x772a5db4) = 0
[pid 3233] old_mmap(NULL, 153600, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = 0x76e82000
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [DBG] [VID] [Jun 02 09:16:33"..., 84) = 84
[pid 3233] ioctl(6, 0xc0445609, 0x772a5db4) = 0
[pid 3233] old_mmap(NULL, 153600, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0x26000) = 0x76e5c000
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [DBG] [VID] [Jun 02 09:16:33"..., 84) = 84
[pid 3233] ioctl(6, 0xc0445609, 0x772a5db4) = 0
[pid 3233] old_mmap(NULL, 153600, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0x4c000) = 0x76e36000
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [DBG] [VID] [Jun 02 09:16:33"..., 84) = 84
[pid 3233] ioctl(6, 0xc0445609, 0x772a5db4) = 0
[pid 3233] old_mmap(NULL, 153600, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0x72000) = 0x76e10000
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [DBG] [VID] [Jun 02 09:16:33"..., 84) = 84
[pid 3233] ioctl(6, 0xc044560f, 0xac3de4) = 0
[pid 3233] ioctl(6, 0xc044560f, 0xac3de4) = 0
[pid 3233] ioctl(6, 0xc044560f, 0xac3de4) = 0
[pid 3233] ioctl(6, 0xc044560f, 0xac3de4) = 0
[pid 3233] ioctl(6, 0x80045612, 0x772a5da8) = -1 ENOSPC (No space left on device)
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [ERR] [VID] [Jun 02 09:16:33"..., 113) = 113
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:33"..., 61) = 61
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628593
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [NTC] [ALL] [Jun 02 09:16:33"..., 92) = 92
[pid 3233] brk(0xae1000) = 0xae1000
[pid 3233] brk(0xafd000) = 0xafd000
[pid 3233] brk(0xb19000) = 0xb19000
[pid 3233] old_mmap(NULL, 311296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x76dc4000
[pid 3233] brk(0xb35000) = 0xb35000
[pid 3233] brk(0xb48000) = 0xb48000
[pid 3233] brk(0xb5a000) = 0xb5a000
[pid 3233] old_mmap(NULL, 311296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x76d78000
[pid 3233] old_mmap(NULL, 311296, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0, 0) = 0x76d2c000
[pid 3233] brk(0xb80000) = 0xb80000
[pid 3233] brk(0xb9c000) = 0xb9c000
[pid 3233] brk(0xbd4000) = 0xbd4000
[pid 3233] nanosleep({2, 0}, <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628593
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628593
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:33"..., 100) = 100
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0}[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_do_set_pix_format: Testing palette YUYV (320x240)
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_do_set_pix_format: Using palette YUYV (320x240) bytesperlines 640 sizeimage 153600 colorspace 00000008
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: found control 0x00980900, "Brightness", range 0,255
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: "Brightness", default -8193, current 128
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,255
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: "Contrast", default 57343, current 32
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: found control 0x00980902, "Saturation", range 0,255
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: "Saturation", default 57343, current 32
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: found control 0x00980913, "Gain", range 0,255
[1] [NTC] [VID] [Jun 02 09:16:33] v4l2_scan_controls: "Gain", default 57343, current 0
[1] [DBG] [VID] [Jun 02 09:16:33] v4l2_set_mmap: mmap information: frames=4
[1] [DBG] [VID] [Jun 02 09:16:33] v4l2_set_mmap: 0 length=153600 Address (76e82000)
[1] [DBG] [VID] [Jun 02 09:16:33] v4l2_set_mmap: 1 length=153600 Address (76e5c000)
[1] [DBG] [VID] [Jun 02 09:16:33] v4l2_set_mmap: 2 length=153600 Address (76e36000)
[1] [DBG] [VID] [Jun 02 09:16:33] v4l2_set_mmap: 3 length=153600 Address (76e10000)
[1] [ERR] [VID] [Jun 02 09:16:33] v4l2_set_mmap: Error starting stream. VIDIOC_STREAMON: No space left on device
[1] [NTC] [VID] [Jun 02 09:16:33] vid_v4lx_start: Using V4L1
[1] [NTC] [ALL] [Jun 02 09:16:33] image_ring_resize: Resizing pre_capture buffer to 1 items
[0] [DBG] [ALL] [Jun 02 09:16:33] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628594
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628594
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:34"..., 100) = 100
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0}[0] [DBG] [ALL] [Jun 02 09:16:34] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] nanosleep({2, 0}, <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628595
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628595
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:35"..., 100) = 100
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0}[0] [DBG] [ALL] [Jun 02 09:16:35] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628596
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628596
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:36"..., 100) = 100
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0}[0] [DBG] [ALL] [Jun 02 09:16:36] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] nanosleep({2, 0}, <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628597
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628597
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:37"..., 100) = 100
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0}[0] [DBG] [ALL] [Jun 02 09:16:37] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628598
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628598
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:38"..., 100) = 100
[pid 3232] nanosleep({1, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0}[0] [DBG] [ALL] [Jun 02 09:16:38] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] nanosleep({2, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] time(NULL) = 1338628599
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628599
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:39"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [0] [DBG] [ALL] [Jun 02 09:16:39] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628600
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628600
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:40"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [0] [DBG] [ALL] [Jun 02 09:16:40] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] nanosleep({2, 0}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628601
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628601
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:41"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [0] [DBG] [ALL] [Jun 02 09:16:41] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628602
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] time(NULL) = 1338628602
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 7
[pid 3232] read(7, "EST\n", 68) = 4
[pid 3232] close(7) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:42"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [0] [DBG] [ALL] [Jun 02 09:16:42] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 7
[pid 3233] read(7, "EST\n", 68) = 4
[pid 3233] close(7) = 0
[pid 3233] write(3, "[1] [ERR] [ALL] [Jun 02 09:16:43"..., 75) = 75
[pid 3233] open("/etc/hosts", O_RDONLY) = 7
[pid 3233] ioctl(7, TIOCNXCL, 0x772a5198) = -1 ENOTTY (Inappropriate ioctl for device)
[pid 3233] brk(0xbd5000) = 0xbd5000
[pid 3233] read(7, "127.0.0.1 localhost\n", 4096) = 20
[pid 3233] close(7) = 0
[pid 3233] socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 7
[pid 3233] setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] write(3, "[1] [NTC] [STR] [Jun 02 09:16:43"..., 105) = 105
[pid 3233] bind(7, {sa_family=AF_INET, sin_port=htons(8081), sin_addr=inet_addr("127.0.0.1")}, 16) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] write(3, "[1] [NTC] [STR] [Jun 02 09:16:43"..., 103) = 103
[pid 3233] listen(7, 10) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] write(3, "[1] [NTC] [ALL] [Jun 02 09:16:43"..., 89) = 89
[pid 3233] gettimeofday({1338628603, 589366}, NULL) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] write(3, "[1] [ERR] [ALL] [Jun 02 09:16:43"..., 95) = 95
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 8
[pid 3233] read(8, "EST\n", 68) = 4
[pid 3233] close(8) = 0
[pid 3233] write(3, "[1] [NTC] [VID] [Jun 02 09:16:43"..., 78) = 78
[pid 3233] close(6) = 0
[pid 3233] munmap(0, 0) = -1 EINVAL (Invalid argument)
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628603
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:43"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628603, 661260}, NULL) = 0
[pid 3233] nanosleep({0, 428106000}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628603
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] time(NULL) = 1338628603
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:43"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [1] [ERR] [ALL] [Jun 02 09:16:43] motion_init: Error capturing first image
[1] [NTC] [STR] [Jun 02 09:16:43] http_bindsock: motion-stream testing : IPV4 addr: 127.0.0.1 port: 8081
[1] [NTC] [STR] [Jun 02 09:16:43] http_bindsock: motion-stream Bound : IPV4 addr: 127.0.0.1 port: 8081
[1] [NTC] [ALL] [Jun 02 09:16:43] motion_init: Started motion-stream server in port 8081
[1] [ERR] [ALL] [Jun 02 09:16:43] motion_loop: Video device fatal error - Closing video device
[1] [NTC] [VID] [Jun 02 09:16:43] vid_close: Closing video device /dev/video0
[1] [INF] [ALL] [Jun 02 09:16:43] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 21
[0] [DBG] [ALL] [Jun 02 09:16:43] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628604, 91554}, NULL) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:44"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:44"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628604, 163690}, NULL) = 0
[pid 3233] nanosleep({0, 427755000}, 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628604, 592444}, NULL) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:44"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628604
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:44"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628604, 665803}, NULL) = 0
[pid 3233] nanosleep({0, 426488000}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628604
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] time(NULL) = 1338628604
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:44"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [1] [DBG] [ALL] [Jun 02 09:16:44] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:44] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 16
[1] [DBG] [ALL] [Jun 02 09:16:44] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:44] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 16
[0] [DBG] [ALL] [Jun 02 09:16:44] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628605, 94793}, NULL) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:45"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:45"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628605, 159911}, NULL) = 0
[pid 3233] nanosleep({0, 434611000}, 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628605, 595386}, NULL) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:45"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628605
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:45"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628605, 658405}, NULL) = 0
[pid 3233] nanosleep({0, 436680000}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628605
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] time(NULL) = 1338628605
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:45"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [1] [DBG] [ALL] [Jun 02 09:16:45] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:45] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 13
[1] [DBG] [ALL] [Jun 02 09:16:45] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:45] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 13
[0] [DBG] [ALL] [Jun 02 09:16:45] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628606, 96651}, NULL) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:46"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:46"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628606, 167098}, NULL) = 0
[pid 3233] nanosleep({0, 429189000}, 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628606, 597143}, NULL) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:46"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628606
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:46"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628606, 676326}, NULL) = 0
[pid 3233] nanosleep({0, 420429000}, <unfinished ...>
[pid 3234] <... _newselect resumed> ) = 0 (Timeout)
[pid 3234] _newselect(6, [5], NULL, NULL, {1, 0} <unfinished ...>
[pid 3232] <... nanosleep resumed> 0x7fc1f814) = 0
[pid 3232] time(NULL) = 1338628606
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] time(NULL) = 1338628607
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] open("/etc/TZ", O_RDONLY) = 6
[pid 3232] read(6, "EST\n", 68) = 4
[pid 3232] close(6) = 0
[pid 3232] write(3, "[0] [DBG] [ALL] [Jun 02 09:16:46"..., 100) = 100
[pid 3232] nanosleep({1, 0}, [1] [DBG] [ALL] [Jun 02 09:16:46] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:46] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 12
[1] [DBG] [ALL] [Jun 02 09:16:46] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:46] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 12
[0] [DBG] [ALL] [Jun 02 09:16:46] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 0
<unfinished ...>
[pid 3233] <... nanosleep resumed> 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628607, 98676}, NULL) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:47"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:47"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628607, 155558}, NULL) = 0
[pid 3233] nanosleep({0, 442653000}, 0x772a5fac) = 0
[pid 3233] gettimeofday({1338628607, 599223}, NULL) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [DBG] [ALL] [Jun 02 09:16:47"..., 65) = 65
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] time(NULL) = 1338628607
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] open("/etc/TZ", O_RDONLY) = 6
[pid 3233] read(6, "EST\n", 68) = 4
[pid 3233] close(6) = 0
[pid 3233] write(3, "[1] [INF] [ALL] [Jun 02 09:16:47"..., 129) = 129
[pid 3233] _newselect(8, [7], NULL, NULL, {0, 0}) = 0 (Timeout)
[pid 3233] gettimeofday({1338628607, 658873}, NULL) = 0
[pid 3233] nanosleep({0, 439858000}, ^C <unfinished ...>
Process 3233 detached
Process 3234 detached
root@OpenWrt:/tmp# [1] [DBG] [ALL] [Jun 02 09:16:47] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:47] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[1] [DBG] [ALL] [Jun 02 09:16:47] motion_loop: vid_return_code 1
[1] [INF] [ALL] [Jun 02 09:16:47] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[0] [NTC] [STR] [Jun 02 09:16:47] httpd_run: motion-httpd - Finishing
[0] [NTC] [STR] [Jun 02 09:16:47] httpd_run: motion-httpd Closing
[0] [NTC] [STR] [Jun 02 09:16:47] motion_web_control: motion-httpd thread exit
[0] [DBG] [ALL] [Jun 02 09:16:48] main: DEBUG-2 threads_running 1 motion_threads_running 1 finish 1
[1] [DBG] [ALL] [Jun 02 09:16:48] motion_loop: vid_return_code 1
[1] [DBG] [ALL] [Jun 02 09:16:48] motion_loop: End of event 1
[1] [INF] [ALL] [Jun 02 09:16:48] motion_loop: Raw changes: 0 - changes after 'EedDl': 0 - labels: 0 - noise level: 11
[1] [NTC] [ALL] [Jun 02 09:16:48] motion_loop: Thread exiting
[1] [NTC] [STR] [Jun 02 09:16:48] stream_stop: Closing motion-stream listen socket & active motion-stream sockets
[1] [NTC] [STR] [Jun 02 09:16:48] stream_stop: Closed motion-stream listen socket & active motion-stream sockets
[0] [DBG] [ALL] [Jun 02 09:16:49] main: DEBUG-1 threads_running 0 motion_threads_running 0 , finish 1
[0] [NTC] [ALL] [Jun 02 09:16:49] main: Threads finished
[0] [NTC] [ALL] [Jun 02 09:16:50] main: Motion terminating
[0] [ERR] [ALL] [Jun 02 09:16:50] motion_remove_pid: Error removing pid file: No such file or directory
[0] [NTC] [ALL] [Jun 02 09:16:50] motion_remove_pid: Closing logfile (/tmp/motion.log).
Environment
Motion version: |
Motion trunkREV528 |
ffmpeg version: |
0.8.7 |
Libraries: |
ffmpeg |
Server OS: |
OpenWrt Attitude Adjustment (trunk) |
--
NicolasMarchildon - 02 Jun 2012
Answer
That error message is related to bandwidth of USB, try to connect only the webcam to USB port and unplug others.
--
AngelCarpintero - 07 Jun 2012