[17528] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 8.3.25Tue: reactivate, printing from acroread

daemon@ATHENA.MIT.EDU (Camilla R Fox)
Thu Feb 10 17:54:28 2000

Message-Id: <200002102254.RAA14469@w20-575-42.mit.edu>
To: bugs@MIT.EDU
Date: Thu, 10 Feb 2000 17:54:23 -0500
From: Camilla R Fox <cfox@MIT.EDU>

System name:		w20-575-42.mit.edu
Type and version:	i686 8.3.25Tue
Display type:		

Shell:			/bin/athena/bash
Window manager:		vtwm.gamma

What's wrong:

There's someone else's lpr process running on this machine, and when I
try to print from acroread, the lpr hangs.  Reactivate had a chance to
run, and should have killed the other process.

[cfox@w20-575-42]cfox$ ps -elf | grep lpr
100 R #6485    13801     1 98  74   0    -   542 -      16:56 ?        00:26:10 lpr -Pajax2 /tmp/Acroc13774

[cfox@w20-575-42]cfox$ last
cfox     pts/3                         Thu Feb 10 17:19   still logged in
cfox     pts/2                         Thu Feb 10 17:16   still logged in
cfox     pts/1                         Thu Feb 10 17:16   still logged in
cfox     pts/0                         Thu Feb 10 17:16   still logged in
cfox     ttyp0        :0.0             Thu Feb 10 17:16   still logged in
cfox     pts/2                         Thu Feb 10 17:15 - 17:16  (00:01)
cfox     pts/1                         Thu Feb 10 17:15 - 17:16  (00:01)
cfox     pts/0                         Thu Feb 10 17:15 - 17:16  (00:00)
cfox     ttyp0        :0.0             Thu Feb 10 17:15 - 17:16  (00:01)
dougy    pts/0                         Thu Feb 10 17:01 - 17:01  (00:00)
dougy    ttyp1        :0.0             Thu Feb 10 17:01 - 17:01  (00:00)
rmusa    pts/0                         Thu Feb 10 16:43 - 16:57  (00:14)
rmusa    ttyp0        :0.0             Thu Feb 10 16:42 - 16:57  (00:14)
bcooke   pts/0                         Thu Feb 10 14:49 - 15:14  (00:25)
...

Between when dougy logged out, and when I logged in, there was time for
it to reactivate.

acroread defaults to /usr/athena/bin/lpr, which seems to hang; I run
acroread, open a pdf file, and click on file->print.  After I click ok,
I get a dialog with a message to the effect "printing file blah.pdf page 4
of 4" and a cancel button, which doesn't go away until I click on cancel.
After that, if I go to file->print again, I get no print dialogue box,
unless I restart acroread.

[cfox@w20-575-42]cfox$ ps -elf | grep lpr
100 R #6485    13801     1 94  75   0    -   542 -      16:56 ?        00:34:30 lpr -Pajax2 /tmp/Acroc13774
100 R cfox     14260 14238 47  75   0    -   543 -      17:30 pts/2    00:01:14 lpr /tmp/Acrob14238

The file that it's trying to print, in /tmp/ doesn't go away, and looks
like perfectly good postscript.  If I print it from the command line
with /usr/athena/bin/lpr, it prints fine.

I can't seem to kill my lpr process unless I become root...
bash: kill: (14260) - Not owner
If I'm root, I can kill mine and the other person's, easily.

/etc/passwd doesn't have any entries for other athena users, so I assume
the machine reactivated sucessfully before I logged in.  Why it didn't
kill that other process, I don't know.

I noticed the other lpr process, btw, when I wondered why the machine
was slow, and ran top; top claimed that this process was taking up 98%
of the cpu.

home help back first fref pref prev next nref lref last post