Insufficient thread locking around avcodec_open/close() (Bug #3298)
Description
When runing in multithread condition(in linux),my program crashes with errors as follow.It sames that FFmpeg is not threaded safe.
[NULL @ 0x7f0c8000a180] Insufficient thread locking around avcodec_open/close() Assertion ff_avcodec_locked failed at libavcodec/utils.c:2599 Aborted (core dumped)
Related issues
related to Bug #3750: insufficient thread locking around avcodec_open/close() | Cancelled | 2014-06-12 |
Associated revisions
Merge pull request #3298 from a-wi:DShow_capture
History
Updated by Anna Kogan over 11 years ago
Could you please provide a sample code to reproduce failure? Without it it's impossible to find a reason of the issue.
Also, if you could solve the problem on your side, a "contribution":How_to_contribute would be very appreciated.
- Status changed from New to Incomplete
- Description changed from When runing in multithread condition(in linux),my program crashes with errors... to When runing in multithread condition(in linux),my program crashes with errors... More
- Priority changed from High to Normal
Updated by Kirill Kornyakov over 11 years ago
@t-s-jie, we're waiting for the repro sample...
Alexander, can you comment?
- Category set to highgui-video
- Affected version changed from 2.4.0 - 2.4.5 to 2.4.6 (latest release)
- Assignee set to 唐世杰 t-s-jie
Updated by Alexander Smorkalov over 11 years ago
- Target version set to 2.4.8
- Affected version changed from 2.4.6 (latest release) to 2.4.0 - 2.4.6
Updated by Alexander Smorkalov over 11 years ago
@唐世杰 t-s-jie. There were some serious changes in FFMPEG support in branch 2.4. Could you take the latest state of branch 2.4 and check the issue? Also some small reproducer will be useful.
Updated by Alexander Smorkalov about 11 years ago
- Target version changed from 2.4.8 to 2.4.9
Updated by Alexander Smorkalov almost 11 years ago
I believe that issue had been fixed by mentioned changes. I close the ticket. Fill free to reopen it in case if issue still presents.
- Status changed from Incomplete to Done
- Affected version changed from 2.4.0 - 2.4.6 to branch '2.4' (2.4-dev)
Updated by Alexander Smorkalov over 10 years ago
- Assignee changed from 唐世杰 t-s-jie to Vadim Pisarevsky
- Target version changed from 2.4.9 to 2.4.10
- Status changed from Done to Open
Updated by Maksim Shabunin over 9 years ago
Issue has been transferred to GitHub: https://github.com/Itseez/opencv/issues/4632