<br><font size=2 face="sans-serif">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 size=2 face="sans-serif">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 size=2 face="sans-serif">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 size=2 face="sans-serif">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 size=2 face="sans-serif">Regex Builder - http://renschler.net/RegexBuilder/</font>
<br><font size=2 face="sans-serif">Regex Coach - http://www.weitz.de/regex-coach/</font>
<br><font size=2 face="sans-serif">Regular Expression Laboratory - http://silveragesoftware.com/rxl.html</font>
<br><font size=2 face="sans-serif">Funduc Search and Replace Regular Expression
Wizard - http://www.funduc.com/search_replace_wizard_ex.htm</font>
<br>
<br><font size=2 face="sans-serif">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%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Allan.Marillier@dana.com</b>
</font>
<p><font size=1 face="sans-serif">03/16/2007 07:44 AM</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
hobbit@hswn.dk</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">hobbit@hswn.dk</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [hobbit] bbtest crash & core
dumping</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2 face="sans-serif"><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 size=2 face="sans-serif"><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 size=2 face="sans-serif"><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 size=2 face="sans-serif"><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 size=1 face="Arial"><br>
</font><font size=3><br>
<br>
<br>
</font>
<table width=100%>
<tr valign=top>
<td width=45%><font size=1 face="sans-serif"><b>henrik@hswn.dk (Henrik
Stoerner)</b> </font>
<p><font size=1 face="sans-serif">01/22/2007 10:56 AM</font><font size=3>
</font>
<br>
<table border=4 width=100%>
<tr valign=top>
<td width=100% bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
hobbit@hswn.dk</font></div></table>
<p>
<td width=54%>
<table width=100%>
<tr valign=top>
<td width=16%>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td width=83%><font size=1 face="sans-serif">hobbit@hswn.dk</font><font size=3>
</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: [hobbit] bbtest crash & core
dumping</font></table>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=50%>
<td width=50%></table>
<br></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 size=1 face="Arial">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 size=1 face="Arial">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 size=1 face="Arial">English, Francais, Espanol, Deutsch, Italiano,
Portugues:</font><font size=1 color=blue face="Arial"><u><br>
</u></font><a href=http://www.dana.com/overview/EmailDisclaimer.shtm><font size=1 color=blue face="Arial"><u>http://www.dana.com/overview/EmailDisclaimer.shtm</u></font></a><font size=1 face="Arial">
</font>
<hr>
<p>
<pre></PRE>
<div style="font-family:arial;font-size:8pt;">
<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>