search for: queryoptimiser

Displaying 3 results from an estimated 3 matches for "queryoptimiser".

2017 Jul 31
2
Segmentation fault in matcher/queryoptimiser
...we are experiencing occasional segmentation faults within Xapian 1.5. We can't reproduce the crashes, but we have strong hints that they are due to memory corruption. We have narrowed down our root cause analysis to phrase searches on multi-databases that fail on reading the `hint` field in the`QueryOptimiser`class [1]. We'd appreciate any hints on how to fix this. I've written up our findings and solution attempts below. Should we post this on trac? Our findings so far ================ In a core dump we see that calling the `open_nearby_postlist` function on the `hint` variable [2] falls of a...
2017 Aug 02
2
Segmentation fault in matcher/queryoptimiser
...how to fix this. I've written up our > > findings and solution attempts below. Should we post this on trac? > > Yes, it'd be good to have a ticket to track this. I've created ticket #752 (https://trac.xapian.org/ticket/752). > > Should we probably keep it and make QueryOptimiser take ownership? > > That's exactly how I fixed a similar earlier issue (see commit > 2299e1d21e39f1295c81833ccd5037f746f4744a). > > We should probably address both issues consistently. If setting the hint > to NULL works, we should probably evaluate that approach as it avoi...
2011 Jan 24
2
Memory leak
...quot;backends/dbfactory.cc" 1836 17 Line 383 of "./include/xapian/weight.h" 1700 17 Line 871 of "backends/chert/chert_database.cc" 864 18 Line 62 of "backends/chert/chert_cursor.cc" 780 13 Line 408 of "matcher/queryoptimiser.cc" 576 18 Line 1331 of "backends/chert/chert_table.cc" 112 2 Line 1663 of "backends/chert/chert_table.cc" 100 1 Line 66 of "backends/chert/chert_postlist.cc" 48 1 Line 66 of "matcher/orpostlist.cc"...