Displaying 4 results from an estimated 4 matches for "copysiz".
Did you mean:
copysize
2016 Oct 17
2
Massive LMTP Problems with dovecot
...running LMTP process:
>
> #0 sha1_loop (ctxt=0x7f3b1a4d7fa0, input=0x7f3b1a524860, len=0) at sha1.c:216
> input_c = 0x7f3b1a524860 "\211PNG\r\n\032\n"
> gaplen = <optimized out>
> gapstart = <optimized out>
> off = 0
> copysiz = <optimized out>
>
> #1 0x00007f3b19195b29 in hash_format_loop (format=<optimized out>, data=0x7f3b1a524860, size=0) at hash-format.c:150
> list = 0x7f3b1a4d7f80
It seems to loop in sha1_loop & hash_format_loop
--
Ralf Hildebrandt
Gesch?ftsbereich IT | Abteil...
2018 Feb 06
0
"make check" test-hash-method bus error (Sparc alignment)
............................... : ok
/bin/ksh[2]: 24287 Bus Error(coredump)
make[4]: *** [Makefile:2655: check-local] Error 1
gdb output:
Program terminated with signal SIGBUS, Bus error.
#0 sha1_loop (ctxt=0xffbff724, input=0x83908, len=3) at sha1.c:224
224 ctxt->c.b64[0] += copysiz * 8;
(gdb) print &ctxt->c.b64[0]
$1 = (uint64_t *) 0xffbff73c
So the address of the 8 byte type is not divisible by 8 (Sparc alignment
requirement).
Full stack:
(gdb) bt full
#0 sha1_loop (ctxt=0xffbff724, input=0x83908, len=3) at sha1.c:224
input_c = 0x83908 "abc"...
2016 Oct 17
2
Massive LMTP Problems with dovecot
> We'll need the `dovecot -n` output first.
Here we go:
> # 2.2.devel (933d16f): /etc/dovecot/dovecot.conf
> # Pigeonhole version 0.4.devel (63f9b42)
> # OS: Linux 3.13.0-98-generic x86_64 Ubuntu 14.04.5 LTS
> default_vsz_limit = 2 G
> lmtp_user_concurrency_limit = 10000
> mail_attachment_dir = /home/copymail/attachments
> mail_location = mdbox:~/mdbox
>
2013 Aug 21
1
Bug in dovecot 2.2.5: segfault due to bad alignment
...in (argc=1, argv=0xffbffd54) at main.c:393
(gdb) print ctxt
$1 = (struct sha1_ctxt *) 0xffbff63c
As you can see, ctxt is on a 4-byte boundary, not on an 8-byte boundary.
The crash happens at sha1.c:224 where the 8-byte-alignment is indeed
mandatory on a SPARC architecture:
ctxt->c.b64[0] += copysiz * 8;
The environment is Solaris 10 on SPARCv9. The sources have been compiled
using gcc 4.8.0 for 32 bit.
Andreas.