[cvsnt-dev] Re: 2.5.02.2040 problems

David Somers dsomers at omz13.com
Fri Jul 29 23:00:02 BST 2005


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Tony Hoyle wrote:

> David Somers wrote:
>> Tony Hoyle wrote:
>> 
>>>btw. if you can find out where it segfaults on your build I can try to
>>>put a check in for it, so it at least just drops out.
>> 
>> 
>>       6760:     calling init: /usr/lib/cvsnt/pserver_protocol.so
>>       6760:
>>       6760:     opening file=/usr/lib/cvsnt/pserver_protocol.so [0];
>> opencount=1
>>       6760:
>>       6760:     /usr/lib/cvsnt/pserver_protocol.so: error: symbol lookup
>> error: undefined symbol: pserver_protocol_LTX_get_protocol_interface
>> (fatal)
>> Segmentation fault
>> 
>> 
> That's not even anywhere near the mdns browsing code.
> 
> Something is renaming 'get_protocol_interface' to
> 'pserver_protocol_LTX_get_protocol_interface' and that's just wrong...

Very wrong.

> I'm surprised anything works at all in that case - it's not even getting
> as far as initialising the client.

Other ops seem to work ok... which is odd since even something like cvs ls
also has this renaming issue (but doesn't segfault).

[snip[
      6899:     file=/usr/lib/cvsnt/pserver_protocol.so [0];  needed
by /usr/lib/libcvsapi-2.5.02.2040.so [0]
      6899:     file=/usr/lib/cvsnt/pserver_protocol.so [0];  generating
link map
      6899:       dynamic: 0xb7ca6014  base: 0xb7ca2000   size: 0x00004400
      6899:         entry: 0xb7ca3600  phdr: 0xb7ca2034  phnum:          6
      6899:
      6899:
      6899:     calling init: /usr/lib/cvsnt/pserver_protocol.so
      6899:
      6899:     opening file=/usr/lib/cvsnt/pserver_protocol.so [0];
opencount=1
      6899:
      6899:     /usr/lib/cvsnt/pserver_protocol.so: error: symbol lookup
error: undefined symbol: pserver_protocol_LTX_get_protocol_interface
(fatal)
      6899:
      6899:     file=libnss_db.so.2 [0];  needed by cvs [0]
      6899:     opening file=/lib/libnss_files.so.2 [0]; opencount=2
      6899:
      6899:
      6899:     file=libnss_dns.so.2 [0];  needed by cvs [0]
      6899:     file=libnss_dns.so.2 [0];  generating link map
      6899:       dynamic: 0xb7c86efc  base: 0xb7c82000   size: 0x00005088
      6899:         entry: 0xb7c82e00  phdr: 0xb7c82034  phnum:          9
[snip]


Here's the complete trace (for the cvs info -b), in case it can reveal more
light on this weirdness.

$ cvs info -b
      6891:
      6891:     file=libcvsapi-2.5.02.2040.so [0];  needed by cvs [0]
      6891:     file=libcvsapi-2.5.02.2040.so [0];  generating link map
      6891:       dynamic: 0xb7fcfc18  base: 0xb7f94000   size: 0x0003c8cc
      6891:         entry: 0xb7fa1340  phdr: 0xb7f94034  phnum:          6
      6891:
      6891:
      6891:     file=libcvstools-2.5.02.2040.so [0];  needed by cvs [0]
      6891:     file=libcvstools-2.5.02.2040.so [0];  generating link map
      6891:       dynamic: 0xb7f90028  base: 0xb7f7d000   size: 0x00015864
      6891:         entry: 0xb7f83100  phdr: 0xb7f7d034  phnum:          6
      6891:
      6891:
      6891:     file=libz.so.1 [0];  needed by cvs [0]
      6891:     file=libz.so.1 [0];  generating link map
      6891:       dynamic: 0xb7f7c508  base: 0xb7f6c000   size: 0x000106f4
      6891:         entry: 0xb7f6d280  phdr: 0xb7f6c034  phnum:          5
      6891:
      6891:
      6891:     file=libpcreposix.so.0 [0];  needed by cvs [0]
      6891:     file=libpcreposix.so.0 [0];  generating link map
      6891:       dynamic: 0xb7f6b988  base: 0xb7f69000   size: 0x00002aac
      6891:         entry: 0xb7f69900  phdr: 0xb7f69034  phnum:          5
      6891:
      6891:
      6891:     file=libdl.so.2 [0];  needed by cvs [0]
      6891:     file=libdl.so.2 [0];  generating link map
      6891:       dynamic: 0xb7f67ee8  base: 0xb7f65000   size: 0x00003068
      6891:         entry: 0xb7f65c00  phdr: 0xb7f65034  phnum:          9
      6891:
      6891:
      6891:     file=libpam.so.0 [0];  needed by cvs [0]
      6891:     file=libpam.so.0 [0];  generating link map
      6891:       dynamic: 0xb7f64da4  base: 0xb7f5d000   size: 0x00007f64
      6891:         entry: 0xb7f5e3c0  phdr: 0xb7f5d034  phnum:          5
      6891:
      6891:
      6891:     file=libcrypt.so.1 [0];  needed by cvs [0]
      6891:     file=libcrypt.so.1 [0];  generating link map
      6891:       dynamic: 0xb7f34f00  base: 0xb7f2f000   size: 0x0002d13c
      6891:         entry: 0xb7f2f880  phdr: 0xb7f2f034  phnum:          9
      6891:
      6891:
      6891:     file=libstdc++.so.5 [0];  needed by cvs [0]
      6891:     file=libstdc++.so.5 [0];  generating link map
      6891:       dynamic: 0xb7f244cc  base: 0xb7e71000   size: 0x000bc4c0
      6891:         entry: 0xb7ead000  phdr: 0xb7e71034  phnum:          6
      6891:
      6891:
      6891:     file=libm.so.6 [0];  needed by cvs [0]
      6891:     file=libm.so.6 [0];  generating link map
      6891:       dynamic: 0xb7e6fef4  base: 0xb7e4e000   size: 0x000220a0
      6891:         entry: 0xb7e51380  phdr: 0xb7e4e034  phnum:          9
      6891:
      6891:
      6891:     file=libgcc_s.so.1 [0];  needed by cvs [0]
      6891:     file=libgcc_s.so.1 [0];  generating link map
      6891:       dynamic: 0xb7e4d020  base: 0xb7e46000   size: 0x000071d0
      6891:         entry: 0xb7e47310  phdr: 0xb7e46034  phnum:          6
      6891:
      6891:
      6891:     file=libc.so.6 [0];  needed by cvs [0]
      6891:     file=libc.so.6 [0];  generating link map
      6891:       dynamic: 0xb7e41d1c  base: 0xb7d31000   size: 0x00114d84
      6891:         entry: 0xb7d46700  phdr: 0xb7d31034  phnum:         10
      6891:
      6891:
      6891:     file=libexpat.so.0 [0];  needed
by /usr/lib/libcvsapi-2.5.02.2040.so [0]
      6891:     file=libexpat.so.0 [0];  generating link map
      6891:       dynamic: 0xb7d307d0  base: 0xb7d0b000   size: 0x00025aa4
      6891:         entry: 0xb7d0d140  phdr: 0xb7d0b034  phnum:          6
      6891:
      6891:
      6891:     file=libmdnsclient-2.5.02.2040.so [0];  needed
by /usr/lib/libcvsapi-2.5.02.2040.so [0]
      6891:     file=libmdnsclient-2.5.02.2040.so [0];  generating link map
      6891:       dynamic: 0xb7d0a014  base: 0xb7d05000   size: 0x000051c8
      6891:         entry: 0xb7d06140  phdr: 0xb7d05034  phnum:          6
      6891:
      6891:
      6891:     file=libpcre.so.0 [0];  needed by /usr/lib/libpcreposix.so.0
[0]
      6891:     file=libpcre.so.0 [0];  generating link map
      6891:       dynamic: 0xb7d03058  base: 0xb7cf3000   size: 0x000105f8
      6891:         entry: 0xb7cf3b40  phdr: 0xb7cf3034  phnum:          5
      6891:
      6891:
      6891:     calling init: /lib/libc.so.6
      6891:
      6891:
      6891:     calling init: /usr/lib/libpcre.so.0
      6891:
      6891:
      6891:     calling init: /usr/lib/libexpat.so.0
      6891:
      6891:
      6891:     calling
init: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libgcc_s.so.1
      6891:
      6891:
      6891:     calling init: /lib/libm.so.6
      6891:
      6891:
      6891:     calling
init: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5
      6891:
      6891:
      6891:     calling init: /lib/libcrypt.so.1
      6891:
      6891:
      6891:     calling init: /usr/lib/libmdnsclient-2.5.02.2040.so
      6891:
      6891:
      6891:     calling init: /lib/libdl.so.2
      6891:
      6891:
      6891:     calling init: /lib/libpam.so.0
      6891:
      6891:
      6891:     calling init: /usr/lib/libpcreposix.so.0
      6891:
      6891:
      6891:     calling init: /lib/libz.so.1
      6891:
      6891:
      6891:     calling init: /usr/lib/libcvsapi-2.5.02.2040.so
      6891:
      6891:
      6891:     calling init: /usr/lib/libcvstools-2.5.02.2040.so
      6891:
      6891:
      6891:     initialize program: cvs
      6891:
      6891:
      6891:     transferring control: cvs
      6891:
      6891:
      6891:     file=libnss_compat.so.2 [0];  needed by cvs [0]
      6891:     file=libnss_compat.so.2 [0];  generating link map
      6891:       dynamic: 0xb7cd7efc  base: 0xb7cd0000   size: 0x00008270
      6891:         entry: 0xb7cd10c0  phdr: 0xb7cd0034  phnum:          9
      6891:
      6891:
      6891:     file=libnsl.so.1 [0];  needed by /lib/libnss_compat.so.2 [0]
      6891:     file=libnsl.so.1 [0];  generating link map
      6891:       dynamic: 0xb7ccce74  base: 0xb7cbb000   size: 0x00014800
      6891:         entry: 0xb7cbe540  phdr: 0xb7cbb034  phnum:          9
      6891:
      6891:
      6891:     calling init: /lib/libnsl.so.1
      6891:
      6891:
      6891:     calling init: /lib/libnss_compat.so.2
      6891:
      6891:     opening file=/lib/libnss_compat.so.2 [0]; opencount=1
      6891:
      6891:
      6891:     file=libnss_nis.so.2 [0];  needed by cvs [0]
      6891:     file=libnss_nis.so.2 [0];  generating link map
      6891:       dynamic: 0xb7cb9eec  base: 0xb7cb1000   size: 0x00009228
      6891:         entry: 0xb7cb2c80  phdr: 0xb7cb1034  phnum:          9
      6891:
      6891:
      6891:     file=libnss_files.so.2 [0];  needed by /lib/libnss_nis.so.2
[0]
      6891:     file=libnss_files.so.2 [0];  generating link map
      6891:       dynamic: 0xb7caff00  base: 0xb7ca7000   size: 0x0000928c
      6891:         entry: 0xb7ca8b80  phdr: 0xb7ca7034  phnum:          9
      6891:
      6891:
      6891:     calling init: /lib/libnss_files.so.2
      6891:
      6891:
      6891:     calling init: /lib/libnss_nis.so.2
      6891:
      6891:     opening file=/lib/libnss_nis.so.2 [0]; opencount=1
      6891:
      6891:
      6891:     file=/usr/lib/cvsnt/pserver_protocol.so [0];  needed
by /usr/lib/libcvsapi-2.5.02.2040.so [0]
      6891:     file=/usr/lib/cvsnt/pserver_protocol.so [0];  generating
link map
      6891:       dynamic: 0xb7ca6014  base: 0xb7ca2000   size: 0x00004400
      6891:         entry: 0xb7ca3600  phdr: 0xb7ca2034  phnum:          6
      6891:
      6891:
      6891:     calling init: /usr/lib/cvsnt/pserver_protocol.so
      6891:
      6891:     opening file=/usr/lib/cvsnt/pserver_protocol.so [0];
opencount=1
      6891:
      6891:     /usr/lib/cvsnt/pserver_protocol.so: error: symbol lookup
error: undefined symbol: pserver_protocol_LTX_get_protocol_interface
(fatal)
Segmentation fault

Meanwhile, I'm doing a complete cvsnt rebuild, just in case. I know I did
some mucking around with some bonjour/zeroconf stuff, which could have
cause things to go pear-shaped.


-- 
David Somers
VoIP: FWD 622885
PGP Key = 7E613D4E
Fingerprint = 53A0 D84B 7F90 F227 2EAB  4FD7 6278 E2A8 7E61 3D4E


More information about the cvsnt-dev mailing list