-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(travis) Add a couple AddressSANitizer-instrumented jobs
While *much* slower (~2.5x) to run, it provides invaluable insights into various instances of memory corruption within te perl VM itself and more importantly various XS libs. With an excellent UX to top it off. This is especially relevant now that *BSD is cranking up its in-kernel enabled-by-default memory checks and things that seem to work fine elsewhere end up throwing SIGBUS/SIGSEGV left and right: http://matrix.cpantesters.org/?dist=DBIx-Class+0.082841;os=openbsd;reports=1#sl=0,0 CHangeset based on work leading to the diagnosis of https://metacpan.org/diff/file?source=ISHIGAKI/DBD-SQLite-1.56&target=ISHIGAKI/DBD-SQLite-1.57_01#dbdimp.c As of this commit we still expect things to fail, as we hard-froze DBD::SQLite at its broken state. Subsequent commits will fix this and other issues.
- Loading branch information
Showing
4 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -135,7 +135,7 @@ else | |
parallel_installdeps_notest Test::Warn B::Hooks::EndOfScope Test::Differences HTTP::Status | ||
parallel_installdeps_notest Test::Pod::Coverage Test::EOL Devel::GlobalDestruction Sub::Name MRO::Compat Class::XSAccessor URI::Escape HTML::Entities | ||
parallel_installdeps_notest YAML LWP Class::Trigger Class::Accessor::Grouped Package::Variant | ||
parallel_installdeps_notest SQL::Abstract Moose Module::[email protected] JSON SQL::Translator File::Which Class::DBI::Plugin git://github.com/ribasushi/patchup-Perl5-PPerl.git | ||
parallel_installdeps_notest SQL::Abstract Moose Module::[email protected] JSON SQL::Translator File::Which Class::DBI::Plugin | ||
|
||
# FIXME - work around DateTime* bumping their minimal version for no reason ( RT#117959 ) | ||
# ( multiple instances of this line throughout, re-grep when removing ) | ||
|
@@ -153,12 +153,16 @@ else | |
parallel_installdeps_notest git://github.com/ribasushi/patchup-Perl5-DBD-InterBase.git | ||
fi | ||
|
||
# SCGI does not install under < 5.8.8 perls nor under parallel make | ||
# SCGI does not install under ASan nor < 5.8.8 perls nor under parallel make | ||
# FIXME: The 5.8.8 thing is likely fixable, something to do with | ||
# #define speedy_new(s,n,t) Newx(s,n,t) | ||
if perl -M5.008008 -e 1 &>/dev/null ; then | ||
if perl -M5.008008 -e 1 &>/dev/null && ! ASan_enabled ; then | ||
MAKEFLAGS="" bash -c "parallel_installdeps_notest git://github.com/ribasushi/patchup-Perl5-CGI-SpeedyCGI.git" | ||
fi | ||
|
||
# PPerl does not work very will with ASan either | ||
ASan_enabled || parallel_installdeps_notest git://github.com/ribasushi/patchup-Perl5-PPerl.git | ||
|
||
fi | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters