Crash of OOo because libnss uses wrong version

Hello everyone,
I came across a crash within OpenOffice.org (OOo) which was caused by libnss using the libdb-4.2 from OOo rather then the older libdb from the system:
#0 0x410aebd3 in __db_c_count_pp_4002 () from /opt/oog680m5/so-8-bin-linux-en-US/program/libdb-4.2.so
#1 0x458bd996 in nssdb_getspnam_r () from /lib/libnss_db.so.2
#2 0x458bdb0b in nssdb_getspnam_r () from /lib/libnss_db.so.2
#3 0x458bd1bf in nssdb_endservent () from /lib/libnss_db.so.2
#4 0x458bd470 in nssdb_getservbyname_r () from /lib/libnss_db.so.2
#5 0x40c6456b in getservbyname_r () from /lib/libc.so.6
#6 0x40c64416 in getservbyname () from /lib/libc.so.6
#7 0x457d1510 in ippPort () from /usr/lib/libcups.so.2
#8 0x457c9106 in cupsGetDests () from /usr/lib/libcups.so.2
#9 0x40d955db in psp::CUPSManager::runDests () from /opt/oog680m5/so-8-bin-linux-en-US/program/libpsp680li.so
#10 0x40d95633 in psp::CUPSManager::runDestThread ()
from /opt/oog680m5/so-8-bin-linux-en-US/program/libpsp680li.so
#11 0x40d9564f in psp::CUPSManager::runDestThread ()
from /opt/oog680m5/so-8-bin-linux-en-US/program/libpsp680li.so
#12 0x400309f7 in osl_yieldThread () from /opt/oog680m5/so-8-bin-linux-en-US/program/libuno_sal.so.3
#13 0x4095de51 in pthread_start_thread () from /lib/libpthread.so.0
#14 0x40c4f8aa in clone () from /lib/libc.so.6
OOo uses libdb-4.2.so and when this library is loaded then libnss uses it rather the older version (I think it is version 3) from the System.
I tried these thinks:
1. I loaded libdb-4.2.so dynamically with RTLD_LOCAL. Then there was no crash, but actually this is no real solution, because of the cumbersome invocation of the functions and the many places this library is used throughout OOo.
2. Then we gave the symbols (libdb-4.2 withion OOo) a version using the version-script linker option and a map file. The result was that libnss did not use that libdb anymore. So that could be a solution.
When using "version-script" we hacked the linker option into a Makefile, but now we are looking for a better way, for example by using a configure switch. I found the swich --with-uniquename, which however modifies the symbol names. Using it would require the source code to be changed wherever libdb is used. This is something which I am reluctant to do :)
So did I overlook something? Is there already a way to make libdb use a version map? Or maybe there is another solution to the problem which I have not see yet.
BTW, the problem occurred on a Debian 3.1 (sarge) with nss installed.
I would appreciate any help.
Regards,
Joachim

It should read libnss_db rather then libnss of course.

Similar Messages

  • My hard drive crashed on me Macbook Pro.  After it was replaced I could not reload Aperture 3 because I used the wrong S/N twice.

    I tried to reload Aperture 3 on my newly replaced hard drive and was unsuccessful because I used the wrong S/N twice.

    See this knowledge base article:
    Troubleshooting Professional Application Serial Numbers http://support.apple.com/kb/TS2005
    Try to remove your System ID file(s) and enter your serial number(s) again:
    The System IDs are located here:
    /Library/Application Support/ProApps/
    If present, remove the file Aperture System ID, then launch the Aperture and enter your serial number.
    Regards
    Léonie

  • Need to Install Safari 6.0.2 on a white Intel core duo iMac. Had to throw out 6.0.3 because of conflict with required software. Downloaded wrong version that was for Mountain lion (I am running 10.7.5). It installs but won't open.

    Need to Install Safari 6.0.2 on a white Intel core duo iMac. Had to throw out 6.0.3 because of conflict with required software. Downloaded wrong version that was for Mountain lion (I am running 10.7.5). It installs but won't open, says it is for Mountian Lion.
    Of course I can't throw it away since I get a message it's part of the sytem. I can show package contents and throw those away, but evidently not a good idea!!

    Need to Install Safari 6.0.2 on a white Intel core duo iMac. Had to throw out 6.0.3 because of conflict with required software. Downloaded wrong version that was for Mountain lion (I am running 10.7.5). It installs but won't open, says it is for Mountian Lion.
    Of course I can't throw it away since I get a message it's part of the sytem. I can show package contents and throw those away, but evidently not a good idea!!

  • IPod Touch iOS6 cannot be used because it requires iTunes version 10.6.3 or later.

    Hi, just now I've updated my iPod Touch 4th generation to iOS 6 and I backed it up on iTunes before. Now I want to restore that backup but when I plug it onto my iMac (running OS X 10.5.8), iTunes pops up a message that says: "The iPod "Trang's iPod touch" cannot be used be because it requires iTunes version 10.6.3 or later. Go to www.itunes.com to download the latest version of iTunes". My iTunes right now is iTunes 10.6 (40) if that helps. I pressed iTunes > Check for Updates... then it says that I have the current version! I did the same with apple logo > Software Update, and nothing new. I then went on itunes.com and the newest version is 10.7, except I don't want to risk to download it and lose all my music files again, and it's not even compatible with my iMac!
    Like said, my version cannot sync over wi-fi because iCloud also isn't compatible with Leopard. What do I do? Do I HAVE to buy an update for Snow Leopard then be able to sync my iPod? They don't even sell physical copies in stores anymore.. now I'm stuck with a clean state iOS 6 iPod. If I knew, I wouldn't have updated it. Is there any way to go back?
    Regards

    I'm having a similar problem, but moved on a few versions. I've been given an iPod nano, but when I try to add music to it I get an error message saying, "The iPod “iPod” cannot be used because it requires iTunes version 10.7 or later" and inviting me to download the latest version. However, I'm using iOS 10.5.8, and the computer can't update to a newer version. That, in turn, limits me to versions of iTunes no later than 10.6.3.
    Is there a way to make the new iPod connect to my still very much functional but not new Macbook? All help gratefully received!

  • I just bought an iPhone 5, and tried to sync it to my iTunes account but when connected it says:  "...cannot be used because it requires iTunes version 10.7 or later." However when I try to get iTunes to update it says: "This version of iTunes (10.6.3) is

    I just bought an iPhone 5, and tried to sync it to my iTunes account but when connected it says:  “...cannot be used because it requires iTunes version 10.7 or later.” However when I try to get iTunes to update it says: “This version of iTunes (10.6.3) is the current version.” Can anyone help?

    filterc-r wrote:
    Thanks for your reply. My Mac is running 10.5.8: it's 4 years old.  When I try to update the OS software, I'm told there are none available.
    Be careful - there's a difference between update and upgrade.  Your machine is saying there are no updates available, meaning no later versions of OS X 10.5 (Leopard).  However, you can very likely upgrade - at least to OS X 10.6 (Snow Leopard), and possibly then to OS X 10.8 (Mountain Lion).
    Updates are free, but upgrades cost a bit.  That's the dirference.

  • Cannot be used because it requires iTunes version 10.6.3 or later.

    I updated my phone and now when I try and update my podcasts, etc I get this message:
    The iPhone “John Mott’s iPhone” cannot be used because it requires iTunes version 10.6.3 or later. Go to www.itunes.com to download the latest version of iTunes.
    When I try and update iTunes it tells me I'm up to date.
    How do I fix it?
    Why did I update?  I use Apple because MS always does this.  C'mon already!

    I'm having a similar problem. Perhaps more complex. I just downloaded the 10.6.3 and it didn't solve the problem for my iPhone 5.
    I have the new iPhone 5 and iTunes is asking for iTunes 7.0 in order to recognize the phone. I tried to download iTunes 7.0 but an error comes up stating that I need the 10.6.8. Well I tried to download the 10.6.8 and an error message came up saying that I need minimum of 10.6. So now I'm confused....
    These are the error messages in order.
    1. The iPhone “iPhone” cannot be used because it requires iTunes version 10.7 or later. Go to www.itunes.com to download the latest version of iTunes.
    2. This update requires Mac OS X version 10.6.8 or higher.
    3. This update requires Mac OS X version 10.6.
    Will I have to pay for the 10.6?
    Thanks so much in advance.

  • IPhone cannot be used because it requires iTunes version 10.6.3 or later

    I have a user who is trying to use her iPhone 3 with her MacBook Pro.  She is running Lion and has the latest version of iTunes installed (version 11.0 or whatever the new one is).  When she plugs her phone into her computer a message pops up on her computer screen:
    "The iPhone cannot be used because it requires iTunes version 10.6.3 or later.  Go to www.itunes.com to download the latest version of iTunes."
    We have ensure that all the software on her computer is up to date and this still keeps popping up.  Please help!
    Thanks!

    Restart the Mac and try again.
    You can always re download iTunes here >  Apple - iTunes - Download iTunes Now
    No need to uninstall the currently installed copy of iTunes before doing so. 
    The latest version of iTunes available is v11.0.4
    With iTunes open, from the menu bar click iTunes > About iTunes
    That will tell you the currently installled version.

  • IPhone cannot be used because it requires iTunes version 10.6.3 or later. (CAN'T DOWNLOAD VERSION 10.6.3!)

    After downloading the new IOS 6 update for my iphone 4, my phone will not connect to my itunes on my laptop and a message pops up and states: "The iPhone “iPhone” cannot be used because it requires iTunes version 10.6.3 or later. Go to www.itunes.com to download the latest version of iTunes".  I can't find the 10.6.3 itunes anywhere to download and I cannot download the 10.7 version because my Mac is the 10.5.8 version.  What can I do?  I do not want to pay for an update for my computer- I wish I had never updated my phone in the first place so I wouldn't have this problem.

    I'm having a similar problem. Perhaps more complex. I just downloaded the 10.6.3 and it didn't solve the problem for my iPhone 5.
    I have the new iPhone 5 and iTunes is asking for iTunes 7.0 in order to recognize the phone. I tried to download iTunes 7.0 but an error comes up stating that I need the 10.6.8. Well I tried to download the 10.6.8 and an error message came up saying that I need minimum of 10.6. So now I'm confused....
    These are the error messages in order.
    1. The iPhone “iPhone” cannot be used because it requires iTunes version 10.7 or later. Go to www.itunes.com to download the latest version of iTunes.
    2. This update requires Mac OS X version 10.6.8 or higher.
    3. This update requires Mac OS X version 10.6.
    Will I have to pay for the 10.6?
    Thanks so much in advance.

  • My iPhone 4S will not sync to iTunes. I've download the newest version of iTunes several times but when plugging my phone in it says "The iPhone cannot be used because it requires iTunes version 10.6.3 or later."

    My iPhone 4S will not sync to iTunes. I've download the newest version of iTunes several times but when plugging my phone in it says "The iPhone cannot be used because it requires iTunes version 10.6.3 or later." HELP!

    If you're using Windows try uninstalling iTunes and all of its components as by following this guide exactly: Windows XP or Windows Vista/7, then reinstall the latest version of iTunes.  You must follow this guide exactly or it will not be successful.  Note: uninstalling iTunes will only remove the application; it will not touch your iTunes library or data.

  • I cant' sync my ipod because it says"The iPod cannot be used because it requires iTunes version 10.6.3 or later. I can't download it because my MAC is version 10.5.8 and it won't accept the newer version of itunes. Any suggestions?

    I cant' sync my ipod because it says"The iPod cannot be used because it requires iTunes version 10.6.3 or later. I can't download it because my MAC is version 10.5.8 and it won't accept the newer version of itunes. Any suggestions?

    If you're using a fourth generation or earlier iPod touch, click here and download the software.
    If you're using a fifth generation iPod touch and an Intel Mac, buy Mac OS X 10.6 from the online Apple Store and run Software Update.
    If you're using a fifth generation iPod touch and a PowerPC Mac, buy a newer computer.
    (73046)

  • I am trying to attach an Ipod touch to an older Power Book G4, It says that the Ipod cannot be used because it needs Itunes version 9.2 (running 8.0.1). When I try to install the latest 10.3.1 it says ("Open failed" requires Mac OX S 10.5

    I am trying to attach an Ipod touch to an older Power Book G4.
    Itunes says that the Ipod cannot be used because it needs Itunes version 9.2 (running 8.0.1).
    When I try to install the latest Itunes version 10.3.1 Mac says ("Open failed" requires Mac OX S 10.5.

    Click here and install the software.
    (58765)

  • TS3833 I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    I am receiving this error when syncing my ipod: iTunes could not copy "song name" to the iPod "name" because an unknown error occurred (-50).  I am using iTunes version 10.6.3.25. Why?

    Right click the filename that won't download and selsct 'Get Info'. Look at the file path, does it have a //?// in it? That is a problem with Amazon downloads that prevent iTunes from finding the file. Use 'Add Folder' to add the album to your library and try syncing it again

  • "IPOD can not be used because it requires iTunes version 7.6 or later"

    I keep getting this message: "IPOD can not be used because it requires iTunes version 7.6 or later". I have intstalled version 8.0 but it still will not show this new 3rd generation nano in the source list when I plug it in. We have to other ipods (original video version and 2nd generation nano) and they work fine. Please help if you can. My 10 year old daughter has this new gift that we can't figure out!!

    I am having a similar issue. My kit is as follows:
    Laptop with Windows XP Professional Service Pack 1
    iTunes 7.5
    3rd Generation 8Gb iPod Nano (v1.1.2 PC)
    5th Generation 30Gb iPod with video (there are no issues with this)
    A while back, on connecting the iPod Nano to my PC, i was prompted to upgrade the software. Clicked "yes" and the software installed. Now when I connect the iPod Nano to my laptop I get an error message in iTunes saying "iPod cannot be used because it requires iTunes version 7.6 or later". I am unable to download any later versions of iTunes, however, as they require Service Pack 2 for XP (and I cannot install this for a number of reasons).
    Is there any way I can revert the Nano to its previous software level as I am currently unable to add/remove any music to it?

  • Im using Itunes version 10.6.3 to try to restore my Ipad. Check for updates tells me this is the most recent verion, but its also telling my I cant restore my Ipad because its doesnt have the software available yet.

    Im using Itunes version 10.6.3 to try to restore my Ipad. Check for updates tells me this is the most recent verion, but its also telling my I cant restore my Ipad because its doesnt have the software available yet.

    erikfrompenn wrote:
    That's what I was affraid of. Is there any other way to restore an Ipad that I've locked myself out of?
    Take it to an Apple Store & they'll assist you.
    Make a Genius Bar Reservation
    http://www.apple.com/retail/geniusbar/
     Cheers, Tom

  • Crash when using Dimensions version plug-in - key Failed to {0} file {1}

    Oracle JDeveloper 11.1.1.3.0 (JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660)
    Versioning Support (for Dimensions) 11.1.1.3.37.56.60
    I've used "Versioning | Configure" to disable SVN support so that Dimensions is my only enabled extension. No matter what I have selected in the Application Navigator, I cannot get anything enabled on the 'Versioning' menu other than Download and Configure. If I download, I'm prompted to login (testing the connection works fine), and then the "Log Out" menu option is enabled, but no others.
    I've got an application with one project that I've created and added to Dimensions via the Dimensions client. Attempting to download this project into JDeveloper using either the "Download" option from the versioning menu, or the right-click | download from the "Versioning Navigator" fails. If I do it from the Versioning menu, I get the 'Download' dialog and the OK button is enabled, but after entering a destination and clicking OK nothing happens (no error, dialog remains).
    If I use the Versioning Navigator and right-click, I can select my Dimensions project, enter a destination, and click ok and a crash occurs. Details of the error are below:
    Performing action Download...[ from oracle.jdevimpl.vcs.nav.VersioningNavigatorManager$2 ]
    Invoking command: [ from oracle.jdevimpl.vcs.nav.VersioningNavigatorManager$2 ]
    java.util.MissingResourceException: Can't find resource for bundle oracle.jdevimpl.vcs.dimensions.res.Resource, key Failed to {0} file {1}
    j.util.ResourceBundle.getObject(ResourceBundle.java:384)
    j.util.ResourceBundle.getObject(ResourceBundle.java:381)
    j.util.ResourceBundle.getString(ResourceBundle.java:344)
    o.ji.vcs.dimensions.res.Resource.get(Resource.java:23)
    o.ji.vcs.dimensions.res.Resource.format(Resource.java:31)
    o.ji.vcs.dimensions.session.DMVersionOperation.convertToDMException(DMVersionOperation.java:98)
    o.ji.vcs.dimensions.session.DMDownload.downloadFolder(DMDownload.java:84)
    o.ji.vcs.dimensions.nav.cmd.DMDownloadCommand$1.doInvocation(DMDownloadCommand.java:308)
    o.j.vcs.spi.VCSDirectoryInvokable.runInvokableImpl(VCSDirectoryInvokable.java:199)
    o.j.vcs.spi.VCSDirectoryInvokable.runInvokable(VCSDirectoryInvokable.java:117)
    o.ji.vcs.dimensions.nav.cmd.DMDownloadCommand.invokeCommandImpl(DMDownloadCommand.java:258)
    o.ji.vcs.dimensions.op.DMAbstractOperation$1.doCommitOperation(DMAbstractOperation.java:102)
    o.j.vcs.spi.VCSDialogCommitter$1.run(VCSDialogCommitter.java:82)
    Any thoughts?

    I get that error too, only when checking in a new item.
    Got it in Dimensions 2009R02 and 2009R03
    /Kim

Maybe you are looking for