summaryrefslogtreecommitdiff
path: root/src/lib/text_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-21 13:37:34 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-22 13:29:59 +0100
commite93b66f4236ec25dbd0603bbe74c904b53180e91 (patch)
tree55437a5fa20bed100ac842c48d0c80fe166381d2 /src/lib/text_decoder.cc
parent3f1cffe8a0afe23577fe7351c05f1aa1dc492032 (diff)
Fix crash due to crosss-thread list access.
I've seen it happen that item points to a different QueueItem after the lock was unlocked here, which I didn't think was possible. Backtraces suggest that when problems happen _queue is being sorted in another thread, and perhaps this is not allowed (I couldn't find any conclusive proof in any documentation). There is also a potential problem with the newly-added zombify() method, which takes the lock and clears the list.
Diffstat (limited to 'src/lib/text_decoder.cc')
0 files changed, 0 insertions, 0 deletions