Comment 103 for bug 179988

Revision history for this message
Rygle (rygle) wrote :

Built with new patches in second last post from Ulf (https://bugs.launchpad.net/inkscape/+bug/179988/comments/99). Will try new patch now, but I can't test until morning. The following is using the patch from https://bugs.launchpad.net/inkscape/+bug/179988/comments/99 .

Here's the error info for printing more complex pic (colour with gradients and many blurs) with the win-print test code.

- The non-GTK print dialogue (like 0.45.1) comes up and I select a PS printer -> to file and enter a filename
- Click OK and an info dialogue pops up

=======
*Microsoft Visual C++ Runtime Library* -> Title of dialogue

Assertion failed!

Program: ...inkscape.exe
File: cairo-win32-printing-surface.c
Line:1253

Expression: _cair_win32_printing_surface_operation_supported (surface, op, source)

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

(Abort) (Retry) (Ignore)
=========

- Click Retry. Get a message from gdb (see contents and bt below. Clicking ignore does exactly the same but without any gdb output and no need to type continue.)
- type continue
- Goes back to similar (but different) Visual C++ error dialog
============
*Microsoft Visual C++ Runtime Library* -> Title of dialogue

Assertion failed!

Program: ...inkscape.exe
File: cairo-paginated-surface.c
Line:359

Expression: status!= CAIRO_INT_STATUS_UNSUPPORTED

For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)

(Abort) (Retry) (Ignore)
============

- Now get another message from gdb (second below)
- this process continues cycling between the two Visual C++ errors a number of times until after about 12 clicks of retry and typing continue in gdb, it finally prints. Print is a little mangled but is all vector and demonstrating some transparency in bounding boxes of objects so they display without white boxes.
- gdb output for this repeated cycle from the start is as follows;
============
Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0 0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
#1 0x00000002 in ?? ()
#2 0x7c91056d in ntdll!RtlFreeThreadActivationContextStack ()
   from C:\WINDOWS\system32\ntdll.dll
#3 0x0adb0468 in ?? ()
#4 0x68e631e0 in NOT_REACHED.21838 ()
   from D:\Download\Multimedia\Image\Inkscape\compiling\SVN\branches\RELEASE_0_4
6_BRANCH\inkscape\libcairo-2.dll
#5 0x00000016 in ?? ()
#6 0x00000001 in ?? ()
#7 0x00000000 in ?? ()
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0 0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
#1 0x00000002 in ?? ()
#2 0x00000000 in ?? ()
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0 0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
#1 0x00000002 in ?? ()
#2 0x00000000 in ?? ()
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0 0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
#1 0x00000002 in ?? ()
#2 0x00000000 in ?? ()
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0 0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
#1 0xffffff59 in ?? ()
#2 0x0a3fde28 in ?? ()
#3 0x7c91056d in ntdll!RtlFreeThreadActivationContextStack ()
   from C:\WINDOWS\system32\ntdll.dll
#4 0x0a3fde28 in ?? ()
#5 0x68e5d9c4 in NOT_REACHED.36191 ()
   from D:\Download\Multimedia\Image\Inkscape\compiling\SVN\branches\RELEASE_0_4
6_BRANCH\inkscape\libcairo-2.dll
#6 0x3fb8ea28 in ?? ()
#7 0x445c3a44 in ?? ()
#8 0x6c6e776f in ?? ()
#9 0x5c64616f in ?? ()
#10 0x746c754d in ?? ()
#11 0x64656d69 in ?? ()
#12 0x495c6169 in ?? ()
#13 0x6567616d in ?? ()
#14 0x6b6e495c in ?? ()
#15 0x70616373 in ?? ()
#16 0x6f635c65 in ?? ()
#17 0x6c69706d in ?? ()
#18 0x5c676e69 in ?? ()
#19 0x5c4e5653 in ?? ()
#20 0x2e2e2e62 in ?? ()
#21 0x73656863 in ?? ()
#22 0x4c45525c in ?? ()
#23 0x45534145 in ?? ()
#24 0x345f305f in ?? ()
#25 0x52425f36 in ?? ()
#26 0x48434e41 in ?? ()
#27 0x6b6e695c in ?? ()
#28 0x70616373 in ?? ()
#29 0x6e695c65 in ?? ()
#30 0x6163736b in ?? ()
#31 0x652e6570 in ?? ()
#32 0x00006578 in ?? ()
#33 0x00000000 in ?? ()
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

Program received signal SIGTRAP, Trace/breakpoint trap.
0x77c35b62 in msvcrt!_assert () from C:\WINDOWS\system32\msvcrt.dll
(gdb) continue
Continuing.

============

- Clicking ignore gets the same two visual C++ dialogues successively (cairo-win32-print-surface.c and then cairo-paginated-surface.c), but with no gdb output - will print after about 12 hits of ignore and program recovers.
- Hit retry twice again goes through the whole thing again with gdb output (continue, continue). After about 6 clicks of retry (+ gdb->continue x 6) it will print and recover. Same print as ignore.
- Clicking abort on any of the above messages gives the familiar dialogue;
- Inkscape has encountered an internal error and will abort now (or similar). Automatic saving of the following documents was successful. (or similar)
And then in gdb
========
Program exited with code 03.
(gdb) bt
No stack.
========