PDFDocument is passed by reference across thread boundaries but is not threadsafe: Qiqqa crashes 💥 #101
Labels
🐛bug
Something isn't working
duplicate
This issue or pull request already exists
🕵investigate
Needs further analysis to find the root cause.
Milestone
💥
Another instance of PDFDocument causing trouble due to missing protection for cross-thread-boundary travels, where a reader thread will still expect constant (= unmodified) Dictionary, List, whathaveyou type(s).
Extract for the exception at hand, this time in DeepClone()'s internals: Serialize there discovering an edit by another thread at the same time --> 💣 💥 ::
Preliminary Analysis
Same root cause as #96: PDFDocument (and probably the other serialized objects in Qiqqa code) is not protected against simultaneous access by multiple threads. (As described above, even a read operation, i.e. a list/table iteration, is already very dangerous in C#.
The text was updated successfully, but these errors were encountered: