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

panic error #16

Closed
nitos opened this issue Dec 5, 2022 · 4 comments
Closed

panic error #16

nitos opened this issue Dec 5, 2022 · 4 comments

Comments

@nitos
Copy link

nitos commented Dec 5, 2022

I was using the chat with no problem, but then I had two consecutive errors within the chat, it said: "Error: Loading took too long". And after that last one, the terminal stopped running the binary file, and finally spitted out this message.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x110 pc=0x6aa996]

goroutine 1 [running]:
main.query_chatgpt({0xc000023220, 0x1d}, {0x7d9380, 0xc00030a160}, 0x0?, {{0x6bbf8a, {0x0, 0x0}, 0x0, {0x0, ...}, ...}, ...})
	/github/workspace/main.go:195 +0x4f6
main.main()
	/github/workspace/main.go:115 +0xebe

@realies
Copy link

realies commented Dec 5, 2022

occasionally seeing this too

@tangjeff0
Copy link

Response from Chat-GPT when feeding the error:

image

@walter-grace
Copy link

walter-grace commented Dec 5, 2022

I am getting the same error now when running it as this, have tried multiple times to restart not sure what to do?
It is a bit different error that is running panic: runtime error: index out of range [-1]

goroutine 1 [running]:
main.query_chatgpt({0xc000499218, 0x13}, {0x13ceae0, 0xc0001aa000}, 0x8?, {{0x162139358, {0x0, 0x0}, 0x0, {0x0, ...}, ...}, ...})
/github/workspace/main.go:190 +0x9d1
main.main()
/github/workspace/main.go:115 +0xebe

@m1guelpf
Copy link
Owner

m1guelpf commented Dec 6, 2022

I've just released a new version that should solve this issue. Please update (by downloading the binary again), and let me know if the issue still persists.

@m1guelpf m1guelpf closed this as completed Dec 6, 2022
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

5 participants