Comment 7 for bug 1294713

Revision history for this message
David Mathog (mathog) wrote : Re: trunk: Crash when releasing a clip in SVG file based on EMF import

On linux this seems to resolve this issue. It moves the transform into the <rect> element.

However, something else is now dreadfully wrong, as the "testew.sh" script is failing. Not just failing, but crashing on the 2nd iteration. (That script opens libuemf_ref.emf saves as EMF, opens again, rinse and repeat 3 times.) gdb is saying that an entire loop around line 1112 in emf-inout.cpp has been "optimized out" when that code _cannot_ be optimized out (the program has no way of knowing a priori how many dash entries there are, the loop must exist). It looks like gdb's internal structures are being corrupted, since before anything happens a breakpoint can be set there and works.

This crash has nothing to do with the present bug, it happens even if the entire U_EMR_INTERSECTCLIPRECT section from roughly line 2148 to 2172 in emf-inout.cpp is commented out.