Build Update for OpenSmalltalk/opensmalltalk-vm -------------------------------------
Build: #1814 Status: Errored
Duration: 11 mins and 44 secs Commit: 352de13 (Cog) Author: Eliot Miranda Message: Ensure that sigaltstack is used to establish an alternative signal stack on Unix platforms, and that the SIGIO handler (forceInterruptCheck) runs on that stack. Although we don't have absolute proof we have strong evidence to suggest that on recent macOS versions (e.g. 10.13) the first delivery of SIGIO to the VM causes corruption of the code zone if the VM is in or transitioning to machine code. This is similar to crashes seen in the Newspeak VM on linux using the ITIMER heartbeat. There-on the issue was that the dynamic linker would be called within the signal handler on first invocation, and that this would cause the dynamic linker to traverse the Smalltalk JIT code stack, misinteerpret Smalltalk stack frames as ABI-compliant stack frames and cause corruption as a result.
Since the code is now system wide on Unix, not merely confined to the ITIMER VM, move the sigaltstack initialization to platforms/unix/vm/aio.c and delete the duplications in the ITIMER heartbeat variants.
View the changeset: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/c114ece5b581...352...
View the full build log and details: https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/594102107?utm_me...
--
You can unsubscribe from build emails from the OpenSmalltalk/opensmalltalk-vm repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=8795279&.... Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notificatio.... Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.
Hi All,
can a linux expert take a look at the failing Travis CI build?
The following packages have unmet dependencies: 231 libpango1.0-dev:i386 : Depends: libcairo2-dev:i386 (>= 1.12.10) but it is not going to be installed 232E: Unable to correct problems, you have held broken packages. 233The command "./scripts/ci/travis_install.sh" failed and exited with 100 during .
On Sat, Oct 5, 2019 at 8:00 PM Travis CI builds@travis-ci.org wrote:
OpenSmalltalk
/
opensmalltalk-vm
https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm?utm_medium=notification&utm_source=email
[image: branch icon]Cog https://github.com/OpenSmalltalk/opensmalltalk-vm/tree/Cog [image: build has errored] Build #1814 has errored https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/594102107?utm_medium=notification&utm_source=email [image: arrow to build time] [image: clock icon]11 mins and 44 secs
[image: Eliot Miranda avatar]Eliot Miranda 352de13 CHANGESET → https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/c114ece5b581...352de13869ef
Ensure that sigaltstack is used to establish an alternative signal stack on Unix platforms, and that the SIGIO handler (forceInterruptCheck) runs on that stack. Although we don't have absolute proof we have strong evidence to suggest that on recent macOS versions (e.g. 10.13) the first delivery of SIGIO to the VM causes corruption of the code zone if the VM is in or transitioning to machine code. This is similar to crashes seen in the Newspeak VM on linux using the ITIMER heartbeat. There-on the issue was that the dynamic linker would be called within the signal handler on first invocation, and that this would cause the dynamic linker to traverse the Smalltalk JIT code stack, misinteerpret Smalltalk stack frames as ABI-compliant stack frames and cause corruption as a result.
Since the code is now system wide on Unix, not merely confined to the ITIMER VM, move the sigaltstack initialization to platforms/unix/vm/aio.c and delete the duplications in the ITIMER heartbeat variants.
Want to know about upcoming build environment updates?
Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you! SIGN UP HERE http://eepurl.com/9OCsP
[image: book icon]
Documentation https://docs.travis-ci.com/ about Travis CI Have any questions? We're here to help. support@travis-ci.com Unsubscribe https://travis-ci.org/account/preferences/unsubscribe?repository=8795279&utm_medium=notification&utm_source=email from build emails from the OpenSmalltalk/opensmalltalk-vm repository. To unsubscribe from *all* build emails, please update your settings https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
[image: black and white travis ci logo] https://travis-ci.com
Travis CI GmbH, Rigaer Str. 8, 10427 Berlin, Germany | GF/CEO: Randy Jacops | Contact: contact@travis-ci.com | Amtsgericht Charlottenburg, Berlin, HRB 140133 B | Umsatzsteuer-ID gemäß §27 a Umsatzsteuergesetz: DE282002648
vm-dev@lists.squeakfoundation.org