Raja-89
b52c71e438
avfilter/dnn: fix async teardown race condition in all backends
...
When the filter graph is torn down early (e.g. at EOF with -frames:v),
the main thread calls dnn_free_model and destroys the request queue
while async inference threads may still be running. When a detached
thread finishes and tries to push its result back to the destroyed
queue, it triggers a segmentation fault.
Add ff_dnn_wait_requests() to dnn_backend_common which blocks
until all allocated request items (ctx->nireq) have been safely
returned to the request_queue. Call it from dnn_free_model in the
torch, tensorflow, openvino, and onnx backends before destroying the queue.
2026-07-25 15:08:07 +00:00
..
2026-04-04 11:31:16 +00:00
2026-07-25 15:08:07 +00:00
2026-07-13 18:57:37 +09:00
2026-07-22 14:52:57 +02:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-30 11:05:29 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-11 19:32:17 -03:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-11 19:32:17 -03:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-05-25 22:21:41 +00:00
2026-03-21 00:44:30 +00:00
2026-06-13 21:41:05 +00:00
2026-04-08 11:52:44 -03:00
2026-07-13 18:16:18 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-04-10 15:12:18 +02:00
2026-06-13 21:41:05 +00:00
2026-04-28 12:29:37 +00:00
2026-06-22 11:43:51 +00:00
2026-04-10 15:12:18 +02:00
2026-07-22 02:50:50 +00:00
2026-06-23 17:15:02 +02:00
2026-05-16 17:22:45 +00:00
2026-06-23 22:38:55 +00:00
2026-04-12 20:02:18 +00:00
2026-03-29 09:38:01 +00:00
2026-06-13 21:41:05 +00:00
2026-06-22 20:06:40 +08:00
2026-07-24 14:06:09 +00:00
2026-06-03 01:45:08 +00:00
2026-06-08 02:20:53 +00:00
2026-06-13 21:41:05 +00:00
2026-04-28 12:29:37 +00:00
2026-04-10 22:02:00 +02:00
2026-04-10 15:12:18 +02:00
2026-07-05 09:02:40 +02:00
2026-07-13 18:16:18 +00:00
2026-04-28 06:14:38 +00:00
2026-06-23 19:22:21 +00:00
2026-05-15 18:19:40 -07:00
2026-06-23 19:15:57 +02:00
2026-07-14 19:45:02 +00:00
2026-04-28 14:57:34 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-02 03:16:42 +00:00
2026-06-28 19:33:23 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-05-03 13:23:21 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-04-28 12:29:37 +00:00
2026-04-28 12:29:37 +00:00
2026-06-13 21:41:05 +00:00
2026-06-15 03:15:19 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-22 20:06:40 +08:00
2026-06-02 00:52:03 +00:00
2026-04-28 12:29:37 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-07-13 17:14:54 +00:00
2026-04-21 16:47:05 +00:00
2026-04-30 08:33:31 -05:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-22 02:50:50 +00:00
2026-07-22 02:50:50 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-14 19:45:02 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-05-03 13:25:48 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:16:18 +00:00
2026-03-27 21:00:53 -03:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:38 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-24 19:09:44 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-02 18:23:18 +02:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-20 17:49:47 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-07-05 00:41:30 +00:00
2026-06-13 21:41:05 +00:00
2026-05-15 20:29:29 +02:00
2026-05-15 20:29:29 +02:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-05 22:31:27 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-30 11:15:33 +00:00
2026-07-08 12:37:35 +00:00
2026-06-23 19:22:21 +00:00
2026-06-23 19:22:21 +00:00
2026-06-10 15:08:12 +00:00
2026-04-28 06:14:38 +00:00
2026-04-28 06:14:38 +00:00
2026-04-28 06:14:38 +00:00
2026-04-28 06:14:38 +00:00
2026-07-13 18:57:37 +09:00
2026-05-31 21:20:54 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-04-13 19:49:32 +08:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-23 03:57:25 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:22:46 +00:00
2026-06-13 21:41:05 +00:00
2026-06-24 12:18:15 +00:00
2026-06-13 21:41:05 +00:00
2026-03-27 19:42:08 -03:00
2026-06-13 21:41:05 +00:00
2026-06-24 12:18:15 +00:00
2026-04-20 21:08:21 +02:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-07-07 17:43:18 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-04-01 21:56:37 +08:00
2026-06-26 21:15:23 +00:00
2026-03-31 11:17:51 +00:00
2026-07-13 16:40:41 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-07-13 18:57:37 +09:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-06-28 19:33:23 +00:00
2026-06-13 21:41:05 +00:00
2026-06-13 21:41:05 +00:00
2026-04-10 15:12:18 +02:00
2026-07-06 06:39:19 +00:00
2026-07-13 18:57:37 +09:00
2026-04-28 12:29:37 +00:00
2026-04-21 08:28:45 +02:00
2026-04-21 08:28:45 +02:00