Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Panic while running "goaci go --help" on ARM (RPi2) #31

Open
VoyTechnology opened this issue Aug 4, 2017 · 0 comments
Open

Panic while running "goaci go --help" on ARM (RPi2) #31

VoyTechnology opened this issue Aug 4, 2017 · 0 comments

Comments

@VoyTechnology
Copy link

The project panic while running this command on Raspberry Pi 2:

goaci go --help

Output:

Usage of goaci go:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x21e090]

goroutine 1 [running]:
main.(*stringSliceWrapper).String(0x1076c860, 0x258fc0, 0x1076c860)
	/home/voy/.go/external/src/github.com/appc/goaci/mappers.go:34 +0x18
flag.isZeroValue(0x107d1060, 0x28c363, 0x2, 0x1079f320)
	/usr/lib/go/src/flag/flag.go:395 +0xd4
flag.(*FlagSet).PrintDefaults.func1(0x107d1060)
	/usr/lib/go/src/flag/flag.go:469 +0x13c
flag.(*FlagSet).VisitAll(0x1076b830, 0x10747dc0)
	/usr/lib/go/src/flag/flag.go:325 +0x54
flag.(*FlagSet).PrintDefaults(0x1076b830)
	/usr/lib/go/src/flag/flag.go:478 +0x38
flag.(*FlagSet).defaultUsage(0x1076b830)
	/usr/lib/go/src/flag/flag.go:511 +0x6c
flag.(*FlagSet).(flag.defaultUsage)-fm()
	/usr/lib/go/src/flag/flag.go:973 +0x1c
flag.(*FlagSet).usage(0x1076b830)
	/usr/lib/go/src/flag/flag.go:826 +0x28
flag.(*FlagSet).parseOne(0x1076b830, 0x2e, 0xb, 0x107cf2b2)
	/usr/lib/go/src/flag/flag.go:868 +0x1c4
flag.(*FlagSet).Parse(0x1076b830, 0x107700f0, 0x1, 0x2, 0x21dbd4, 0x10766500)
	/usr/lib/go/src/flag/flag.go:913 +0x50
main.(*builderCommand).Run(0x1076c810, 0x107cf2a8, 0x8, 0x107700f0, 0x1, 0x2, 0x8, 0x3bbbc)
	/home/voy/.go/external/src/github.com/appc/goaci/buildercommand.go:54 +0x74
main.mainWithError(0x0, 0x3bbc8)
	/home/voy/.go/external/src/github.com/appc/goaci/main.go:56 +0x190
main.main()
	/home/voy/.go/external/src/github.com/appc/goaci/main.go:40 +0x14

Output parsed by https://github.com/maruel/panicparse:

$ goaci go --help |& pp
Usage of goaci go:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x21e090]


To see all goroutines, visit https://github.com/maruel/panicparse#GOTRACEBACK

1: running
    main mappers.go:34        (*stringSliceWrapper).String(#1, 0x258fc0, #1)
    flag flag.go:395          isZeroValue(*Flag(#4), string(0x28c363, len=2), 0x10793320)
    flag flag.go:469          (*FlagSet).PrintDefaults.func1(*FlagSet(#4))
    flag flag.go:325          (*FlagSet).VisitAll(*FlagSet(#3), func(0x10747dc0))
    flag flag.go:478          (*FlagSet).PrintDefaults(*FlagSet(#3))
    flag flag.go:511          (*FlagSet).defaultUsage(*FlagSet(#3))
    flag flag.go:973          (*FlagSet).(flag.defaultUsage)-fm()
    flag flag.go:826          (*FlagSet).usage(*FlagSet(#3))
    flag flag.go:868          (*FlagSet).parseOne(*FlagSet(#3), 0x2e, 0xb, 0x107c1352)
    flag flag.go:913          (*FlagSet).Parse(*FlagSet(#3), []string(#2 len=1 cap=2), 0x21dbd4, 0x1070a700)
    main buildercommand.go:54 (*builderCommand).Run(*builderCommand(0x1070e820), string(0x107c1348, len=8), []string(#2 len=1 cap=2), 0x8, 0x3bbbc)
    main main.go:56           mainWithError(0x0, 0x3bbc8)
    main main.go:40           main()
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant