← Back to team overview

canonical-partner-dev team mailing list archive

Re: [Bug 571247] Re: acroread remains zombie, so pdfs won't be rendered anymore

 

You have to compile the source files; you can use the script
build_interceptor.sh to do so.
When done, please move (or copy) the files "acroread_interceptor" and
"acroread_exec_monitor.so" in /usr/local/bin.
(optionally, you can change this path at will by editing the .c source file
and recompiling, I'll asume you're using this one)
Once you've done this, you can try if it works for you by executing

$ export LD_PRELOAD=/usr/local/bin/acroread_exec_monitor.so
$ firefox

(be sure to close all firefox windows first)
Open a PDF file, then close that tab, wait >30secs and try again.
You should find two acroread processes, the parent one being my interceptor.
If it works, you can then install it permanently the way you prefer: I
suggest putting the following line:
---------------------------------------------------------------------------------------------------------
export LD_PRELOAD=/usr/local/bin/ acroread_exec_monitor.so
---------------------------------------------------------------------------------------------------------
in a file executed at logon (your .bashrc, or a script in /etc/profile.d/
if you can become root).
This way, you can automatically keep using the workaround after acrobat
upgrades (I don't think they'll fix it
soon, since I discovered this bug is around since a while).

Finally, I send you the latest version of the program I wrote, because I
fixed a missing check and changed the hardcoded path of "/home/senato" into
"/usr/local/bin".

Feel free to examine and modify it (some knowledge of C will help).
Let me know, I'll be glad to help.

2011/12/2 cement_head <571247@xxxxxxxxxxxxxxxxxx>

> How would I install your workaraund?
>
> Thanks,
> CH
>
>


** Attachment added: "acroread_firefox_workaraund.tgz"
   https://bugs.launchpad.net/bugs/571247/+attachment/2617072/+files/acroread_firefox_workaraund.tgz

-- 
You received this bug notification because you are a member of Canonical
Partner Developers, which is subscribed to acroread in Ubuntu.
https://bugs.launchpad.net/bugs/571247

Title:
  acroread remains zombie, so pdfs won't be rendered anymore

To manage notifications about this bug go to:
https://bugs.launchpad.net/nspluginwrapper/+bug/571247/+subscriptions


References