Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
app crashes when trying to copy a file into a bytea field #299
Thanks for reporting this issue. I think I found it.
You can download the latest build here:
If you are curious: Postico pipes data to the
Hi Jakob, Many thanks for your prompt feedback. And yes, for “small files” (a few kB), the fix works fine, but using bigger ones (1,8 mB) this version still crashes, unfortunately Regards Remy…
On 05 Dec 2016, at 17:05, Jakob Egger ***@***.***> wrote: Thanks for reporting this issue. I think I found it. You can download the latest build here: https://eggerapps-downloads.s3-eu-west-1.amazonaws.com/postico-1539.zip <https://eggerapps-downloads.s3-eu-west-1.amazonaws.com/postico-1539.zip> If you are curious: Postico pipes data to the file command to guess file types. file closes the pipe as soon as it has determined the file type. When that happens, NSFileHandle throws an exception, which I didn't catch. This means that Postico crashed when adding large files. I only tested with small files :( — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#299 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AAJg-A-PNJmywoWbSwkFQgXMGXPgPpqWks5rFDZQgaJpZM4LDics>.
This issue should now be fixed in Postico 1.1, available on my website. (Update for Mac App Store Customers is coming soon)
In case you still run into similar problems in Postico 1.1, please reopen this issue. When reporting crashes, please always check