[win32] crash using cli shell mode in batch file (possibly related to font loading)

Bug #678457 reported by muhammad Gad on 2010-11-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

I'm using Windows XP Professional SP3, Inkscape 0.48 when I run a batch include a huge numbers of pdfs (200-300 pdfs) by the following command:
imkscpae --shell
1.pdf -l 1.svg
2.pdf -l 2.svg
.
.
.
200.pdf -l 200.svg

the windows showed me the following:
The instructions at "0x0067ede4" referenced memory at "0x03e4f01d" the memory couldn't be read.

BUT

when I run the same batch with windows 7 there are no exception.

muhammad Gad (mamidogad) on 2010-11-22
description: updated
su_v (suv-lp) on 2010-11-22
tags: added: crash performance win32
removed: exception memory referenced
Changed in inkscape:
importance: Undecided → High
muhammad Gad (mamidogad) wrote :

when I delete font from windows the inkscape batch convert correctly. Is that exception related to fonts.

muhammad Gad (mamidogad) wrote :

I found something strange when I delete any font and run the batch file that contains 600 pdfs to svgs the process is going with out exception then run another batch the process is giving me an exception, All I want to say if I delete or add any font even it not related to my font that using in pdf the process is going well, I have to modify the c:\windows\fonts whatever adding or deleting before running every batch

su_v (suv-lp) on 2010-11-23
summary: - REFERENCED MEMORY EXCEPTION
+ [win32] crash using cli shell mode in batch file (possibly related to
+ font loading)
tags: added: cli fonts
removed: performance
su_v (suv-lp) wrote :

Could you attach a sample PDF file as well as the batch script used, to allow easier testing on other systems?

> when I delete any font and run the batch file (…) the
> process is going with out exception,
> then run another batch the process is giving me an exception

Do you mean 'deleting all fonts', or 'delete one or some of the installed fonts' (i.e. any changes to the number of installed fonts) allows to run the huge batch conversion once before it fails again?
And is this on Windows XP or on Windows 7?
Is it possibly related to the total number of fonts installed, i.e. does the memory exception happen only on systems with a huge number of installed fonts?

muhammad Gad (mamidogad) wrote :
muhammad Gad (mamidogad) wrote :

> Could you attach a sample PDF file as well as the batch script used, to allow easier testing on other systems?

http://launchpadlibrarian.net/59534561/856932_M103.pdf

this my batch that contains a lot of pdfs
inkscpae --shell
1.pdf -l 1.svg
2.pdf -l 2.svg
.
.
.
200.pdf -l 200.svg

>Do you mean 'deleting all fonts', or 'delete one or some of the installed fonts' (i.e. any changes to the number of installed >fonts) allows to run the huge batch conversion once before it fails again?

delete any font

> And is this on Windows XP or on Windows 7?

Windows XP but Windows 7 is Okay

> Is it possibly related to the total number of fonts installed, i.e. does the memory exception happen only on systems with a
> huge number of installed fonts?

noup I have only the windows fonts

I wanna know something, is inkscape read all fonts in windows first then process the file or what. Another thing why when I delete or add font the progress going well.

Thanks

su_v (suv-lp) wrote :

Please attach the batch file too.

If I try using the '--shell' mode in a bash script file (on osx) simply like you quote it, the script doesn't work (i.e. the new lines with the commands are not seen by the inkscape process in shell mode - afaiu they need to be piped as stdin to the inskcape process).

muhammad Gad (mamidogad) wrote :
muhammad Gad (mamidogad) wrote :
muhammad Gad (mamidogad) wrote :

I'm running the the following batch
http://launchpadlibrarian.net/59543217/ToSvgSingle.bat
http://launchpadlibrarian.net/59543203/PdfList.txt

I wanna know something, is inkscape read all fonts in windows first then process the file or what. Another thing why when I delete or add font the progress going well.

Thanks

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

Other bug subscribers