<br><div class="gmail_quote">2011/1/5 Zach La Celle <span dir="ltr">&lt;<a href="mailto:lacelle@roboticresearch.com">lacelle@roboticresearch.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


  
    
  
  <div bgcolor="#ffffff" text="#000000"><div><div></div><div class="h5">
    On 01/04/2011 08:20 AM, Arnaud Quette wrote:
    <blockquote type="cite"><br>
      <div class="gmail_quote">2011/1/4 Charles Lepple <span dir="ltr">&lt;<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
          <div>On Mon, Jan 3, 2011 at 8:29 AM, Zach La Celle<br>
            &lt;<a href="mailto:lacelle@roboticresearch.com" target="_blank">lacelle@roboticresearch.com</a>&gt;
            wrote:<br>
            &gt; On 12/29/2010 10:00 AM, Zach La Celle wrote:<br>
            &gt;&gt;<br>
            &gt;&gt; On 12/29/2010 08:34 AM, Charles Lepple wrote:<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt; On Dec 27, 2010, at 9:36 AM, Zach La Celle
            wrote:<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt; I ran this in debug mode and captures the
            backtrace.<br>
            &gt;&gt;&gt;&gt;<br>
            &gt;&gt;&gt;&gt; root@*********:/etc/nut# upsd -D<br>
            &gt;&gt;&gt;&gt; Network UPS Tools upsd 2.4.3<br>
            &gt;&gt;&gt;&gt;  0.000000     listening on 0.0.0.0 port
            3493<br>
            &gt;&gt;&gt;&gt;  0.000354     Connected to UPS [rack1ups]:
            apcsmart-rack1ups<br>
            &gt;&gt;&gt;&gt;  2.550554     User <a href="mailto:upsmon@127.0.0.1" target="_blank">upsmon@127.0.0.1</a>
            logged into UPS [rack1ups]<br>
            &gt;&gt;&gt;&gt; *** glibc detected *** upsd: free():
            invalid next size (fast):<br>
            &gt;&gt;&gt;&gt; 0x00000000012c9870 ***<br>
            &gt;&gt;&gt;<br>
            &gt;&gt;&gt; Can you give us some background information
            about this system? What OS<br>
            &gt;&gt;&gt; and version, who built the package, etc.<br>
            <br>
          </div>
          Just to be sure, are you running the Ubuntu-provided package,
          or<br>
          something from another package repository? Which version of
          Ubuntu?<br>
          <br>
          Running valgrind might produce similarly opaque results
          without debug<br>
          symbols (which you can enable if you build from source).</blockquote>
        <div><br>
          debug syms are available as separate debs.<br>
          As an example, for Ubuntu, look here:<br>
          <a href="https://wiki.kubuntu.org/DebuggingProgramCrash" target="_blank">https://wiki.kubuntu.org/DebuggingProgramCrash</a><br>
          <br>
          then look for installing {nut,libupsclient}-dbgsym and others
          if needed otherwise...<br>
          <br>
        </div>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> That is a bit<br>
          more involved, though (especially if you want to keep the
          installed<br>
          files in the same place) so I&#39;d try that after Arjen&#39;s
          suggestion with<br>
          &quot;-DDD&quot;.<br>
        </blockquote>
      </div>
      <br>
      seconded for a first run.<br clear="all">
      <br>
      cheers,<br>
      Arnaud<br>
      -- <br>
      Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
      Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
      Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
      Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br>
      <br>
    </blockquote></div></div>
    The only extra package I could find is the &quot;dev&quot; package.  I&#39;m not
    sure if that contains debugging symbols.<br>
    <br>
    I&#39;m running with the &quot;-DDD&quot; option now.  It hasn&#39;t crashed over the
    weekend, so we&#39;ll see how long it takes to crash now.  I&#39;m getting
    source to try and rebuild it so that I can walk through in GDB if
    necessary.<br></div></blockquote></div><br>have you looked at the pointer I&#39;ve sent, *and* applied the various mentioned actions (adding key and repository, refresh apt cache, ...)?<br><br>otherwise, you won&#39;t see these packages!<br>
I still fail to see what is your exact system (Ubuntu? which version?) apart from the arch which is x86_64...<br clear="all"><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>
Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>