Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serde_codegen: seems to overflow its stack on travis (via docker) #229

Closed
Byron opened this issue Feb 7, 2016 · 5 comments
Closed

serde_codegen: seems to overflow its stack on travis (via docker) #229

Byron opened this issue Feb 7, 2016 · 5 comments
Labels

Comments

@Byron
Copy link
Contributor

Byron commented Feb 7, 2016

When using serde on OSX on travis-ci in a docker container (the new default), the build script will overflow its stack.

This does not happen when using serde_codegen on a real OSX system.

How to reproduce

One could fork yup-oauth, setup travis for the fork, and reproduce it that way.

Otherwise, one can alter .travis.yml of this repository as follows:

os:
  - linux
  - osx  # enable osx
before_script:
# assure travis-cargo is working on osx (need different PATH)
- pip install 'travis-cargo<0.2' --user  && export PATH=$HOME/Library/Python/2.7/bin:$HOME/.local/bin:$PATH

Meta

@causal-agent
Copy link

Stack seems to overflow on OS X < 10.11 El Capitan. I get this failure on 10.10 Yosemite and on Travis, which runs 10.9.5.

@Byron
Copy link
Contributor Author

Byron commented Feb 26, 2016

I think this one is strongly related to serde-deprecated/syntex#33 , if not the same.
It may be interesting to see that the issue occours both with nightly, and stable.

@softprops
Copy link
Contributor

Is there any work around for this? I'm porting a project from rustc-serialize to serde 0.7 and am hitting this same wall. (I'm on OSX) if there's any significance there.

@softprops
Copy link
Contributor

https://github.com/jimmycuadra/docker-rust#usage seems to be a work around for me

@adimarco
Copy link

As others have mentioned - this also breaks builds on OS X 10.10.5 (no Docker container or travis involved). Does anyone have a workaround? I dread upgrading to El Capitan.

rubdos pushed a commit to rubdos/serde that referenced this issue Jun 20, 2017
Fix num-macros for nightly

Now compatible with rustc 1.13.0-nightly (32571c05c 2016-09-17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

5 participants