<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=227401613-22032007><FONT face=Arial
color=#0000ff size=2>Allan,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=227401613-22032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=227401613-22032007><FONT face=Arial
color=#0000ff size=2>Thanks for taking the time to send such an informative and
helpful note!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=227401613-22032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=227401613-22032007><FONT face=Arial
color=#0000ff size=2>GLH</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Allan.Marillier@dana.com
[mailto:Allan.Marillier@dana.com] <BR><B>Sent:</B> Thursday, March 22, 2007
7:02 AM<BR><B>To:</B> hobbit@hswn.dk<BR><B>Subject:</B> Re: [hobbit] bbtest
crash & core dumping<BR></FONT><BR></DIV>
<DIV></DIV><BR><FONT face=sans-serif size=2>Thanks to some help from Henrik I
have solved my purple messages and hobbitd_client crashing problem. The clue
was in the gdb analysis which I had noticed but wasn't totally sure what it
meant.</FONT> <BR><TT><FONT size=2>Reading symbols from
/lib/libpcre.so.0...(no debugging symbols found)...done.</FONT></TT><FONT
size=3> </FONT><TT><FONT size=2><BR>Loaded symbols for
/lib/libpcre.so.0</FONT></TT><FONT size=3> </FONT><BR><BR><FONT
face=sans-serif size=2>The problem is to do with regular expressions. Henrik
suggested my bb-hosts but I have no regex's configured in there so I went to
check my hobbit-alerts.cfg and hobbit-clients.cfg. As I'm not too good with
regular expressions I started by commenting out all the most recently added
custom alerts and narrowed my problem down to a few custom alerts where I had
tried to tell hobbit which messages to ignore. I need to add some better rules
to allow me to better detect the messages I want and ignore a few messages
which I don't want.</FONT> <BR><BR><FONT face=sans-serif size=2>In the process
I asked Henrik if he had any regex checking tools, but went out and did some
searching myself as well. I found quite a good tutorial at
http://www.regular-expressions.info (with a lot of encouragement to buy their
regex capable text editor and some other regex tools), as well as a number of
freeware regex checking tools that might be useful to others both in learning
and testing regex configurations.</FONT> <BR><BR><FONT face=sans-serif
size=2>Not listed in any particular order (I'm still checking them out to see
which is most useful) - your milage may vary, and I don't endorse any of these
apps or have any connection to any of them in any way:</FONT> <BR><FONT
face=sans-serif size=2>Regex Builder -
http://renschler.net/RegexBuilder/</FONT> <BR><FONT face=sans-serif
size=2>Regex Coach - http://www.weitz.de/regex-coach/</FONT> <BR><FONT
face=sans-serif size=2>Regular Expression Laboratory -
http://silveragesoftware.com/rxl.html</FONT> <BR><FONT face=sans-serif
size=2>Funduc Search and Replace Regular Expression Wizard -
http://www.funduc.com/search_replace_wizard_ex.htm</FONT> <BR><BR><FONT
face=sans-serif size=2>Some are simple zip files, some require a Windows
installation, but you can use another tool called Universal Extractor to
unpack them if you want to just test them without the formal Windows
installation process.<BR></FONT><FONT size=3><BR></FONT><BR><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="40%"><FONT face=sans-serif
size=1><B>Allan.Marillier@dana.com</B> </FONT>
<P><FONT face=sans-serif size=1>03/16/2007 07:44 AM</FONT>
<TABLE border=1>
<TBODY>
<TR vAlign=top>
<TD bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond
to<BR>hobbit@hswn.dk</FONT></DIV></TR></TBODY></TABLE><BR></P>
<TD width="59%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD><FONT face=sans-serif size=1>hobbit@hswn.dk</FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>Re: [hobbit] bbtest crash &
core dumping</FONT></TR></TBODY></TABLE><BR>
<TABLE>
<TBODY>
<TR vAlign=top>
<TD>
<TD></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><BR><BR><FONT
face=sans-serif size=2><BR>I posted a new query a week or so ago because I was
having the same problem even after I had added --no-ares to my
hobbitlaunch.cfg so I thought it might be a different issue.</FONT><FONT
size=3> <BR></FONT><FONT face=sans-serif size=2><BR>Yesterday I tried moving
my hobbit workload to a Fedora 6 system and I have the same problem. This is
no longer erratic, it's all the time. Any other suggestions?</FONT><FONT
size=3> <BR></FONT><FONT face=sans-serif size=2><BR>From my
hobbitlaunch.cfg:</FONT><FONT size=3> <BR></FONT><TT><FONT
size=2><BR>[bbnet]</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>
ENVFILE
/usr/lib/hobbit/server/etc/hobbitserver.cfg</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR> NEEDS
hobbitd</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>
CMD bbtest-net --report --ping --checkresponse
--no-ares</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>
LOGFILE $BBSERVERLOGS/bb-network.log</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR> INTERVAL
5m</FONT></TT><FONT size=3> <BR></FONT><FONT face=sans-serif size=2><BR>From
the gdb dump analysis:</FONT><FONT size=3> <BR><BR></FONT><TT><FONT
size=2><BR># gdb /usr/lib/hobbit/server/bin/hobbitd_client
core.18931</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>GNU gdb Red
Hat Linux (6.5-15.fc6rh)</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>Copyright (C) 2006 Free Software Foundation, Inc.</FONT></TT><FONT
size=3> </FONT><TT><FONT size=2><BR>GDB is free software, covered by the GNU
General Public License, and you are</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>welcome to change it and/or distribute copies of it under certain
conditions.</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>Type "show
copying" to see the conditions.</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>There is absolutely no warranty for GDB. Type "show warranty"
for details.</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>This GDB was
configured as "i386-redhat-linux-gnu"...</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR>(no debugging symbols found)</FONT></TT><FONT
size=3> </FONT><TT><FONT size=2><BR>Using host libthread_db library
"/lib/i686/nosegneg/libthread_db.so.1".</FONT></TT><FONT size=3>
<BR><BR></FONT><TT><FONT size=2><BR>warning: Can't read pathname for load map:
Input/output error.</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>Reading symbols from /lib/libpcre.so.0...(no debugging symbols
found)...done.</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>Loaded
symbols for /lib/libpcre.so.0</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>Reading symbols from /lib/i686/nosegneg/libc.so.6...(no debugging
symbols found)...done.</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>Loaded symbols for /lib/i686/nosegneg/libc.so.6</FONT></TT><FONT
size=3> </FONT><TT><FONT size=2><BR>Reading symbols from
/lib/ld-linux.so.2...</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>(no
debugging symbols found)...done.</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>Loaded symbols for /lib/ld-linux.so.2</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR>Failed to read a valid object file image from
memory.</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>Core was
generated by `hobbitd_client'.</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>Program terminated with signal 6, Aborted.</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR>#0 0x005a3402 in ?? ()</FONT></TT><FONT
size=3> </FONT><TT><FONT size=2><BR>(gdb) bt</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR>#0 0x005a3402 in ?? ()</FONT></TT><FONT
size=3> </FONT><TT><FONT size=2><BR>#1 0x00af8f30 in raise () from
/lib/i686/nosegneg/libc.so.6</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>#2 0x00afa811 in abort () from
/lib/i686/nosegneg/libc.so.6</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>#3 0x08062363 in ?? ()</FONT></TT><FONT size=3>
</FONT><TT><FONT size=2><BR>#4 0x0806cee0 in pcre_free
()</FONT></TT><FONT size=3> </FONT><TT><FONT size=2><BR>#5 0x00000000 in
?? ()</FONT></TT><FONT size=3> </FONT><TT><FONT
size=2><BR>(gdb)</FONT></TT><FONT size=3><BR></FONT><FONT face=Arial
size=1><BR></FONT><FONT size=3><BR><BR><BR></FONT>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="45%"><FONT face=sans-serif size=1><B>henrik@hswn.dk (Henrik
Stoerner)</B> </FONT>
<P><FONT face=sans-serif size=1>01/22/2007 10:56 AM</FONT><FONT size=3>
</FONT><BR>
<TABLE width="100%" border=4>
<TBODY>
<TR vAlign=top>
<TD width="100%" bgColor=white>
<DIV align=center><FONT face=sans-serif size=1>Please respond
to<BR>hobbit@hswn.dk</FONT></DIV></TR></TBODY></TABLE>
<P></P>
<TD width="54%">
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="16%">
<DIV align=right><FONT face=sans-serif size=1>To</FONT></DIV>
<TD width="83%"><FONT face=sans-serif
size=1>hobbit@hswn.dk</FONT><FONT size=3> </FONT>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>cc</FONT></DIV>
<TD>
<TR vAlign=top>
<TD>
<DIV align=right><FONT face=sans-serif size=1>Subject</FONT></DIV>
<TD><FONT face=sans-serif size=1>Re: [hobbit] bbtest crash &
core dumping</FONT></TR></TBODY></TABLE><BR><BR>
<TABLE width="100%">
<TBODY>
<TR vAlign=top>
<TD width="50%">
<TD width="50%"></TR></TBODY></TABLE><BR></TR></TBODY></TABLE><BR><FONT
size=3><BR><BR></FONT><TT><FONT size=2><BR>On Mon, Jan 22, 2007 at 10:29:49AM
-0500, Allan.Marillier@dana.com wrote:<BR>> I have a problem on a Fedora
Core 5 server that comes up at random <BR>> intervals with Henrik's rpm
version of hobbit 4.2.0-1 where my bbtest-net <BR>> causes core dumps every
5 minutes and all tests turn purple.<BR>> Any suggestions please? (I do
have some core dumps saved but I'm not too <BR>> familiar with gdb
debugging)<BR><BR>See
http://www.hswn.dk/hobbit/help/known-issues.html#bugreport
for<BR>instructions.<BR><BR>Adding a "--no-ares" option to the bbtest-net
command in<BR>hobbitlaunch.cfg might help; we know there is a bug in the
C-ARES<BR>library used for DNS lookups, but it is apparently something which
only <BR>triggers occasionally (or in specific
setups).<BR><BR><BR>Henrik<BR><BR><BR>To unsubscribe from the hobbit list,
send an e-mail to<BR>hobbit-unsubscribe@hswn.dk<BR><BR></FONT></TT><FONT
size=3><BR></FONT><BR>
<HR>
<P><FONT face=Arial size=1>This e-mail, and any attachments, is intended
solely for use by the addressee(s) named above. It may contain the
confidential or proprietary information of Dana Corporation, its subsidiaries,
affiliates or business partners. If you are not the intended recipient of this
e-mail or are an unauthorized recipient of the information, you are hereby
notified that any dissemination, distribution or copying of this e-mail or any
attachments, is strictly prohibited. If you have received this e-mail in
error, please immediately notify the sender by reply e-mail and permanently
delete the original and any copies or printouts.</FONT>
<P><FONT face=Arial size=1>Computer viruses can be transmitted via email. The
recipient should check this e-mail and any attachments for the presence of
viruses. Dana Corporation accepts no liability for any damage caused by any
virus transmitted by this e-mail.</FONT>
<P><FONT face=Arial size=1>English, Francais, Espanol, Deutsch, Italiano,
Portugues:</FONT><FONT face=Arial color=blue size=1><U><BR></U></FONT><A
href="http://www.dana.com/overview/EmailDisclaimer.shtm"><FONT face=Arial
color=blue
size=1><U>http://www.dana.com/overview/EmailDisclaimer.shtm</U></FONT></A><FONT
face=Arial size=1> </FONT>
<HR>
<P><PRE></PRE>
<DIV style="FONT-SIZE: 8pt; FONT-FAMILY: arial">
<HR>
<P>This e-mail, and any attachments, is intended solely for use by the
addressee(s) named above. It may contain the confidential or proprietary
information of Dana Corporation, its subsidiaries, affiliates or business
partners. If you are not the intended recipient of this e-mail or are an
unauthorized recipient of the information, you are hereby notified that any
dissemination, distribution or copying of this e-mail or any attachments, is
strictly prohibited. If you have received this e-mail in error, please
immediately notify the sender by reply e-mail and permanently delete the
original and any copies or printouts.</P>
<P>Computer viruses can be transmitted via email. The recipient should check
this e-mail and any attachments for the presence of viruses. Dana Corporation
accepts no liability for any damage caused by any virus transmitted by this
e-mail.</P>English, Francais, Espanol, Deutsch, Italiano, Portugues:<BR><A
href="http://www.dana.com/overview/EmailDisclaimer.shtm">http://www.dana.com/overview/EmailDisclaimer.shtm</A>
<HR>
</DIV></BLOCKQUOTE></BODY></HTML>