Nicolas Williams wrote:
> On Wed, Oct 01, 2008 at 04:17:44PM -0500, Paul Fisher wrote:
>> Nicolas Williams wrote:
>>> Is NSPR installed on your system?
>> Yep:
>>
>>> Does you application have a private
>>> copy of NSPR linked into it?
>> Nope, the executable:
>
> Use lari(1) with no options, just the executable name:
>
> $ lari /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
[2:0N]: matherr(): /lib/64/libm.so.2
[2:1EP]: matherr(): /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
[2:0N]: MD5Final(): /lib/64/libmd.so.1
[2:2EP]: MD5Final(): /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
[2:0N]: MD5Init(): /lib/64/libmd.so.1
[2:2EP]: MD5Init(): /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
[2:0N]: MD5Update(): /lib/64/libmd.so.1
[2:2EP]: MD5Update(): /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
[2:0P]: _sigaction(): /lib/64/libc.so.1
[2:2EDP]: sigaction(): /lib/64/libc.so.1
[2:0P]: _sigaction(): /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
[2:0P]: sigaction(): /usr/local/lib/erlang/erts-5.6.4/bin/beam.smp
>> and the dlopen'd library:
>
> Oh, run lari on any and all libraries that might get dlopen()ed.
>
>> $ file bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0
>> bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0: ELF 64-bit
>> LSB dynamic lib AMD64 Version 1, dynamically linked, stripped
>
> $ lari bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0
symbol not found: driver_alloc
(bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0)
symbol not found: set_port_control_flags
(bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0)
symbol not found: driver_free
(bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0)
symbol not found: driver_mk_atom
(bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0)
continued ...
[3:0]: __dso_handle[0]:
bld/solaris-5-11-x86_64-threaded-gcc/lib/libcoresrv.so.1.0
[3:0]: __dso_handle[0]:
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[3:0]: __dso_handle[0]: /usr/sfw/lib/64/libstdc++.so.6
[3:2E]: libVersionPoint(): /usr/lib/mps/64/libnspr4.so
[3:0]: libVersionPoint(): /usr/lib/mps/64/libplc4.so
[3:0]: libVersionPoint(): /usr/lib/mps/amd64/libplds4.so
[2:0P]: _Unwind_DeleteException(): /lib/64/libc.so.1
[2:1E]: _Unwind_DeleteException(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_ForcedUnwind(): /lib/64/libc.so.1
[2:0]: _Unwind_ForcedUnwind(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_GetCFA(): /lib/64/libc.so.1
[2:0]: _Unwind_GetCFA(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_GetGR(): /lib/64/libc.so.1
[2:0]: _Unwind_GetGR(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_GetIP(): /lib/64/libc.so.1
[2:2ES]: _Unwind_GetIP(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_GetLanguageSpecificData(): /lib/64/libc.so.1
[2:2ES]: _Unwind_GetLanguageSpecificData(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_GetRegionStart(): /lib/64/libc.so.1
[2:2ES]: _Unwind_GetRegionStart(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_RaiseException(): /lib/64/libc.so.1
[2:2ES]: _Unwind_RaiseException(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_Resume(): /lib/64/libc.so.1
[2:2E]: _Unwind_Resume(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_SetGR(): /lib/64/libc.so.1
[2:2ES]: _Unwind_SetGR(): /usr/sfw/lib/64/libgcc_s.so.1
[2:0P]: _Unwind_SetIP(): /lib/64/libc.so.1
[2:2ES]: _Unwind_SetIP(): /usr/sfw/lib/64/libgcc_s.so.1
[2:3ES]: _ZdaPv():
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZdaPv(): /usr/sfw/lib/64/libstdc++.so.6
[2:2ES]: _ZdlPv():
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZdlPv(): /usr/sfw/lib/64/libstdc++.so.6
[2:3ES]: _Znam():
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _Znam(): /usr/sfw/lib/64/libstdc++.so.6
[2:3ES]: _ZNSt12out_of_rangeD0Ev():
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZNSt12out_of_rangeD0Ev(): /usr/sfw/lib/64/libstdc++.so.6
[2:5ES]: _ZNSt12out_of_rangeD1Ev():
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZNSt12out_of_rangeD1Ev(): /usr/sfw/lib/64/libstdc++.so.6
[2:2ES]: _Znwm():
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _Znwm(): /usr/sfw/lib/64/libstdc++.so.6
[2:6ES]: _ZTISt12out_of_range[0x18]:
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZTISt12out_of_range[0x18]: /usr/sfw/lib/64/libstdc++.so.6
[2:3ES]: _ZTSSt12out_of_range[0x11]:
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZTSSt12out_of_range[0x11]: /usr/sfw/lib/64/libstdc++.so.6
[2:2ES]: _ZTVSt12out_of_range[0x28]:
/export/home/pfisher/lm/lm-trunk/bld/solaris-5-11-x86_64-threaded-gcc/lib/libalcc.so
[2:0]: _ZTVSt12out_of_range[0x28]: /usr/sfw/lib/64/libstdc++.so.6
>
>> The really puzzling thing is that this seems to happen once, and then a
>> subsequent attempt to dlopen the library works without error. I tried
>> for a bit last night to create a small test case that demonstrated the
>> problem, but could not.
>
> The only thing that comes to mind is transient failure to mount
> something (which happens in the mirror mount case, where you get EBUSY
> when racing to trigger a mirror mount)... But that doesn't seem
> applicable here.
Yeah, all local zfs datasets mounted as home directories. Happens every
time i start the exec and cause the dlopen to happen (the exec is
actually a vm for erlang.)
I appreciate the help in trying to track this down!
--
paul
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss