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

segmentation violation after received incorrect file #12

Open
akaroot opened this issue Feb 21, 2018 · 0 comments
Open

segmentation violation after received incorrect file #12

akaroot opened this issue Feb 21, 2018 · 0 comments

Comments

@akaroot
Copy link
Contributor

akaroot commented Feb 21, 2018

Hi!
I got an error
fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x7ff4e39978c0 pc=0x7ff4e39978c0]
when I gave go-sox libarry non-audio file. When I send incorrect file for the fist time it returns "formats: no handler for file extension `jpg'" but for the second time it's crashed with error https://gist.github.com/akaroot/bd040d722bd2fd2bb5e42c80bb35243c#file-error-log

After fisrt incorrect file I can send audio files and averythind works, but on second image file I always got crashed.

Code example: https://gist.github.com/akaroot/bd040d722bd2fd2bb5e42c80bb35243c#file-main-go
GO version: 1.9.4, 1.10
OS: Ubuntu 16.04 x64

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