Unable to save images with GIMP
The problem is with png only. When gimp saves to jpg, tiff or something else there aren't any error.
There is a bug for this https://bugs.archlinux.org/task/35363
I tried the workaround from this link and it helped me
Menu - Image - Mode - Convert to Color Profile ...
Then just click "Convert" to convert it to "RGB workspace (sRGB built-in)"
Now exporting to PNG just works flawlessly.
A permanent fix is to set a sRBG profile in Preferences" -> "Color Management" by selecting an .icc file.
Need an .icc file? On OSX (Mavericks):
"System Preferences" -> "Displays" then select a profile on the left, then click Button "Open Profile". This opens the profile in "ColorSync Utility". "Save as ..." and pick a location for you .icc file.
OR:
Open "ColorSync Utility", then under "Profiles" select one, then click "Open" to the right. Finally "Save as ..." again.
When opening a PNG with an embedded profile you will now be prompted if you wan to convert to your selected Profile. If you select "Keep" saving will not work and leave you with a broken, zero bytes file. So chose "Convert
Enjoy saving PNGs in GIMP.