#807392 libsendmail-milter-perl: intermittent FTBFSes: Segmentation fault (core dumped)

#807392#5
Date:
2015-12-08 12:14:40 UTC
From:
To:
Dear Maintainer,

libsendmail-milter-perl fails to build from source in unstable/amd64:

  [..]

     dh_auto_test
  	make -j1 test TEST_VERBOSE=1
  make[1]: Entering directory
  '/home/lamby/temp/cdt.20151208135010.1cIlOB0yFG/libsendmail-milter-perl-0.18'
  Running Mkbootstrap for Sendmail::Milter ()
  chmod 644 Milter.bs
  PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
  ---> Starting callback from interpreter: [0x7feeac0008e0].
  ---> Finished callback from interpreter: [0x7feeac0008e0].
  ---> Starting callback from interpreter: [0x7feeac0008e0].
  ---> Finished callback from interpreter: [0x7feeac0008e0].
  ---> Starting callback from interpreter: [0x7feeac0008e0].
  ---> Finished callback from interpreter: [0x7feeac0008e0].
  ---> Starting callback from interpreter: [0x7feeac0008e0].
  ---> Finished callback from interpreter: [0x7feeac0008e0].
  ---> Starting callback from interpreter: [0x7feeac0008e0].
  ---> Finished callback from interpreter: [0x7feeac0008e0].
  ---> Starting callback from interpreter: [0x7feeac0008e0].
  ---> Finished callback from interpreter: [0x7feeac0008e0].
  ---> Starting callback from interpreter: [0x7feea00008e0].
  ---> Finished callback from interpreter: [0x7feea00008e0].
  ---> Starting callback from interpreter: [0x7feea00008e0].
  ---> Finished callback from interpreter: [0x7feea00008e0].
  Segmentation fault (core dumped)
  Makefile:992: recipe for target 'test_dynamic' failed
  make[1]: *** [test_dynamic] Error 139
  make[1]: Leaving directory
  '/home/lamby/temp/cdt.20151208135010.1cIlOB0yFG/libsendmail-milter-perl-0.18'
  dh_auto_test: make -j1 test TEST_VERBOSE=1 returned exit code 2
  debian/rules:4: recipe for target 'build' failed
  make: *** [build] Error 2

  [..]

The full build log is attached.


Regards,

#807392#10
Date:
2015-12-08 14:12:41 UTC
From:
To:
Control: tag -1 + unreproducible

This builds fine for me (cowbuilder sid amd64):

   dh_auto_test
    make -j1 test TEST_VERBOSE=1
make[1]: Entering directory '/build/libsendmail-milter-perl-0.18'
Running Mkbootstrap for Sendmail::Milter ()
chmod 644 Milter.bs
PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbb40008e0].
---> Finished callback from interpreter: [0x7fbbb40008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbb80008e0].
---> Finished callback from interpreter: [0x7fbbb80008e0].
---> Starting callback from interpreter: [0x7fbbb80008e0].
---> Finished callback from interpreter: [0x7fbbb80008e0].
---> Starting callback from interpreter: [0x7fbbb00008e0].
---> Finished callback from interpreter: [0x7fbbb00008e0].
---> Starting callback from interpreter: [0x7fbbb00008e0].
---> Finished callback from interpreter: [0x7fbbb00008e0].
---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
test_wrapper: Original interpreter cloned: 0x020a7010
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc007ab20
test_wrapper: Calling callback 0xc007ab08 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc007ab20
test_wrapper: Calling callback 0xc007ab08 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc007ab20
test_wrapper: Calling callback 0xc007ab08 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc007ab20
test_wrapper: Calling callback 0xc007ab08 from aTHX 0xc00008e0.
test_wrapper: Original interpreter cloned: 0x020a7010
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc014e780
test_wrapper: Calling callback 0xc014e768 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb8074f10
test_wrapper: Calling callback 0xb8074ef8 from aTHX 0xb80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb0074f10
test_wrapper: Calling callback 0xb0074ef8 from aTHX 0xb00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb4074f10
test_wrapper: Calling callback 0xb4074ef8 from aTHX 0xb40008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc014e780
test_wrapper: Calling callback 0xc014e768 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb8074f10
test_wrapper: Calling callback 0xb8074ef8 from aTHX 0xb80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb0074f10
test_wrapper: Calling callback 0xb0074ef8 from aTHX 0xb00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xa8074f10
test_wrapper: Calling callback 0xa8074ef8 from aTHX 0xa80008e0.
test_wrapper: Original interpreter cloned: 0x020a7010
test_wrapper: Analysing callback...
test_wrapper: pointer to string... string is 'perl_callback'
test_wrapper: Calling callback 0xa8147b18 from aTHX 0xa80008e0.
test_wrapper: Analysing callback...
test_wrapper: pointer to string... string is 'perl_callback'
test_wrapper: Calling callback 0xc0221388 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: pointer to string... string is 'perl_callback'
test_wrapper: Calling callback 0xa8147b18 from aTHX 0xa80008e0.
test_wrapper: Analysing callback...
test_wrapper: pointer to string... string is 'perl_callback'
test_wrapper: Calling callback 0xc0221388 from aTHX 0xc00008e0.
test_wrapper: Original interpreter cloned: 0x020a7010
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xa821a730
test_wrapper: Calling callback 0xa821a718 from aTHX 0xa80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc02f3f90
test_wrapper: Calling callback 0xc02f3f78 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xa821a730
test_wrapper: Calling callback 0xa821a718 from aTHX 0xa80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc02f3f90
test_wrapper: Calling callback 0xc02f3f78 from aTHX 0xc00008e0.
test_wrapper: Original interpreter cloned: 0x020a7010
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xa82ed350
test_wrapper: Calling callback 0xa82ed338 from aTHX 0xa80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xc03c6bb0
test_wrapper: Calling callback 0xc03c6b98 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb8147b30
test_wrapper: Calling callback 0xb8147b18 from aTHX 0xb80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb0147b30
test_wrapper: Calling callback 0xb0147b18 from aTHX 0xb00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xa82ed350
test_wrapper: Calling callback 0xa82ed338 from aTHX 0xa80008e0.
test_wrappe---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbba80008e0].
---> Finished callback from interpreter: [0x7fbba80008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbc00008e0].
---> Finished callback from interpreter: [0x7fbbc00008e0].
---> Starting callback from interpreter: [0x7fbbb00008e0].
---> Finished callback from interpreter: [0x7fbbb00008e0].
---> Starting callback from interpreter: [0x7fbbb00008e0].
---> Finished callback from interpreter: [0x7fbbb00008e0].
---> Starting callback from interpreter: [0x7fbbb80008e0].
---> Finished callback from interpreter: [0x7fbbb80008e0].
---> Starting callback from interpreter: [0x7fbbb80008e0].
---> Finished callback from interpreter: [0x7fbbb80008e0].
------------------------------------------------------------------------
Interpreter pool tests. See sample.pl for a sample Milter.
------------------------------------------------------------------------
Running starvation test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
------------------------------------------------------------------------
Starvation test successful.
------------------------------------------------------------------------
Running multiplicity test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
------------------------------------------------------------------------
Multiplicity test successful.
------------------------------------------------------------------------
Running scalar function name test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
------------------------------------------------------------------------
Scalar function name test successful.
------------------------------------------------------------------------
Running closure test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
------------------------------------------------------------------------
Closure test successful.
------------------------------------------------------------------------
Running recycle test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
------------------------------------------------------------------------
Recycle test successful.
------------------------------------------------------------------------
All tests finished successfully.
------------------------------------------------------------------------
r: Analysing callback...
test_wrapper: It's a code reference to: 0xc03c6bb0
test_wrapper: Calling callback 0xc03c6b98 from aTHX 0xc00008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb8147b30
test_wrapper: Calling callback 0xb8147b18 from aTHX 0xb80008e0.
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0xb0147b30
test_wrapper: Calling callback 0xb0147b18 from aTHX 0xb00008e0.
make[1]: Leaving directory '/build/libsendmail-milter-perl-0.18'



Cheers,
gregor

#807392#17
Date:
2015-12-16 16:48:44 UTC
From:
To:
[..]

Can anyone else reproduce or not reproduce this issue?

Cheers,
gregor

#807392#22
Date:
2015-12-18 13:41:10 UTC
From:
To:
Control: tag -1 - unreproducible

The buildds could reproduce the problem:

https://buildd.debian.org/status/logs.php?pkg=libsendmail-milter-perl&ver=0.18-8%2Bb1


Cheers,
gregor

#807392#29
Date:
2015-12-20 18:27:07 UTC
From:
To:
Control: severity -1 important
Control: retitle -1 libsendmail-milter-perl: intermittent FTBFSes: Segmentation fault (core dumped)

And after a giveback back by release team it built (same URL).

Setting the seveverity to important since this is "intermittent
only".

Cheers,
gregor

#807392#40
Date:
2025-01-24 21:51:42 UTC
From:
To:
I was about to submit the bug report below, but that would be a duplicate.

Source: libsendmail-milter-perl
Version: 0.18-10
Severity: serious
User: debian-ci@lists.debian.org
Usertags: flaky

Dear maintainer(s),

I looked at the results of the autopkgtest of your package because it
showed up in the excuses for glibc. I noticed that it regularly fails.
On some architectures more than on others, but it seems to happen
everywhere.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure.

Paul

https://ci.debian.net/packages/libs/libsendmail-milter-perl/testing/s390x/56858946/

  23s autopkgtest [16:06:22]: test autodep8-perl-build-deps:
[-----------------------
  23s I: Nothing to prove, skipping.
  27s ---> Starting callback from interpreter: [0x3ff78000b90].
  27s ---> Finished callback from interpreter: [0x3ff78000b90].
  27s ---> Starting callback from interpreter: [0x3ff78000b90].
  27s ---> Finished callback from interpreter: [0x3ff78000b90].
  27s ---> Starting callback from interpreter: [0x3ff78000b90].
  27s ---> Finished callback from interpreter: [0x3ff78000b90].
  27s ---> Starting callback from interpreter: [0x3ff78000b90].
  27s ---> Finished callback from interpreter: [0x3ff78000b90].
  29s ---> Starting callback from interpreter: [0x3ff68000b90].
  29s ---> Finished callback from interpreter: [0x3ff68000b90].
  29s ---> Starting callback from interpreter: [0x3ff78000b90].
  29s ---> Finished callback from interpreter: [0x3ff78000b90].
  29s ---> Starting callback from interpreter: [0x3ff78000b90].
  29s ---> Finished callback from interpreter: [0x3ff78000b90].
  29s ---> Starting callback from interpreter: [0x3ff74000b90].
  29s ---> Finished callback from interpreter: [0x3ff74000b90].
  29s ---> Starting callback from interpreter: [0x3ff74000b90].
  29s ---> Finished callback from interpreter: [0x3ff74000b90].
  29s ---> Starting callback from interpreter: [0x3ff64000b90].
  29s ---> Finished callback from interpreter: [0x3ff64000b90].
  29s intpool pthread_mutex_destroy() failed: 16 at ./test.pl line 42.
  29s
------------------------------------------------------------------------
  29s Interpreter pool tests. See sample.pl for a sample Milter.
  29s
------------------------------------------------------------------------
  29s Running starvation test... (Core dump indicates failure ;-)
  29s
------------------------------------------------------------------------
  29s
------------------------------------------------------------------------
  29s Starvation test successful.
  29s
------------------------------------------------------------------------
  29s Running multiplicity test... (Core dump indicates failure ;-)
  29s
------------------------------------------------------------------------
  29s Segmentation fault
  29s autopkgtest [16:06:28]: test autodep8-perl-build-deps:
-----------------------]

#807392#47
Date:
2025-04-11 14:05:15 UTC
From:
To:
reproduce the segfault: Typically something like

#v+
------------------------------------------------------------------------
Running recycle test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
test_wrapper: Original interpreter cloned: 0x53cb33c0
---> Finished callback from interpreter: [0x7fbc181be7e0].
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0x1c234b18
test_wrapper: Calling callback 0x1c234b00 from aTHX 0x1c0008e0.
---> Starting callback from interpreter: [0x7fbc1c0008e0].
test_wrapper: Analysing callback...
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0x18317708
test_wrapper: Calling callback 0x183176f0 from aTHX 0x18000ce0.
---> Starting callback from interpreter: [0x7fbc18000ce0].
test_wrapper: It's a code reference to: 0x101570d8
test_wrapper: Calling callback 0x101570c0 from aTHX 0x10000b90.
---> Starting callback from interpreter: [0x7fbc10000b90].
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0x08079848
test_wrapper: Calling callback 0x08079830 from aTHX 0x08000b90.
---> Starting callback from interpreter: [0x7fbc08000b90].
---> Finished callback from interpreter: [0x7fbc1c0008e0].
---> Finished callback from interpreter: [0x7fbc18000ce0].
---> Finished callback from interpreter: [0x7fbc10000b90].
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0x203f6b68
test_wrapper: Calling callback 0x203f6b50 from aTHX 0x20000b70.
---> Starting callback from interpreter: [0x7fbc20000b70].
test_wrapper: Analysing callback...
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0x18317708
test_wrapper: Calling callback 0x183176f0 from aTHX 0x18000ce0.
---> Starting callback from interpreter: [0x7fbc18000ce0].
test_wrapper: It's a code reference to: 0x1c234b18
test_wrapper: Calling callback 0x1c234b00 from aTHX 0x1c0008e0.
---> Starting callback from interpreter: [0x7fbc1c0008e0].
test_wrapper: Analysing callback...
test_wrapper: It's a code reference to: 0x101570d8
test_wrapper: Calling callback 0x101570c0 from aTHX 0x10000b90.
---> Starting callback from interpreter: [0x7fbc10000b90].
---> Finished callback from interpreter: [0x7fbc08000b90].
---> Finished callback from interpreter: [0x7fbc20000b70].
---> Finished callback from interpreter: [0x7fbc10000b90].
---> Finished callback from interpreter: [0x7fbc18000ce0].
---> Finished callback from interpreter: [0x7fbc1c0008e0].
Segmentation fault (core dumped)
#v-

(Mostly in "Multiplicity test".)

But also:
#v+
------------------------------------------------------------------------
Running scalar function name test... (Core dump indicates failure ;-)
------------------------------------------------------------------------
test_wrapper: Original interpreter cloned: 0x85d083c0
intpool pthread_mutex_lock() failed: 22 at test.pl line 42.
#v-


Cheers,
gregor