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

section panic #288

Open
weidongbcn opened this issue Apr 6, 2021 · 0 comments
Open

section panic #288

weidongbcn opened this issue Apr 6, 2021 · 0 comments

Comments

@weidongbcn
Copy link

Describe the bug
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1 pc=0x4c3bcf]

goroutine 1 [running]:
github.com/go-ini/ini.(*File).SectionsByName(0x0, 0x4f10d6, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/debian/go/pkg/mod/github.com/go-ini/[email protected]/file.go:147 +0x6f
github.com/go-ini/ini.(*File).GetSection(...)
/home/debian/go/pkg/mod/github.com/go-ini/[email protected]/file.go:134
github.com/go-ini/ini.(*File).Section(0x0, 0x4f10d6, 0x8, 0x406185)
/home/debian/go/pkg/mod/github.com/go-ini/[email protected]/file.go:166 +0x45

To Reproduce
A code snippet to reproduce the problem described above.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here, or any suggestion to fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant