-
Notifications
You must be signed in to change notification settings - Fork 269
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
r3:do(compile). kills embedded yaws service #307
Comments
I'm guessing you built Yaws with HiPE enabled? If so, try again without it. |
I'll take a look later this evening and let you know if HiPE is enabled. I used rebar3 to include yaws and didn't explicitly include or disclude it myself. There are some responses in the rebar3 issues link that include other hypotheses. Thanks. |
I'm not sure how rebar3 is managing the Yaws compilation but it appears that HiPE would need to be explicitly disabled with something like I compiled yaws from the location where it was downloaded by rebar3 and used configure: WARNING: unrecognized options: --disable-hipe I recompiled otp with --disable-hipe, removed _build/ directory where rebar3 kept the yaws sources and rebuilt everything with rebar3 but the same issue occurs |
In an attempt to move this forward, here's a repost of what I had on the rebar3 issue: My bet there is on Yaws not coping with sequential hot-code loads and one of the modules getting killed. You can see process You can see this taking place here in the code: https://github.com/klacke/yaws/blob/b32f7d49eff120f7860453a488acbd358beb5763/src/yaws_server.erl#L421-L430 I don't know that too much can be done if this server dies. |
I'm humbly hoping someone here may advise or comment on this yaws-related ticket which involves rebar3 erlang/rebar3#1549
I'm using the latest versions of rebar3 and yaws 2.0.4
Because I cannot use rebar3's reloading behaviour I've been starting a new erl shell for every change I make, which is slow and cumbersome.
The text was updated successfully, but these errors were encountered: