Comments (4)
I can't get this to segfault, either locally or in automated testing. See https://github.com/slusarz/dovecot-fts-flatcurve/runs/3759356986?check_suite_focus=true#step:3:9652
What version of Xapian are you using? I've tested on 1.4.11 and 1.4.18.
Only other thing I can think to try would be to comment out the conditional block at https://github.com/slusarz/dovecot-fts-flatcurve/blob/master/src/fts-backend-flatcurve-xapian.cpp#L758 - essentially, don't cache the enquire object - to see if that fixes things.
from dovecot-fts-flatcurve.
If I run the tests (a) on the inbox and (b) twice, I get a failure with "Error: corrupted double-linked list":
https://github.com/edieterich/dovecot-fts-flatcurve/runs/3765368507?check_suite_focus=true#step:3:9747
If I additionally modify the test script slightly to delete all mails in the mailbox, I get a full-blown segfault: https://github.com/edieterich/dovecot-fts-flatcurve/runs/3765484261?check_suite_focus=true#step:3:9737
Here's the diff of my changes for the second run: master...edieterich:master
from dovecot-fts-flatcurve.
Patches fix this issue, for me at least. Would be great if you could check on your side.
from dovecot-fts-flatcurve.
I can confirm that this fixes the segfaults and issue #10 as well. Thank you for fixing this.
from dovecot-fts-flatcurve.
Related Issues (20)
- Build failing HOT 1
- Searching for phrases with IMAP SEARCH vs. doveadm search, v0.2.0 vs. v0.3.0 HOT 3
- Feature Request: Change Flatcurve Index Location via config parameter HOT 1
- Separate directory for indexing? HOT 7
- Search by some email addresses is not working HOT 3
- Virtual search doesn't consider unindexed messages HOT 2
- backtrace during indexing HOT 2
- Inconsistent results when searching in attachment HOT 4
- Filename too long errors during FTS optimize HOT 5
- Panic when running a search HOT 2
- Inaccurate results while searching for a phrase in subject HOT 2
- Excessively long string sent to xapian to index HOT 1
- Using fts-flatcure with Dovecot 2.3.13 / Debian Bookworm HOT 2
- Example config anywhere? HOT 2
- Error: fts: Failed to initialize backend 'flatcurve': Unknown backend HOT 2
- imap segfault with fts flatcurve HOT 11
- remove use of .la files HOT 7
- fts_filter_normalizer_icu: libicu support not built in HOT 6
- Assertion crash for search in virtual mailbox
- Segfault with Dovecot 1:2.3.21+dfsg1-2 from Debian HOT 17
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dovecot-fts-flatcurve.