I apologize for being too hasty in opening this issue.  It turns out
that it was not pdftk that was corrupting the xref, but another tool
that was performing some post-processing.  Please close.

** Description changed:

  I can open a pdf file in ghostscript, but once I burst that same file
  with pdftk ghostscript will not open the output file or files, saying
  that the file has an invalid xref entry.  It attempts to rebuild the
  xref table, but still errors out.  gs console output is:
  
- 
  GPL Ghostscript 9.04 (2011-08-05)
  Copyright (C) 2011 Artifex Software, Inc.  All rights reserved.
  This software comes with NO WARRANTY: see the file PUBLIC for details.
-    **** Warning:  Generation number out of 0..65535 range, assuming 0.
-    **** Warning:  File has an invalid xref entry:  2.  Rebuilding xref table.
+    **** Warning:  Generation number out of 0..65535 range, assuming 0.
+    **** Warning:  File has an invalid xref entry:  2.  Rebuilding xref table.
  Error: /typecheck in --run--
  Operand stack:
-    --nostringval--   Pages
+    --nostringval--   Pages
  Execution stack:
-    %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   
1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   --nostringval--   
--nostringval--   --nostringval--   --nostringval--   --nostringval--   
--nostringval--
+    %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   --nostringval--   
--nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   
1909   1   3   %oparray_pop   1893   1   3   %oparray_pop   --nostringval--   
--nostringval--   --nostringval--   --nostringval--   --nostringval--   
--nostringval--
  Dictionary stack:
-    --dict:1157/1684(ro)(G)--   --dict:1/20(G)--   --dict:82/200(L)--   
--dict:82/200(L)--   --dict:108/127(ro)(G)--   --dict:291/300(ro)(G)--   
--dict:21/30(L)--
+    --dict:1157/1684(ro)(G)--   --dict:1/20(G)--   --dict:82/200(L)--   
--dict:82/200(L)--   --dict:108/127(ro)(G)--   --dict:291/300(ro)(G)--   
--dict:21/30(L)--
  Current allocation mode is local
  GPL Ghostscript 9.04: Unrecoverable error, exit code 1
  
- 
- I saw in the version notes that this error was supposedly fixed in 1.41, but 
I am running (according to Synaptic, but a '-version' option would be nice!) 
version 1.44-3.
+ I saw in the version notes that this error was supposedly fixed in 1.41,
+ but I am running (according to Synaptic, but a '-version' option would
+ be nice!) version 1.44-3.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: pdftk 1.44-3
  ProcVersionSignature: Ubuntu 3.0.0-16.27-generic 3.0.17
  Uname: Linux 3.0.0-16-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: amd64
  Date: Mon Jan 30 18:47:50 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: pdftk
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924039

Title:
  pdftk burst command creates invalid xref entries

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pdftk/+bug/924039/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to