cairo 1.4.4 on win32 does not work
Ishmal,
I tried your cairo 1.4.4 that I saw this morning :-)
The new libs does not work as expected. (I use your provided libs also in my own application to create some pdf report)
I am not shure if this is caused by the optimisations in cairo or by your compilation.
However thx. for the win32-libs
Hope my report is somehow usefull,
Adib. --
In my own application where I use your cairo libs it throws an SIGSEV somewhere on cairo_create(surface). As I use codeblocks as IDE I do not know how to copy a backtrcae from the list. The last entries are ntdll!WaitForCriticalSection, cairo_color_white(), msvrt!free(), ntdll!AppendStringToString(), msvcrt!free()
however Inkscape dies as follow 0x7c928fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll (gdb) bt #0 0x7c928fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll #1 0x03c0d110 in ?? () #2 0x03c0d110 in ?? () #3 0x03c0d110 in ?? () #4 0x00000004 in ?? () #5 0x627449a3 in _libmsvcrt_a_iname () from D:\projekte\inkscape\inkscape\inkscape\libgobject-2.0-0.dll #6 0x00000000 in ?? () from #7 0x03c25110 in ?? () #8 0x0022e578 in ?? () #9 0x00000000 in ?? () from #10 0x00000000 in ?? () from #11 0x00000000 in ?? () from #12 0x0022e578 in ?? () #13 0x627466f7 in _libmsvcrt_a_iname () from D:\projekte\inkscape\inkscape\inkscape\libgobject-2.0-0.dll #14 0x03c25110 in ?? () #15 0x7c97e0f8 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll #16 0xffffffff in ?? () #17 0x7c97e0d4 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll #18 0x7c95a5d0 in ntdll!RtlInsertElementGenericTableAvl () from ntdll.dll #19 0x00240000 in ?? () #20 0x50000061 in ?? () ---Type <return> to continue, or q <return> to quit--- #21 0x03be9610 in ?? () #22 0x00240000 in ?? () #23 0x002595c8 in ?? () #24 0x40000060 in ?? () #25 0x00000000 in ?? () from #26 0x0022e5c0 in ?? () #27 0x00000000 in ?? () from #28 0x00000000 in ?? () from #29 0x00000688 in ?? () #30 0x0022e518 in ?? () #31 0x7c91104b in ntdll!RtlEnumerateGenericTableLikeADirectory () from ntdll.dll #32 0x000bc0a0 in ?? () #33 0x010939a3 in _cairo_scaled_font_map_lock () at src/cairo-scaled-font.c:195 Previous frame inner to this frame (corrupt stack?) (gdb)
Adib,
Yes, I tried this DLL with inkscape a few days ago, and it did not work, so I left it out of the builds and the lib bundle. Thanks for the debug trace. I was hoping that it was similar to the CriticalSection problem in pre-1.4.2, since I know how to fix that, but I guess that it is not.
I'll look at it again.
bob
Adib Taraben wrote:
Ishmal,
I tried your cairo 1.4.4 that I saw this morning :-)
The new libs does not work as expected. (I use your provided libs also in my own application to create some pdf report)
I am not shure if this is caused by the optimisations in cairo or by your compilation.
However thx. for the win32-libs
Hope my report is somehow usefull,
Adib.
In my own application where I use your cairo libs it throws an SIGSEV somewhere on cairo_create(surface). As I use codeblocks as IDE I do not know how to copy a backtrcae from the list. The last entries are ntdll!WaitForCriticalSection, cairo_color_white(), msvrt!free(), ntdll!AppendStringToString(), msvcrt!free()
however Inkscape dies as follow 0x7c928fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll (gdb) bt #0 0x7c928fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll #1 0x03c0d110 in ?? () #2 0x03c0d110 in ?? () #3 0x03c0d110 in ?? () #4 0x00000004 in ?? () #5 0x627449a3 in _libmsvcrt_a_iname () from D:\projekte\inkscape\inkscape\inkscape\libgobject-2.0-0.dll #6 0x00000000 in ?? () from #7 0x03c25110 in ?? () #8 0x0022e578 in ?? () #9 0x00000000 in ?? () from #10 0x00000000 in ?? () from #11 0x00000000 in ?? () from #12 0x0022e578 in ?? () #13 0x627466f7 in _libmsvcrt_a_iname () from D:\projekte\inkscape\inkscape\inkscape\libgobject-2.0-0.dll #14 0x03c25110 in ?? () #15 0x7c97e0f8 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll #16 0xffffffff in ?? () #17 0x7c97e0d4 in ntdll!RtlpNtMakeTemporaryKey () from ntdll.dll #18 0x7c95a5d0 in ntdll!RtlInsertElementGenericTableAvl () from ntdll.dll #19 0x00240000 in ?? () #20 0x50000061 in ?? () ---Type <return> to continue, or q <return> to quit--- #21 0x03be9610 in ?? () #22 0x00240000 in ?? () #23 0x002595c8 in ?? () #24 0x40000060 in ?? () #25 0x00000000 in ?? () from #26 0x0022e5c0 in ?? () #27 0x00000000 in ?? () from #28 0x00000000 in ?? () from #29 0x00000688 in ?? () #30 0x0022e518 in ?? () #31 0x7c91104b in ntdll!RtlEnumerateGenericTableLikeADirectory () from ntdll.dll #32 0x000bc0a0 in ?? () #33 0x010939a3 in _cairo_scaled_font_map_lock () at src/cairo-scaled-font.c:195 Previous frame inner to this frame (corrupt stack?) (gdb)
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Bob Jamison wrote:
Yes, I tried this DLL with inkscape a few days ago, and it did not work, so I left it out of the builds and the lib bundle.
I checked with the guys on #cairo, and it seems that the problem is indeed with Cairo on win32, and it affects Scribus in the same way. They have already begun looking at it.
If someone has a way of single-stepping through Inkscape/win32, please come onto the channel and help us see how certain variables are initialized and used.
bob
Bob Jamison wrote:
I checked with the guys on #cairo, and it seems that the problem is indeed with Cairo on win32, and it affects Scribus in the same way. They have already begun looking at it.
And they did! <tbf> on #cairo fixed the problem and helped me recompile the lib. I re-uploaded it here:
http://inkscape.modevia.com/win32libs/cairo-1.4.4-mingw.7z
bob
Bob Jamison wrote:
cworth also uploaded a new snapshot that contains that particular fix, so I built that one, too: http://inkscape.modevia.com/win32libs/cairo-1.4.5-20070420-fc455c-mingw.7z
Both of these work fine with Inkscape.
bob
participants (2)
-
Adib Taraben
-
Bob Jamison