You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving !Install in ubuntu container and changing in dev-env to use container ubuntu solves the issue. I wanted to separate the concerns...
What's even more strange, after it installs everything into the container I can change the config file as it was before and it will work ok. If I remove .vagga and run it again, it crashes again.
Segmentation fault even though using Rust :)
Searched now and you do have unsafe in a few locations. For some reason, I searched a while back and had the impression you had no unsafe inside the code(libraries using unsafe, not vagga itself).
Said core dumped but I couldn't manage to find it.
The text was updated successfully, but these errors were encountered:
It's probably stack overflow. Unfortunately musl libc has small stack (80kib) but rust usually relies on large stack (order of megabytes). I could not find easy way to change the stack size previously.
Anyway, if you can reproduce it reliably, I'll fix it.
In the meantime, you can probably run vagga _build ubuntu && vagga _build qt5 && vagga _build dev-env. I.e. build containers sequentially.
Hm, I don't believe I didn't think of it before. With 80k stack and 64k default buffer for file copying (on stack) it surprising that it was working before :)
Instead of allocating buffer for file copy in heap allocate it on stack.
Just use 32k instead of default 64k. This leaves 48k stack for other
things. Which is 3x bigger than default (80k - 64k) so should be okay to
keep #116 fixed.
Performance get back to the same level as vagga 0.4.1
Vagga version: v0.4.0-54-g331f7f0
The entire config file:
Error:
Moving
!Install
inubuntu
container and changing indev-env
to use containerubuntu
solves the issue. I wanted to separate the concerns...What's even more strange, after it installs everything into the container I can change the config file as it was before and it will work ok. If I remove
.vagga
and run it again, it crashes again.Segmentation fault even though using Rust :)
Searched now and you do have
unsafe
in a few locations. For some reason, I searched a while back and had the impression you had nounsafe
inside the code(libraries using unsafe, not vagga itself).Said
core dumped
but I couldn't manage to find it.The text was updated successfully, but these errors were encountered: