[Poppler-bugs] [Bug 95331] New: pdfunite crash while open the damaged pdf file

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 10 03:26:59 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=95331

            Bug ID: 95331
           Summary: pdfunite crash while open the damaged pdf file
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: utils
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: thomas at thomasy.tw

Created attachment 123589
  --> https://bugs.freedesktop.org/attachment.cgi?id=123589&action=edit
damaged pdf file

Execute pdfunite design/force_sensor.pdf out.pdf using shell script and
pdfunite will crash with message: 

Syntax Error: Couldn't find trailer dictionary
Internal Error (0): Call to Object where the object was type 5, not the
expected type 7


##########

gdb debug info
pdfunite design/force_sensor.pdf out.pdf
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from pdfunite...Reading symbols from
/usr/lib/debug/.build-id/d5/681490cf3a1a7b36229bafe2cdc992e80581bf.debug...done.
done.
(gdb) run
Starting program: /usr/bin/pdfunite design/force_sensor.pdf
design/force_sensor.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Syntax Error: Couldn't find trailer dictionary
Internal Error (0): Call to Object where the object was type 5, not the
expected type 7

Program received signal SIGABRT, Aborted.
0xb7fdac31 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdac31 in __kernel_vsyscall ()
#1  0xb7a4be89 in __GI_raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#2  0xb7a4d3e7 in __GI_abort () at abort.c:89
#3  0x0804ab30 in Object::getDict (this=0xbfffef38, this=0xbfffef38) at
../poppler/Object.h:209
#4  0x08049c88 in main (argc=3, argv=0xbffff054) at pdfunite.cc:247
(gdb)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20160510/391d7dea/attachment.html>


More information about the Poppler-bugs mailing list