Closed Bug 121915 Opened 23 years ago Closed 22 years ago

Acrobat Reader acrord32.exe process not unloaded after using plugin

Categories

(Plugins Graveyard :: PDF (Adobe), defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: wd, Assigned: serhunt)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7+)
Gecko/20020125
BuildID:    2002012505

When viewing a PDF file with the Adobe Acrobat plugin, even after closing
Mozilla, the Acrobat reader process Acrord32.exe continues to run.

Reproducible: Always
Steps to Reproduce:
1.Go to http://www.adaptec.com/pdfs/aaa_family_raid.pdf
2.Close Mozilla
3.look at task manager

Actual Results:  Acrord32.exe is still there

Expected Results:  no acrobat reader process running

If Mozilla is launched again while this Acrord32.exe process is still running,
it will not function properly.   For example, the Internet Search that's
integrated into the URLbar will not work.

I'm using Acrobat Reader 5.0.5 plugin.
this is not mozilla's problem. acrobat should do it by itself. invalid ?
related: bug 96809, bug 106434
The acrobat plugin stays loaded if after you're done with it in IE 6.0 as well.
 I'm not too happy about it (it takes 20 megs of ram and I can't delete mozilla
for a fresh nightly with it running).
The problem occurs with Mozilla, Netscape 4.x and as Ben mentions, IE.
Although this is a problem, it can't be Mozilla's fault.

-> Invalid
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
v
Status: RESOLVED → VERIFIED
*** Bug 141181 has been marked as a duplicate of this bug. ***
It is the same here (Win 98SE, Mozilla 1.2.1 over Netscape 4.xx/Explorer 5), but
it should be noted that acrord32 hanging around is not in and of itself the
primary problem. I found this bug after discovering that loading a pdf using the
plug-in, and then closing that tab would leave acrord32.exe active and would
cause mozilla to stop redrawing properly. Specifically, bring up a new URL via
DDE would display the page contents but not the rest of the browser window (no
update o the title bar, buttons, menus, scrollbars, etc.). This would go on even
if Mozilla was shut down and restarted. (It took me weeks to gig as to why.)
Running Acrobat before invoking the .pdf prevents the problem. Loading the .PDF
in IE when Mozilla is working properly does not cause Mozilla to display the
fault. Only loading a .pdf with the plugin in Mozilla (and then closing that
tab) causes the problem.
*** Bug 226974 has been marked as a duplicate of this bug. ***
*** Bug 315406 has been marked as a duplicate of this bug. ***
*** Bug 329491 has been marked as a duplicate of this bug. ***
I went ahead and reported this to Adobe.  I'm sure I'm not the only one to do this, and therefore, my bug report won't be the only one they'll ignore.  :)
*** Bug 357596 has been marked as a duplicate of this bug. ***
I would like to add that this problem still remains with actual versions of 23.10.2006:
Firefox 2, RC3, engl. and AdobeAcrobat 7.0.8. engl 
Component: Plug-ins → PDF (Adobe)
Product: Core → Plugins
QA Contact: shrir → adobe-reader
Version: Trunk → unspecified
Another way through the closing process of loading system. There is then no need for any changes to the registry, parameters or settings Acrobat Reader. Batch script prepared by default closes Acrord32.exe process and to this end has been designed, but the script can be used to close as any other process too burdensome system, which was suspended when the script calls to the appropriate parameter. If this parameter contains a long name with a space, you must enclose the parameter in quotation marks.
Inside the script, to the beginning of the several parameters can be determined, for example. Time of suspension, the time of re-checking, or where the report is to be created (LOG). The script closes all processes meet the criteria for any user, of course, not the system that can not be closed. While not closing speeches AcroRd32.exe processes that are operating normally, that does not block the normal use Acrobat Reader. Lockable only those processes that have been "suspended", after the completion of normal us.
Can be useful on the server, the work of many users.  The script is optimized in order to minimize itself burdened processor. 

Copy the following text from "@echo off" and save it as a Batch file (extension .BAT) with any filename that You want.

=======================================


@echo off
REM Automatic closing Acrobat Reader or other process parameter specified in the call, which too much high the CPU
REM Preparing:  Artur Zgadzaj     other interests:  www.widzenia.com
REM ---------------------------------------------------------------------------------------------

SET REPEAT_TIME_VERIFICATION_[seconds]=7
SET IDLE_TIME_[seconds]=5

SET LOG_FOLDER=C:\UTIL\LOG



REM    # # # #      CHECKING OR IS STARTED AS ADMINISTRATOR     # # # # #

FSUTIL | findstr /I "volume" > nul&if not errorlevel 1  goto Administrator_OK

cls
echo ************************************
echo ***    RUN  AS  ADMINISTRATOR    ***
echo ************************************
echo.
echo.
echo Call up just as the Administrator. Abbreviation can be done to the script and set:
echo.
echo      Shortcut ^> Advanced ^> Run as Administrator
echo.
echo.
echo Alternatively, a single run "Run as Administrator"
echo or in the Schedule tasks with highest privileges
pause > nul
goto:eof
:Administrator_OK

SET WD=day
if "%~1"==""  (SET Close_Process=AcroRd32.exe)  else  (SET "Close_Process=%~1")
MD %LOG_FOLDER% 2>NUL
Setlocal EnableDelayedExpansion

:again
cls
echo Automatic closing %Close_Process%, which are charged to the processor too ...&echo.&echo.

FOR /F "tokens=2,7,8 delims=,"  %%A IN ('%SystemRoot%\System32\tasklist.exe /v /FO CSV^|find /I ^"%Close_Process%^"') DO (

  SET PROC=%%C
  SET PROC=!PROC:"=!
  
  FOR /F "tokens=2,3 delims=:"  %%s IN ("!PROC!") DO (SET PR=%%t
      if "!PR:~0,1!"=="0"  (SET /A PROC_TIME=%%s*60+!PR:~1,1!)  else  (SET /A PROC_TIME=%%s*60+!PR:~0,2!))

  if !PROC_TIME! GTR %IDLE_TIME_[seconds]%   (
      SET PID=%%A
      SET PID=!PID:"=!

      %SystemRoot%\system32\taskkill.exe /PID !PID! /F

      SET B=%%B
      SET B=!B:%USERDOMAIN%\=!
      SET B=!B:%COMPUTERNAME%\=!
      SET Process_User=!B:"=!

      if not "!DATE_WD!"=="%DATE%" ((FOR /F "tokens=1" %%W IN ('POWERSHELL GET-DATE -format dddd') DO SET WD=%%W)&&SET DATE_WD=%DATE%)
      echo %TIME:~0,8%    ^(Hanging:  !PROC:~-5!^)         !Process_User! >>"%LOG_FOLDER%\%DATE:-=.%  ^(!WD:~0,3!^)  Close_%Close_Process%.TXT"
      )
  )

TIMEOUT /T %REPEAT_TIME_VERIFICATION_[seconds]% > nul
goto again
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.