Displaying 12 results from an estimated 12 matches for "count_r".
Did you mean:
count_p
2012 Apr 20
1
array code issue ?
Hi,
I just took a look into the dovecot 2.1 sources and just saw a possible issue
in array.h.
This code snippet as an example:
#static inline void *
#array_get_modifiable_i(struct array *array, unsigned int *count_r)
#{
# *count_r = array->buffer->used / array->element_size;
# return buffer_get_modifiable_data(array->buffer, NULL);
#}
array->buffer->used and array->element_size are of type 'size_t' which is
64bit on amd64 and others while 'count_r' is a 32bit value. At le...
2015 Jun 03
1
indexer-worker crashes handling mails with big attachments (dovecot 2.2.16/2.2.18 + FTS Apache Solr + Tika)
...2015-May/100901.html
I could trigger the same panic running the indexer via 'doveadm index -u
username MAILBOX'.
Here is a backtrace (bt) of the 2.2.18-crash (on line #8 you see a
fragement of the text sent to solr):
#0 array_count_i (array=0x8) at array.h:155
#1 array_get_modifiable_i (count_r=<synthetic pointer>, array=0x8) at
array.h:228
#2 priorityq_remove_idx (pq=0x0, idx=0) at priorityq.c:121
#3 0x00007ff65f3ef5eb in priorityq_remove (pq=<optimized out>,
item=item at entry=0xa26920) at priorityq.c:138
#4 0x00007ff65f3e1e70 in timeout_remove (_timeout=<optimized out...
2014 Apr 23
1
core dump in mail_cache_header_fields_read()
...0
offset = 23204
i = <optimized out>
#1 0x00007fca22f0a4d6 in mail_cache_open_and_verify
(cache=0x7fca24a04f70) at mail-cache.c:497
ret = <optimized out>
#2 0x00007fca22f0c905 in mail_cache_register_get_list
(cache=0x7fca24a04f70, pool=0x7fca249d7480,
count_r=count_r at entry=0x7fff0c4c7aec) at mail-cache-fields.c:194
list = <optimized out>
i = <optimized out>
#3 0x00007fca22ef93b3 in index_mail_parse_header_register_all_wanted
(mail=0x7fca24a14ce0) at index-mail-headers.c:169
_mail = 0x7fca24a14ce0
all_...
2017 Jan 24
1
Quota count does not work with lock_method=dotlock
On 24.01.2017 11:31, Tom Sommer wrote:
> On 2017-01-24 10:25, Aki Tuomi wrote:
>> On 24.01.2017 11:13, Tom Sommer wrote:
>>> On 2017-01-18 15:27, mkliewe at gmx.de wrote:
>>>
>>>> dovecot crashes when I switch the quota tracking from dict to count.
>>>
>>> I have the same problem, but I use 'dict:file' as quota backend -
>>>
2020 Feb 12
1
Dovecot process died with assertion failed
Hi,
I'm testing Dovecot v2.3.9.2.
So, I found a problem that a Dovecot process termed with Panic, like below:
Feb 10 08:50:09 imap(user1 at example.com)<38440><p9ec0zSeSIQKEAIK>: Panic: file message-snippet.c: line 71 (snippet_add_content): assertion failed: (*count_r <= size)
Feb 10 08:50:09 imap(user1 at example.com)<38440><p9ec0zSeSIQKEAIK>: Error: Raw backtrace: /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot.so.0(backtrace_append+0x3b) [0x7fee4c46331b] -> /usr/local/dovecot-2.3.9.2/lib/dovecot/libdovecot.so.0(backtrace_get+0x1e) [0x7fee4...
2010 Jun 19
2
coredump while accessing virtual folder with dovecot 2.0
...e to set a global
ACL in .DEFAULTS to access all folders.
Coredump:
Core was generated by `dovecot/imap'.
Program terminated with signal 11, Segmentation fault.
[New process 15910]
#0 0x00002afabdfbd6a2 in virtual_config_free (mbox=0x10a34128) at
../../../src/lib/array.h:198
198 *count_r = array->buffer->used / array->element_size;
#0 0x00002afabdfbd6a2 in virtual_config_free (mbox=0x10a34128) at
../../../src/lib/array.h:198
count = <value optimized out>
#1 0x00002afabdfbf659 in virtual_mailbox_free (box=0x0) at
virtual-storage.c:327
No locals.
#2 0x00002a...
2007 Dec 31
1
Segmentation fault in dovecot-sieve-1.1.2 + dovecot-1.1.beta13
...Starting program: /usr/local/libexec/dovecot/deliver -d
load1 at virt1.cti2.com < bad.txt
Program received signal SIGSEGV, Segmentation fault.
get_flags (sieve_flags=0xbfe7e438, flags_r=0xbfe7dee4,
keywords_r=0x2)
at
/root/dovecot-1.1.beta13/src/lib/array.h:145
145
*count_r = array->buffer->used / array->element_size;
(gdb) bt
#0 get_flags
(sieve_flags=0xbfe7e438, flags_r=0xbfe7dee4, keywords_r=0x2)
at
/root/dovecot-1.1.beta13/src/lib/array.h:145
#1 0x00f68744 in
sieve_keep (ac=0x2, ic=0x0, sc=0xbfe7f4e0, mc=0xbfe7f480,
errmsg=0xbfe7e3f0)...
2019 Jul 30
0
dovecot/imap crashes on Centos 7
...dovecot/imap crashing on my Centos7 server.
Below is the stacktrace I got:
#0? 0x00007f32d9b84e58 in array_count_i (array=0x55b332a1f8f8) at array.h:155? ? ? ? ? ? ? ? ? ? ? ? ? ?No locals.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??#1? array_get_i (count_r=<synthetic pointer>, array=0x55b332a1f8f8) at array.h:209? ? ? ? ? ? ? ? ? ? ??No locals.? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ??#2? seq_range_lookup (array=0x55b332a1f8f8, seq=7715, idx_r=0x7ffe5d719574) at seq-range-array.c:14? ? ?? ? ?...
2014 Feb 18
0
Bug report
...ssue:
(gdb) bt
#0 0x00007fcc521029cd in mail_cache_header_fields_read
(cache=0x15c7210) at mail-cache-fields.c:369
#1 0x00007fcc52100664 in mail_cache_open_and_verify (cache=0x15c7210)
at mail-cache.c:497
#2 0x00007fcc5210244d in mail_cache_register_get_list (cache=0x15c7210,
pool=0x1573608, count_r=0x7fff7b3b2418) at mail-cache-fields.c:194
#3 0x00007fcc520ef845 in index_mail_parse_header_register_all_wanted
(mail=0x15d4b60, headers=<value optimized out>) at index-mail-headers.c:170
#4 index_mail_parse_header_init (mail=0x15d4b60, headers=<value
optimized out>) at index-mail-h...
2019 Oct 10
0
Dovecot core debug
...36 (1f10bfa63) as shipped with Centos 7 (latest
update). If I can reproduce, I can then test the latest 2.3 and see if
this is still a problem in that version.
Here is the full back trace:
#0 0x00007f8d40636e58 in array_count_i (array=0x557be80cc168) at
array.h:155
No locals.
#1 array_get_i (count_r=<synthetic pointer>, array=0x557be80cc168) at
array.h:209
No locals.
#2 seq_range_lookup (array=0x557be80cc168, seq=2222, idx_r=0x7ffead4141d4)
at seq-range-array.c:14
data = <optimized out>
idx = <optimized out>
left_idx = <optimized out>...
2010 Apr 16
4
2.0 beta4 latest hg: segfault with virtual plugin
Hello Timo,
latest 2.0 hg version (changeset a6b050cc4a9a) segfaults when selecting
a virtual mailbox. Backtrace and dovecot -n are attached.
Please let me know if I can help with anything else to debug this.
Regards,
e-frog
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bt.txt
URL:
2014 Dec 15
0
virtual mailbox segfault
...=0x52d1cf10b8) at ../../../src/lib/array.h:140
warning: Source file is more recent than executable.
140 return array->buffer->used / array->element_size;
(gdb) bt full
#0 0x000002ba68e83609 in array_count_i (array=0x52d1cf10b8) at ../../../src/lib/array.h:140
No locals.
#1 array_get_i (count_r=<synthetic pointer>, array=0x52d1cf10b8) at ../../../src/lib/array.h:188
No locals.
#2 virtual_storage_set_have_guid_flags (mbox=0x52d1cf0de0) at virtual-storage.c:498
i = <optimized out>
count = <optimized out>
status = {messages = 3519949744, recent = 82...