View Bug Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002784 | DCP-o-matic | Bugs | public | 2024-03-01 22:37 | 2024-03-01 22:37 |
Reporter | carl | Assigned To | carl | ||
Priority | urgent | Severity | major | Reproducibility | sometimes |
Status | confirmed | Resolution | open | ||
Summary | 0002784: Deadlock when destroying ~J2KEncoder when the writer queue is full | ||||
Description | ~J2KEncoder() calls terminate_threads(), which interrupts encoder threads and joins them. But one thread is in _full_condition.wait() in Writer::write(), where the caller ::encoder_thread() has disabled interruption. So that thread is waiting but the interrupt didn't have any effect. | ||||
Tags | No tags attached. | ||||
Branch | |||||
Estimated weeks required | |||||
Estimated work required | |||||