Bug#788825: libarchive-zip-perl: crashes when run by unoconv (versions > 1.30)

Stephen McGregor xxx at stephen-mcgregor.com
Mon Jun 15 12:19:39 UTC 2015


Package: libarchive-zip-perl
Version: 1.37 1.39
Severity: important

Dear Maintainer,


   * What led up to the situation?

running uncconv to convert an Open/libreoffice doc into a PDF. 

The crash only occurs if a version of libarchive-sip-perl greater than 1.30
is installed. 

Version 1.30 runs fine.


   * What exactly did you do (or not do) that was effective (or
     ineffective)?

The command I ran was: 

	unoconv -f pdf -n  -T 60 -e PageRange=1-2 inputFileName.odt

   * What was the outcome of this action?

(1) Error messages:

	[sScalar found where operator expected at (eval 146) line 10, near "00397
	$fh" (Missing operator before $fh?) 
	Scalar found where operator expected at (eval 146) line 11, near "00398 $fh"
	(Missing operator before $fh?) 
	Number found where operator expected at (eval 146) line 13, near "00399 00400" (Missing operator before  00400?) 
	format error: CRC or size mismatch while skipping data descriptor at
	/usr/share/perl5/OpenOffice/OODoc/XPath.pm line 700.  format error: can't
	find EOCD signature at  ---running-program's--name-here---  line 189.
	[OpenOffice::OODoc::File::save] Archive I/O erro

(2) unoconv crashes, sending an error to the program that was using it 

(3) no document conversion

   * What outcome did you expect instead?

a PDF file created from the libre/openoffice doc


Workaround

find a version of libarchive-zip-perl at 1.30; install this over the current version, all works fine.



-- System Information:
Debian Release: stretch/sid
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF8, LC_CTYPE=en_US.UTF8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



More information about the pkg-perl-maintainers mailing list