shibd abort in Solaris 10
Collins, Alex
Alex.Collins at anglia.ac.uk
Wed Nov 21 08:38:00 EST 2012
Hi Guys
I thought I'd wrapped up my Solaris 11 build.
Everything has built without error from freshly untarred source.
I have a basic config in shibboleth2.xml
shibd gives me a Core dump:
root at libhtml4:/wwwdata/bin/shib-sp/sbin# ./shibd -t
Bus Error (core dumped)
root at libhtml4:/wwwdata/bin/shib-sp/sbin# ./shibd
Bus Error (core dumped)
root at libhtml4:/wwwdata/bin/shib-sp/sbin#
Build is all done with gmake with the correct attributes set:
Also with xerces notes from this thread.
Xerces
CFLAGS="-xO2" CXXFLAGS="-xO2 -library=stlport4" ./configure --prefix=/wwwdata/bin/shib-sp --enable-netaccessor-socket --enable-transcoder-iconv
gmake
sudo gmake install
/wwwdata/bin/shib-sp/sbin$ ldd shibd
libshibsp.so.6 => /wwwdata/bin/shib-sp/lib/libshibsp.so.6
libsaml.so.8 => /wwwdata/bin/shib-sp/lib/libsaml.so.8
libxmltooling.so.6 => /wwwdata/bin/shib-sp/lib/libxmltooling.so.6
libxml-security-c.so.17 => /wwwdata/bin/shib-sp/lib/libxml-security-c.so.17
libxerces-c-3.1.so => /wwwdata/bin/shib-sp/lib/libxerces-c-3.1.so
liblog4shib.so.1 => /wwwdata/bin/shib-sp/lib/liblog4shib.so.1
libnsl.so.1 => /lib/libnsl.so.1
libsocket.so.1 => /lib/libsocket.so.1
libpthread.so.1 => /lib/libpthread.so.1
libstlport.so.1 => /opt/solarisstudio12.3/lib/stlport4/libstlport.so.1
libCrun.so.1 => /usr/lib/libCrun.so.1
libthread.so.1 => /lib/libthread.so.1
libm.so.2 => /lib/libm.so.2
libc.so.1 => /lib/libc.so.1
libz.so.1 => /lib/libz.so.1
libcurl.so.3 => /usr/lib/libcurl.so.3
libidn.so.11 => /usr/lib/libidn.so.11
libsldap.so.1 => /usr/lib/libsldap.so.1
libldap.so.5 => /usr/lib/libldap.so.5
libgss.so.1 => /usr/lib/libgss.so.1
libssl.so.1.0.0 => /lib/libssl.so.1.0.0
libcrypto.so.1.0.0 => /lib/libcrypto.so.1.0.0
libCstd.so.1 => /usr/lib/libCstd.so.1
libmp.so.2 => /lib/libmp.so.2
libmd.so.1 => /lib/libmd.so.1
librt.so.1 => /lib/librt.so.1
libscf.so.1 => /lib/libscf.so.1
libsasl.so.1 => /usr/lib/libsasl.so.1
libnspr4.so => /usr/lib/mps/libnspr4.so
libplc4.so => /usr/lib/mps/libplc4.so
libnss3.so => /usr/lib/mps/libnss3.so
libssl3.so => /usr/lib/mps/libssl3.so
libuutil.so.1 => /lib/libuutil.so.1
libgen.so.1 => /lib/libgen.so.1
libnvpair.so.1 => /lib/libnvpair.so.1
libdl.so.1 => /lib/libdl.so.1
libnssutil3.so => /usr/lib/mps/libnssutil3.so
libplds4.so => /usr/lib/mps/libplds4.so
/lib/libm/libm_hwcap1.so.2
/usr/lib/mps/cpu/sparcv8plus/libnspr_flt4.so
admin at libhtml4:/wwwdata/bin/shib-sp/sbin$
nothing unhappy there....
/wwwdata/bin/shib-sp/sbin$ sudo dbx shibd core
Password:
Reading shibd
core file header read successfully
Reading ld.so.1
Reading libshibsp.so.6.0.0
Reading libsaml.so.8.0.0
Reading libxmltooling.so.6.0.1
Reading libxml-security-c.so.17.0.0
Reading libxerces-c-3.1.so
Reading liblog4shib.so.1.0.5
Reading libnsl.so.1
Reading libsocket.so.1
Reading libpthread.so.1
Reading libstlport.so.1
Reading libCrun.so.1
Reading libthread.so.1
Reading libm.so.2
Reading libc.so.1
Reading libz.so.1
Reading libcurl.so.3.0.0
Reading libidn.so.11.6.2
Reading libsldap.so.1
Reading libldap.so.5
Reading libgss.so.1
Reading libssl.so.1.0.0
Reading libcrypto.so.1.0.0
Reading libCstd.so.1
Reading librt.so.1
Reading libscf.so.1
Reading libnspr4.so
Reading libdl.so.1
Reading libnspr_flt4.so
Reading libmp.so.2
Reading libmd.so.1
Reading libsasl.so.1
Reading libplc4.so
Reading libnss3.so
Reading libnssutil3.so
Reading libplds4.so
Reading libssl3.so
Reading libuutil.so.1
Reading libgen.so.1
Reading libnvpair.so.1
t at 1 (l at 1) program terminated by signal BUS (invalid address alignment)
0xfeaf0c24: _M_get_facet+0x0020: ld [%o0 + %g1], %o0
(dbx)
(dbx) where -h
current thread: t at 1
=>[1] std::locale::_M_get_facet(0xfeb33811, 0xfeb338b8, 0x27, 0xfeb33c58, 0x2, 0xffbff2e4), at 0xfeaf0c24
[2] std::basic_ios<char,std::char_traits<char> >::imbue(0xffbff34c, 0xfeb34a18, 0xffbff348, 0xfeb2f374, 0xffbff2e4, 0x0), at 0xfea8ed5c
[3] std::basic_ios<char,std::char_traits<char> >::init(0xfeb34a18, 0x0, 0x8, 0xfeb2f374, 0x2ac, 0x0), at 0xfea8e34c
[4] std::ios_base::_S_initialize(0xfeb31f90, 0x304, 0xfeb31f98, 0x0, 0xfeb34a18, 0xfeb31f98), at 0xfeae5880
[5] __SUNW_init_iostreams(0xfea0e1d8, 0x1, 0xfea123b8, 0x0, 0x0, 0xffbff417), at 0xfd189880
[6] __Cimpl::cplus_init(0xfea0e2a0, 0xfd18985c, 0xfd2049ac, 0xfd2049b8, 0x1, 0x0), at 0xfe9f7b54
[7] 0xfe9f9964(0x0, 0x0, 0x1, 0xfd002a40, 0x0, 0x3), at 0xfe9f9964
[8] call_init(0xff3ee43c, 0x3, 0x0, 0xffdfffff, 0x400000, 0x200000), at 0xff3b8f0c
[9] elf_bndr(0xff360018, 0x13658, 0xfd1a1f50, 0xff3ee3bc, 0x1, 0x20421), at 0xff3c8c2c
[10] elf_rtbndr(0xfd1a1f50, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3aa638
[11] 0x247ac(0xfd200b5c, 0x0, 0x0, 0x0, 0x0, 0x0), at 0x247ac
[12] 0xfd1a1f50(0x0, 0x0, 0x1, 0xfd002a40, 0x0, 0x3), at 0xfd1a1f50
[13] call_init(0xff3ee43c, 0x1, 0x80, 0xffdfffff, 0x400000, 0x200000), at 0xff3b8f0c
[14] setup(0xfd0102e8, 0xff360018, 0xff3ee348, 0xff3ee31c, 0x0, 0x2), at 0xff3b8218
[15] _setup(0x6ffffff9, 0xff3da9b4, 0xff3ee9a4, 0xffbffbfc, 0x0, 0x2), at 0xff3ca108
[16] _rt_boot(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xff3aa5fc
(dbx)
Nothing there shouting at me.
Cluse welcome
Thanks
--
Alex Collins. Library Systems and Support Officer.
Rivermead Library. Tel: 0845 196 3722
alex.collins at anglia.ac.uk http://libweb.anglia.ac.uk
This product is printed with 100% recycled electrons !
-----Original Message-----
From: users-bounces at shibboleth.net [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: 16 November 2012 20:28
To: Shib Users
Subject: Re: shibd abort in Solaris 10
On 11/16/12 3:22 PM, "Steven D. Brewer" <sbrewer at bio.umass.edu> wrote:
>
>Thanks for mentioning this. I don't think this is it, because it's
>supposedly been fixed in xerces-c-3.1.1 (which is the version we're
>using).
It's not. It's either a build issue related to the other dependency, or it's a portability issue because they don't test most of the options that exist on most of the platforms. It's actually very positive when the failure is blatant and immediate. That prevents nasty surprises.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
--
EMERGING EXCELLENCE: In the Research Assessment Exercise (RAE) 2008,
more than 30% of our submissions were rated as 'Internationally
Excellent' or 'World-leading'. Among the academic disciplines now rated
'World-leading' are Allied Health Professions & Studies; Art & Design;
English Language & Literature; Geography & Environmental Studies;
History; Music; Psychology; and Social Work & Social Policy &
Administration. Visit www.anglia.ac.uk/rae for more information.
This e-mail and any attachments are intended for the above named
recipient(s)only and may be privileged. If they have come to you in
error you must take no action based on them, nor must you copy or show
them to anyone please reply to this e-mail to highlight the error and
then immediately delete the e-mail from your system. Any opinions
expressed are solely those of the author and do not necessarily
represent the views or opinions of Anglia Ruskin University.
Although measures have been taken to ensure that this e-mail and attachments are
free from any virus we advise that, in keeping with good computing
practice, the recipient should ensure they are actually virus free.
Please note that this message has been sent over public networks which
may not be a 100% secure communications
More information about the users
mailing list