Skip to content

fabric-deployer crashes with SIGSEGV immediately after start #805

Open
@kostiantyn-bonebriukh

Description

@kostiantyn-bonebriukh

Error log:

{"level":"info","ts":"2024-11-28T12:48:19.727Z","logger":"init","caller":"config/config.go:108","msg":"Configuring deployer for cluster type: %s"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb43c58]

goroutine 1 [running]:
github.com/IBM-Blockchain/fabric-deployer/config.VerifyDefaultVersions(0x0)
	/go/src/github.com/IBM-Blockchain/fabric-deployer/config/config.go:195 +0x18
github.com/IBM-Blockchain/fabric-deployer/config.(*Config).Init(0xc0001eff10, 0xc000411760)
	/go/src/github.com/IBM-Blockchain/fabric-deployer/config/config.go:152 +0x53a
github.com/IBM-Blockchain/fabric-deployer/cmd.Deployer()
	/go/src/github.com/IBM-Blockchain/fabric-deployer/cmd/cmd.go:53 +0x57
main.main()
	/go/src/github.com/IBM-Blockchain/fabric-deployer/main.go:29 +0x19

Reproduced with the only one existing docker image https://github.com/ibm-blockchain/fabric-deployer/pkgs/container/fabric-deployer/24522477?tag=latest-amd64 and image build from source https://github.com/hyperledger-labs/fabric-operations-console/blob/8be85a2a831c4be2b5df2c9f3da03ab91c6d8fb7/packages/fabric-deployer/Makefile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions