[
https://issues.apache.org/jira/browse/PDFBOX-6372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-6372:
------------------------------------
Affects Version/s: 2.0.37
> ScratchFile.close walks the buffer list without the lock the list has
> ---------------------------------------------------------------------
>
> Key: PDFBOX-6372
> URL: https://issues.apache.org/jira/browse/PDFBOX-6372
> Project: PDFBox
> Issue Type: Sub-task
> Components: IO
> Affects Versions: 2.0.37, 3.0.8 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Major
> Fix For: 3.0.9 PDFBox, 4.0.0
>
> Attachments: ScratchFile-close-2.0.patch, ScratchFile-close.patch
>
>
> Because I didn't fully understand the report nor the changes, I asked Claude
> Sonnet for a review on that topic, this can be read here. I also asked to
> create a patch (attached). Additionally it recommends to synchronize
> ScratchFileBuffer.close().
> Chat:
> https://claude.ai/share/a46f0280-f472-4933-8d5d-629829f762f1
> This may or may not explain a problem I observed, during parallel rendering
> tests sometimes it seems to hang for a minute, it's unclear if this is a real
> deadlock, poor performance or just busy.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]