View Bug Details

IDProjectCategoryView StatusLast Update
0002784DCP-o-maticBugspublic2024-03-01 22:37
Reportercarl Assigned Tocarl  
PriorityurgentSeveritymajorReproducibilitysometimes
Status confirmedResolutionopen 
Summary0002784: 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.

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

There are no notes attached to this issue.

Bug History

Date Modified Username Field Change
2024-03-01 22:37 carl New Bug
2024-03-01 22:37 carl Assigned To => carl
2024-03-01 22:37 carl Status new => confirmed