← Back to team overview

desktop-packages team mailing list archive

[Bug 525161] Re: sometimes it's never print out any page and hangs on

 

Launchpad has imported 4 comments from the remote bug at
http://bugs.ghostscript.com/show_bug.cgi?id=695778.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2015-01-07T17:04:39+00:00 madbiologist wrote:

Created attachment 11405
Original djvu file

While investgating the problem of evince taking an hour and twenty
minutes to print the attached djvu file, it was discovered that if it is
printed to a PS file it prints quite quickly, but then using ps2pdf to
convert the .ps file to a .pdf file takes 1 hour and 17 minutes.

Running the "top" command while the ps2pdf conversion is in progress
shows that gs from the ubuntu USER is at the top of the list with 100%
use of one of my four CPU cores (single CPU state/separate CPU states
can be toggled by pressing "1" while top is running). SHaRed memory was
fixed at 3776 KiB, while VIRTual memory size and RESident memory size
steadily increased to over 100000 KiB each after 10 minutes and
continued to steadily increase to over 200000 KiB before the conversion
completed after 1 hour and 17 minutes.

Unless I am mistaken, gs is ghostscript.This occurs on Ubuntu 14.04
"Trusty Tahr" with ghostscript 9.10~dfsg-0ubuntu10.2 and on Ubuntu 14.10
"Vivid Vervet" with ghostscript 9.14~dfsg-0ubuntu4.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/525161/comments/20

------------------------------------------------------------------------
On 2015-01-07T17:20:24+00:00 madbiologist wrote:

The resulting .PS file is too big to attach here, so you will have to
generate it using Evince.

Some further comments by Till Kamppeter:

"Sending the PostScript file directly to a native PostScript printer, for
example using the command

nc -w1 <IP address of printer> 9100 < Grammar\ 4.ps

leads to a printout in a reasonable time (2-3 pages quickly one after
each other, then 5 seconds pause, 2-3 pages again and so forth).

This means that the PostScript file produced by evince is awkward, but
GhostScript is really TOO slow, meaning that there is room for
improvement/fixing in Ghostscript.

Independent of this, the djvu software used by evince needs improvement,
too, first it should generate better, easier to process PostScript, and
second it should be able to directly convert djvu into PDF, as PDF is
THE standard format for printable documents under all operating systems
(please consider reporting an upstream bug here, too."

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/525161/comments/21

------------------------------------------------------------------------
On 2015-01-07T17:25:48+00:00 Ray Johnston wrote:

We need either a PS file or a PDF file. This file type is not supported.

If you can't make the PS file you test with available, we will have to close
this as INVALID.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/525161/comments/23

------------------------------------------------------------------------
On 2015-01-07T17:39:42+00:00 Till Kamppeter wrote:

Created attachment 11406
PostScript file, compressed

I am attaching the mentioned PostScript file, bzip2-compressed to be
accepted by the server.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/525161/comments/24


** Changed in: gs-common
       Status: Unknown => New

** Changed in: gs-common
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/525161

Title:
  sometimes it's never print out any page and hangs on

Status in GS-Common - Common Ghostscript files:
  New
Status in evince package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: evince

  sometimes it's never print out any page and hangs on

  ProblemType: Bug
  Architecture: amd64
  Date: Sun Feb 21 13:33:00 2010
  DistroRelease: Ubuntu 9.10
  ExecutablePath: /usr/bin/evince
  InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
  NonfreeKernelModules: fglrx
  Package: evince 2.28.1-0ubuntu1.2
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
  SourcePackage: evince
  Uname: Linux 2.6.31-20-generic x86_64
  XsessionErrors:
   (gnome-settings-daemon:4586): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
   (nautilus:4621): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
   (polkit-gnome-authentication-agent-1:4652): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
   (gnome-panel:4617): Gdk-WARNING **: /build/buildd/gtk+2.0-2.18.3/gdk/x11/gdkdrawable-x11.c:952 drawable is not a pixmap or window
   (firefox:5009): GLib-WARNING **: g_set_prgname() called multiple times

To manage notifications about this bug go to:
https://bugs.launchpad.net/gs-common/+bug/525161/+subscriptions