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

Crashes on loading certain images #614

Open
Powersource opened this issue Feb 21, 2021 · 1 comment
Open

Crashes on loading certain images #614

Powersource opened this issue Feb 21, 2021 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@Powersource
Copy link
Collaborator

What's the problem you want solved?

I'm running latest master and visit my own likes page http://localhost:3000/likes/%40Vz6v3xKpzViiTM%2FGAe%2BhKkACZSqrErQQZgv4iqQxEn8%3D.ed25519

The page loads but oasis crashes and i get this in the terminal. Guessing it's one of the profile pics/attached images that fail to load?

/home/me/prj/ssb/oasis/src/index.js:132
    throw err;
    ^

[Error: VipsJpeg: Corrupt JPEG data: 50 extraneous bytes before marker 0xd4
vips2png: unable to write to target target
]

Is there a solution you'd like to recommend?

Would need to debug more to find the broken image/whatever.

@Powersource Powersource added the bug Something isn't working label Feb 21, 2021
@Powersource Powersource added this to the 1: Barebones milestone Feb 21, 2021
@christianbundy
Copy link
Member

Oh, interesting bug. Thanks for reporting this. I'd probably put the offending code in a try...except block to avoid the throw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants