<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Hobbit client logfetch core dumps on 4.2.0 with all the patches</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hello,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have one hobbit client that produces a core dump every 5 minutes when logfetch is run.  It is running the same version of Hobbit client (4.2.0 with all the patches, which I believe has the same logfetch.c as the latest snapshot) as another machine and both have the same OS (including same version of glibc) and the same client-local.cfg configuration on the Hobbit server.  However, only one of these machines core dumps.  Here is the back trace:</FONT></P>

<P><FONT SIZE=2 FACE="Arial">[root@myServer hobbit]# gdb /usr/libexec/hobbit/client/bin/logfetch core.2634</FONT>

<BR><FONT SIZE=2 FACE="Arial">GNU gdb Red Hat Linux (6.1post-1.20040607.41rh)</FONT>

<BR><FONT SIZE=2 FACE="Arial">Copyright 2004 Free Software Foundation, Inc.</FONT>

<BR><FONT SIZE=2 FACE="Arial">GDB is free software, covered by the GNU General Public License, and you are</FONT>

<BR><FONT SIZE=2 FACE="Arial">welcome to change it and/or distribute copies of it under certain conditions.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Type "show copying" to see the conditions.</FONT>

<BR><FONT SIZE=2 FACE="Arial">There is absolutely no warranty for GDB.  Type "show warranty" for details.</FONT>

<BR><FONT SIZE=2 FACE="Arial">This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1".</FONT></P>

<P><FONT SIZE=2 FACE="Arial">Reading symbols from shared object read from target memory...(no debugging symbols found)...done.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Loaded system supplied DSO at 0x1ed000</FONT>

<BR><FONT SIZE=2 FACE="Arial">Core was generated by `/usr/libexec/hobbit/client/bin/logfetch /usr/libexec/hobbit/client/tmp/logfetch'.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Program terminated with signal 11, Segmentation fault.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">warning: svr4_current_sos: Can't read pathname for load map: Input/output error</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Reading symbols from /lib/tls/libc.so.6...(no debugging symbols found)...done.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Loaded symbols for /lib/tls/libc.so.6</FONT>

<BR><FONT SIZE=2 FACE="Arial">Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Loaded symbols for /lib/ld-linux.so.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.</FONT>

<BR><FONT SIZE=2 FACE="Arial">Loaded symbols for /lib/libnss_files.so.2</FONT>

<BR><FONT SIZE=2 FACE="Arial">#0  0x009deb98 in re_search_internal () from /lib/tls/libc.so.6</FONT>

<BR><FONT SIZE=2 FACE="Arial">(gdb)</FONT>

<BR><FONT SIZE=2 FACE="Arial">(gdb)</FONT>

<BR><FONT SIZE=2 FACE="Arial">(gdb) bt</FONT>

<BR><FONT SIZE=2 FACE="Arial">#0  0x009deb98 in re_search_internal () from /lib/tls/libc.so.6</FONT>

<BR><FONT SIZE=2 FACE="Arial">#1  0x009e1a82 in regexec@@GLIBC_2.3.4 () from /lib/tls/libc.so.6</FONT>

<BR><FONT SIZE=2 FACE="Arial">#2  0x0000002e in ?? ()</FONT>

<BR><FONT SIZE=2 FACE="Arial">(gdb)</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">The client-local.cfg is this:</FONT>

<BR><FONT SIZE=2 FACE="Arial">[myServer]</FONT>

<BR><FONT SIZE=2 FACE="Arial">log:/var/log/messages:10240</FONT>

<BR><FONT SIZE=2 FACE="Arial">ignore session\s(?:closed|opened)\sfor\suser\sroot</FONT>

<BR><FONT SIZE=2 FACE="Arial">log:/var/log/maillog:10240</FONT>

<BR><FONT SIZE=2 FACE="Arial">dir:/var/spool/mqueue</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Eventually, of course, the partition fills up with all the core dumps!</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Kind regards,</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Sebastian </FONT>
</P>

</BODY>
</HTML>