Summary: | dev-perl/Cairo-1.106.0 fails tests with "stack smashing detected" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jonathan Lovelace <kingjon3377> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | Keywords: | TESTFAILURE |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=641494 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 300119 | ||
Attachments: |
dev-perl:Cairo-1.106.0:20180813-001153.log
CairoSurface.t.log |
Description
Jonathan Lovelace
2018-08-13 00:25:14 UTC
Created attachment 545018 [details]
CairoSurface.t.log
I rebuilt dev-lang/perl with USE=debug (and ran perl-cleaner as instructed), and did my best to figure out how to use the Perl debugger to get a trace of the failing test. Here's a log captured by executing (in $S) "script -c 'perl -d -I./blib/lib -I./blib/arch/auto/Cairo t/CairoSurface.t'" and (as can be seen in its first lines) 'o AutoTrace=1' then 'c'. I hope someone with a better grasp than mine of Perl can make some sense of it to identify what's triggered glibc's stack smashing detector.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c58128ee88e4869b802230e341c0645cf1e07c0 commit 2c58128ee88e4869b802230e341c0645cf1e07c0 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-05-13 15:01:33 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-05-13 15:10:01 +0000 dev-perl/Cairo: Bump to version 1.107.0 - EAPI7 - Add USE="examples" - Replace sed invocation with a patch - Enable parallel tests - I see no evidence of bug #663478 or bug #641494, which may be the same bug in differing presentations. Affected users are encouraged to reproduce and give information about their installed cairo and libpng's and applicable USE flags. Upstream: - Add bindings for cairo_tag_begin and cairo_tag_end - Add binding for cairo_pdf_surface_set_metadata Bug: https://bugs.gentoo.org/641494 Bug: https://bugs.gentoo.org/663478 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Kent Fredric <kentnl@gentoo.org> dev-perl/Cairo/Cairo-1.107.0.ebuild | 32 +++++++++++++++++++++++ dev-perl/Cairo/Manifest | 1 + dev-perl/Cairo/files/Cairo-1.107-fatal-exit.patch | 25 ++++++++++++++++++ 3 files changed, 58 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe9eae10fa3a648e2ccbea0e1b68264ffafd5b6 commit fbe9eae10fa3a648e2ccbea0e1b68264ffafd5b6 Author: Kent Fredric <kentnl@gentoo.org> AuthorDate: 2020-10-04 04:25:09 +0000 Commit: Kent Fredric <kentnl@gentoo.org> CommitDate: 2020-10-04 04:28:12 +0000 dev-perl/Cairo: Cleanup old 1.106.0 Closes: https://bugs.gentoo.org/641494 Closes: https://bugs.gentoo.org/663478 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Kent Fredric <kentnl@gentoo.org> dev-perl/Cairo/Cairo-1.106.0.ebuild | 35 ----------------------------------- dev-perl/Cairo/Manifest | 1 - 2 files changed, 36 deletions(-) |