[gnutls-devel] 3.3.19 / 3.4.7 Guile related testsuite segfaults
Andreas Metzler
ametzler at bebt.de
Thu Nov 26 19:34:40 CET 2015
On 2015-11-26 Ludovic Courtès <ludo at gnu.org> wrote:
> Andreas Metzler <ametzler at bebt.de> skribis:
>> on amd64 there are segfaults in the guile testsuite:
>> (sid-AMD64)ametzler at argenau:/tmp/GNUTLS/gnutls-3.3.19/guile/tests$ while make t
>> est-suite.log TEST_LOGS=openpgp-auth.scm.log ; do sleep .3 ; rm openpgp-auth.scm.log openpgp-auth.scm.trs test-suite.log ; done
>> PASS: openpgp-auth.scm
>> [...]
>> ../../build-aux/test-driver: line 107: 16038 Segmentation fault (core dumped) "$@" > $log_file 2>&1
>> FAIL: openpgp-auth.scm
> So this test does not fail systematically, right?
Hello,
It does not fail on every invocation, but when I uploaded 3.3.19 and
3.4.7 on Sunday both autobuilds failed.
> I tested in an isolated build environment with 3.4.7 but I can’t
> reproduce the problem, even when running ‘make check -C guile/tests’ in
> a loop.
I have just reprodiced this (with a loop) on both 3.3.18 and 3.3.19.
> This reminds me of
> <http://lists.gnutls.org/pipermail/gnutls-devel/2012-December/005969.html>,
> but I think that bug would lead to systematic segfaults.
> > Core was generated by `/usr/bin/guile -L . ./openpgp-auth.scm'.
> > Program terminated with signal SIGSEGV, Segmentation fault.
> > #0 0x00007ff1c5d94d50 in ?? ()
> > [Current thread is 1 (LWP 16038)]
> > (gdb) bt full
> > #0 0x00007ff1c5d94d50 in ?? ()
> > No symbol table info available.
> > #1 0x0000000000000000 in ?? ()
> > No symbol table info available.
> Could you check ‘info files’ too, just in case some conflicting versions
> of libguile or something are being used?
For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 29066]
[New LWP 29074]
Core was generated by `/usr/bin/guile -L . ./openpgp-auth.scm'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f4b896c5630 in ?? ()
[Current thread is 1 (LWP 29066)]
(gdb) bt full
#0 0x00007f4b896c5630 in ?? ()
No symbol table info available.
#1 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) info files
Local core dump file:
`/tmp/GNUTLS/gnutls-3.3.19/guile/tests/core', file type elf64-x86-64.
0x0000000000400000 - 0x0000000000401000 is load1
0x0000000000601000 - 0x0000000000602000 is load2
0x0000000000602000 - 0x0000000000603000 is load3
0x00000000023bc000 - 0x0000000002787000 is load4
0x00007f4b862a2000 - 0x00007f4b862a3000 is load5a
0x00007f4b862a3000 - 0x00007f4b862a3000 is load5b
0x00007f4b862d4000 - 0x00007f4b862d4000 is load6
0x00007f4b864d4000 - 0x00007f4b864d5000 is load7
0x00007f4b864d5000 - 0x00007f4b864d6000 is load8
0x00007f4b864d6000 - 0x00007f4b864d7000 is load9a
0x00007f4b864d7000 - 0x00007f4b864d7000 is load9b
0x00007f4b8650b000 - 0x00007f4b8650b000 is load10
0x00007f4b8670a000 - 0x00007f4b8670c000 is load11
0x00007f4b8670c000 - 0x00007f4b8670d000 is load12
0x00007f4b8670d000 - 0x00007f4b8670e000 is load13a
0x00007f4b8670e000 - 0x00007f4b8670e000 is load13b
0x00007f4b8671f000 - 0x00007f4b8671f000 is load14
0x00007f4b8691e000 - 0x00007f4b8691f000 is load15
0x00007f4b8691f000 - 0x00007f4b86920000 is load16
0x00007f4b86920000 - 0x00007f4b86921000 is load17a
0x00007f4b86921000 - 0x00007f4b86921000 is load17b
0x00007f4b8697a000 - 0x00007f4b8697a000 is load18
0x00007f4b86b7a000 - 0x00007f4b86b84000 is load19
0x00007f4b86b84000 - 0x00007f4b86b86000 is load20
0x00007f4b86b86000 - 0x00007f4b86b87000 is load21a
0x00007f4b86b87000 - 0x00007f4b86b87000 is load21b
0x00007f4b86ba0000 - 0x00007f4b86ba0000 is load22
0x00007f4b86d9f000 - 0x00007f4b86da0000 is load23
0x00007f4b86da0000 - 0x00007f4b86da1000 is load24
0x00007f4b86da1000 - 0x00007f4b86da2000 is load25a
0x00007f4b86da2000 - 0x00007f4b86da2000 is load25b
0x00007f4b86eb7000 - 0x00007f4b86eb7000 is load26
0x00007f4b870b7000 - 0x00007f4b870c0000 is load27
0x00007f4b870c0000 - 0x00007f4b870c2000 is load28
0x00007f4b870c2000 - 0x00007f4b870c3000 is load29
0x00007f4b870c3000 - 0x00007f4b870c4000 is load30a
0x00007f4b870c4000 - 0x00007f4b870c4000 is load30b
0x00007f4b870f0000 - 0x00007f4b870f0000 is load31
0x00007f4b872ef000 - 0x00007f4b872f2000 is load32
0x00007f4b872f2000 - 0x00007f4b872f5000 is load33
0x00007f4b872f5000 - 0x00007f4b872f6000 is load34a
0x00007f4b872f6000 - 0x00007f4b872f6000 is load34b
0x00007f4b872f7000 - 0x00007f4b872f7000 is load35
0x00007f4b874f6000 - 0x00007f4b874f7000 is load36
0x00007f4b874f7000 - 0x00007f4b874f8000 is load37
0x00007f4b874f8000 - 0x00007f4b874f9000 is load38
0x00007f4b874f9000 - 0x00007f4b87cf9000 is load39
0x00007f4b87cf9000 - 0x00007f4b87cfa000 is load40a
0x00007f4b87cfa000 - 0x00007f4b87cfa000 is load40b
0x00007f4b87cfc000 - 0x00007f4b87cfc000 is load41
0x00007f4b87efb000 - 0x00007f4b87efc000 is load42
0x00007f4b87efc000 - 0x00007f4b87efd000 is load43
0x00007f4b87efd000 - 0x00007f4b87efe000 is load44a
0x00007f4b87efe000 - 0x00007f4b87efe000 is load44b
0x00007f4b87f06000 - 0x00007f4b87f06000 is load45
0x00007f4b88105000 - 0x00007f4b88106000 is load46
0x00007f4b88106000 - 0x00007f4b88107000 is load47
0x00007f4b88107000 - 0x00007f4b88108000 is load48a
0x00007f4b88108000 - 0x00007f4b88108000 is load48b
0x00007f4b88189000 - 0x00007f4b88189000 is load49
0x00007f4b88388000 - 0x00007f4b88389000 is load50
0x00007f4b88389000 - 0x00007f4b8838a000 is load51
0x00007f4b8838a000 - 0x00007f4b8838b000 is load52a
0x00007f4b8838b000 - 0x00007f4b8838b000 is load52b
0x00007f4b8849d000 - 0x00007f4b8849d000 is load53
0x00007f4b8869d000 - 0x00007f4b886a0000 is load54
0x00007f4b886a0000 - 0x00007f4b886a1000 is load55
0x00007f4b886a1000 - 0x00007f4b886a1000 is load56
0x00007f4b886a2000 - 0x00007f4b886a3000 is load57a
0x00007f4b886a3000 - 0x00007f4b886a3000 is load57b
0x00007f4b886a9000 - 0x00007f4b886a9000 is load58
0x00007f4b888a9000 - 0x00007f4b888aa000 is load59
0x00007f4b888aa000 - 0x00007f4b888ab000 is load60
0x00007f4b888ab000 - 0x00007f4b888ac000 is load61a
0x00007f4b888ac000 - 0x00007f4b888ac000 is load61b
0x00007f4b888d7000 - 0x00007f4b888d7000 is load62
0x00007f4b88ad7000 - 0x00007f4b88ad9000 is load63
0x00007f4b88ad9000 - 0x00007f4b88b1b000 is load64
0x00007f4b88b1b000 - 0x00007f4b88b1c000 is load65a
0x00007f4b88b1c000 - 0x00007f4b88b1c000 is load65b
0x00007f4b88cba000 - 0x00007f4b88cba000 is load66
0x00007f4b88eba000 - 0x00007f4b88ebe000 is load67
0x00007f4b88ebe000 - 0x00007f4b88ec0000 is load68
0x00007f4b88ec0000 - 0x00007f4b88ec4000 is load69
0x00007f4b88ec4000 - 0x00007f4b88ec5000 is load70a
0x00007f4b88ec5000 - 0x00007f4b88ec5000 is load70b
0x00007f4b88edc000 - 0x00007f4b88edc000 is load71
0x00007f4b890db000 - 0x00007f4b890dc000 is load72
0x00007f4b890dc000 - 0x00007f4b890dd000 is load73
0x00007f4b890dd000 - 0x00007f4b890e1000 is load74
0x00007f4b890e1000 - 0x00007f4b890e2000 is load75a
0x00007f4b890e2000 - 0x00007f4b890e2000 is load75b
0x00007f4b891e1000 - 0x00007f4b891e1000 is load76
0x00007f4b893e0000 - 0x00007f4b893e1000 is load77
0x00007f4b893e1000 - 0x00007f4b893e2000 is load78
0x00007f4b893e2000 - 0x00007f4b893e3000 is load79a
0x00007f4b893e3000 - 0x00007f4b893e3000 is load79b
0x00007f4b893ea000 - 0x00007f4b893ea000 is load80
0x00007f4b895e9000 - 0x00007f4b895ea000 is load81
0x00007f4b895ea000 - 0x00007f4b895eb000 is load82
0x00007f4b895eb000 - 0x00007f4b895eb000 is load83
0x00007f4b89619000 - 0x00007f4b8961a000 is load84a
0x00007f4b8961a000 - 0x00007f4b8961a000 is load84b
0x00007f4b8976f000 - 0x00007f4b8976f000 is load85
0x00007f4b8996e000 - 0x00007f4b89980000 is load86
0x00007f4b89980000 - 0x00007f4b8999e000 is load87
0x00007f4b8999e000 - 0x00007f4b899ab000 is load88
0x00007f4b899ab000 - 0x00007f4b899ac000 is load89a
0x00007f4b899ac000 - 0x00007f4b899ac000 is load89b
0x00007f4b89b1f000 - 0x00007f4b89b1f000 is load90
0x00007f4b89b22000 - 0x00007f4b89b22000 is load91
0x00007f4b89b27000 - 0x00007f4b89b27000 is load92
0x00007f4b89b2d000 - 0x00007f4b89b2d000 is load93
0x00007f4b89b3a000 - 0x00007f4b89b3a000 is load94
0x00007f4b89b3d000 - 0x00007f4b89b3d000 is load95
0x00007f4b89b3f000 - 0x00007f4b89b3f000 is load96
0x00007f4b89b71000 - 0x00007f4b89b71000 is load97
0x00007f4b89b74000 - 0x00007f4b89b74000 is load98
0x00007f4b89bb6000 - 0x00007f4b89bb6000 is load99
0x00007f4b89bbd000 - 0x00007f4b89bc4000 is load100
0x00007f4b89bc4000 - 0x00007f4b89bc4000 is load101
0x00007f4b89bc5000 - 0x00007f4b89bc5000 is load102
0x00007f4b89bc9000 - 0x00007f4b89bcb000 is load103
0x00007f4b89bcb000 - 0x00007f4b89bcc000 is load104
0x00007f4b89bcc000 - 0x00007f4b89bcd000 is load105
0x00007f4b89bcd000 - 0x00007f4b89bce000 is load106
0x00007ffcb5eac000 - 0x00007ffcb5ece000 is load107
0x00007ffcb5f0f000 - 0x00007ffcb5f11000 is load108
0x00007ffcb5f11000 - 0x00007ffcb5f13000 is load109
0xffffffffff600000 - 0xffffffffff601000 is load110
--------------
FWIW looping over the test directly runs faster
while GUILE_AUTO_COMPILE=0 GUILE_WARN_DEPRECATED=detailed GUILE_LOAD_PATH="/tmp/GNUTLS/gnutls-3.3.19/guile/modules:$GUILE_LOAD_PATH" GNUTLS_GUILE_EXTENSION_DIR="/tmp/GNUTLS/gnutls-3.3.19/guile/src" /usr/bin/guile-2.0 -L . ./openpgp-auth.scm ; do echo $? ; done
I get a crash after less than ten seconds.
throw to `wrong-type-arg' with args (#f "Wrong type: ~S" (Segmentation fault (core dumped)
> Also, what Guile and libgc versions are these?
> I’m testing with Guile 2.0.11 and libgc 7.4.2.
2.0.11+1-10 / 1:7.4.2-7.2
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'
More information about the Gnutls-devel
mailing list