master segfaults on Solaris 9

Markus Wernig listener at wernig.net
Wed Feb 4 14:08:19 EST 2004


On Wed, 2004-02-04 at 09:47, Markus Wernig wrote:
[...]
> BUT: If I start master with "sotruss /usr/cyrus/bin/master", it does not
> segfault, and I can even connect to all ports and sockets !!! I am a bit
> at a loss with this. What does sotruss do? To my understanding it's a
> shell script that sets some environment variables for LD and then runs
> the program, relying on ld producing the output.

Just one more info: When running master via sotruss, ld links in 3
additional libraries: nss_files.so.1, truss.so.1 and libmapmalloc.so.1.
Could those have an impact on how master behaves?

# pldd `cat /var/run/cyrus-master.pid`
9479:   /usr/cyrus/bin/master -d
/usr/lib/libdl.so.1
/usr/lib/libresolv.so.2
/usr/lib/libsocket.so.1
/usr/lib/libnsl.so.1
/usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
/usr/local/lib/libssl.so.0.9.7
/usr/local/lib/libcrypto.so.0.9.7
/usr/lib/libc.so.1
/usr/lib/libmp.so.2
/usr/local/lib/libgcc_s.so.1
/usr/platform/sun4u/lib/libc_psr.so.1
/usr/lib/nss_files.so.1
/usr/lib/link_audit/truss.so.1
/usr/lib/libmapmalloc.so.1


> ldd /usr/cyrus/bin/master
>         libdl.so.1 =>    /usr/lib/libdl.so.1
>         libresolv.so.2 =>        /usr/lib/libresolv.so.2
>         libsocket.so.1 =>        /usr/lib/libsocket.so.1
>         libnsl.so.1 =>   /usr/lib/libnsl.so.1
>         libdb-4.1.so =>  /usr/local/BerkeleyDB.4.1/lib/libdb-4.1.so
>         libssl.so.0.9.7 =>       /usr/local/lib/libssl.so.0.9.7
>         libcrypto.so.0.9.7 =>    /usr/local/lib/libcrypto.so.0.9.7
>         libc.so.1 =>     /usr/lib/libc.so.1
>         libmp.so.2 =>    /usr/lib/libmp.so.2
>         libgcc_s.so.1 =>         /usr/local/lib/libgcc_s.so.1
>         /usr/platform/SUNW,UltraSPARC-IIi-cEngine/lib/libc_psr.so.1

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list