/usr/local/citadel/keys/
No, that's where TLS keys go. Not DKIM keys.
Dear All,
Until now when I sent an email with a new email address that email address was registed in the "Contacts" folder.
It is not happening anymore. I suppose that is happening since last Centos 9 update (with glibc (??) update, one of the Citadel dependencies was updated).
Notice that Thunderbird had also a recent update.
Is it happening with someone else?
Thank you,
Luís Gonçalves.
I made a dump and a load of the database and it start working but I do not have certain about if it is the reason.
Now a question. The contacts not being updated with new email addresses, is it meaning that the emails were not sent?
For information, the emails appeared in the "Sent Itens".
Dear All,
Until now when I sent an email with a new email address that email address was registed in the "Contacts" folder.
It is not happening anymore. I suppose that is happening since last Centos 9 update (with glibc (??) update, one of the Citadel dependencies was updated).
Notice that Thunderbird had also a recent update.
Is it happening with someone else?
Thank you,
Luís Gonçalves.
After installing Citadel no DKIM was generated.
Is there a way for me to install a public and private DKIM key in Citadel sever
After installing Citadel no DKIM was generated.
Is there a way for me to install a public and private DKIM key in Citadel sever
Again, there is no way to install a user-generated DKIM key into Citadel. Citadel generates the private key for each domain and stores it in the database. When it does so, the corresponding public key is posted to the "Aide" room.
If you are missing your key, you can delete and re-create your local domains on this screen:
[ Administration --> Domain Names and Internet Mail Configuration --> Local host aliases ]
When you do so, new DKIM keys will be generated and posted, and you can use those.
Ok, so I just ran a quick test and confirmed: you can add a bogus domain (example.xxx or whatever) and then go right ahead and delete it, and it'll post the keys for all of your existing domains as well.
I have deleted the domain and a new DKIM record was generated but using easydmarc to test it gives the following result:-
We couldn't find a DKIM record associated with your domain. You need to generate DKIM record to protect your domain against email phishing attacks.
easydmarc appears to be a scam site that wants to sell you a service, and deliberately shits on your domain to make you buy it.
Instead, try https://dkimvalidator.com
No signup. It gives you an address to which you send an email. You send that address an email, then go back to the site and it tells you if that message was properly DKIM signed.
Many thanks can now send emails to google accounts without rejection
Thanks again
(I hope this is the Citadel Support room)
Hello,
I'm trying to install Citadel on my Rpi3 using your easyinstall script. The script does not complete. During installation it needs a certain Berkeley database file. This download is extremely slow and/or the file cannot be downloaded. When I go to https://easyinstall.citadel.org/db-18.1.40.tar.gz myself using a browser the download also fails.
Any help is appreciated.
Regards Bart
A piece of the script output is:
Downloading Berkeley DB...
--2025-11-23 14:52:31-- https://easyinstall.citadel.org/db-18.1.40.tar.gz
Resolving easyinstall.citadel.org (easyinstall.citadel.org)... 72.0.224.90
Connecting to easyinstall.citadel.org (easyinstall.citadel.org)|72.0.224.90|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 30745815 (29M) [application/octet-stream]
Saving to: 'db-18.1.40.tar.gz'
db-18.1.40.tar.gz 2%[ ] 879.74K --.-KB/s eta 58m 51sc
I don't want to speak for LG as i'm not sure if hes hosting the files via the same network provider as the board, but there have been network issues here of late here on the board, and if my guess is right, it could/would effect that too.
Keep retrying..
Sorry, IG not LG.. fat fingers.
Also, i was able to download it a bit ago, yes slowly, but it did finally complete. Id offer to share it out on google or something, but if you are smart, you would not trust me anyway.
I don't want to speak for LG as i'm not sure if hes hosting the files via the same network provider as the board, but there have been network issues here of late here on the board, and if my guess is right, it could/would effect that too.
Keep retrying..
Subject: Re: Berkeley DB cannot be downloaded
That's correct, actually. Over the last couple of days we've had some pretty bad network flooding. I think I've got most of it worked out so try again.
First of all I am very new to this, so my apologies in advance.
I've had a longtime project to setup an email server that I'm getting back to. I was following an older video as guidance in which Citadel had an Administration tab right next to the Advanced tab. I already have the domain and need to enter that information so that I can create the various email accounts using the Citadel Server. Without the Advanced tab, I can't find where to enter the domain information. With so much reference information I can't seem to find what I need, I have no doubt that it's there-somewhere. Can someone point me in the right direction?
Subject: Reproducible SIGSEGV caused by concurrency between IMAP FETCH, SMTP DATA, SMTP forwarding (Sieve), and SMTP queue delivery
Hello Citadel Team,
I'm reporting a reproducible segmentation fault (SIGSEGV) observed in production, which appears to be caused by a concurrency / thread-safety issue in Citadel under normal usage conditions. I have collected multiple core dumps showing consistent call patterns and triggers.
Deployment: Docker
OS: Linux x86_64 (glibc-based)
Protocols in use:
* IMAPS
* SMTP (inbound + outbound)
* SMTP queue delivery
Sieve: Enabled (email forwarding rules)
No custom patches. No abnormal traffic patterns.
Observed Behaviour
Citadel crashes with SIGSEGV during normal operation. The crashes began after ~26 weeks of stable, uninterrupted operation, without any infrastructure or configuration changes. The only relevant behavioural change before the first crash was the introduction of new Sieve forwarding rules, which increased outbound SMTP activity.
From Core Dumps
The crashes consistently occur when the following operations overlap in time:
Thread A – IMAP FETCH (user reading mail)
imap_fetch_body()
imap_do_fetch_msg()
imap_do_fetch()
imap_command_loop()
Thread B – SMTP DATA (receiving mail)
smtp_data()
smtp_command_loop()
CtdlReadMessageBodyBuf()
StrBufTCP_read_buffered_line_fast()
Thread C – SMTP Forwarding / Queue Delivery
smtp_attempt_delivery()
smtp_do_queue()
smtp_do_queue_full()
curl_easy_perform()
curl_multi_poll()
Additional Concurrent Activity
* TLS handshakes (CtdlStartTLS, imaps_greeting, pop3s_greeting)
* Session cleanup and hooks (PerformSessionHooks, do_housekeeping)
* In some crashes, XMPP hooks are also active
Analysis / Suspected Root Cause
Based on repeated core dump analysis:
-
These execution paths share internal buffers/message structures
-
Some of these paths appear not to be fully thread-safe
-
Increased outbound SMTP concurrency (introduced by Sieve forwarding) significantly raises the likelihood of these paths overlapping
-
This results in memory corruption, eventually causing a SIGSEGV (often observed shortly after read(), select(), or buffer handling)
Important notes:
-
The Sieve rules themselves are valid and correctly defined
-
The issue is not caused by user error or misconfiguration
-
Forwarding acts as a trigger, not the root defect
Reproduction Pattern (High-Level)
While not 100% deterministic, the crash frequency increases significantly when:
-
Sieve forwarding is enabled for active mailboxes
-
Inbound SMTP traffic is present
-
Users fetch messages (IMAP FETCH) concurrently
-
SMTP queue delivery runs in parallel (especially to external domains)
Reducing worker thread concurrency significantly reduces or eliminates crashes, which further suggests a concurrency-related issue.
Expected Behaviour
Citadel should be able to safely handle concurrent:
-
IMAP FETCH
-
SMTP DATA
-
SMTP forwarding (Sieve)
-
SMTP queue delivery
without memory corruption or segmentation faults.
Questions for the Development Team
-
Is this a known concurrency issue?
-
Has this behaviour been addressed in newer Citadel versions?
-
Are there recommended patches, configuration flags, or build options to mitigate this safely?
-
Would additional debugging data (full core dumps, symbols, logs) be helpful?
Thank you for your time and for maintaining Citadel.
root@tpc-co-cit02:/# gdb /usr/local/citadel/citserver /citadel-data/server1-backup/core.7
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/local/citadel/citserver...
(No debugging symbols found in /usr/local/citadel/citserver)
[New LWP 69]
[New LWP 18]
[New LWP 116]
[New LWP 113]
[New LWP 7]
[New LWP 105]
[New LWP 15]
[New LWP 92]
[New LWP 120]
[New LWP 10]
[New LWP 67]
[New LWP 597]
[New LWP 11]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `citserver -x9 -h /citadel-data'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x0000561e86ca5f3f in imap_fetch_body ()
[Current thread is 1 (Thread 0x7f280bfff700 (LWP 69))]
(gdb) set pagination off
(gdb) thread apply all bt full
Thread 13 (Thread 0x7f28225c7700 (LWP 11)):
#0 0x00007f2825d27a0f in __GI___poll (fds=0x7f28225bf870, nfds=2, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__arg2 = <optimized out>
_a3 = 1000
_a1 = 139810351872112
resultvar = <optimized out>
__arg3 = <optimized out>
__arg1 = <optimized out>
_a2 = 2
resultvar = <optimized out>
sc_cancel_oldtype = <optimized out>
sc_ret = <optimized out>
#1 0x00007f2825e75bca in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#2 0x00007f2825e6abcc in ?? () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#3 0x00007f2825e6ad56 in curl_multi_poll () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#4 0x00007f2825e439cf in curl_easy_perform () from /usr/lib/x86_64-linux-gnu/libcurl.so.4
No symbol table info available.
#5 0x0000561e86cc32c5 in smtp_attempt_delivery ()
No symbol table info available.
#6 0x0000561e86cc38f2 in smtp_process_one_msg ()
No symbol table info available.
#7 0x0000561e86cc3f33 in smtp_do_queue ()
No symbol table info available.
#8 0x0000561e86cc3fbf in smtp_do_queue_full ()
No symbol table info available.
#9 0x0000561e86c87e13 in PerformSessionHooks ()
No symbol table info available.
#10 0x0000561e86c73dd5 in do_housekeeping ()
No symbol table info available.
#11 0x0000561e86c8a952 in worker_thread ()
No symbol table info available.
#12 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139810351904512, -5926168278360471484, 140734826778382, 140734826778383, 139810351902080, 8396800, 6021948088529373252, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#13 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#14 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 12 (Thread 0x7f2808ff9700 (LWP 597)):
#0 0x00007f2825d29ec3 in __GI___select (nfds=59, readfds=0x7f2808ff8bf0, writefds=0x0, exceptfds=0x0, timeout=0x7f2808ff8be0) at ../sysdeps/unix/sysv/linux/select.c:41
__arg3 = 0
_a5 = 139809926384608
_a2 = 139809926384624
__arg4 = 0
__arg1 = 59
_a3 = 0
resultvar = <optimized out>
__arg5 = 139809926384608
__arg2 = 139809926384624
_a4 = 0
_a1 = 59
resultvar = <optimized out>
sc_cancel_oldtype = -514
sc_ret = <optimized out>
#1 0x0000561e86c8a447 in worker_thread ()
No symbol table info available.
#2 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809926387456, -5926168278360471484, 140734826778382, 140734826778383, 139809926385024, 139809977318912, 6021898356029311044, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#3 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 11 (Thread 0x7f2820dbc700 (LWP 67)):
#0 __libc_read (nbytes=8191, buf=0x7f2810130b10, fd=33) at ../sysdeps/unix/sysv/linux/read.c:26
resultvar = 18446744073709551104
sc_cancel_oldtype = 0
__arg3 = <optimized out>
_a2 = <optimized out>
sc_ret = <optimized out>
__value = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg2 = <optimized out>
_a1 = <optimized out>
#1 __libc_read (fd=33, buf=0x7f2810130b10, nbytes=8191) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f2825fffed6 in StrBufTCP_read_buffered_line_fast (Line=0x7f28100fe740, IOBuf=0x7f28000dfb30, Pos=0x7f28000a36e0, fd=0x7f28000a3728, timeout=5, selectresolution=<optimized out>, Error=0x7f2820dba9a0) at lib/stringbuf.c:4317
pche = <optimized out>
pos = <optimized out>
pLF = 0x0
len = <optimized out>
rlen = <optimized out>
retlen = 19
nSuccessLess = 0
rfds = {fds_bits = {0, 524288, 126, 32783, 524336, 8192, 35390530551809, 541165879534, 128, 579820586075, 1024, 16, 131072, 4096, 524288, 978326477955633920}}
pch = <optimized out>
fdflags = <optimized out>
IsNonBlock = 0
tv = {tv_sec = 32767, tv_usec = 7}
#3 0x0000561e86c89cbb in CtdlClientGetLine ()
No symbol table info available.
#4 0x0000561e86c81944 in CtdlReadMessageBodyBuf ()
No symbol table info available.
#5 0x0000561e86cc1847 in smtp_data ()
No symbol table info available.
#6 0x0000561e86cc2227 in smtp_command_loop ()
No symbol table info available.
#7 0x0000561e86c8a8a7 in worker_thread ()
No symbol table info available.
#8 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139810326693632, -5926168278360471484, 140734826778382, 140734826778383, 139810326691200, 8396800, 6021951441288218692, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#9 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 10 (Thread 0x7f2822dc8700 (LWP 10)):
#0 0x00007f2825d29ec3 in __GI___select (nfds=59, readfds=0x7f2822dc7bf0, writefds=0x0, exceptfds=0x0, timeout=0x7f2822dc7be0) at ../sysdeps/unix/sysv/linux/select.c:41
__arg3 = 0
_a5 = 139810360294368
_a2 = 139810360294384
__arg4 = 0
__arg1 = 59
_a3 = 0
resultvar = <optimized out>
__arg5 = 139810360294368
__arg2 = 139810360294384
_a4 = 0
_a1 = 59
resultvar = <optimized out>
sc_cancel_oldtype = -514
sc_ret = <optimized out>
#1 0x0000561e86c8a447 in worker_thread ()
No symbol table info available.
#2 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139810360297216, -5926168278360471484, 140734826778382, 140734826778383, 139810360294784, 8396800, 6021946989554616388, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#3 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 9 (Thread 0x7f28097fa700 (LWP 120)):
#0 0x00007f2825d29ec3 in __GI___select (nfds=59, readfds=0x7f28097f9bf0, writefds=0x0, exceptfds=0x0, timeout=0x7f28097f9be0) at ../sysdeps/unix/sysv/linux/select.c:41
__arg3 = 0
_a5 = 139809934777312
_a2 = 139809934777328
__arg4 = 0
__arg1 = 59
_a3 = 0
resultvar = <optimized out>
__arg5 = 139809934777312
__arg2 = 139809934777328
_a4 = 0
_a1 = 59
resultvar = <optimized out>
sc_cancel_oldtype = -514
sc_ret = <optimized out>
#1 0x0000561e86c8a447 in worker_thread ()
No symbol table info available.
#2 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809934780160, -5926168278360471484, 140734826778382, 140734826778383, 139809934777728, 139810111629120, 6021901655101065284, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#3 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 8 (Thread 0x7f280b7fe700 (LWP 92)):
#0 0x00007f2825d29ec3 in __GI___select (nfds=59, readfds=0x7f280b7fdbf0, writefds=0x0, exceptfds=0x0, timeout=0x7f280b7fdbe0) at ../sysdeps/unix/sysv/linux/select.c:41
__arg3 = 0
_a5 = 139809968348128
_a2 = 139809968348144
__arg4 = 0
__arg1 = 59
_a3 = 0
resultvar = <optimized out>
__arg5 = 139809968348128
__arg2 = 139809968348144
_a4 = 0
_a1 = 59
resultvar = <optimized out>
sc_cancel_oldtype = -514
sc_ret = <optimized out>
#1 0x0000561e86c8a447 in worker_thread ()
No symbol table info available.
#2 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809968350976, -5926168278360471484, 140734826778382, 140734826778383, 139809968348544, 139810110988112, 6021897259202037828, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#3 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#4 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 7 (Thread 0x7f2821dbe700 (LWP 15)):
#0 __libc_read (nbytes=63, buf=0x7f27e4122af0, fd=57) at ../sysdeps/unix/sysv/linux/read.c:26
resultvar = 18446744073709551104
sc_cancel_oldtype = 0
__arg3 = <optimized out>
_a2 = <optimized out>
sc_ret = <optimized out>
__value = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg2 = <optimized out>
_a1 = <optimized out>
#1 __libc_read (fd=57, buf=0x7f27e4122af0, nbytes=63) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f2825fffed6 in StrBufTCP_read_buffered_line_fast (Line=0x7f2818078d50, IOBuf=0x7f27ec0fc8b0, Pos=0x7f27e4079ec0, fd=0x7f27e4079f08, timeout=5, selectresolution=<optimized out>, Error=0x7f2821dbc9a0) at lib/stringbuf.c:4317
pche = <optimized out>
pos = <optimized out>
pLF = 0x0
len = <optimized out>
rlen = <optimized out>
retlen = 0
nSuccessLess = 0
rfds = {fds_bits = {1, 139810178072704, 511, 7, 0, 8192, 139809775419499, 527, 8240, 128, 755914244609, 532575944816, 2, 511101108331, 16, 0}}
pch = <optimized out>
fdflags = <optimized out>
IsNonBlock = 0
tv = {tv_sec = 139810343471552, tv_usec = 139810409532778}
#3 0x0000561e86c89cbb in CtdlClientGetLine ()
No symbol table info available.
#4 0x0000561e86c81944 in CtdlReadMessageBodyBuf ()
No symbol table info available.
#5 0x0000561e86cc1847 in smtp_data ()
No symbol table info available.
#6 0x0000561e86cc2227 in smtp_command_loop ()
No symbol table info available.
#7 0x0000561e86c8a8a7 in worker_thread ()
No symbol table info available.
#8 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139810343479040, -5926168278360471484, 140734826778382, 140734826778383, 139810343476608, 139810111003408, 6021953643532699716, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#9 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 6 (Thread 0x7f280affd700 (LWP 105)):
#0 __libc_read (nbytes=8191, buf=0x7f280018baf0, fd=56) at ../sysdeps/unix/sysv/linux/read.c:26
resultvar = 18446744073709551104
sc_cancel_oldtype = 0
__arg3 = <optimized out>
_a2 = <optimized out>
sc_ret = <optimized out>
__value = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg2 = <optimized out>
_a1 = <optimized out>
#1 __libc_read (fd=56, buf=0x7f280018baf0, nbytes=8191) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f2825fffed6 in StrBufTCP_read_buffered_line_fast (Line=0x7f2800053fc0, IOBuf=0x7f281c090d00, Pos=0x7f281c0f7440, fd=0x7f281c0f7488, timeout=5, selectresolution=<optimized out>, Error=0x7f280affb9a0) at lib/stringbuf.c:4317
pche = <optimized out>
pos = <optimized out>
pLF = 0x0
len = <optimized out>
rlen = <optimized out>
retlen = 20
nSuccessLess = 0
rfds = {fds_bits = {0, 262144, 125, 16399, 262192, 4096, 17798344491009, 139810409524331, 64, 545460847195, 512, 8, 131072, 4096, 262144, 978326477955633920}}
pch = <optimized out>
fdflags = <optimized out>
IsNonBlock = 0
tv = {tv_sec = 16383, tv_usec = 7}
#3 0x0000561e86c89cbb in CtdlClientGetLine ()
No symbol table info available.
#4 0x0000561e86c81944 in CtdlReadMessageBodyBuf ()
No symbol table info available.
#5 0x0000561e86cc1847 in smtp_data ()
No symbol table info available.
#6 0x0000561e86cc2227 in smtp_command_loop ()
No symbol table info available.
#7 0x0000561e86c8a8a7 in worker_thread ()
No symbol table info available.
#8 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809959958272, -5926168278360471484, 140734826778382, 140734826778383, 139809959955840, 139810044056768, 6021893960130283588, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#9 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#10 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 5 (Thread 0x7f2822f2d980 (LWP 7)):
#0 0x00007f2825cfa241 in __GI___clock_nanosleep (clock_id=0, flags=0, req=0x7fff615b8fd0, rem=0x0) at ../sysdeps/unix/sysv/linux/clock_nanosleep.c:48
sc_cancel_oldtype = <optimized out>
sc_ret = <optimized out>
r = <optimized out>
#1 0x00007f2825cffa23 in __GI___nanosleep (requested_time=0x0, remaining=0x0) at nanosleep.c:27
ret = <optimized out>
#2 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 4 (Thread 0x7f280a7fc700 (LWP 113)):
#0 __libc_read (nbytes=5, buf=0x7f27f403a183, fd=47) at ../sysdeps/unix/sysv/linux/read.c:26
resultvar = 18446744073709551104
sc_cancel_oldtype = 0
__arg3 = <optimized out>
_a2 = <optimized out>
sc_ret = <optimized out>
__value = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg2 = <optimized out>
_a1 = <optimized out>
#1 __libc_read (fd=47, buf=0x7f27f403a183, nbytes=5) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f28260f35e5 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#3 0x00007f28260ee7fa in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#4 0x00007f28260ed6a4 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#5 0x00007f28260edc73 in BIO_read () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#6 0x00007f2826346771 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#7 0x00007f282634a982 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#8 0x00007f28263482c0 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#9 0x00007f282637b499 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#10 0x00007f2826370f75 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#11 0x0000561e86c9667f in CtdlStartTLS ()
No symbol table info available.
#12 0x0000561e86c8806f in CtdlModuleStartCryptoMsgs ()
No symbol table info available.
#13 0x0000561e86caf4d1 in imaps_greeting ()
No symbol table info available.
#14 0x0000561e86c8a88a in worker_thread ()
No symbol table info available.
#15 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809951565568, -5926168278360471484, 140734826778382, 140734826778383, 139809951563136, 139810044037136, 6021895056957556804, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#16 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 3 (Thread 0x7f2809ffb700 (LWP 116)):
#0 __libc_read (nbytes=5, buf=0x7f27ec0d8873, fd=60) at ../sysdeps/unix/sysv/linux/read.c:26
resultvar = 18446744073709551104
sc_cancel_oldtype = 0
__arg3 = <optimized out>
_a2 = <optimized out>
sc_ret = <optimized out>
__value = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg2 = <optimized out>
_a1 = <optimized out>
#1 __libc_read (fd=60, buf=0x7f27ec0d8873, nbytes=5) at ../sysdeps/unix/sysv/linux/read.c:24
No locals.
#2 0x00007f28260f35e5 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#3 0x00007f28260ee7fa in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#4 0x00007f28260ed6a4 in ?? () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#5 0x00007f28260edc73 in BIO_read () from /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1
No symbol table info available.
#6 0x00007f2826346771 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#7 0x00007f282634a982 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#8 0x00007f28263482c0 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#9 0x00007f282637b499 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#10 0x00007f2826370f75 in ?? () from /usr/lib/x86_64-linux-gnu/libssl.so.1.1
No symbol table info available.
#11 0x0000561e86c9667f in CtdlStartTLS ()
No symbol table info available.
#12 0x0000561e86c8806f in CtdlModuleStartCryptoMsgs ()
No symbol table info available.
#13 0x0000561e86cb9de7 in pop3s_greeting ()
No symbol table info available.
#14 0x0000561e86c8a88a in worker_thread ()
No symbol table info available.
#15 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809943172864, -5926168278360471484, 140734826778382, 140734826778383, 139809943170432, 139810111553776, 6021900553978824772, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#16 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#17 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 2 (Thread 0x7f28215bd700 (LWP 18)):
#0 0x0000561e86ccdd8a in xmpp_queue_event ()
No symbol table info available.
#1 0x0000561e86ccc711 in xmpp_logout_hook ()
No symbol table info available.
#2 0x0000561e86c87e13 in PerformSessionHooks ()
No symbol table info available.
#3 0x0000561e86c8bf2e in CtdlUserLogout ()
No symbol table info available.
#4 0x0000561e86c6fe29 in RemoveContext ()
No symbol table info available.
#5 0x0000561e86c70943 in dead_session_purge ()
No symbol table info available.
#6 0x0000561e86c8a94d in worker_thread ()
No symbol table info available.
#7 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139810335086336, -5926168278360471484, 140734826778382, 140734826778383, 139810335083904, 8396800, 6021954742507456580, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#8 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#9 0x0000000000000000 in ?? ()
No symbol table info available.
Thread 1 (Thread 0x7f280bfff700 (LWP 69)):
#0 0x0000561e86ca5f3f in imap_fetch_body ()
No symbol table info available.
#1 0x0000561e86ca6cbd in imap_do_fetch_msg ()
No symbol table info available.
#2 0x0000561e86ca6fda in imap_do_fetch ()
No symbol table info available.
#3 0x0000561e86ca7a77 in imap_fetch ()
No symbol table info available.
#4 0x0000561e86cb1c0b in imap_command_loop ()
No symbol table info available.
#5 0x0000561e86c8a8a7 in worker_thread ()
No symbol table info available.
#6 0x00007f2825fd1ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
ret = <optimized out>
pd = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139809976743680, -5926168278360471484, 140734826778382, 140734826778383, 139809976741248, 8396800, 6021896158079797316, 6021962115441018948}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 0
#7 0x00007f2825d33acf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:71
No locals.
#8 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb)