<div dir="ltr"><div><div>We have 4.3.12<br></div>And the command dumps core in the same way.<br></div><br><div><div><div><br><font size="1"><span style="font-family:monospace,monospace">$ printf "@@data#0/host|||||conn||\ndata host.trends\n\n@@\n" | XYMONTMP=/tmp ~xymon/server/bin/xymond_rrd --rrddir=/dev/null --debug<br>16816 2015-03-11 12:38:02 Opening file /opt/local/xymon/server/etc/rrddefinitions.cfg<br>16816 2015-03-11 12:38:02 Want msg 1, startpos 0, fillpos 0, endpos -1, usedbytes=0, bufleft=528383<br>16816 2015-03-11 12:38:02 Got 46 bytes<br>16816 2015-03-11 12:38:02 /opt/local/xymon/server/bin/xymond_rrd: Got message 0 @@data#0/host|||||conn||<br>16816 2015-03-11 12:38:02 startpos 46, fillpos 46, endpos -1<br>16816 2015-03-11 12:38:02 Transport setup is:<br>16816 2015-03-11 12:38:02 xymondportnumber = 1984<br>16816 2015-03-11 12:38:02 xymonproxyhost = NONE<br>16816 2015-03-11 12:38:02 xymonproxyport = 0<br>16816 2015-03-11 12:38:02 Recipient listed as '172.21.219.192'<br>16816 2015-03-11 12:38:02 Standard protocol on port 1984<br>16816 2015-03-11 12:38:02 Will connect to address 172.21.219.192 port 1984<br>16816 2015-03-11 12:38:02 Connect status is 0<br>16816 2015-03-11 12:38:02 Sent 16 bytes<br>16816 2015-03-11 12:38:02 Read 15849 bytes<br>16816 2015-03-11 12:38:02 Closing connection<br>16816 2015-03-11 12:38:02 Opening file /opt/local/xymon/server/etc/analysis.cfg<br>16816 2015-03-11 12:38:02 Compiling regex ctrldom[A-D]<br>16816 2015-03-11 12:38:02 Compiling regex infdom[A-B]1<br>16816 2015-03-11 12:38:02 Compiling regex .+dom..<br>16816 2015-03-11 12:38:02 Compiling regex infdom[A-B]1|notesdomD1<br>16816 2015-03-11 12:38:02 Compiling regex [.:]80$<br>16816 2015-03-11 12:38:02 Compiling regex syn.*,%oradom.*<br>16816 2015-03-11 12:38:02 Compiling regex syn.*|oradom.*|SINFV.*<br>16816 2015-03-11 12:38:02 Compiling regex [.:]514$<br>16816 2015-03-11 12:38:02 Compiling regex [.:]3389$<br>16816 2015-03-11 12:38:02 Compiling regex energise.*<br>16816 2015-03-11 12:38:02 Compiling regex [.:]8989$<br>16816 2015-03-11 12:38:02 Compiling regex [.:]80$<br>16816 2015-03-11 12:38:02 Compiling regex [.:]4848$<br>16816 2015-03-11 12:38:02 Compiling regex [.:]8080$<br>16816 2015-03-11 12:38:02 Compiling regex ^/var/crash/.*<br>16816 2015-03-11 12:38:02 Compiling regex ^/var/core/.*<br>16816 2015-03-11 12:38:02 Compiling regex [.:]22$<br>16816 2015-03-11 12:38:02 Compiling regex sinfct.*|domino.*<br>16816 2015-03-11 12:38:02 Compiling regex [.:]80$<br>16816 2015-03-11 12:38:02 Compiling regex [.:]25$<br>16816 2015-03-11 12:38:02 Compiling regex sinfct.*|domino.*|SINFV.*|hermes|sirocco<br>16816 2015-03-11 12:38:02 Compiling regex SINFV.*<br>16816 2015-03-11 12:38:02 Compiling regex .*<br>16816 2015-03-11 12:38:02 Compiling regex ^error.*<br>16816 2015-03-11 12:38:02 Compiling regex ^error.*<br>16816 2015-03-11 12:38:02 Compiling regex .*restart/shutdown.*|.*Citrix<br>16816 2015-03-11 12:38:02 Compiling regex .*<br>16816 2015-03-11 12:38:02 Compiling regex ^warning.*<br>16816 2015-03-11 12:38:02 Compiling regex ^warning.*<br>16816 2015-03-11 12:38:02 Compiling regex .*MetaFrameEvents.*|.*restart/shutdown.*|.*Citrix-Multimedia-Flash.*|.*Printer<br>16816 2015-03-11 12:38:02 Compiling regex .*<br>16816 2015-03-11 12:38:02 Compiling regex ^failure.*<br>16816 2015-03-11 12:38:02 Compiling regex ^failure.*<br>16816 2015-03-11 12:38:02 Compiling regex ^/var/crash/.*<br>16816 2015-03-11 12:38:02 Compiling regex ^/var/core/.*<br>16816 2015-03-11 12:38:02 Compiling regex [.:]22$<br>16816 2015-03-11 12:38:02 Compiling regex ^/var/crash/.*<br>16816 2015-03-11 12:38:02 Compiling regex ^/var/core/.*<br>16816 2015-03-11 12:38:02 Compiling regex [.:]22$<br>16816 2015-03-11 12:38:02 Opening file /opt/local/xymon/server/etc/protocols.cfg<br>16816 2015-03-11 12:38:02 Service list dump<br>16816 2015-03-11 12:38:02  Name      : ftp<br>16816 2015-03-11 12:38:02    Sendtext: quit\r\n<br>16816 2015-03-11 12:38:02    Sendlen : 6<br>16816 2015-03-11 12:38:02    Exp.text: 220<br>16816 2015-03-11 12:38:02    Exp.len : 3<br>16816 2015-03-11 12:38:02    Exp.ofs : 0<br>16816 2015-03-11 12:38:02    Flags   : 1<br>16816 2015-03-11 12:38:02    Port    : 21<br>16816 2015-03-11 12:38:02  Name      : ftps<br>16816 2015-03-11 12:38:02    Sendtext: quit\r\n<br>16816 2015-03-11 12:38:02    Sendlen : 6<br>16816 2015-03-11 12:38:02    Exp.text: 220<br>16816 2015-03-11 12:38:02    Exp.len : 3<br>16816 2015-03-11 12:38:02    Exp.ofs : 0<br>16816 2015-03-11 12:38:02    Flags   : 5<br>16816 2015-03-11 12:38:02    Port    : 990<br>16816 2015-03-11 12:38:02  Name      : ssh<br>16816 2015-03-11 12:38:02    Sendtext: SSH-2.0-OpenSSH_4.1\r\n<br>16816 2015-03-11 12:38:02    Sendlen : 21<br>16816 2015-03-11 12:38:02    Exp.text: SSH<br>16816 2015-03-11 12:38:02    Exp.len : 3<br>16816 2015-03-11 12:38:02    Exp.ofs : 0<br>16816 2015-03-11 12:38:02    Flags   : 1<br>16816 2015-03-11 12:38:02    Port    : 22<br>16816 2015-03-11 12:38:02  Name      : ssh1<br>16816 2015-03-11 12:38:02    Sendtext: SSH-2.0-OpenSSH_4.1\r\n<br>16816 2015-03-11 12:38:02    Sendlen : 21<br>16816 2015-03-11 12:38:02    Exp.text: SSH<br>16816 2015-03-11 12:38:02    Exp.len : 3<br>16816 2015-03-11 12:38:02    Exp.ofs : 0<br>16816 2015-03-11 12:38:02    Flags   : 1<br>16816 2015-03-11 12:38:02    Port    : 22<br>16816 2015-03-11 12:38:02  Name      : ssh2<br>16816 2015-03-11 12:38:02    Sendtext: SSH-2.0-OpenSSH_4.1\r\n<br>16816 2015-03-11 12:38:02    Sendlen : 21<br>16816 2015-03-11 12:38:02    Exp.text: SSH<br>16816 2015-03-11 12:38:02    Exp.len : 3<br>16816 2015-03-11 12:38:02    Exp.ofs : 0<br>16816 2015-03-11 12:38:02    Flags   : 1<br>16816 2015-03-11 12:38:02    Port    : 22<br>16816 2015-03-11 12:38:02  Name      : telnet<br>16816 2015-03-11 12:38:02 Abort (core dumped)</span></font><br><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 March 2015 at 12:02, Jeremy Laidman <span dir="ltr"><<a href="mailto:jlaidman@rebel-it.com.au" target="_blank">jlaidman@rebel-it.com.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class="">On 11 March 2015 at 14:18, Vernon Everett <span dir="ltr"><<a href="mailto:everett.vernon@gmail.com" target="_blank">everett.vernon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div>I think you got that one nailed.<br></div></div></div></blockquote><div><br></div></span><div>You might be overselling this finding a little.  But it's progress nonetheless.</div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div></div></div>I added <br><div>  send ""</div><div>  expect ""<br></div><div>as you requested, and it cores again.<br></div><div>This time on the next entry, which is telnets<br></div></div></blockquote><div><br></div></span><div>I run v4.3.10, and I can't get it to dump core the same way yours does, when "--debug" is used.  Mine says "(null)" when there is no send or expect defined.  The source code file containing the code that triggers the core dump is identical to one from 4.3.18.  I've also tested it on a 4.3.18 installation (using the RPM package from Terabithia) but also won't fail.</div><div><br></div><div>Please can you try this:</div><div><br></div><div><div>printf "@@data#0/host|||||conn||\ndata host.trends\n\n@@\n" | XYMONTMP=/tmp ~xymon/server/bin/xymond_rrd --rrddir=/dev/null --debug</div></div><div><br></div><div>(adjust path to xymond_rrd and xymon username if required)</div><div><br></div><div>For me, this displays the debug output at least as far as when parsing the protocols.cfg file.  If this also dumps core for you then we can work on fixing the core dump without risking your production Xymon config.  You could also build a binary and run it from an alternative location so that the production binary isn't touched.</div><div><br></div><div>I realize this doesn't fix your problem for you.  But I'm optimistic that the debug output might point to where your problem is.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>J</div><div><br></div></font></span></div></div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><span>"Accept the challenges so that you can feel the exhilaration of victory"</span><div><span>- General George Patton</span></div></div>
</div>