I just replaced the dll on my computer with the given dlls:
- pdf reports cairo 1.14.1
- there is no crash for printing


So far this looks promising :-)

I do not know how abi compatible gcc4.9 and gcc4.8 are, Partha do you have any chance to recompile using gcc4.9 sjlj (as mentioned here http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows_64-bit )

Many thanks.

Best regards,

Adib.
--



On Sun, Jan 18, 2015 at 10:42 PM, Partha Bagchi <partha1b@...400...> wrote:
I have rebuilt cairo from git (cloned today). If someone can help me
put the files in devlibs, it would be much appreciated.

http://www.partha.com/temp/cairo-git.7z

Built with gcc 4.8.1 sjlj 64bit.

Thanks,
Partha

On Sun, Jan 18, 2015 at 3:07 PM, su_v <suv-sf@...58...> wrote:
> Independent of how the devlibs64 arrived at the current inconsistent
> state - I'd like to remind again that inkscape (trunk, 0.91.x) with
> unpatched cairo 1.14.0 is quite unstable (random crashes with data
> loss). So before the missing files get committed to inkscape-devlibs64,
> now, I'd recommend to thoroughly test a local inkscape build with cairo
> 1.14.0, and patch cairo if needed. For further details, see e.g. this
> earlier message:
> http://sourceforge.net/p/inkscape/mailman/message/32980381/
>
> Additional notes:
> AFAIU the cairo bug is not a platform-related crash limited to OS X
> (some linux distros already include the same patch from cairo git master
> with stable cairo 1.14 packages, others may have bug reports pending
> with the same patch proposed):
>
> - Related cairo bug reports (same backtrace after crash):
> https://bugs.freedesktop.org/show_bug.cgi?id=85151
> https://bugs.freedesktop.org/show_bug.cgi?id=85591
>
> - Debian:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766479
> http://metadata.ftp-master.debian.org/changelogs//main/c/cairo/cairo_1.14.0-2.1_changelog
> - Fedora:
> https://bugzilla.redhat.com/show_bug.cgi?id=1152451#c3
> - Arch Linux:
> https://bugs.archlinux.org/task/42596
> https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/cairo&id=c95cf64c85a7849d2a2ba0f9d337f97ce6e46c7a
>
>
> Regards, V
>
>
> On 2015-01-18 20:03 (+0100), Partha Bagchi wrote:
>> If your runtime is bundled with 1.12.16 and you built against 1.14.0
>> then how did it function? It should have crashed I think.
>>
>> On Sun, Jan 18, 2015 at 1:21 PM, the Adib <theadib@...400...> wrote:
>>> ok, I see. The package -3 I made with the latest devlibs64 available.
>>>
>>> pls check
>>> http://bazaar.launchpad.net/~inkscape.dev/inkscape-devlibs64/trunk/changes/16?start_revid=16
>>>
>>> This revision #14 stated to update the cairo to version 1.14. But it only
>>> updates the development files.
>>>
>>> The file bin/libcairo-2.dll remains untouched.
>>>
>>> So we link against cairo 1.14 but the runtime is bundled 1.12.16.
>>> Remaining is to update the dlls in the bin directory.
>>>
>>> Cheers, Adib.
>>> --
>>>
>>>
>>> On Sun, Jan 18, 2015 at 6:17 PM, su_v <...> wrote:
>>>>
>>>> @AdiB: the two most recent 0.91pre3-x64 msi installers (64bit) available
>>>> for download still use cairo 1.12.16 (i.e. a cairo version which is
>>>> affected by the cairo bug when printing documents with text on Windows).
>>>> Do you use up-to-date inkscape-devlibs64?
>>>>
>>>> Installers tested today on Windows 7:
>>>> 1) inkscape-0.91pre3-x64-2.msi (from 2015-01-04)
>>>> http://sourceforge.net/projects/inkscape/files/inkscape/0.91pre3/
>>>> 2) inkscape-0.91pre3-x64-3.msi (from 2015-01-06)
>>>>
>>>> https://drive.google.com/folderview?id=0ByQpCQ-C8wR2b09fYkRTSVk5bWM&usp=sharing#list
>>>>
>>>> Steps to determine the cairo version used by installed Inkscape:
>>>> 1) open a new document in currently installed Inkscape 0.91pre3
>>>> 2) save a copy as PS file
>>>> 3) open PS file in a plain-text editor and look in the comments section
>>>> at the top of the document for the comment starting with
>>>>
>>>>  %%Creator:
>>>>
>>>> This comment shows which cairo version was used by Inkscape for PS
>>>> export (i.e. on Windows and OS X, which version of cairo is bundled with
>>>> the Inkscape package).
>>>>
>>>> Header from PS file created with inkscape-0.91pre3-x64-3.msi:
>>>>
>>>> %!PS-Adobe-3.0
>>>> %%Creator: cairo 1.12.16 (http://cairographics.org)
>>>> %%CreationDate: Sun Jan 18 17:48:47 2015
>>>> %%Pages: 1
>>>> %%DocumentData: Clean7Bit
>>>> %%LanguageLevel: 2
>>>> %%DocumentMedia: A4 595 842 0 () ()
>>>> %%BoundingBox: 79 438 504 471
>>>> %%EndComments
>>>>
>>>>
>>>> Regards, V
>>>>
>>>>
>>>> On 2015-01-18 14:36 (+0100), the Adib wrote:
>>>>> Hello Johan,
>>>>>
>>>>> Obviously there is a showblocker in the devlibs64: Inkscape crashes
>>>>> while printing text.
>>>>> https://bugs.launchpad.net/inkscape-devlibs64/+bug/1366250
>>>>>
>>>>> Is there a patched cairo source/lib available?
>>>>> Maybe it is also related if lib and exe use compiler having different
>>>>> exception handling sjlj vs. seh.
>>>>> Are we sure we have the same exception handling on libs and  exe?
>>>>>
>>>>> According to the wiki doc we use sjlj compiler:
>>>>>
>>>>> http://wiki.inkscape.org/wiki/index.php/Compiling_Inkscape_on_Windows_64-bit
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Adib.
>>>>> --
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Jan 17, 2015 at 11:15 PM, su_v <...> wrote:
>>>>>
>>>>>     On 2015-01-17 23:02 (+0100), Partha Bagchi wrote:
>>>>>     > Well, I provided the latest builds of all of gtk+ and friends when
>>>>> I
>>>>>     > updated Cairo to 1.4.0. It's possible only the devlibs from May
>>>>> that I
>>>>>     > provided are in devlibs. If you use pkg-config, you should be able
>>>>> to
>>>>>     > tell which versions of glib/gtk/cairo/poppler etc are used in
>>>>> devlibs.
>>>>>
>>>>>     Using pkg-config likely won't work - AFAICT the update from cairo
>>>>>     1.12.16 to 1.14.0 in revision 14 of the devlibs64 did not include
>>>>> the
>>>>>     cairo*.pc files:
>>>>>
>