Code Monkey home page Code Monkey logo

Comments (4)

slusarz avatar slusarz commented on June 18, 2024

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.

edieterich avatar edieterich commented on June 18, 2024

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.

slusarz avatar slusarz commented on June 18, 2024

Patches fix this issue, for me at least. Would be great if you could check on your side.

from dovecot-fts-flatcurve.

edieterich avatar edieterich commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.