swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Bug report: pdf2swf segfaults


From: Oskari 'Okko' Ojala
Subject: [Swftools-common] Bug report: pdf2swf segfaults
Date: Wed, 19 Oct 2005 15:28:55 +0300 (EEST)

Hello,

pdf2swf appears to segfault with some input. I have experienced this with a small number of some other pages too, while the majority of pages get converted normally.


Description of problem:
Swftools segfaults. No swf file is generated.


Steps needed to reproduce:
1. Configure, make and install swftools.
   My swftools has been configured with "--disable-lame", but I don't
   think the issue is related to that.
2. wget http://www.frantic.com/okko/swftools-bugs/segfault/1.pdf
3. pdf2swf 1.pdf --pages=1 -o 1.swf


Output with swftools-0.7.0:
NOTICE  Adding [my path here]/swftools/fonts to font directories
Title:        (md4s28-31aito)
Author:       (slah)
Producer:     AFPL Ghostscript 8.50
CreationDate: 20051019144937
ModDate:      20051019144937
Pages:        2
Linearized:   no
Encrypted:    no
NOTICE  processing PDF page 1 (656x875:0:0) (move:0:0)
Segmentation fault


Last output lines with strace and swftools-0.7.0:
time(NULL)                              = 1129723733
time(NULL)                              = 1129723733
time(NULL)                              = 1129723733
time(NULL)                              = 1129723733
time(NULL)                              = 1129723733
time(NULL)                              = 1129723733
open("/tmp/4e6f97871c4c5a75", O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=359, ...}) = 0
mmap2(NULL, 359, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb752e000
close(4)                                = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7324000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


Output with swftools-dev (2005-10-16-1929):
NOTICE  Adding [my path here]/swftools/fonts to font directories
Title:        (md4s28-31aito)
Author:       (slah)
Producer:     AFPL Ghostscript 8.50
CreationDate: 20051019144937
ModDate:      20051019144937
Pages:        2
Linearized:   no
Encrypted:    no
NOTICE  processing PDF page 1 (656x875:0:0) (move:0:0)
Couldn't decompose glyph 1
Couldn't decompose glyph 2
Couldn't decompose glyph 3
Couldn't decompose glyph 4
Couldn't decompose glyph 5
Couldn't decompose glyph 15
Couldn't decompose glyph 25
Couldn't decompose glyph 29
Couldn't decompose glyph 39
Couldn't decompose glyph 2
Couldn't decompose glyph 5
Couldn't decompose glyph 17
Couldn't decompose glyph 5
Segmentation fault

Last output lines with strace and swftools-dev (2005-10-16-1929):
time(NULL)                              = 1129724308
time(NULL)                              = 1129724308
time(NULL)                              = 1129724308
time(NULL)                              = 1129724308
time(NULL)                              = 1129724308
time(NULL)                              = 1129724308
open("/tmp/4cc74d56378a7220", O_RDONLY) = 4
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=359, ...}) = 0
mmap2(NULL, 359, PROT_READ, MAP_PRIVATE, 4, 0) = 0xb752b000
close(4)                                = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7321000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


ldd output with swftools-dev (2005-10-16-1929):
        libungif.so.4 => /usr/lib/libungif.so.4 (0x00b53000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x004f5000)
        libz.so.1 => /usr/lib/libz.so.1 (0x008a4000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00b04000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00d04000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x009f3000)
        libm.so.6 => /lib/tls/libm.so.6 (0x0032a000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x003eb000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00111000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00249000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00ace000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0081f000)
        libdl.so.2 => /lib/libdl.so.2 (0x0056b000)


Operating system:
Red Hat Enterprise Linux WS release 3 (Taroon Update 5).




If you need more information, please let me know!

Regards,

        Oskari Ojala


--
Oskari "Okko" Ojala
Frantic Media




reply via email to

[Prev in Thread] Current Thread [Next in Thread]