Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764713 - net-mail/dovecot-2.3.13-r1: fails tests on 32-bit systems (Panic: file time-util.c: line 65 (timeval_cmp_margin): assertion failed: (usecs_diff >= 0))
Summary: net-mail/dovecot-2.3.13-r1: fails tests on 32-bit systems (Panic: file time-u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Other Linux
: Normal normal (vote)
Assignee: Eray Aslan
URL:
Whiteboard:
Keywords: TESTFAILURE
: 768501 (view as bug list)
Depends on:
Blocks: CVE-2020-24386, CVE-2020-25275 768870
  Show dependency tree
 
Reported: 2021-01-09 21:22 UTC by ernsteiswuerfel
Modified: 2021-02-05 21:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (dovecot-2.3.13-r1:20210109-210228.log.xz,69.41 KB, application/x-xz)
2021-01-09 21:22 UTC, ernsteiswuerfel
Details
emerge --info (file_764713.txt,5.86 KB, text/plain)
2021-01-09 21:23 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2021-01-09 21:22:42 UTC
Created attachment 682174 [details]
build.log.xz

[...]
timeval_cmp() ........................................................ : ok
Panic: file time-util.c: line 65 (timeval_cmp_margin): assertion failed: (usecs_diff >= 0)
Error: Raw backtrace: ./test-lib(+0x44fb8) [0xaf4fb8] -> ./test-lib(+0x450d4) [0xaf50d4] -> ./test-lib(+0x51280) [0xb01280] -> ./test-lib(+0x51314) [0xb01314] -> ./test-lib(+0x18890) [0xac8890] -> ./test-lib(+0x84a58) [0xb34a58] -> ./test-lib(+0x40424) [0xaf0424] -> ./test-lib(+0x42c28) [0xaf2c28] -> ./test-lib(+0x43884) [0xaf3884] -> ./test-lib(+0x18cd0) [0xac8cd0] -> /lib/libc.so.6(+0x22560) [0x8a5560] -> /lib/libc.so.6(__libc_start_main+0x90) [0x8a5700]
/bin/sh: line 1: 16199 Aborted                 (core dumped) ./$bin
make[4]: *** [Makefile:3538: check-local] Error 1
make[4]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.13-r1/work/dovecot-2.3.13/src/lib'
make[3]: *** [Makefile:2896: check-am] Error 2
make[3]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.13-r1/work/dovecot-2.3.13/src/lib'
make[2]: *** [Makefile:2898: check] Error 2
make[2]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.13-r1/work/dovecot-2.3.13/src/lib'
make[1]: *** [Makefile:567: check-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-mail/dovecot-2.3.13-r1/work/dovecot-2.3.13/src'
make: *** [Makefile:686: check-recursive] Error 1
Comment 1 ernsteiswuerfel archtester 2021-01-09 21:23:00 UTC
Created attachment 682177 [details]
emerge --info
Comment 2 Eray Aslan gentoo-dev 2021-01-11 10:18:25 UTC
any chance of a more meaningful backtrace? perhaps https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces can help.
Comment 3 ernsteiswuerfel archtester 2021-01-19 22:38:46 UTC
 # gdb -q ./test-lib
Reading symbols from ./test-lib...
(gdb) run

[...]
timeval_cmp() ........................................................ : ok
Panic: file time-util.c: line 65 (timeval_cmp_margin): assertion failed: (usecs_diff >= 0)
Error: Raw backtrace: /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x44fb8) [0x444fb8] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x450d4) [0x4450d4] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x51280) [0x451280] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x51314) [0x451314] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x18890) [0x418890] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x84a58) [0x484a58] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x40424) [0x440424] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x42c28) [0x442c28] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x43884) [0x443884] -> /var/tmp/portage/net-mail/dovecot-2.3.13-r100/work/dovecot-2.3.13/src/lib/test-lib(+0x18cd0) [0x418cd0] -> /lib/libc.so.6(+0x22560) [0x23e560] -> /lib/libc.so.6(__libc_start_main+0x90) [0x23e700]

Program received signal SIGABRT, Aborted.
0x00258618 in __libc_signal_restore_set (set=0xffffd7d8) at ../sysdeps/unix/sysv/linux/internal-signals.h:104
104	  INTERNAL_SYSCALL_CALL (rt_sigprocmask, SIG_SETMASK, set, NULL,

This time I built dovecot with debugsyms installsources environment.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-05 20:32:24 UTC
*** Bug 768501 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2021-02-05 21:09:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcd40797c9334adc5e7475dff86714c351b7bbfa

commit bcd40797c9334adc5e7475dff86714c351b7bbfa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-05 21:09:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-05 21:09:52 +0000

    net-mail/dovecot: fix test failures on 32-bit systems
    
    Closes: https://bugs.gentoo.org/764713
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/dovecot/dovecot-2.3.13-r100.ebuild        |  4 +-
 .../files/dovecot-2.3.13-32-bit-tests-1.patch      | 52 ++++++++++++++++++++++
 .../files/dovecot-2.3.13-32-bit-tests-2.patch      | 27 +++++++++++
 3 files changed, 82 insertions(+), 1 deletion(-)