Wednesday, April 08, 2009

Having Problems With Acrobat Reader 9.1?

If you have started using Acrobat Reader 9.1 on Linux, there is a nasty little bug that took me a while to locate. It's leaking files into /dev/shm that don't delete, and cause problems on the next startup. We were getting calls from people that when they clicked on Reader, their whole Xserver would freeze until the stuck process was removed. After running strace, I was able to see that it was attempting to use /dev/shm right before the lockup; and found the leaking files.

I placed these lines into the script that calls Reader and things are working as expected:

rm /dev/shm/sem*$USER 2> /dev/null

11 comments:

  1. Although it's not related to your post, I would urge you to try a free document reader like evince. The only reason I might ever use adobe reader willingly again, is if I have to do stuff like red-lining, which is not supported in any decent reader.
    Sorry to hijack your post!
    Regards,

    Michael

    ReplyDelete
  2. michael: I certainly understand that perspective, but it's not possible in our environment. People are pretty combative over not running "Windows" in general. So we run "Real Adobe Reader" so that they don't complain and say, "Well this would work on Windows". For the most part if it fails on Linux, it fails on Windows and Mac too which gives them no soap box to stand on. For the most part it's stable and fairly responsive on our network. But this issue is just, stupid.

    ReplyDelete
  3. Anonymous11:18 PM

    There's another reason for me to run Adobe Reader instead of free software: It has a much better font rendering than *any* open source PDF viewer.

    ReplyDelete
  4. Another anonymous2:43 AM

    # Anonymous, maybe you haven't try KPdf.

    ReplyDelete
  5. Yet another anonymous2:53 AM

    I haven't started to use that 9.1 version because it's only available in english but no in spanish.

    Have you fill a bug report?

    ReplyDelete
  6. Hi Dave,

    Does this happen when the users do a particular action (such as scrolling when a particular dialog is open) or randomly or all the time?

    Also, we'd really appreciate if you could report this and any other issues you face at the acroread forum:
    http://forums.adobe.com/community/adobe_reader_forums/adobe_reader_unix

    Thanks!

    ReplyDelete
  7. Anonymous9:45 AM

    I've switched from evince to the reader, particularly because of the nice comments & section content functionality.

    but the odd-looking interface and mouse are annoying.

    ReplyDelete
  8. Thanks for this post. I'll try that and see if I can get acroread again.

    Of course, I would much rather use a free viewer, but they all seem to fall into one of two camps:
    1) Those that slowly rasterize vector graphics (horrible on massive maps)
    2) Inkscape, which isn't really a viewer, but will at least load any page of a PDF as it's meant to be.

    It really can't be too hard to code a read-only Inkscape-based multi-page PDF viewer, but I can't seem to find anything that works like that.

    ReplyDelete
  9. Anonymous12:59 PM

    Thanks! This has driven me crazy, to the point of trying to do without (not entirely possible I'm afraid).

    ReplyDelete
  10. Vaibhav Padlikar5:54 AM

    This issue has been fixed in latest Adobe Reader 9.1.2. Please visit http://blogs.adobe.com/acroread/2009/06/912_and_816_security_updates.html for more details.

    ReplyDelete
  11. Anonymous10:13 PM

    davelargo.blogspot.com is very informative. The article is very professionally written. I enjoy reading davelargo.blogspot.com every day.
    instant payday
    faxless payday loans

    ReplyDelete