Created attachment 83104 [details]
PDF export crash test file
No problem with exporting under AOO 4.0
The same problem with LO 188.8.131.52+ Build: 02fb63f8f29085213659b730456dbf0438c2f7cc on Mac OS X 10.8.4
I can confirm it with 184.108.40.206 on OSX 10.8.4. Earliest version with the crash seems to be 220.127.116.11 and pdf exports works with 18.104.22.168
Works as well with 22.214.171.124 in Ubuntu
Changed status to NEW. Thanks for reporting this bug.
Is fixed by this commit in master although I accidentally referred another PDF export bug report in the commit message. (I haven't yet verified whether that bug, too, is fixed by the commit.)
Author: Tor Lillqvist <email@example.com>
Date: Tue Aug 6 11:55:14 2013 +0300
fdo#67660: Fix memory mismanagement crash
The CTLayout constructor called CFRetain() on the associated
CTTextStyle's attribute directory (a CFMutableDictionaryRef) and the
destructor then called CFRelease() on it, even if there was no
guarantee it was still the same CTTextStyle. And in the scenario that
caused this crash, AquaSalGraphics::SetFont() had in fact deleted the
original CTTextStyle and created a new one.
It seems to me that these CFRetain() and CFRelease() calls are not
*** Bug 67677 has been marked as a duplicate of this bug. ***
*** Bug 67660 has been marked as a duplicate of this bug. ***
Thanks for fix. It's okay in LO 4.2. But it still exists in 126.96.36.199. Can this fix be backported to 4.1, please?
@deepjungle: It has been. (There was no automatic comment added to this bug report because, as I said in comment #4, I accidentally used a different bug number in the commit message.) See bug#67660 .
Unfortunately, it stills crashes in LO 188.8.131.52 (Build: 7e4286b58adc75a14f6d83f53a03b6c11fa2903) but not in latest LO 184.108.40.206+ builds. In my latest tested case the build is e926621fb00f31471b0037d7955b6a3d7f908dc0
So this bug is being connected with a different problem than it was fixed in bug#67660 .
It isn't fixed in 4.1.1. It will be fixed in 4.1.2. I told you to see bug #67660. There it says clearly "It will be available in LibreOffice 4.1.2"