Package: hobbit
Version: 4.2.0.dfsg-14
Severity: normal

After adding a new https-URL to our bb-hosts configuration bbtest-net
dies every 5 minutes with signal 6 and the message 
 xstrdup: Cannot dup NULL string

I recompiled hobbit without stripping and got the following backtrace:

Core was generated by `/usr/lib/hobbit/server/bin/bbtest-net --report --ping 
--checkresponse'.
Program terminated with signal 6, Aborted.
[New process 30961]
#0  0xb7f3b424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7f3b424 in __kernel_vsyscall ()
#1  0xb7c06640 in raise () from /lib/i686/cmov/libc.so.6
#2  0xb7c08018 in abort () from /lib/i686/cmov/libc.so.6
#3  0x0805d742 in xstrdup (s=0x0) at memory.c:169
#4  0x0805248a in setup_ssl (item=0x96117c8) at contest.c:626
#5  0x08053c90 in do_tcp_tests (timeout=10, concurrency=246) at contest.c:998
#6  0x08050922 in main (argc=4, argv=0xbfe55394) at bbtest-net.c:2284

I fear that the problem is triggered by a very long living SSL
certificate, which expires on 11.12.2054 (I know that this doesn't
make sense, but it's an internal appliance, where the vendor issued
the certificate).

contest.c:626 is:
        certend = strdup(bbgen_ASN1_UTCTIME(X509_get_notAfter(peercert)));

Adding "nosslcert" to the bb-hosts line doesn't solve the problem, so
I don't have a workaround at the moment.


Tschoeeee

        Roland

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hobbit depends on:
ii  hobbit-client              4.2.0.dfsg-14 client for the Hobbit network moni
ii  libc6                      2.7-14        GNU C Library: Shared libraries
ii  libldap-2.4-2              2.4.10-3      OpenLDAP libraries
ii  libpcre3                   7.6-2.1       Perl 5 Compatible Regular Expressi
ii  libpng12-0                 1.2.27-2      PNG library - runtime
ii  librrd4                    1.3.1-4       Time-series data storage and displ
ii  libssl0.9.8                0.9.8g-13     SSL shared libraries

hobbit recommends no packages.

hobbit suggests no packages.

-- no debconf information

Tschoeeee

        Roland

-- 
Roland Rosenfeld  -  Content Delivery  -  NED  -  Technik
NetCologne Gesellschaft für Telekommunikation mbH  -  HRB 25580, AG Köln
Am Coloneum 9   50829 Köln   Tel.: +49-221-2222-373   Fax: +49-221-2222-7373
Geschäftsführer: Werner Hanf, Karl-Heinz Zankel



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to