-
-
Notifications
You must be signed in to change notification settings - Fork 126
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
Crashes when truncating metadata #50
Comments
Is it a problem with Or i miss something |
int64 can have at max 19-digit It won't do any good. The problem is that how can such a high number be passed as an argument. I don't understand |
i find this error in a random file |
Okay, I figured out the cause of this error. So there is a metadata name called |
Ok i fix it in here |
oh! thank you so much! Let me just test this real quick |
Yeah it works nice now! Thank you very much! |
Describe the bug
I try to move my cursor to a file but spf crashes when I do so. The crash logs tell that this happens when we try to truncate the text, i.e. spf tries to get metadata and because it cannot fit in metadata panel, it tries to truncate it. Then it crashes. The exact line mentioned is in file components/style.go and line 234.
I will try to work on this to find why this is happening.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Nothing should've happened. (At least the crash shouldn't have happened)
Screenshots
System information (please complete the following information):
The text was updated successfully, but these errors were encountered: