Solaris 8 linker patch 109147-21 / 109148-21 breaks runtime linker

The "Sun ONE Studio 8, Compiler Collection Early Access" release requires the
installation of a linker patch (109147-21 sparc / 109148-21 x86).
It seems that the solaris 8 linker patch breaks the runtime linker audit feature
for multithreaded applications.
I can reproduce the problem like this (using $LD_PROFILE, which makes
use of the runtime linker audit feature):
% cat thr.c
#define _REENTRANT
#include <stdio.h>
#include <stdlib.h>
#include <pthread.h>
void*
thr_main(void*arg)
printf("hello, world!\n");
int
main(int argc, char **argv)
pthread_t tid;
void *rval;
pthread_create(&tid, NULL, thr_main, NULL);
pthread_join(tid, &rval);
exit(0);
% cc -o thr thr.c -lpthread
% thr
hello, world!
OK, fine so far...
Now we try to run the application under rtld audit control:
% env LD_PROFILE=libc.so.1 thr
< the multithreaded application hangs >
% env LD_PROFILE=libc.so.1 LD_LIBRARY_PATH=/usr/lib/lwp thr
< the multithreaded application hangs >
(on a S8 system with 109148-14 installed, this works without hanging!!)
A "pstack `pgrep thr`" command shows multiple LWPs, all blocked
waiting in an lwp_mutex_lock() call, all trying to lock the same
mutex - which happens to be the dynamic linker's global 'rtldlock'.
% pstack `pgrep thr`
7631: thr
----------------- lwp# 1 --------------------------------
dfbd6b5f lwp_mutex_lock (dfbf1618)
dfbd69f6 lwpmutex_lock (dfbf1618) + 2a
dfbc8739 rt_mutex_lock (dfbf1618) + 19
dfbcd575 enter () + 29
dfbd2193 elf_bndr (dfa94eac, 50) + 23
dfbc3339 elf_rtbndr () + 5
----------------- lwp# 2 / thread# 2 --------------------
dfbd6b5f lwp_mutex_lock (dfbf1618)
dfbd69f6 lwpmutex_lock (dfbf1618) + 2a
dfbc8739 rt_mutex_lock (dfbf1618) + 19
dfbcd575 enter () + 29
dfbd2193 elf_bndr (dfa94eac, 238) + 23
dfbc3339 elf_rtbndr () + 5
----------------- lwp# 3 --------------------------------
dfbd6b5f lwp_mutex_lock (dfbf1618)
dfbd69f6 lwpmutex_lock (dfbf1618) + 2a
dfbc8739 rt_mutex_lock (dfbf1618) + 19
dfbcd575 enter () + 29
dfbd4257 auditpltenter () + bb
dfbd431a audit_pltenter (dfa94eac, dfa60414, df92131c, 48, df8a4cd0, df921318) + 7a
dfbc32a2 elf_plt_trace (3, ffffffff, df8a4d44) + 52
df8f435e scsetup (ffffffff, 1) + 7a
df8ea13e lwpstart () + 22
-------------------------- thread# 1 --------------------
df8e961b _swtch   (0) + 3b3
df8eb806 _dopreempt (0) + ea
df8ed247 _sigon   () + 37
df8f41d0 bindclear (1) + 48
dfbc8799 rt_bind_clear (1) + 19
dfbcd87c leave (dfbef0f4) + e8
dfbca8f7 call_init (df8d0288, 1) + 10f
dfbca339 setup (80470fc, 80471e4, 0, 8047ff2, 1000, dfbc17af, dfbf06e4, dfbc0000, ...) + cd5
dfbd3393 _setup   () + 2f7
dfbc323a rtboot () + 58
0804725c ???????? ()
-------------------------- thread# 3 --------------------
df8e7958 threadstart ()
% dbx - `pgrep thr`
Reading -
Reading ld.so.1
Reading libpthread.so.1
Reading libc.so.1
Reading libdl.so.1
Reading libthread.so.1
Reading ldprof.so.1
Reading libmapmalloc.so.1
detected a multithreaded program
Attached to process 7631 with 3 LWPs
t@3 (l@null) stopped in threadstart at 0xdf8e7958
0xdf8e7958: threadstart : call threadstart+0x5 <0xdf8e795d>
(dbx) x 0xdfbf1618 /4X
dbx: warning: unknown language, 'c' assumed
0xdfbf1618: rtldlock : 0x00000000 0x00000000 0x00000000 0x01010000
(dbx) q
detaching from process 7631
Is this a known bug?
Are there patches to fix this issue?

I think this is bugid 4804328.
Synopsis: auditing of threaded applications results in deadlock
It doesn't look like the next patch is avilable
yet, but the bug seems to be on track for being
fixed in patchid 109147-22 (the next rev of the
patch you mention. There should be new patches
for Solaris 8 sparc/intel and Solaris 9 sparc/intel.

Similar Messages

  • Core dump with SunOS 5.8 linker patch 109147-35

    Our application experiences a segmentation fault and dumps core when executed on machines patched with recent versions of SunOS 5.8 linker patch 109147.
    The coring occurs with versions 18 through 35 of patch 109147. Coring does not occur with versions 7 through 16 of the patch.
    The segmentation fault occurs in mutex_unlock during iostream initialization:
    feeebe8c mutex_unlock (ff275390, 1, 0, 0, 0, 0) + 1c
    ff0eabf8 __SUNW_init_iostreams (ff271558, ff0eabec, ffffffff, ff271558, ff29a8d4, ff29b0bc) + c
    ff286fa4 __1cH__CimplKcplus_init6F_v_ (fef76100, ff3e6114, ff030000, ff3e66b4, fffee1c0, fffee1c0) + 12c
    fef64258 _init    (0, ff3e66b4, ff3e60c8, ff3e66b4, 0, 0) + 40
    ff3bc418 call_init (fed8176c, 200000, ff3e621c, ff3e66b4, fed81770, fed8176c) + 14c
    ff3bbcb8 setup (ff3e66b4, ff3e6000, ff3e60c8, ff3e6168, ff3a022c, ff3e7d40) + edc
    ff3c73d4 _setup   (1, 0, 0, 300, ffffffff, ffffffff) + 388
    ff3b2a70 rtboot (0, 0, 0, 0, 0, 0) + 88
    00000000 ???????? (0, 0, 0, 0, 0, 0)
    The problem occurs when the application is compiled with any of several different compiler versions (on SunOS 5.8 machines with or without patch 109147-35):
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-18 2003/09/24
    CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-22 2005/04/29
    The problem is not remedied by application of patches 108434-18 and 108435-18, SunOS 5.8 32-Bit and 64-Bit Shared library patches for C++.
    The application cores consistently on SunOS 5.8 patched with only 109147-35, 108434-18, and 108435-18.

    Your problem sounds similar to bug 6283644 "process cores when C++ library patch 111711-09 or above is installed". The bug has been fixed and will soon be available in a SUNWlibC patch (C++ runtime libraries).
    We would need a test case to verify whether your problem is the same as that bug, or to find out what the problem is if it is not due to that bug.
    If you have a Sun Service contract, you should talk to your service representative. If not, and if you can post a test case here, I can tell you more.

  • Solaris 10 kernel Patch 127127-11

    we need to apply solaris 10 kernel Patch 127127-11 in our prod server as a prerequisite for oracle10g patch set 10.2.0.4 installation
    but i found a Doc 242366 (May Cause a system Panic from ip_wput_ioctl()).It is mentioned in doc that Binary relief is available through normal
    support channels.Is that Binary complete fix of this problem?If yes, then i need that binary please give me the link where i can download the binary,
    If not, then what is the solution of this problem.?
    Thanks

    These kinds of binary hotfixes/IDR's are only available through sun support to contract customers.
    If your concerned, I suggest you raise a support case.
    That being said, 127127-11 is kinda old. So I would be surprised if the bug hadnt been fixed by now.
    Its been replaced by either 137111 or 137137.
    Ive upgraded at least a dozen systems past that level and never seen a problem.
    So it can't be too common..

  • Unable to install Solaris 8 OE patches

    I'm trying to install the Solaris 8 recommended patch cluster on my new Blade 150. I downloaded and unzipped the patch file, dropped into single user mode, and executed the install_cluster script.
    After asking me if I was ready to continue to install (I pressed "y"), a message appeared that it was checked for available disk space, followed by the system prompt-- the script had terminated.
    Looking at the raw script file I can see that it should have either told me there was insufficient space (don't think this is a problem) or continued. Instead all it does it silently quit. I'm stuck!

    are there enough space on your system
    df -kl output

  • Solaris 2.6 Patch cluster

    Is there anyone out there knows where I can get the last Solaris 2.6 patch cluster? I know it's de-supported now but sadly some legacy applications are still out there and need to run on old software/hardware.
    Many thanks in advance,
    Jonathan

    if you run a pstack against the core, I might
    recognize the failure. Usually, logging is of no
    use, as we don't log a crash. . .Thanks. I'll do that. It just generated a new core file.
    >
    I don't know of any problems with installing 4.15p7,
    nor of installing later hotfixes on top of it, and
    I've been supporting Messaging Server since 4.0 came
    out. . . .
    If you've had file permission issues since 4.05,
    that's truly news to me, unless it was that pesky
    problem with Admin Server, where it would change the
    permissions of the logs when it went to roll them
    over. I don't remember when we fixed that one, but
    we did..We've had file permission issues with the patches since 4.0. When we'd upgrade some of the files would be owned by root and not exec'able by nobody. Some of the patches would fail when the patch process would try to bind to the directory (I don't know why). We've used NMS since the 3.x version. It has also been a long time since we tried to patch to app because our experience was bad. It was stable for a long time (once we disabled shared folders and resolved the nscd issue).

  • Performace problem in oracle DB after Solaris 10 recommended patching

    Dear All,
    We are facing some performance problems in our oracle DB qerries and reports recently. We applied Solaris 10 recommended patchset on april 24th. Our monthly report generation acitivity is now running for last 3 days i.e may 11,12,13 and application team is complaining of degraded performance. I can see that the cpu usage on the server is about 100% during the report generation , but everything else is fine. Free memory is 15gb , all mountpoints are under 80% and there is no other hardware issue as well.
    Now app team is suspecting that last month patching could be the cause of the problem, because till last month they were performing this activity without having a performance degradtion.
    I just need to be sure that solaris 10 recommended patches are not causing this issue. Any of you ever faced such an issue after patch installation ?
    The server is V490 with 8 cpu / 32gb RAM. Any hints will be appreciated ?
    Thanks in Advance.
    Edited by: 1005720 on May 13, 2013 9:58 PM

    I did not archive the o/p of prstat but have o/p of top with me
    195 processes: 175 sleeping, 13 running, 1 zombie, 6 on cpu
    CPU states: 0.0% idle, 78.4% user, 21.6% kernel, 0.0% iowait, 0.0% swap
    Memory: 32G phys mem, 16G free mem, 70G total swap, 70G free swap
    PID USERNAME LWP PRI NICE SIZE RES STATE TIME CPU COMMAND
    18964 oracle 39 41 0 6389M 5488M cpu/1 2:50 15.04% oracle
    19638 oracle 26 59 0 6390M 5490M run 0:27 8.58% oracle
    19648 oracle 36 31 0 6418M 5516M run 0:21 5.92% oracle
    19023 oracle 34 30 0 6398M 5498M run 0:37 5.88% oracle
    7229 oracle 38 30 0 6427M 5514M run 234:24 5.69% oracle
    6912 oracle 45 31 0 6395M 5483M cpu/16 218:04 5.31% oracle
    7216 oracle 28 31 0 6430M 5517M run 232:40 5.04% oracle
    19644 oracle 35 40 0 6390M 5490M cpu/17 0:24 4.74% oracle
    6897 oracle 112 30 0 6392M 5479M run 236:38 4.52% oracle
    3813 oracle 106 31 0 6428M 5528M run 100:11 4.43% oracle
    18970 oracle 234 31 0 6398M 5499M cpu/0 1:45 4.15% oracle
    19749 oracle 1 32 0 6386M 5486M run 0:00 4.05% oracle
    19646 oracle 23 31 0 6405M 5505M run 0:25 3.61% oracle
    18972 oracle 11 32 0 6398M 5497M run 2:18 3.61% oracle
    7220 oracle 258 32 0 6468M 5555M cpu/3 113:13 3.56% oracle
    During the entire issue there was no %iowait.

  • Solaris 8 Security patches after 03/2009?

    Hi,
    I need to know if Security patches will continue to be developped after EOL of Solaris 8 on 03/2009.
    Thanks

    Ok,
    You will need a Solaris 8 Vintage Patch Service Contract.
    http://www.sun.com/service/eosl/solaris/solaris8eosl.pdf

  • Can someone share Solaris 10 x86 patch 145028-01?

    Hi All,
    My sunsolve account does not have priviledge to download Solaris 10 x86 patch 145028-01. Can someone download and share this patch with me?
    Regards,
    SD

    So let's see ...
    You want me to spend money in sufficient amounts to have a service sontract that gives me access to patch downloads.
    ... but you then want it for free?
    No!

  • Where to download the latest Solaris 9 OS Patch

    Hi,
    can someone please direct me to the latest Solaris 9 OS patch. I could only find 117*** on sunsolve. Did I miss it?
    I currently have 118558-06. Please direct me.
    thanks,
    [email protected]

    Also, if you have login access to Sunsolve,
    please review the details inside Spectrum Infodoc 76028.
    "Why are there multiple kernel patches for the Solaris[TM] 8, 9 and 10 Operating Systems?"
    Essentially it says that as each kernel patch became large,
    it was supplanted by a new patch with a new number.
    When that became large, in turn, another new patch was created.
    The best way to get your Operating Environment patched is to use
    the full Recommended Patch Cluster. It has everything and
    patches will get installed as you system might need them.

  • Where to find previous Solaris 9 Recommend patch ?

    Hi:
    Is it possible to find the specific version of sun Solaris 9 Recommend patch? As I know, sun keep on upgrade the it on the WEB site. But I need to find out some old version.
    Thanks.

    I believe older patches are not deleted from the web site, so you can download any revision of the patch you need. Check out http://sunsolve.sun.com/pub-cgi/show.pl?target=patchpage

  • Solaris container error - patch

    Hi guys,
    I tried to install the flar archive and got the following error. i have done the same way to my other solaris 8 box and that container is working fine.
    this is my error.
    Checking installed patches...
    One or more patch packages included in
    109147-44 are not installed on this system.
    Patchadd is terminating.
    [Mon Dec 13 13:38:20 EST 2010] S20_apply_patches: Unpacking patch: 111023-03
    [Mon Dec 13 13:38:20 EST 2010] S20_apply_patches: Installing patch: 111023-03
    Checking installed patches...
    One or more patch packages included in
    111023-03 are not installed on this system.
    Patchadd is terminating.
    [Mon Dec 13 13:38:22 EST 2010] S20_apply_patches: Unpacking patch: 111431-01
    [Mon Dec 13 13:38:22 EST 2010] S20_apply_patches: Installing patch: 111431-01
    Checking installed patches...
    One or more patch packages included in
    111431-01 are not installed on this system.
    Patchadd is terminating.
    [Mon Dec 13 13:38:23 EST 2010] S20_apply_patches: Unpacking patch: 112605-04
    [Mon Dec 13 13:38:23 EST 2010] S20_apply_patches: Installing patch: 112605-04
    Checking installed patches...
    ERROR: This patch requires the following patches
    which have not been applied to the system:
    111431-01 111023-02
    Patchadd is terminating.
    [Mon Dec 13 13:38:24 EST 2010] Postprocess: ERROR: p2v module S20_apply_patches failed: 0
    [Mon Dec 13 13:38:24 EST 2010] Postprocess: ERROR: Zone boot failed
    [Mon Dec 13 13:38:24 EST 2010] Postprocess: ERROR: Postprocessing failed.
    [Mon Dec 13 13:38:26 EST 2010] Result: Postprocessing failed.
    [Mon Dec 13 13:38:26 EST 2010]
    [Mon Dec 13 13:38:26 EST 2010] Result: *** Installation FAILED ***
    [Mon Dec 13 13:38:26 EST 2010] Log File: /var/tmp/sambo.install.15654.log
    do i need to apply those patched to my globla zone ?
    thanks

    hi,
    apply the patches directly to the global zone.
    it should automatically get applied to the non-global zone..
    regards,
    Raj

  • Solaris Download link not working

    Hi !
    The download lnk for oracle 10g solaris x86 is not wirking can sombody get me a link where i can download this packages
    Solaris 8 x86 is not available for download in sun's official site
    where can i get it .
    Thanks and regare

    Sanghai wrote:
    hi
    very thankful for your link it seems that my proxy server was not allowwing me to download the package
    I could have mark the question answered in my previous post
    but the question is not yet solved.
    how can i mark the question as answered without getting it answered.
    I mean i have hard time to fine the Sun Solaris 8 x86 download link.
    Thanks.:) Amazing. You still think that your question still NOT answered? :)

  • Solaris 8 wrong patches?

    Hi,
    there are 2 patches that don't install on my system :
    118097-05 SunOS 5.8: bug fixes for cdrw 1.1
    115951-03 Netra ct OBP update for SUNW,UltraSPARC-IIi-Netract
    For sure it's because the concerning packages are not installed. But why am I offered these patches? On another Solaris 8 machine with the same patch settings the patches are not installed and also not downloaded or named in smpatch analyze output.
    What's wrong?
    system information:
    SunOS 5.8 Generic_117350-53 sun4u sparc SUNW,Sun-Blade-1000
    # smpatch get
    patchpro.backout.directory - ""
    patchpro.baseline.directory - /var/sadm/spool
    patchpro.download.directory - /var/sadm/spool
    patchpro.install.types rebootimmediate:reconfigimmediate:rebootafter:reconfigafter:standard:interactive rebootafter:reconfigafter:standard
    patchpro.patch.source https://getupdates1.sun.com/ https://getupdates1.sun.com/
    patchpro.patchset current current
    patchpro.proxy.host "" ""
    patchpro.proxy.passwd **** ****
    patchpro.proxy.port "" 8080
    patchpro.proxy.user "" ""

    What are the errors when you try to install the patches? 115951-03 has been validated.
    Installing patches from /var/sadm/spool...
    Failed to install patch 115951-03.
    Utility used to install the update failed with exit code 7.
    The packages in /var/sadm/spool/115951-03.jar.dir/115951-03are not proper patch packages.See instructions for applying the patch in patchadd(1M).Patchadd is terminating.
    grep: can't open */pkginfo
    Failed to install patch 115951-03.
    ALERT: Failed to install patch 115951-03.
    118097-05 has been validated.
    Installing patches from /var/sadm/spool...
    Failed to install patch 118097-05.
    Utility used to install the update failed with exit code 8.
    Checking installed patches...One or more patch packages included in118097-05 are not installed on this system.Patchadd is terminating.
    Failed to install patch 118097-05.
    ALERT: Failed to install patch 118097-05.
    How are you trying to install the patches?Tried it with
    smpatch update
    smpatch update -i patch-id
    smpatch download -i patch-id and smpatch add -i patch-id
    Everytime the same error.
    What are the contents of /var/sadm/patch/<patch-id>/log for each patch?The patches are not installed so there are no such directories.
    What is the output of:
    # pkginfo -l SUNWcdrw CP1500PKGINST: SUNWcdrw
    NAME: utility for writing to DVD-RW and CD-R/RW disks
    CATEGORY: system
    ARCH: sparc
    VERSION: 1.0,REV=2000.07.12.10.09
    BASEDIR: /
    VENDOR: Sun Microsystems, Inc.
    DESC: utility for writing to DVD-RW and CD-R/RW disks
    PSTAMP: on28-dhpg20070531094326
    INSTDATE: Feb 19 2008 04:17
    HOTLINE: Please contact your local service provider
    STATUS: completely installed
    FILES: 7 installed pathnames
    5 shared pathnames
    5 directories
    1 executables
    1 setuid/setgid executables
    265 blocks used (approx)
    ERROR: information for "CP1500" was not found

  • Solaris 8 x86 patch cluster installation

    hi. i recently installed solaris 8 x86 on my intel p4 machine. i got through the installation fine but i am now running into problems with installing the 8x86 recommended patch cluster.
    whenever i run the install_cluster script, it says every patch failed to install due to return code 1. i even tried manually installing the patches manually via patchadd...but i end up getting a message saying the patch directory is not valid.
    i basically downloaded the 8x86 recommended patch cluster zip file on a windows 2k machine. i unzip the file and then burn the patches onto a cd. i then copy the patches from the cd onto my solaris machine and try to install the patches that way. so far...this doesn't work..and i dont know what im doing wrong.
    does anyone know how to fix this problem? thx.

    hi again. i just fixed my problem. apparently when i unzipped the file and then burned it onto cd...the data got corrupted. i fixed it by copying the zip file onto cd and then extracting the patches onto the solaris machine.

  • VmWare, Solaris 10, x86, Patch 120536-05, video drivers

    Hello,
    I have Solaris 10 x86 working under VmWare 5.x with JDS. I use the Xorg VmWare video driver with a resolution of 1280x1024.
    Everything works fine as long I don't apply the patch 120536-05 (updated video drivers and fixes).
    I mean the only reason I have for applying this patch is due to the "SUN Update Manager". It's the only one left. All the other patches are installed. I can work without the patch, it's only nice to have.
    As soon it is installed I get no longer a console outside of the windowmanager login screen.
    On the login screen I say "Command line". Then I have a blank Screen for about 1 minute. It flashes around 5 times in this minute and then I get back to the login screen.
    I think it's a bug in the patch. Any idea?
    Cheers El_Sol

    save a copy of the /etc/openwin/server/etc/OWconfig and or the /etc/X11/tX86config file it your have one, of running Xorg vs SUN X, then try running the kdmconfig -u and then the kdmconfig -v to reconfigure it.
    Open a sunsolve support ticket the contract support for your issue if it is reproducable and you can profice any errors on for Solaris 10 x86 is resonable if you already do not have one even if your on a whitebox clone, it's worrth looking into!
    http://www.sun.com/service/solaris10/index.jsp there is a feature that includes Interoperability Support for the $360

Maybe you are looking for

  • Scheduled Web Intelligence report fails with ORA-01013 and WIS 10901

    Hi,         the environment I'm working in is BOXI R2 SP4 on a Solaris 10 server using WebLogic running against Oracle 9i database. I have a report written by one of the users. In SQL Viewer the SQL detailed is two joined Select statements. Each time

  • Safari Is Not Responding When I View other Programs

    When I have Safari open, and move the mouse to the upper left corner of the screen to view other programs - when I try to return to Safari it does not respond.  Instead it sits in the background and will not come up or let me close it.  It happened f

  • No automatic ADDM Report

    Hi all, I'm a little bit confused and hopefully you can tell me how to solve my issue, if possible. I have a 10.2.0.4 Database running on Windows W2K3 64bit. The database runs quite fine but since the setup I experienced a "little" problem. I think t

  • Compiling package Not found

    Hi All, I have windows XP. I have java files in following 3 directories that I want to compile. C:\spring\commands\*.java C:\spring\controller\*.java c:\spring\service\*.java I went in to command directory and run javac *.java --- all java files succ

  • NAC L2 Inband Real IP Gateway

    Hi Experts, I was just reading the cisco press book for NAC, and i came to the following para can any body explain me the L2 Inband Real Ip Gateway mode steps from the start If you use  Real IP Gateway mode on NAC Appliance Server, you will have to m