Displaying 12 results from an estimated 12 matches for "squat_trie_lock".
2010 Sep 23
1
recursive locks
...n a dovecot-2 plugin safely use file-locks or file-dotlocks when the processes into which it plugs handle multiple connections? (Via, e.g.,
service imap {
client_limit = N
service_count = 0
})
Dovecot's file-locks and file-dotlocks do not appear to support nesting/recursion.
For instance, squat_trie_lock(). Imagine one user is connected to a single imap process twice.
2012 Feb 27
1
Error with 2.0.18
...ir/dovecot.index.search.uids) failed: Cannot allocate memory
Feb 26 14:27:51 postamt dovecot: imap(tscxxxf): Error: Corrupted squat uidlist file /home/t/s/tscxxxf/Maildir/dovecot.index.search.uids: uidlist not found
Feb 26 14:27:52 postamt dovecot: imap(tscxxxf): Panic: file squat-trie.c: line 289 (squat_trie_lock): assertion failed: (trie->fd != -1)
Feb 26 14:27:52 postamt dovecot: imap(tscxxxf): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x3d44a) [0xb771644a] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x3d4bb) [0xb77164bb] -> /usr/local/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x...
2008 Oct 04
2
Dovecot 1.1.3 crash & backtrace
...lock_do"
#7 0x080d94fe in file_wait_lock (fd=-1,
path=0x97d1e38 "/home/m/r/mrowka/Maildir/dovecot.index.search",
lock_type=1, lock_method=FILE_LOCK_METHOD_FCNTL, timeout_secs=60,
lock_r=0x97db704) at file-lock.c:129
ret = <value optimized out>
#8 0xb7d95875 in squat_trie_lock (trie=0x97d0448, lock_type=1,
file_lock_r=0x97db704, dotlock_r=0x97db708) at squat-trie.c:294
ret = 0
#9 0xb7d98996 in squat_trie_build_deinit (_ctx=0x97db720,
expunged_uids=0xbf83b548) at squat-trie.c:1600
ctx = (struct squat_trie_build_context *) 0x97db6f8
unlock = <value optimiz...
2018 Dec 04
2
[2.3.4] Segmentation faults
...th=<optimized out>, lock_type=lock_type at entry=0, lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
> lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
> error = 0x564540376490 ""
> ret = <optimized out>
> #3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490, lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at squat-trie.c:294
> ret = <optimized out>
> dotlock_r = 0x7fff04501120
> file_lock_r = 0x7fff04501118
> trie = 0x564540376490
> ret = <optimized out>
> __func__ = "squat_tri...
2018 Dec 04
3
[2.3.4] Segmentation faults
...th=<optimized out>, lock_type=lock_type at entry=0, lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
> lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
> error = 0x564540376490 ""
> ret = <optimized out>
> #3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490, lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at squat-trie.c:294
> ret = <optimized out>
> dotlock_r = 0x7fff04501120
> file_lock_r = 0x7fff04501118
> trie = 0x564540376490
> ret = <optimized out>
> __func__ = "squat_tri...
2018 Dec 04
2
[2.3.4] Segmentation faults
..._type at entry=0, lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
> > > lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
> > > error = 0x564540376490 ""
> > > ret = <optimized out>
> > > #3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490, lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at squat-trie.c:294
> > > ret = <optimized out>
> > > dotlock_r = 0x7fff04501120
> > > file_lock_r = 0x7fff04501118
> > > trie = 0x564540376490
> > > ret = <...
2018 Dec 04
0
[2.3.4] Segmentation faults
...>, lock_type=lock_type at entry=0, lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
> > lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
> > error = 0x564540376490 ""
> > ret = <optimized out>
> > #3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490, lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at squat-trie.c:294
> > ret = <optimized out>
> > dotlock_r = 0x7fff04501120
> > file_lock_r = 0x7fff04501118
> > trie = 0x564540376490
> > ret = <optimized out>
> &...
2018 Dec 04
0
[2.3.4] Segmentation faults
...>, lock_type=lock_type at entry=0, lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
> > lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
> > error = 0x564540376490 ""
> > ret = <optimized out>
> > #3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490, lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at squat-trie.c:294
> > ret = <optimized out>
> > dotlock_r = 0x7fff04501120
> > file_lock_r = 0x7fff04501118
> > trie = 0x564540376490
> > ret = <optimized out>
> &...
2018 Dec 04
0
Squat
...th=<optimized out>, lock_type=lock_type at entry=0, lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
> lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
> error = 0x564540376490 ""
> ret = <optimized out>
> #3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490, lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at squat-trie.c:294
> ret = <optimized out>
> dotlock_r = 0x7fff04501120
> file_lock_r = 0x7fff04501118
> trie = 0x564540376490
> ret = <optimized out>
> __func__ = "squat_tri...
2013 Nov 05
0
squat assertion result core dump with imap process
Hello,
Recently, we had a file system problem. After fsck we started to get some
core dump with imap process.
Nov 4 15:15:04 mail_server1 dovecot: imap(user at domain.tld): Panic: file
squat-trie.c: line 293 (squat_trie_lock): assertion failed: (trie->fd != -1)
Nov 4 15:15:04 mail_server1 dovecot: imap(user at domain.tld): Error: Raw
backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x4892a) [0x7fe8b7c9392a] ->
/usr/lib/dovecot/libdovecot.so.0(+0x48976) [0x7fe8b7c93976] ->
/usr/lib/dovecot/libdovecot.so.0(i_error+...
2018 Nov 29
3
[2.3.4] Segmentation faults
finally managed to locate the dump
here the output:
# gdb /usr/libexec/dovecot/auth
/var/lib/systemd/coredump/core.auth.0.3a33f56105e043de802a7dfcee265a07.28130.1543516118000000
GNU gdb (GDB) 8.2
Copyright (C) 2018 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.
2018 Nov 30
0
[2.3.4] Segmentation faults
...ptimized out>,
path=<optimized out>, lock_type=lock_type at entry=0,
lock_method=<optimized out>, timeout_secs=timeout_secs at entry=60,
lock_r=lock_r at entry=0x7fff04501118) at file-lock.c:303
error = 0x564540376490 ""
ret = <optimized out>
#3 0x00007f768a976c87 in squat_trie_lock (trie=0x564540376490,
lock_type=0, file_lock_r=0x7fff04501118, dotlock_r=0x7fff04501120) at
squat-trie.c:294
ret = <optimized out>
dotlock_r = 0x7fff04501120
file_lock_r = 0x7fff04501118
trie = 0x564540376490
ret = <optimized out>
__func__ = "squat_trie_lock"
lock_type = 0
ret...