Package: pdfedit
Version: 0.3.2-2
Severity: normal
I have edited a pdf and added some information to it. Original PDF is
www.uscis.gov/files/form/I-751.pdf
when I saved it, restarted pdfedit, now it can't open it.
I was able to reproduce the issue -- just downloaded the file and added
a text box containing "Buga" ;-) and it segfaulted while opening it.
Please let me know if you can't reproduce it -- I will provide you with
strace of the run... actually here it is partially:
26996 fstat64(7, {st_mode=S_IFREG|0644, st_size=183629, ...}) = 0
26996 _llseek(7, 131072, [131072], SEEK_SET) = 0
26996 read(7, "Matrix[1.0 0.0 0.0 1.0 0.0 0.0]/"..., 131072) = 52557
26996 fstat64(7, {st_mode=S_IFREG|0644, st_size=183629, ...}) = 0
26996 _llseek(7, 183629, [183629], SEEK_SET) = 0
26996 _llseek(7, 183629, [183629], SEEK_SET) = 0
26996 read(7, "", 131072) = 0
26996 _llseek(7, 131072, [131072], SEEK_SET) = 0
26996 read(7, "Matrix[1.0 0.0 0.0 1.0 0.0 0.0]/"..., 52551) = 52551
26996 _llseek(7, 183623, [183623], SEEK_SET) = 0
26996 _llseek(7, 183623, [183623], SEEK_SET) = 0
26996 _llseek(7, 183623, [183623], SEEK_SET) = 0
26996 _llseek(7, 183623, [183623], SEEK_SET) = 0
26996 _llseek(7, 131072, [131072], SEEK_SET) = 0
26996 read(7, "Matrix[1.0 0.0 0.0 1.0 0.0 0.0]/"..., 131072) = 52557
26996 _llseek(7, 0, [0], SEEK_SET) = 0
26996 _llseek(7, 0, [0], SEEK_SET) = 0
26996 read(7, "%PDF-1.6\r%\342\343\317\323\r\n1208 0 obj<</Fir"...,
131072) = 131072
26996 _llseek(7, 131072, [131072], SEEK_SET) = 0
26996 _llseek(7, 131072, [131072], SEEK_SET) = 0
26996 _llseek(7, 131072, [131072], SEEK_SET) = 0
26996 read(7, "Matrix[1.0 0.0 0.0 1.0 0.0 0.0]/"..., 131072) = 52557
26996 _llseek(7, 183629, [183629], SEEK_SET) = 0
26996 _llseek(7, 183629, [183629], SEEK_SET) = 0
26996 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
26996 +++ killed by SIGSEGV +++
and valgrind is very unhappy in many QT aspects and on segfault gives me
==27187== Invalid read of size 4
==27187== at 0x830B7F7: (within /usr/bin/pdfedit)
==27187== by 0x81A0C21: (within /usr/bin/pdfedit)
==27187== by 0x81A1DCF: (within /usr/bin/pdfedit)
==27187== by 0x82209CD: (within /usr/bin/pdfedit)
==27187== by 0x8220DE8: (within /usr/bin/pdfedit)
==27187== by 0x8109154: (within /usr/bin/pdfedit)
==27187== by 0x810C4CD: (within /usr/bin/pdfedit)
==27187== by 0x810CB18: (within /usr/bin/pdfedit)
==27187== by 0x813A7FC: (within /usr/bin/pdfedit)
==27187== by 0x4BC404F: (below main) (in
/lib/i686/cmov/libc-2.6.1.so)
==27187== Address 0x1 is not stack'd, malloc'd or (recently) free'd
==27187==
==27187== Process terminating with default action of signal 11 (SIGSEGV)
==27187== Access not within mapped region at address 0x1
==27187== at 0x830B7F7: (within /usr/bin/pdfedit)
==27187== by 0x81A0C21: (within /usr/bin/pdfedit)
==27187== by 0x81A1DCF: (within /usr/bin/pdfedit)
==27187== by 0x82209CD: (within /usr/bin/pdfedit)
==27187== by 0x8220DE8: (within /usr/bin/pdfedit)
==27187== by 0x8109154: (within /usr/bin/pdfedit)
==27187== by 0x810C4CD: (within /usr/bin/pdfedit)
==27187== by 0x810CB18: (within /usr/bin/pdfedit)
==27187== by 0x813A7FC: (within /usr/bin/pdfedit)
==27187== by 0x4BC404F: (below main) (in
/lib/i686/cmov/libc-2.6.1.so)
if you can't reproduce I would compile pdfedit with debugging support
and provide you with more information...
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (900, 'testing'), (300, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages pdfedit depends on:
ii libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii libfontconfig1 2.4.2-1.2 generic font configuration library
ii libfreetype6 2.3.5-1+b1 FreeType 2 font engine, shared lib
ii libgcc1 1:4.2.1-0 GCC support library
ii libice6 2:1.0.3-3 X11 Inter-Client Exchange library
ii libjpeg62 6b-13 The Independent JPEG Group's JPEG
ii libpaper1 1.1.21 Library for handling paper charact
ii libpng12-0 1.2.15~beta5-2 PNG library - runtime
ii libqt3-mt 3:3.3.7-5 Qt GUI Library (Threaded runtime v
ii libsm6 2:1.0.3-1+b1 X11 Session Management library
ii libstdc++6 4.2.1-0 The GNU Standard C++ Library v3
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii zlib1g 1:1.2.3.3.dfsg-5 compression library - runtime
pdfedit recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]