Hi, This is the output of pldd against the core of a few days ago. I stripped most of the private libraries from this list to strip the list down a bit. ------------------------------------------------- bash-3.00# pldd core.16367 /lib/libumem.so.1 ... /lib/libdl.so.1 /lib/libnsl.so.1 /lib/libsocket.so.1 /opt/libgcc-3.2.2/lib/libstdc++.so.5.0.2 /lib/libm.so.1 /opt/libgcc-3.2.2/lib/libgcc_s.so.1 /lib/libc.so.1 /platform/sun4u/lib/libc_psr.so.1 /lib/nss_files.so.1 ... /lib/libscf.so.1 /lib/libdoor.so.1 /lib/libuutil.so.1 /lib/libmd5.so.1 /platform/sun4u/lib/libmd5_psr.so.1 /lib/libmp.so.2 /lib/libm.so.2 ... /lib/libresolv.so.2 ... /opt/mysql-4.0.17/lib/mysql/libmysqlclient.so.12.0.0 /usr/lib/libz.so.1 /lib/librt.so.1 /lib/libpthread.so.1 /lib/libthread.so.1 /opt/libxmlx-0.0.1/lib/libxmlx.so.0.0.0 /usr/lib/libcrypt_i.so.1 /lib/libgen.so.1 /lib/libaio.so.1 /opt/libxmlx-0.0.1/lib/libxml2.so.2 ... /usr/lib/libkvm.so.1 /lib/libkstat.so.1 /lib/libelf.so.1 ... bash-3.00# -------------------------------------------------
Regards, Marc > -----Original Message----- > From: mdb-discuss-bounces at opensolaris.org > [mailto:mdb-discuss-bounces at opensolaris.org] On Behalf Of > Jonathan Adams > Sent: vrijdag 3 maart 2006 20:29 > To: mdb-discuss at opensolaris.org > Subject: Re: [mdb-discuss] Re: Libumem problem? > > On Fri, Mar 03, 2006 at 11:26:06AM -0800, Jonathan W. Adams wrote: > > > export LD_PRELOAD=libumem.so > > > export UMEM_DEBUG=default > > > > > When I now run my program I get the following error from > dlerror when I > > > try to call dlsym in my program: > > > > > ld.so.1: myapp: fatal: > /usr/platform/SUNW,Ultra-60/lib/libkvm_psr.so.1: > > > open failed: No such file or directory > > > > > Without the LD_PRELOAD the program works perfectly. > > > The error happens at a point in the program where I call > dlsym(...). > > > > It looks more like when you call dlopen(). Hrm. You can > cause ld.so.1(1) to > > use SIGABRT instead of SIGKILL (and therefore get a core > file) by setting: > > export LD_SIGNAL=6 > > > > in the environment; the stack trace (pstack core) which > results would > > be most interesting. > > Could you also run pldd(1) against the core? There might be a clue in > the list of libraries. > > Cheers, > - jonathan > > -- > Jonathan Adams, Solaris Kernel Development > _______________________________________________ > mdb-discuss mailing list > mdb-discuss at opensolaris.org >