Reader stops working when newest GTK2.0 installed - bug report and proposed fix

Adobe Reader 7.0.9 (Linux i386) stopped working when I installed a batch of updates on Xubuntu Feisty Fawn (7.04). The updates included GTK 2.0, version 2.10.11. The symptom was that upon startup, Reader ended up in a seemingly infinite loop, printing out "expr: syntax error" (when started from terminal emulator). A few debug "echo"'s revealed that the loop concerned function get_gtk_file_ver().
The bug itself is on line 418. The original line is as follows:
echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
- note that there is no '*' in the middle number-matching regexp, so the full expression matches only strings in which the "middle" group is 100, 200, ..., 900.
At this point in the execution, $mfile contains the name of the gtk library .so, in this case, libgtk-x11-2.0.so.0.1000.11. In prior versions (e.g. 2.8.20, which is the current version in Ubuntu Dapper Drake LTS), the minor version had only one digit, and the regexp matched. When the minor version got incremented to two digits, the regexp no longer match because of the missing '*'! As an additional bonus, somehow this leads to the infinite loop (which is *not* good).
A working fix is to add the missing '*' into the regexp. I'd say that a lot of Linux users will be tripping on this issue soon, at least those who keep current on security updates.
I found no sensible way to contact the developers, i.e. a way that wouldn't have to pass a gazillion of customer-service and tech support people, who are most likely just as unaware of the issue as the users...
I hope this issue will be fixed ASAP - after all, it's only one added character, and that'll save a lot of users a lot of hassle.
(and btw, to have the intended effect, the dots in the sed expression should all be escaped with a backslash - now e.g. "libgtk-x11-2.0.sog0.1000.11" matches the sed regexp as well as "libgtk-x11-2.0.so.0.1000.11", but this probably isn't too critical...)

The solutions provided here work, but by accident. The script compares 2104 (2.10.4) to 240 (2.4.0) and sees that it's greater. Adobe will have problems in future releases if the minimum GTK release is, say, 2.10.4 and the user has 2.4.0.
I've crafted a more elegant solution, shown here in "patch" format. I think the reformatting and tab elimination done by HTML will preclude you from pasting this into a file and running "patch", but it's pretty easy to read and is short...
--- /usr/local/Adobe/Acrobat7.0/bin/acroread~ 2007-01-05 14:56:39.000000000 -0500
+++ /usr/local/Adobe/Acrobat7.0/bin/acroread 2007-08-03 09:33:08.000000000 -0400
@@ -409,13 +409,13 @@ get_gtk_file_ver()
fi
mfile=`basename $ifile`
- echo $mfile | grep -q "libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\).\([0-9]*\)" 2>/dev/null
+ echo $mfile | grep -q "libgtk-x11-\([0-9]*\)\.0\.so\.0\.\([0-9]*\)\.\([0-9]*\)" 2>/dev/null
if [ $? -ne 0 ]; then
return 1
fi
- echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
+ echo $mfile| sed 's/libgtk-x11-\([0-9]*\)\.0\.so\.0\.\([0-9]*\)00\.\([0-9]*\)/\1.\2.\3/'
return 0
fi
@@ -455,16 +455,25 @@ check_gtk_ver_and_set_lib_path()
continue
fi
- len_version=`expr length $version`
- base_version=`expr substr "${base_version}0000000000" 1 $len_version`
- len_base_version=`expr length $base_version`
- while [ $len_version -gt $len_base_version ]; do
- base_version=`expr substr "${base_version}0000000000" 1 $len_version`
- len_base_version=`expr length $base_version`
+ ok=true
+
+ while [ -n "$base_version" ]
+ do
+ base_subversion=`echo $base_version | sed 's/\..*$//'`
+ subversion=`echo $version | sed 's/\..*$//'`
+ if [ $subversion -lt $base_subversion ]
+ then
+ ok=
+ break
+ elif [ $subversion -gt $base_subversion ]
+ then
+ break
+ fi
+ base_version=`echo $base_version | sed 's/^[0-9]*\.*//'`
+ version=`echo $version | sed 's/^[0-9]*\.*//'`
done
- if [ $version -ge $base_version ]; then
+ if [ -n "$ok" ]; then
export LD_LIBRARY_PATH="$idir":"$LD_LIBRARY_PATH"
IFS="$OLD_IFS"
OLD_IFS=""
@@ -640,7 +649,7 @@ fi
# Check the version of gtk and update the LD_LIBRARY_PATH if required.
if [ "`uname -s`" = "Linux" ]; then
- MIN_GTK_VERSION="240"
+ MIN_GTK_VERSION="2.4.0"
check_gtk_ver_and_set_lib_path "$MIN_GTK_VERSION" ### returns 0 if found gtk >= 2.4
fi

Similar Messages

  • Can anyone tell me why my collusion .27 add-on stopped working when I updated to firefox 20 (and now 21?).

    Can anyone tell me why my collusion .27 add-on stopped working when I updated to firefox 20 (and now 21?). I've tried removing and reinstalling to no avail. I even deleted my profile files and had firefox repopulate those automatically to no avail. And it's not the only add-on to have stopped working.

    see here
    *https://support.mozilla.org/en-US/kb/re-enable-add-ons-disabled-when-updating
    Addons are enabled or disabled?

  • My itunes stop working when i was buying my songs and none of them saved my money and music is gone.

    My itunes stop working when i was buying my songs and none of them saved my money and music is gone.

    Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Adobe Reader stops working when trying to print

    When I try to print something from Adobe Reader 9, I get a message saying that Adobe has stopped working. I un-installed the program, downloaded and re-installed it, but still get the same message. I am using a Medion PC running Vista, with 4GB memory. Any help would be much appreciated.

    I have the exact same problem, with complications. I have Adobe 8, which was I think a pirated copy put on my laptop when a local technician uninstalled and reinstalled Windows XP. It worked fine until recently. Suddenly it stopped printing for me -- same message that it can't find the printer. I tried uninstalling and reinstalling. I even uninstalled and reinstalled the printer, which works fine for any other kind of document. I also tried installing Adobe 9. It said it couldn't uninstall Adobe 8 and so couldn't install. I couldn't delete Adobe 8 myself, either -- Windows message said that a certain patch was missing that it would need to proceed. So now I have found the same workaround mentioned above -- open the document in Word and print from there.
    This could be a new problem in printer settings for Adobe, or the issue could lie with my copy -- which is probably pirated and which has never updated. I can't even get more than a blank page when I click on "Beyond Adobe Reader."
    I'd be glad to start over with a fresh copy or a fix from Adobe, even if I had to pay for it. I would need the ability to delete the bad version 8 and an aborted version 9 so that I could start fresh and install. (Version 9 install now says that now it can't proceed because it has already half installed a version 9 -- which is, however, invisible when I look for it to get rid of it.) Help!
    I am stuck.

  • Microsoft Setup Bootstrapper Has Stopped Working when Trying to Install MS Project Professtional 2013

    I cannot get the trial version of MS Project 2013 to load onto my computer.
    I keep getting "Microsoft Setup Bootstrapper Has Stopped Working" error message when attempting to download.

    What operating system are you attempting to install to?

  • AlChemy stops working when Xonar is installed in the same system as X-Fi?

    A while back I tried to use an X-Fi Prelude and Xonar D2 in the same system. For the most part this worked, however AlChemy would no longer allow hardware sound in various games on the X-Fi. The results were the same whether DS3D-GX was turned on or off on the Xonar. Another user on a forum I frequent has been able to replicate the issue with a Creative X-Fi and Xonar Essence STX. Can someone suggest what might be happening and hopefully let me know if there is a work-around?

    Try older (year+) xonar drivers. Xonar and X-Fi worked fine for me back in 2009. Recently I re-inserted Xonar with newest drivers for some testing and discovered same bug. I think this may have something to do with more agressi've/reckless hooking in GX service (HrMsg), even if GX disabled in Xonar's CP. Killing this process with task manager seems to fix Alchemy.

  • ScenarioEngine.exe has stopped working when trying to install sqlserver 2014 Express with tools.

    I have downloaded the enu file from MS, for the above SQLServer 2014 express edition.
    After checking that all the prerequisets had been met, I extracted the files, from the enu, to a folder and ran the Setup.exe.
    Immediately, I received the warning "The ScenarioEngine.exe has stopped working" and the installation stops.
    I did not encounter this issue installing SQLServer 2012 Express with tools, on the same pc, and it has been running without any issues,
    The pc concerned is running Windows 8.1.

    SQL Server 2014
    1. Save the following in a text file, change the extension to .reg, double-click on the file, and on the prompt that appears, select yes to populate the registry: 
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\120\Bootstrap] 
    "BootstrapDir"="C:\\Program Files\\Microsoft SQL Server\\120\\Setup Bootstrap\\"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\120\Bootstrap\Setup] 
    "PatchLevel"="12.00.2000.80"
    2. Next, copy the following files and folders from the media to the specified destinations:
    File/Folder in media
    Destination
    X64/X86 folder (depending on what architecture you want to install)
    C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014
    Setup.exe
    C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014
    Resources folder
    C:\Program Files\Microsoft SQL Server\120\Setup Bootstrap\SQLServer2014
    Next, re-run the setup, and it should proceed beyond the point of error this time.
    As always, comments/suggestions/feedback are welcome and solicited.

  • Why does Creative Cloud Setup stop working when I re-install the program?

    I have Photoshop CC and Lightroom CC trough Creative Cloud. But then Creative Cloud stopped working -and now I need help to get CC  running again.
    I have read the troubleshootingpages and this is what I have done so far:
    I uninstalled Creative Cloud
    Restarted the PC
    Downloaded and run CreativeCloudSet-Up.exe
    After about 5 minutes of downoading and installing:
    Creative Cloud Setup has stopped working.
    Problemsignatur:
      Navn på problemhendelse: APPCRASH
      Programnavn: CreativeCloudSet-Up (5).exe
      Programversjon: 2.9.1.474
      Tidsstempel for program: 54e11f94
      Navn på feilmodul: AdobePIM.dll
      Feilmodulversjon: 2.9.1.474
      Tidsstempel for feilmodul: 54e11f95
      Unntakskode: c0000005
      Unntaksforskyvning: 00010e25
      OS-versjon: 6.1.7601.2.1.0.768.3
      ID for nasjonal innstilling: 1044
      Tilleggsinformasjon 1: 0a9e
      Tilleggsinformasjon 2: 0a9e372d3b4ad19135b953a78882e789
      Tilleggsinformasjon 3: 0a9e
      Tilleggsinformasjon 4: 0a9e372d3b4ad19135b953a78882e789
    I have done this 5 times and NOTHING HELPS.
    ANY CLUE WHAT TO DO??

    Bjørnarj6963233 I would recommend utilizing the steps listed in Error "Failed to Install" Creative Cloud Desktop application to reinstall the Creative Cloud Desktop application.  Also which operating system are you using?

  • I've been using InDesign for class.  Now it "stops working" when I try to apply text and closes out

    I've been using InDesign for class.  Now I'm trying to do a newsletter for assignment and it keeps "stop working" and closes out the program.

    What Operating System? Is ID patched to version 8.0.2 (the patch was released last week). Do you have a Font Manager?
    Have you tried replacing your preferences? See Replace Your Preferences

  • DVD READER STOP WORKING AFTER ITUNES IS INSTALLED

    FINNALLY GOT ITUNES AND QUICKTIME TO WORK BUT NOW MY COMPUTER WON'T RECONIZE MY DVD BURNER. IT DOES RECONIZE A USB EXTEROR BURNER. IF I UNINSTALL ITUNES AND QUICK TIME MY INTERNAL BURNER WORKS. PLEASE HELP

    After reading this it looks like you can either use your optical drive in iTunes but not for anything else or if your change the Registry as the document implies you can use your drive on your computer but can't burn in iTunes. Hardly seems like a fix to me. Am I missing something here?

  • I needed to install a previously purchased CS6 versus on new computer. To do this, I had to download a version from CC. I will not be using CC. How do I activate Photoshop under my license so that it does not stop working when I am out of communication ra

    I needed to install a previously purchased CS6 versus on new computer. To do this, I had to download a version from CC. I will not be using CC. How do I activate Photoshop under my license so that it does not stop working when I am out of communication range a month from now?

    The CC version will not activate with your perpetual CS6 license. Download the version from here:
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Your number should work with this version.

  • Adobe reader has stopped working when opening tracker [vista & reader x]

    Hello all,
         I'm a developer and im constantly uninstalling and reinstalling reader x and acrobat pro x, but i typically have both installed.  Recently, i uninstalled both reader x and acrobat x via Add/Remove Programs in windows Vista, and then later reinstalled them both, and now when i click the adobe tracker icon in my systray, it says adobe reader has stopped working.  I've tried uninstalling, reinstalling and then rebooting, but that doesn't seem to help.  Event viewer says:
    Faulting application AcroRd32.exe, version 10.0.1.434, time stamp 0x4d456f48, faulting module mshtml.dll, version 9.0.8080.16413, time stamp 0x4d4cefa9, exception code 0xc0000005, fault offset 0x002be0d0, process id 0x1674, application start time 0x01cc04f02e5354a8.
    Any help would be great.
    Thanks!

    This is strange. Can you try a couple of things:
    1. Try launching Tracker in Acrobat. In Acrobat X, you will find it in Comment pane->Review->Track Reviews
    2. Launch Reader in non-sandbox mode. For this, launch Reader and uncheck the option 'Enable Protected Mode at startup' in Reader Preferences->General. Close and re-launch Reader. Now launch Tracker.
    Does it still crash in both the cases?

  • Why does my Adobe Reader DC stop working when I click scroll down options?

    I used to use PDF Suite 2014 Standard to view pdf files.
    However, tonight a message appeared when I attempted to open files saying ..."if the document does not load then the pdf viewer may not be able to display this type of document"
    I went to the website provided to download Adobe Acrobat Reader DC.
    Although I was able to load pdf documents and fill in forms, the program repeatedly would crash whenever I attempted to click on scroll down options on forms.
    Any help is appreciated
    ....and talk/write slowly for I am not super computer literate.
    Regards,
    Luisa

     Dear Aedesh, Thank you for your assistance.  I did all that you instructed below, regarding uninstalling, and using the Adobe Reader and Acrobat Cleaner Tool.  I restarted my computer, then installed Adobe Acrobat Reader DC (for Windows 7, English and version: Reader DC 2015). I continue to have the problems: (1) When I attempt to use a scroll down option within a pdf form, the program stops working. (2) If I send the pdf to my iPhone, and I open the pdf, I receive the message "Please wait...if the message is not eventually replaced by the proper contents of the document, your pdf viewer may not be able to display this type of document..." However, when I send pdf's created earlier than 4-28-15, I am able to open in my iPhone.I am able to open on my laptop the pdf's created after 4-28-15, but have the scroll option issue  (thank you in advance for your patience)Luisa 
     Luisa Montaini-Klovdahl, Ph.D.Licensed Psychologist &
    Captain, US Army Reserves Medical Service Corps4153 Park Blvd
    Palo Alto, CA 94306
    Telephone: 650.384.6559
    Facsimile: 650.384.6547 This e-mail may contain confidential patient information. If you have received this transmission in error, please delete and contact the sender.   
         From: aadeshs76610910 <[email protected]>
    To: Luisa Montaini-Klovdahl <[email protected]>
    Sent: Thursday, April 30, 2015 9:55 AM
    Subject:  Why does my Adobe Reader DC stop working when I click scroll down options?
    Why does my Adobe Reader DC stop working when I click scroll down options?
    created by aadeshs76610910 in Acrobat Reader - View the full discussionHi Luisa,  Please follow the steps below :- 1) Uninstall Adobe Acrobat Reader DC. 2) Run the cleaning tool Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs3) Restart the computer.4) Install Adobe Acrobat Reader DC using this link Adobe Acrobat Reader DC Install for all versions Let me know if the issue persist.  Regards,Aadesh If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7499212#7499212 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7499212#7499212 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following" 
    Start a new discussion in Acrobat Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Jrew.exe has stopped working when iam tryin to install oracle9i on vista

    jrew.exe has stopped working when iam tryin to install oracle9i on windows vista can anyone help me to resolve this issue

    869902 wrote:
    jrew.exe has stopped working when iam tryin to install oracle9i on windows 7 , 64 bit versionYou are reviving a 3-year old thread . . .
    And if the OP couldn't install 9i on vista because it (9i) was too old to be certified on Vista, what do you suppose of 9i on Win7?

  • I get an error message "Adobe Reader has stopped working" when i try to use Firefox

    I get an error message "Adobe Reader has stopped working" when i try to use Firefox

    I have also retarted twice...

Maybe you are looking for

  • Using a seperate thread to control motors

    Hi am new to Java and am struggling with a probelm. The application is to control 4 motors connected to the parallel port. When the user presses a button the motor is set to a certain speed (byte output to port). Once the button is released the port

  • Can't access my NTFS formatted hard drive anymore on my Mac OS?

    I downloaded this app back in November because of my new transfer to a MacBook Pro from a Windows PC. http://www.macupdate.com/app/mac/26288/ntfs-for-mac-os-x It worked fine back in November but now I am trying to back up my files and I cannot access

  • Problem starting WebLogic 9.1 server on HP-UX itanium

    Hi I've installed WLS 9.1 on HP-UX B.11.23 U ia64 3750621238. But when starting a simple domain I get error: <Oct 12, 2006 3:46:37 PM EEST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Server VM Version 1.5.0.0

  • How can I add a watermark to an iMovie?

    How can I add a watermark to an iMovie? I did it once before but can't remember how I did it.

  • Need Help 27inch iMac died.

    I tried to fix the drive in recovery mode without success.  Now trying to save data from the iMac but my Macbook cannot connect to the drive when I connect firewire.