crash when print

Bug #613410 reported by serega386 on 2010-08-04
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

$ gdb /cygdrive/c/Program\ Files/Inkscape/inkscape.exe
GNU gdb 6.8.0.20080328-cvs (cygwin-special)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(no debugging symbols found)
(gdb) run
Starting program: /cygdrive/c/Program Files/Inkscape/inkscape.exe
[New thread 3892.0xf78]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New thread 3892.0x100]
[New thread 3892.0xbf4]
[New thread 3892.0xe58]
warning: Lowest section in /cygdrive/c/WINDOWS/WinSxS/x86_Microsoft.VC90.MFCLOC_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_15fc9313
mfc90rus.dll is .rsrc at 5d361000
[New thread 3892.0x80c]
[New thread 3892.0x604]
[New thread 3892.0x590]
warning: Lowest section in /cygdrive/c/WINDOWS/system32/xpsp2res.dll is .rsrc at 00011000
[New thread 3892.0xd0]
[New thread 3892.0xd00]
warning: Lowest section in /cygdrive/c/WINDOWS/system32/cfgmgr32.dll is .text at 74aa1000
[New thread 3892.0xccc]
[New thread 3892.0xd10]
[New thread 3892.0x144]
[New thread 3892.0xe10]
warning: Lowest section in /cygdrive/c/WINDOWS/System32/spool/DRIVERS/W32X86/3/BRLHL07A.DLL is .rsrc at 00401000
[New thread 3892.0xa4]
[New thread 3892.0xedc]
[New thread 3892.0xc9c]
[New thread 3892.0x34c]
[New thread 3892.0xe34]

Program received signal SIGSEGV, Segmentation fault.
0x0066699a in ?? ()
(gdb) bt
#0 0x0066699a in ?? ()
#1 0x003f01b8 in ?? ()
#2 0x00000038 in ?? ()
#3 0x0066918d in ?? ()
#4 0x04ee2948 in ?? ()
#5 0x099a60f0 in ?? ()
#6 0x04ea2128 in ?? ()
#7 0x0022e600 in ?? ()
#8 0x00000000 in ?? ()

serega386 (serega386-gmail) wrote :
su_v (suv-lp) wrote :

Please add information about your platform, Inkscape version and printer model. Does the crash happen with every file or only the attached example?

tags: added: crash printing
Changed in inkscape:
importance: Undecided → High
status: New → Incomplete
serega386 (serega386-gmail) wrote :

platform: Windows XP with last update
inkscape: 0.47-3.exe and 0.48pre1-1.exe
printer: Brother mfc-7840WR
crashes: with this and several other files

serega386 (serega386-gmail) wrote :

platform: ubuntu 10.04
inkscape: 0.47 r22583, built Apr 4 2010
printer: samsung CLP-310-series
no crashes

su_v (suv-lp) on 2010-08-05
Changed in inkscape:
status: Incomplete → New
tags: added: win32
Alvin Penner (apenner) wrote :

running Windows XP, no crashes experienced when printing from either Inkscape 0.47pre1 or 0.48pre1. Part of the image was off the page, but I am assuming this was deliberate.

If you have 0.48pre1 available on Windows, could you try running it from a DOS prompt? In the Inkscape directory there is a new file called Inkscape.com which will run by default if you type Inkscape on the command line, and will provide you with error messages in a DOS window.

serega386 (serega386-gmail) wrote :

Inkscape.com absent

Alvin Penner (apenner) wrote :

- it should be present in the file Inkscape-0.48pre1-win32.7z which is the version I am using.
- available at http://sourceforge.net/projects/inkscape/files/

su_v (suv-lp) wrote :

> Part of the image was off the page, but I am assuming this was deliberate.

I tested the file with Inkscape 0.48+devel r9686 (on OS X 10.5.8) by outputting to a file in PostScript format (in the print dialog). The resulting PS file is cut off (right edge of the landscape-oriented page) if viewed in Apple's default PostScript viewer (Preview.app) and in gs 8.71, but not when opening in GNU gv 3.6.7 (based on gs 8.70). This seems to be a problem of how the bounding box or page size stored in the PostScript file are interpreted - the correct information is definitely somewhere in the file, but obviously ignored by some viewers/printer drivers. It seems not related to the crash reported here afaiu, but is possibly related to bug #437550?

serega386 (serega386-gmail) wrote :

C:\Documents and Settings\stremidlo\Мои документы\downloads\inkscape>inkscape.com

(inkscape.exe:2004): GLib-CRITICAL **: g_setenv_utf8: assertion `g_utf8_validate (value, -1, NULL)' failed

(inkscape.exe:2004): GLib-CRITICAL **: g_setenv_utf8: assertion `g_utf8_validate (value, -1, NULL)' failed

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

C:\Documents and Settings\stremidlo\Мои документы\downloads\inkscape>
----------------------
it seems that this bug is connected with the Windows.
on the home machine (Windows XP) it does not occur.
on the job of two machines with versions 0.47-3, 0.48pre1 stably exist with all printers (mfs-7840WR, PDFCreator)
--------------------
$ ldd.exe /cygdrive/c/Program\ Files/Inkscape/inkscape.exe | sed -e "s/.*=> //g" | sed -e "s/ (.*//g" | grep -v /Program
/cygdrive/c/WINDOWS/system32/ntdll.dll
/cygdrive/c/WINDOWS/system32/kernel32.dll
/cygdrive/c/WINDOWS/system32/ADVAPI32.DLL
/cygdrive/c/WINDOWS/system32/RPCRT4.dll
/cygdrive/c/WINDOWS/system32/Secur32.dll
/cygdrive/c/WINDOWS/system32/msvcrt.dll
/cygdrive/c/WINDOWS/system32/OLE32.dll
/cygdrive/c/WINDOWS/system32/GDI32.dll
/cygdrive/c/WINDOWS/system32/USER32.dll
/cygdrive/c/WINDOWS/system32/SHELL32.DLL
/cygdrive/c/WINDOWS/system32/SHLWAPI.dll
/cygdrive/c/WINDOWS/system32/WS2_32.DLL
/cygdrive/c/WINDOWS/system32/WS2HELP.dll
/cygdrive/c/WINDOWS/system32/MSIMG32.DLL
/cygdrive/c/WINDOWS/system32/IMM32.DLL
/cygdrive/c/WINDOWS/WinSxS/X86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83/COMCTL32.DLL
/cygdrive/c/WINDOWS/system32/COMDLG32.DLL
/cygdrive/c/WINDOWS/system32/WINSPOOL.DRV
/cygdrive/c/WINDOWS/system32/WSOCK32.DLL
/cygdrive/c/WINDOWS/system32/mscms.dll
--------------------
$ tar -cjf ink.bz2 `ldd.exe /cygdrive/c/Program\ Files/Inkscape/inkscape.exe | sed -e "s/.*=> //g" | sed -e "s/ (.*//g" | grep -v /Program`

Vladimir Hidalgo (vlad88sv) wrote :

I'm experiencing crashes when printing:

$ gdb inkscape-devel
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
Para las instrucciones de informe de errores, vea:
<http://www.gnu.org/software/gdb/bugs/>...
Leyendo símbolos desde /usr/bin/inkscape-devel...(no se encontraron símbolos de depuración)hecho.
(gdb) run
Starting program: /usr/bin/inkscape-devel
[Thread debugging using libthread_db enabled]

(inkscape-devel:6437): gtkmm-WARNING **: gtkmm: Attempt to call Gtk::manage() on a Gtk::Window, but a Gtk::Window has no parent container to manage its lifetime.

inkscape-devel: /build/buildd/cairo-1.9.6/src/cairo-surface.c:365: _cairo_surface_begin_modification: Afirmación «! surface->finished» fallida.

Program received signal SIGABRT, Aborted.
0xb7fe2424 in __kernel_vsyscall ()
(gdb) continue
Continuando.

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.

Linux Ubuntu 10.04 and $ inkscape-devel -V = Inkscape 0.48+devel r (Jul 19 2010)

su_v (suv-lp) wrote :

Vladimir Hidalgo wrote:
> inkscape-devel: /build/buildd/cairo-1.9.6/src/cairo-surface.c:365: _cairo_surface_begin_modification: Afirmación «! surface->finished» fallida.

@Vladimir - you are using an old cairo snapshot version. This is a cairo bug which has been fixed in cairo snapshot 1.9.12, see bug #594144 in Inkscape: “Internal error when printing using Cairo snapshot 1.9.x” <https://bugs.launchpad.net/inkscape/+bug/594144>

jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape 0.47 and 0.48.
Tried to print with vector and bitmap rendering, to printer (Epson Stylus DX3850, official drivers), PDF printer (PrimoPDF) and file, and always got a crash.
No problem on Ubuntu 10.04, same printer.

Changed in inkscape:
status: New → Confirmed
jazzynico (jazzynico) wrote :

Tested again on Windows XP (different computer), Inkscape 0.48.0, Inkscape 0.48.5 and trunk revision 13511, and I can't reproduce the crash. Note that I only tested with a PDF creator virtual printer.

Nobs Ware (nobs) wrote :

sorry, wrong version numbers

now correct:

just testet on Windows 8.1

0.91pre3 crashes

0.48.5 works

Nobs Ware (nobs) wrote :

Update for Windows 8.1 :

0.91pre4 x64 MSI works

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers