-
Notifications
You must be signed in to change notification settings - Fork 72
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 fault when adding album art #14
Comments
Thanks for filing an issue! Please note that this project is only passively maintained, so your best bet for getting an issue resolved is through a pull request that is easy to verify! |
Got this code setup in vscode for debugging... Here's the details. Appears to be crashing in Call stack seems to point to a
|
I found a workaround to avoid the segfault. When I have a jpg at 300 DPI, then AtomicParsley segfaults. If I simply change to 72, then it runs without segfault.
For me, I also like to resize:
... omit the \! to keep aspect ratio... :) |
- Fixes up NSImage to use a technique that doesn't depend on the DPI of the current screen and just uses pixels - Fixes a crash when releasing the image; the crash was caused by a `memset` call getting a different size for the filename buffer. I solved this by passing the size down, which is safer than just assuming anyway. I added an ASAN cmake option to make it easier to turn up the debugging and understand where the memory corruption had come from. refs: #14
Thanks for getting a stack trace; I've pushed a commit that seems to make things better! PS: I enjoyed listening to your track! |
Oh hey, that's great! Thank you so much for that! I'm automating generation of my catalog from source .wavs, this tool is great. Really appreciate this! (I’ll try out the patch tomorrow, and report back) |
I tested and can confirm that this works, thanks! Will this go into the homebrew/ |
I've tagged a new release ( I don't directly maintain the If you just want to use it from brew in the meantime, you should be able to do something like:
to have it pick up the master branch from this repo. |
Thanks for the link! I feel like I've heard |
Check out "Empty", it's a collaboration that I did with Tryad. Vavrek found my electrovibe track on the interwebs from the early 2000's, and sang some amazing haunting vocs on top. https://www.subatomicglue.com/disco/listen |
When tagging m4a files with certain album art,
I get files that look like this:
Folder-resized-4446.jpg
Resolution is 1583x1393
The art does not seem to be written to the
.m4a
fileAtomicParsely
dies with:AtomicParsley version is from
brew install AtomicParsley
on MacOSConfirmed that the latest GitHub version produces the same error on MacOS
Actual files discussed above (I own the (c) rights to these):
Folder-resized-4446.jpg
folder.jpg
track.m4a.zip
The text was updated successfully, but these errors were encountered: