Comment 0 for bug 1244793

Revision history for this message
su_v (suv-lp) wrote :

Steps to reproduce:
Open a EMF or WMF file via command line (opening it via GUI from within Inkscape works ok):

$ inkscape picsize.wmf

Sample file used for attached backtrace:
<https://bugs.launchpad.net/inkscape/+bug/1241783/+attachment/3890417/+files/picsize.wmf>

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000058
0x00000001000ac269 in SPDocument::getHeight (this=0x0) at document.cpp:607
607 g_return_val_if_fail(this->priv != NULL, Inkscape::Util::Quantity(0.0, unit_table.getUnit("")));

Confirmed with r12726 on OS X 10.7.5.

Based on tests with archived builds:
- not reproduced with rev <= 12661,
- reproduced with rev >= 12662,
this regression was introduced with the fix for bug #1229120 in revision 12662:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12662>