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

docker2fl stack overflow #79

Closed
iwanbk opened this issue Oct 18, 2024 · 1 comment
Closed

docker2fl stack overflow #79

iwanbk opened this issue Oct 18, 2024 · 1 comment
Assignees
Milestone

Comments

@iwanbk
Copy link
Member

iwanbk commented Oct 18, 2024

got this error when try to convert from docker to .fl on Linux

#./target/debug/docker2fl  -i  redis -s "dir:///tmp/store0"
2024-10-16 03:56:18,173 INFO [docker2fl::docker2fl] get docker info
2024-10-16 03:56:18,173 INFO [docker2fl::docker2fl] docker image 'redis:latest' is being extracted
2024-10-16 03:56:18,173 INFO [docker2fl::docker2fl] pulling docker image redis:latest
2024-10-16 03:56:27,520 INFO [docker2fl::docker2fl] Creating '.startup.toml' file from container 0c7db154-b52a-4256-9499-753139694eb3 contains [startup.entry]
name = "core.system"

[startup.entry.args]
args = [""]
dir = "/data"
name = "docker-entrypoint.sh"

[startup.entry.args.env]
GOSU_VERSION = "1.17"
PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
REDIS_DOWNLOAD_SHA = "bc34b878eb89421bbfca6fa78752343bf37af312a09eb0fae47c9575977dfaa2"
REDIS_DOWNLOAD_URL = "http://download.redis.io/releases/redis-7.4.1.tar.gz"
REDIS_VERSION = "7.4.1"

2024-10-16 03:56:27,520 INFO [docker2fl::docker2fl] docker image 'redis:latest' is extracted successfully
2024-10-16 03:56:27,520 INFO [docker2fl::docker2fl] packing flist
2024-10-16 03:56:27,520 INFO [rfs::pack] packing root:
2024-10-16 03:56:27,531 INFO [rfs::pack] create metadata
2024-10-16 03:56:27,531 INFO [rfs::pack] create pack list
2024-10-16 03:56:27,531 INFO [rfs::pack] create failures list
2024-10-16 03:56:27,531 INFO [rfs::pack] create uploader
2024-10-16 03:56:27,532 INFO [rfs::pack] create worker pool

thread 'main' has overflowed its stack
fatal runtime error: stack overflow
Aborted

notes:

  • some logs above are added by me
  • i've tried to increase the stack size using RUST_MIN_STACK=536870912 (modified the value until 4GB)
  • tried to increase stack size using ulimit -s until 256MB
  • using latest master, commit 4611ed9
@ramezsaeed ramezsaeed modified the milestones: 2.1.X, 2.2.x Oct 27, 2024
@rawdaGastan rawdaGastan self-assigned this Oct 29, 2024
@rawdaGastan rawdaGastan modified the milestones: 2.2.x, 2.1.X Oct 29, 2024
@rawdaGastan rawdaGastan moved this to In Progress in 3.15.x Oct 29, 2024
@rawdaGastan rawdaGastan moved this from In Progress to In Verification in 3.15.x Oct 29, 2024
@iwanbk
Copy link
Member Author

iwanbk commented Oct 29, 2024

fixed by #80

@iwanbk iwanbk closed this as completed Oct 29, 2024
@github-project-automation github-project-automation bot moved this from In Verification to Done in 3.15.x Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants