Current 0.91.x and trunk packages for OS X are affected by a rather critical issue on OS X 10.9 Mavericks and 10.10 Yosemite:
* Pasting a bitmap image from the clipboard, or importing it via 'File > Import' with default import options (embed, resolution from file) crashes the application. [1]
* Oddly, it seems that if the build has debug messages (to stdout) in the source code related to retrieving the image resolution from file, the crash no longer happens.[2]
* First observed by testers of experimental osxmenu builds back in Nov 2013 (osxmenu is always quite up-to-date with trunk at any time). The debug messages had been committed in the osxmenu branch and I haven't seen new feedback about the same type of crashes with osxmenu builds. [3]
* One tester of 0.91 pre-release and trunk snapshot builds reported OTOH that this type of crashes stopped after rebooting and switching to a different user (same system otherwise) - see comment 10 in bug 1398521 ([1]).
* The crashes never reproduced for me on OS X 10.7.5 (build system for current available packages).
How to proceed?
This crash occurs in a very basic feature, and can get easily disruptive for Inkscape users on current OS X. Should we ship the upcoming stable release package with the debug messages applied as part of packaging (maintaining the diff in 'packaging/macosx')?
Regards, V
[1] Related bug reports: https://bugs.launchpad.net/bugs/1398521 https://bugs.launchpad.net/bugs/1410793 https://bugs.launchpad.net/bugs/1413478
[2] Diff applied to custom test builds (reportedly don't crash): https://bugs.launchpad.net/inkscape/+bug/1410793/comments/7 https://www.dropbox.com/sh/magg5vw5j3y1y3u/AADgl_FtaO2ZLKAVOOgO2EsMa/Inkscap...
[3] Backtrace of debug build by an early tester of osxmenu (at the time on Mavericks) - Nov 22, 2013: https://gist.github.com/su-v/cd4ef1cc1c4832f07989 I noticed 'val=NaN' on this line: https://gist.github.com/su-v/cd4ef1cc1c4832f07989#file-crash-mavericks-impor...