badarg,[{erl_prim_loader,check_file_result,3,[]}
- Dominant language
- Erlang
- Stars
- 7k
- Forks
- 1.1k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 9
Description
the official docker container from https://hub.docker.com/_/couchdb does not boot for me
log:
```
Crash dump is being written to: erl_crash.dump...done
(no error logger present) error: <0.5.0>
init terminating in do_boot ({badarg,{"init terminating in do_boot",{badarg,[{erl_prim_loader,check_file_result,3,[]},{init,patch_dir,2,[]},{init,'-patch_path/2-lc$^0/1-0-',2,[]},{init,eval_script,2,[]},{init,do_boot,3,[]}]}}
[{erl_prim_loader,check_file_result,3,[]},{init,patch_dir,2,[]},{init,-patch_path/2-lc$^0/1-0-,2,[]},{init,eval_script,2,[]},{init,do_boot,3,[]}]})
```
erl_crash.dump
```
=erl_crash_dump:0.5
Tue Jun 6 18:14:24 2023
Slogan: init terminating in do_boot ({badarg,[{erl_prim_loader,check_file_result,3,[]},{init,patch_dir,2,[]},{init,-patch_path/2-lc$^0/1-0-,2,[]},{init,e
val_script,2,[]},{init,do_boot,3,[]}]})
System version: Erlang/OTP 20 [erts-9.3.3.14] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:16] [hipe] [kernel-poll:true]
Compiled: Sun Sep 26 12:40:43 2021
Taints: erl_tracer,zlib
Atoms: 3109
Calling Thread: scheduler:3
=scheduler:1
Scheduler Sleep Info Flags: SLEEPING | TSE_SLEEPING | WAITING
Scheduler Sleep Info Aux Work:
Current Port:
Run Queue Max Length: 0
Run Queue High Length: 0
Run Queue Normal Length: 0
Run Queue Low Length: 0
Run Queue Port Length: 0
Run Queue Flags: OUT_OF_WORK | HALFTIME_OUT_OF_WORK
Current Process:
=scheduler:2
Scheduler Sleep Info Flags: SLEEPING | TSE
```
the rest of the file does not appear to reveal any more information.
are there any more useful logs?
Contributor guide
Research direction
No repository file or test is identified. Start by reproducing the official CouchDB Docker container failure and reviewing the available startup output together with erl_crash.dump, including the reported Erlang/OTP 20 details. Done means identifying the cause of the boot failure and documenting or implementing a confirmed fix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, erlang
- Domain
- databases, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100