New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.4.1 imapd segfaults #3562
Comments
(Just a note that I have edited the OP to format the backtrace as a code block, so that all the |
Does this happen for a specific user or set of users, or is there no apparent pattern? Are you able to reproduce it on demand? I can see from the backtrace that the user has sent some kind of search command (thus we end up in If the crash reproduces reliably for a particular user, it would be helpful to enable telemetry on that user to see what search query is being handled when the crash occurs. There's instructions for enabling telemetry here: http://www.cyrusimap.org/imap/reference/faqs/o-telemetry.html Please be mindful that the telemetry may contain private data, and truncate it as much as possible. I don't need the whole telemetry log, only a line or two before the crash! It's strange that it's passing around |
It's pretty reproducible, most of the times just logging in will trigger it. Since I am not using this version on a live system I can't tell how many users this affects, but my two test users are affected. Ah yes, the telemetry log:
And that's it. |
Great, thanks, I'll see if I can reproduce it locally, and go from there :) |
My work in progress is here, but I haven't managed to reproduce the problem yet: cyrusimap/cassandane@master...elliefm:v34/3562-esearch-crash The messages the test is creating are being uploaded by the same session, and I wonder if that's why it's not reproducing the crash. The next thing I think I want to try is delivering a message in over SMTP/LMTP rather than uploading it from within the same IMAP session, but I haven't yet done so, so I'm writing this intention down here before I forget it. |
Seems related to my reported issue #3588. Can you merge? Workaround: disable specific optimization in compile time: -fno-toplevel-reorder I suppose problem is related to accesing memory out-of-bounds for any reason. |
Edit: Moved my report to a separate issue / upon inspecting my backtrace, I found it to be a different problem. |
Hi,
I recently upgraded to 3.4.1 and ran into the issue of imapd segfaulting under very specific circumstances:
Client: horde - it doesn't happen with thunderbird
search_engine:squat - it doesn't happen, if search_engine is undefined
Distros: debian 9 and debian 10 on x64
Compiled with
./configure --prefix=/usr/local/cyrus-imapd-3.4.1 --with-cyrus-prefix=/usr/local/cyrus-imapd-3.4.1 --with-syslogfacility=MAIL --enable-replication --with-perl=/usr/bin/perl --with-openssl --enable-idled --mandir=/usr/share/man --docdir=/usr/share/doc --with-zlib --with-bdb=no
The core dump looks like this:
This seems to go away when rerunning squatter
The text was updated successfully, but these errors were encountered: