Summary: | dev-lang/swig-4.1.1-r1 fails ruby tests | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo Pedroni <paolo.pedroni> |
Component: | Current packages | Assignee: | Scheme Project <scheme> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
swig-4.1.1-r1:20230130-151914.log.gz
swig-4.1.1-r1:20230130-172729.log.gz |
Description
Paolo Pedroni
2023-01-30 16:37:01 UTC
checking ruby test-suite checking guile testcase class_scope_weird checking ruby testcase li_cstring (with run test) free(): invalid pointer make[3]: *** [../../Makefile:1457: ruby_run] Aborted (core dumped) make[2]: *** [Makefile:11: check] Error 2 Oh dear. Any chance you can get a backtrace? Should be easy with coredumpctl (may need to try https://stackoverflow.com/a/29668405 too). (In reply to Sam James from comment #1) > checking ruby test-suite > checking guile testcase class_scope_weird > checking ruby testcase li_cstring (with run test) > free(): invalid pointer > make[3]: *** [../../Makefile:1457: ruby_run] Aborted (core dumped) > make[2]: *** [Makefile:11: check] Error 2 > > Oh dear. Any chance you can get a backtrace? Should be easy with coredumpctl > (may need to try https://stackoverflow.com/a/29668405 too). $ cat /proc/sys/fs/suid_dumpable 2 And yet: $ coredumpctl --no-pager list [...] Thu 2023-01-26 16:26:13 CET 1828422 250 250 SIGSEGV none /var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt_build/lib/scudo/standalone/tests/ScudoUnitTest-i386-Test - Thu 2023-01-26 16:26:13 CET 1828433 250 250 SIGSEGV none /var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt_build/lib/scudo/standalone/tests/ScudoUnitTest-i386-Test - Thu 2023-01-26 16:26:13 CET 1828438 250 250 SIGSEGV none /var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt_build/lib/scudo/standalone/tests/ScudoUnitTest-i386-Test - Thu 2023-01-26 16:26:13 CET 1828453 250 250 SIGSEGV none /var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt_build/lib/scudo/standalone/tests/ScudoUnitTest-i386-Test - Thu 2023-01-26 16:26:13 CET 1828460 250 250 SIGSEGV none /var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt_build/lib/scudo/standalone/tests/ScudoUnitTest-i386-Test - Thu 2023-01-26 16:26:13 CET 1828465 250 250 SIGSEGV none /var/tmp/portage/sys-libs/compiler-rt-sanitizers-15.0.7/work/compiler-rt_build/lib/scudo/standalone/tests/ScudoUnitTest-i386-Test - shows no trace of any core dump today... You ran the ulimit thing too? (In reply to Sam James from comment #3) > You ran the ulimit thing too? I didn't see it, sorry. Will try again. Created attachment 849529 [details]
swig-4.1.1-r1:20230130-172729.log.gz
I "think" the core dumps were due to still having the old swig installed and the tests trying to use that.
After installing the new swig version with FEATURES=-test and then trying again with FEATURES=test I still get test failures but without core dumps:
[...]
free(): invalid pointer
make[3]: *** [../../Makefile:1457: ruby_run] Aborted
make[2]: *** [Makefile:10: check] Error 2
make[1]: *** [Makefile:215: reference.actionexample] Error 2
[...]
free(): invalid pointer
make[3]: *** [../../Makefile:1457: ruby_run] Aborted
make[2]: *** [Makefile:11: check] Error 2
make[1]: *** [Makefile:213: std_vector.actionexample] Error 2
[...]
make: *** [Makefile:199: check-ruby-examples] Error 2
make: *** Waiting for unfinished jobs....
I will attach the new ebuild log.
|