crash on python-driven export - win32 build 0802291457.7z

Bug #197359 reported by Alvin Penner
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Critical
Unassigned

Bug Description

running win32 nightly build 0802291457.7z

choose either :
File | SaveAs | GIMP Palette (.gpl)
or File | SaveAs | Desktop Cutting Plotter (.dxf)

In both cases Inkscape crashes with the DOS message :

C:\Python25\APP>python inkcl.py
return code: 3
terminate called after throwing an instance of 'Glib::SpawnError'

points of interest :

- both of these exports are driven by python scripts
- both of these exports worked well about two weeks ago or so
- this bug report sounds very similar to Bug 197295, except that is input not output
- is it possible that this is a windows native file dialogs issue, since this is the first time I have used the native dialogs?
............................................................................................

traceback :

C:\Program Files\Inkscape>gdb --symbols=inkscape.dbg inkscape
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-mingw32"...
(no debugging symbols found)
(gdb) run
Starting program: C:\Program Files\Inkscape/inkscape.exe
Loaded symbols for C:\WINDOWS\system32\ntdll.dll
Loaded symbols for C:\WINDOWS\system32\kernel32.dll
Loaded symbols for C:\Program Files\Inkscape\libatkmm-1.6-1.dll
Loaded symbols for C:\Program Files\Inkscape\libatk-1.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libglib-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\intl.dll
Loaded symbols for C:\WINDOWS\system32\msvcrt.dll
Loaded symbols for C:\WINDOWS\system32\advapi32.dll
Loaded symbols for C:\WINDOWS\system32\rpcrt4.dll
Loaded symbols for C:\WINDOWS\system32\ole32.dll
Loaded symbols for C:\WINDOWS\system32\gdi32.dll
Loaded symbols for C:\WINDOWS\system32\user32.dll
Loaded symbols for C:\WINDOWS\system32\shell32.dll
Loaded symbols for C:\WINDOWS\system32\shlwapi.dll
Loaded symbols for C:\WINDOWS\system32\ws2_32.dll
Loaded symbols for C:\WINDOWS\system32\ws2help.dll
Loaded symbols for C:\Program Files\Inkscape\libgobject-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libglibmm-2.4-1.dll
Loaded symbols for C:\Program Files\Inkscape\libgmodule-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libsigc-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libcairo-2.dll
Loaded symbols for C:\Program Files\Inkscape\libfontconfig-1.dll
Loaded symbols for C:\Program Files\Inkscape\freetype6.dll
Loaded symbols for C:\Program Files\Inkscape\libexpat.dll
Loaded symbols for C:\Program Files\Inkscape\libpng13.dll
Loaded symbols for C:\Program Files\Inkscape\zlib1.dll
Loaded symbols for C:\WINDOWS\system32\msimg32.dll
Loaded symbols for C:\Program Files\Inkscape\libcairomm-1.0-1.dll
Loaded symbols for C:\Program Files\Inkscape\libgdk-win32-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libgdk_pixbuf-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\jpeg62.dll
Loaded symbols for C:\Program Files\Inkscape\libtiff3.dll
Loaded symbols for C:\Program Files\Inkscape\libpango-1.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libpangocairo-1.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libpangowin32-1.0-0.dll
Loaded symbols for C:\WINDOWS\system32\imm32.dll
Loaded symbols for C:\Program Files\Inkscape\libgdkmm-2.4-1.dll
Loaded symbols for C:\Program Files\Inkscape\libgtk-win32-2.0-0.dll
Loaded symbols for C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common-Controls_6595b
64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
Loaded symbols for C:\WINDOWS\system32\comdlg32.dll
Loaded symbols for C:\WINDOWS\system32\winspool.drv
Loaded symbols for C:\Program Files\Inkscape\libpangomm-1.4-1.dll
Loaded symbols for C:\Program Files\Inkscape\libgthread-2.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libgtkmm-2.4-1.dll
Loaded symbols for C:\Program Files\Inkscape\liblcms-1.dll
Loaded symbols for C:\Program Files\Inkscape\libpangoft2-1.0-0.dll
Loaded symbols for C:\Program Files\Inkscape\libpoppler-2.dll
Loaded symbols for C:\Program Files\Inkscape\libxml2.dll
Loaded symbols for C:\Program Files\Inkscape\iconv.dll
Loaded symbols for C:\WINDOWS\system32\wsock32.dll
Loaded symbols for C:\Program Files\Inkscape\libpopt-0.dll
Loaded symbols for C:\Program Files\Inkscape\libwpg-0.1.dll
Loaded symbols for C:\Program Files\Inkscape\libwpg-stream-0.1.dll
Loaded symbols for C:\Program Files\Inkscape\libxslt.dll
warning: HEAP[inkscape.exe]:
warning: Invalid Address specified to RtlFreeHeap( 03890000, 00D67250 )

Program received signal SIGTRAP, Trace/breakpoint trap.
0x7c901231 in ntdll!DbgUiConnectToDbg () from C:\WINDOWS\system32\ntdll.dll
(gdb) bt
#0 0x7c901231 in ntdll!DbgUiConnectToDbg ()
   from C:\WINDOWS\system32\ntdll.dll
#1 0x7c96c943 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#2 0x0022eab4 in ?? ()
#3 0x7c96cd80 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#4 0x00d67248 in zlib1!zError ()
#5 0x03890000 in ?? ()
#6 0x00d67250 in zlib1!zError ()
#7 0x0022eb28 in ?? ()
#8 0x7c96df66 in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#9 0x03890000 in ?? ()
#10 0x00d67248 in zlib1!zError ()
#11 0x7c96e11c in ntdll!RtlpNtMakeTemporaryKey ()
   from C:\WINDOWS\system32\ntdll.dll
#12 0x03890000 in ?? ()
#13 0x00d67250 in zlib1!zError ()
#14 0x40000060 in ?? ()
#15 0x00000000 in ?? ()
(gdb) ^C
C:\Program Files\Inkscape>

Revision history for this message
Alvin Penner (apenner) wrote :

running Inkscape0803141639.7z
the crash message has been modified to read :

C:\Program Files\Inkscape\python>python \python25\app\inkcl.py
return code: 3
** Message: Found local interpreter, 'C:\Program Files\Inkscape\python\pythonw.e
xe', Size: 24576
terminate called after throwing an instance of 'Glib::SpawnError'

Revision history for this message
prkos (prkos) wrote :

I can confirm on dev built 2nd April on WinXP

Program exited with code 03.
(gdb) bt
No stack.

Changed in inkscape:
importance: Undecided → Critical
status: New → Confirmed
Revision history for this message
Alvin Penner (apenner) wrote :

running win32 nightly build Inkscape0804041638.7z

I believe this bug has just been fixed, the Spawn error has disappeared, thanks

Alvin Penner (apenner)
Changed in inkscape:
status: Confirmed → Fix Released
tags: added: extensions-plugins
removed: extensions
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.