New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording video in endless loop #70

Closed
cedricve opened this Issue Feb 16, 2017 · 2 comments

Comments

Projects
None yet
1 participant
@cedricve
Copy link
Member

cedricve commented Feb 16, 2017

Random behaviour, it looks like the video recording runs in an endless loop. Can't reproduce.

@cedricve cedricve added the bug label Feb 16, 2017

@cedricve cedricve self-assigned this Feb 16, 2017

@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Feb 20, 2017

Looks like a deadlock issue, due to an unexpected crash. The machinery is getting reconfigured, but is getting locked after the 3rd detection. Apparently the crash caused the IoVideo to get locked.

28/02/2017 07:35:02.903 INFO  [trivial] Stopping cloud service
28/02/2017 07:35:02.906 INFO  [trivial] Starting cloud service: S3
28/02/2017 07:35:02.907 INFO  [trivial] Stopping streaming
28/02/2017 07:35:03.037 INFO  [trivial] Stream: Succesfully closed streaming
28/02/2017 07:35:03.037 INFO  [trivial] Stopping capture device
28/02/2017 07:35:03.954 INFO  [trivial] IoVideo: framerate is too fast, can't record video at this speed (7/FPS)
28/02/2017 07:35:09.788 INFO  [trivial] Starting capture device: USBCamera
28/02/2017 07:35:09.967 INFO  [trivial] Stream: Configured stream on port 8889 with quality: 75
28/02/2017 07:35:09.968 INFO  [trivial] Starting conditions: Enabled
28/02/2017 07:35:09.968 INFO  [trivial] Starting algorithm: DifferentialCollins
28/02/2017 07:35:09.968 INFO  [trivial] Starting expositor: Hull
28/02/2017 07:35:10.156 INFO  [trivial] Starting heuristic: Sequence
28/02/2017 07:35:10.156 INFO  [trivial] Starting io devices: Video
28/02/2017 07:35:10.410 INFO  [business] S3: uploading image to bucket.
28/02/2017 07:36:58.880 INFO  [business] HullExpositor: activity detected from (446,261) to (467,287)
28/02/2017 07:49:17.154 INFO  [business] HullExpositor: activity detected from (348,247) to (368,267)
28/02/2017 07:59:41.490 INFO  [business] HullExpositor: activity detected from (541,243) to (565,263)
28/02/2017 07:59:42.782 INFO  [business] HullExpositor: activity detected from (533,237) to (565,259)
28/02/2017 08:00:25.106 INFO  [business] HullExpositor: activity detected from (479,245) to (513,277)
28/02/2017 08:00:26.394 INFO  [business] HullExpositor: activity detected from (458,245) to (501,287)
28/02/2017 08:00:26.883 INFO  [business] HullExpositor: activity detected from (452,266) to (473,287)
28/02/2017 08:00:28.689 INFO  [business] HullExpositor: activity detected from (444,255) to (464,275)
28/02/2017 08:00:29.978 INFO  [business] HullExpositor: activity detected from (407,257) to (491,299)
28/02/2017 08:00:30.466 INFO  [business] HullExpositor: activity detected from (397,256) to (427,297)
28/02/2017 08:00:30.466 INFO  [business] Heuristic is valid; numberOfChanges: 21, Sequence duration: 2
28/02/2017 08:00:30.947 INFO  [business] Executing IO devices for 1 detection(s)
28/02/2017 08:00:31.123 INFO  [business] HullExpositor: activity detected from (386,262) to (414,298)
28/02/2017 08:00:31.124 INFO  [business] Heuristic is valid; numberOfChanges: 20, Sequence duration: 2
28/02/2017 08:00:31.595 INFO  [business] Executing IO devices for 1 detection(s)
28/02/2017 08:00:31.646 INFO  [business] HullExpositor: activity detected from (378,275) to (406,299)
28/02/2017 08:00:39.265 INFO  [business] S3: uploading image to bucket.
28/02/2017 08:00:48.799 INFO  [business] HullExpositor: activity detected from (378,259) to (438,300)
28/02/2017 08:00:50.086 INFO  [business] HullExpositor: activity detected from (364,249) to (421,293)
28/02/2017 08:08:20.292 INFO  [trivial] Stream: opening socket for new client
28/02/2017 08:08:21.340 INFO  [trivial] Stream: opening socket for new client
28/02/2017 08:09:35.691 INFO  [business] HullExpositor: activity detected from (290,248) to (318,293)
28/02/2017 08:09:36.197 INFO  [business] HullExpositor: activity detected from (303,250) to (327,299)
28/02/2017 08:09:36.198 INFO  [business] Heuristic is valid; numberOfChanges: 20, Sequence duration: 2
28/02/2017 08:09:36.648 INFO  [business] Executing IO devices for 1 detection(s)
28/02/2017 08:09:36.829 INFO  [business] HullExpositor: activity detected from (312,252) to (340,294)
28/02/2017 08:09:36.829 INFO  [business] Heuristic is valid; numberOfChanges: 56, Sequence duration: 2
28/02/2017 08:09:37.305 INFO  [business] Executing IO devices for 1 detection(s)
28/02/2017 08:09:37.358 INFO  [business] HullExpositor: activity detected from (322,254) to (349,289)
28/02/2017 08:09:37.359 INFO  [business] Heuristic is valid; numberOfChanges: 36, Sequence duration: 2
28/02/2017 08:09:39.650 INFO  [business] Executing IO devices for 1 detection(s)
28/02/2017 08:09:42.679 INFO  [business] HullExpositor: activity detected from (296,249) to (353,293)
28/02/2017 08:09:44.262 INFO  [business] S3: uploading image to bucket.
28/02/2017 08:09:45.037 INFO  [business] HullExpositor: activity detected from (303,267) to (323,287)
28/02/2017 08:09:54.281 INFO  [business] HullExpositor: activity detected from (283,256) to (303,276)
28/02/2017 08:09:55.584 INFO  [business] HullExpositor: activity detected from (371,254) to (400,300)
28/02/2017 08:09:56.082 INFO  [business] HullExpositor: activity detected from (380,261) to (405,298)
28/02/2017 08:09:56.578 INFO  [business] HullExpositor: activity detected from (391,274) to (412,299)
28/02/2017 08:09:57.868 INFO  [business] HullExpositor: activity detected from (395,253) to (422,299)
28/02/2017 08:09:58.878 INFO  [business] HullExpositor: activity detected from (312,281) to (332,302)
28/02/2017 08:10:00.167 INFO  [business] HullExpositor: activity detected from (401,249) to (447,302)
28/02/2017 08:10:00.656 INFO  [business] HullExpositor: activity detected from (440,267) to (461,289)
28/02/2017 08:10:02.435 INFO  [business] HullExpositor: activity detected from (453,264) to (481,301)
28/02/2017 08:10:05.023 INFO  [business] HullExpositor: activity detected from (431,250) to (478,304)
28/02/2017 08:10:07.321 INFO  [business] HullExpositor: activity detected from (339,257) to (367,295)
28/02/2017 08:10:08.620 INFO  [business] HullExpositor: activity detected from (331,253) to (352,282)
28/02/2017 08:10:09.936 INFO  [business] HullExpositor: activity detected from (315,249) to (346,293)
28/02/2017 08:10:12.229 INFO  [business] HullExpositor: activity detected from (300,262) to (323,289)
28/02/2017 08:13:38.166 INFO  [business] HullExpositor: activity detected from (296,252) to (319,295)
28/02/2017 08:13:39.463 INFO  [business] HullExpositor: activity detected from (320,253) to (342,279)
28/02/2017 08:13:40.758 INFO  [business] HullExpositor: activity detected from (339,289) to (359,310)
28/02/2017 08:13:43.348 INFO  [business] HullExpositor: activity detected from (329,253) to (354,278)
28/02/2017 08:13:43.844 INFO  [business] HullExpositor: activity detected from (321,253) to (345,293)
28/02/2017 08:13:44.337 INFO  [business] HullExpositor: activity detected from (314,265) to (338,289)
28/02/2017 08:13:45.629 INFO  [business] HullExpositor: activity detected from (285,260) to (343,295)
28/02/2017 08:13:46.118 INFO  [business] HullExpositor: activity detected from (277,258) to (302,292)
28/02/2017 08:13:46.118 INFO  [business] Heuristic is valid; numberOfChanges: 25, Sequence duration: 2
28/02/2017 08:13:46.365 INFO  [business] Executing IO devices for 1 detection(s)
@cedricve

This comment has been minimized.

Copy link
Member

cedricve commented Mar 9, 2017

Issue resolved with a27f484.
Problem was that threads weren't marked as deattached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment