[Xapian-tickets] [Xapian] #833: The Xapian 1.4.25 causes the program to crash when performing concurrent multi-threaded queries.
Xapian
nobody at xapian.org
Sun Aug 25 14:47:53 BST 2024
#833: The Xapian 1.4.25 causes the program to crash when performing concurrent
multi-threaded queries.
---------------------------+-------------------------------
Reporter: myx | Owner: Olly Betts
Type: defect | Status: new
Priority: highest | Milestone:
Component: Backend-Glass | Version: 1.4.25
Severity: blocker | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
---------------------------+-------------------------------
Comment (by myx):
Thank you very much for your reply!
The crash problem I described occurs in situations with multithreaded
reads and does not require concurrent read/write scenarios. Additionally,
I have added locks during multithreaded reads.
Following your suggestion, I have adjusted the test code structure and
simplified it to make the problem clearer.
In the test code, when the macro USE_GLOBAL_XAPIAN_QUERY_OBJECT is
defined, the problem can be reproduced. You can take a look at the
relevant code, and if you want to debug, you can compile and run the test
program to try to reproduce the problem.
Please let me know if there is any new progress, thanks!
--
Ticket URL: <https://trac.xapian.org/ticket/833#comment:3>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list