Displaying 16 results from an estimated 16 matches for "seq_range".
2011 Jul 28
1
imap segfaults on UID SEARCH NOT <NON-EXISTENT-ID>
...>
c = <value optimized out>
In src/lib-storage/index/index-search.c:search_msgset_fix()
(frame #0 above), "range = array_get(seqset, &count);" sets
"count" local variable to 0.
static void search_msgset_fix(unsigned int messages_count,
ARRAY_TYPE(seq_range) *seqset,
uint32_t *seq1_r, uint32_t *seq2_r, bool not)
{
const struct seq_range *range;
unsigned int count;
uint32_t min_seq, max_seq;
if (!search_msgset_fix_limits(messages_count, seqset, not)) {
*seq1_r = (uint32_t)-1;
*seq2_r = 0;
return;
}
range = array_get(seqset, &...
2019 Jan 12
2
Solr -> Xapian ?
THank you
Now, for the results
I see the member of fts_result is :
ARRAY_TYPE(seq_range) definite_uids;
I have the UID as a aray of uint32_t *
How to put my UIDs into this "definite_uids" ? Obviously this is not a
simple array/pointer. How to say someting similar to
result->definite_uids[1]=my_uid ?
On 2019-01-12 10:25, Timo Sirainen wrote:
> On 11 Jan 2019, at 2...
2008 Aug 19
2
assertion failed
...NED MESSAGE-----
Hash: SHA1
I just switched over to dovecot 1.1.2 on our live system last night. I'm
seeing the following errors in the logs:
Aug 19 10:01:03 goku dovecot: [ID 107833 mail.crit] Panic: IMAP(elevin):
file in
dex-sync.c: line 39 (index_mailbox_set_recent_uid): assertion failed:
(seq_range
_exists(&ibox->recent_flags, uid))
I did apply the assertion fix that Timo sent out.
# 1.1.2: /userM/mail-services/dovecot/etc/dovecot.conf
Warning: fd limit 256 is lower than what Dovecot can use under full load
(more than 3072). Either grow the limit or change
login_max_processes_count a...
2019 Jan 12
2
Solr -> Xapian ?
...>
> For other folder, somehow, the process can not access that (root) folder.
>
> Am I missing something ?
>
> On 2019-01-12 17:37, Joan Moreau wrote:
>
> THank you
>
> Now, for the results
>
> I see the member of fts_result is :
>
> ARRAY_TYPE(seq_range) definite_uids;
>
> I have the UID as a aray of uint32_t *
>
> How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ?
>
> On 2019-01-12 10:25, Timo Sirainen wro...
2010 Jul 20
1
imap core dumping on signal 10
...iable = 0x0}
uidset = {arr = {buffer = 0x99b88f8, element_size = 240}, v = 0x99b88f8, v_modifiable = 0x99b88f8}
count = 1
buffer = (buffer_t *) 0x15ad18
buffer = (buffer_t *) 0x15ad18
buffer = (buffer_t *) 0xff1303bc
buffer = (buffer_t *) 0x10
seq_range = (const struct seq_range *) 0x0
uid_range = (const struct seq_range *) 0x0
seq_iter = {array = 0x0, prev_n = 0, prev_idx = 4096}
i = 2147483648
seq_count = 10240
uid_count = 1422984
diff = 2147498290
n = 10048
seq = 1366052
bu...
2019 Apr 30
0
Dovecot release v2.3.6
...Thanks.
-------------- next part --------------
--- ../original/src/lib-index/mail-index-transaction-update.c 2019-04-30 13:25:06.000000000 +0000
+++ src/lib-index/mail-index-transaction-update.c 2019-04-30 14:49:09.517684762 +0000
@@ -195,7 +195,8 @@
uint32_t first_uid,
ARRAY_TYPE(seq_range) *uids_r)
{
- return mail_index_append_finish_uids_full(t, first_uid, first_uid, uids_r);
+ mail_index_append_finish_uids_full(t, first_uid, first_uid, uids_r);
+ return;
}
void mail_index_append_finish_uids_full(struct mail_index_transaction *t,
2015 Jun 16
1
Imap process crashes when search in virtual mailbox
...er
submission_host = osmtp:8090
}
/services/dovecot1/etc/virtual/all/dovecot-virtual :
*
-Trash
-Junk
all
Error log:
2015-06-16T12:49:25.502864+02:00 sr-be-store07 dovecot: store107: imap(
mihaiush at sunrise.ch): hCdxU6AY/wAKThJr: Panic: file mail-index-map.c: line
547 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
2015-06-16T12:49:25.503429+02:00 sr-be-store07 dovecot: store107: imap(
mihaiush at sunrise.ch): hCdxU6AY/wAKThJr: Error: Raw backtrace:
/opt/dovecot2/lib/dovecot/libdovecot.so.0(+0x7c13f) [0x7fe2e433713f] ->
/opt/dovecot2/lib/dovecot/libdovecot.so.0(+0x7c1...
2019 Jan 12
0
Solr -> Xapian ?
...backed starts indexing all emails
For other folder, somehow, the process can not access that (root)
folder.
Am I missing something ?
On 2019-01-12 17:37, Joan Moreau wrote:
> THank you
>
> Now, for the results
>
> I see the member of fts_result is :
>
> ARRAY_TYPE(seq_range) definite_uids;
>
> I have the UID as a aray of uint32_t *
>
> How to put my UIDs into this "definite_uids" ? Obviously this is not a simple array/pointer. How to say someting similar to result->definite_uids[1]=my_uid ?
>
> On 2019-01-12 10:25, Timo Sirainen wro...
2019 Jan 13
0
Solr -> Xapian ?
I found the solution o this using
SEQ_RANGE_ARRAY_ADD(&RESULT->DEFINITE_UIDS, UID);
Now, I can see in the logs that several times, the dovecot calls the
fts_backend_xapian_update_set_mailbox with box == NULL. WHy so ?
THank you
On 2019-01-12 21:40, Joan Moreau via dovecot wrote:
> I somehow fixed the folder issue. (seems som...
2019 Apr 30
5
Dovecot release v2.3.6
Hi!
We are pleased to release Dovecot v2.3.6.
Tarball is available at
https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz
https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz.sig
Binary packages are available at https://repo.dovecot.org/
Changes
-------
* CVE-2019-11494: Submission-login crashed with signal 11 due to null pointer access when authentication was aborted by disconnecting.
*
2019 Apr 30
5
Dovecot release v2.3.6
Hi!
We are pleased to release Dovecot v2.3.6.
Tarball is available at
https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz
https://dovecot.org/releases/2.3/dovecot-2.3.6.tar.gz.sig
Binary packages are available at https://repo.dovecot.org/
Changes
-------
* CVE-2019-11494: Submission-login crashed with signal 11 due to null pointer access when authentication was aborted by disconnecting.
*
2014 Oct 20
1
2.2.14 Panic in sync_expunge_range()
...ailures.c:152
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0}
args = 0x8047424 ".????"
#7 0xfef31e5f in sync_expunge_range (ctx=0x8047600, seqs=0x80474d8) at ../../src/lib/array.h:197
map = (struct mail_index_map *) 0x80c5d90
range = (const struct seq_range *) 0x8093430
i = 134509780
count = 0
dest_seq1 = 562
prev_seq2 = 562
orig_rec_count = 4277606968
__FUNCTION__ = "sync_expunge_range"
#8 0xfef32d65 in mail_index_sync_record_real (ctx=0x8047600, hdr=0x80b5d28, data=0x80b5df8)
at ../../src/lib/array.h:197
rec = (const struct mai...
2008 Mar 10
2
dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
To some users happens this assertion failure while deleting a message.
dovecot: Mar 10 08:40:44 Panic: IMAP(user): file index-sync.c: line 39
(index_mailbox_set_recent_uid): assertion failed: (seq_range_exists
(&ibox->recent_flags, uid))
dovecot: Mar 10 08:40:44 Error: IMAP(user): Raw backtrace: [see bleow]
dovecot: Mar 10 08:40:44 Error: child 17683 (imap) killed with signal 6
And the message doesn't get deleted.
Here one of the backtraces
(gdb) bt
#0 0x00ae9402 in __kernel_vsyscal...
2012 Dec 13
5
dovecot-lda (2.1.12) segfaults
We uograded our dovecot from version 2.1.10 -> 2.10.12, but within
the first hour of use, dovecot-lda would segfault during delivery.
This left a lock file lying around causing the user's mail readers to
hang; much hilarity ensues. All further deliveries to the same user
will result in a crash.
The only thing that fixes this condition is to blow away the user's
INBOX cache index.
2007 Mar 15
5
[PATCH 0/5] fix gcc warnings in CVS HEAD
Hi,
I have rewritten the patches I submitted earlier today for the CVS
HEAD. Some of the changes were already committed months ago.
On 2007/03/15 12:30, Timo Sirainen <tss at iki.fi> wrote:
> That's ok, but I'm not sure about bsearch_insert_pos(). It's the way it
> is mostly because I wanted to keep bsearch() API. If it can't return
> void * then maybe it could be
2019 Jan 11
4
Solr -> Xapian ?
The below patch resolves the compilation error
$ DIFF -P COMPAT.H COMPAT.H.JOAN
*** compat.h 2019-01-11 20:21:00.726625427 +0100
--- compat.h.joan 2019-01-11 20:14:41.729109919 +0100
*************** struct iovec;
*** 202,207 ****
--- 202,211 ----
ssize_t i_my_writev(int fd, const struct iovec *iov, int iov_len);
#endif
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
+
#if