Hi<br>&nbsp;&nbsp; I try all your recomendations, and I get a 12Mb core dump file. Do you want that I send it ? Private email or to the maillist ??<br><br>thanks in advance, and soryy for my english ! <br>;-)<br>j<br><br><div><span class="gmail_quote">
On 9/27/07, <b class="gmail_sendername">Sebastian Harl</b> &lt;<a href="mailto:sh@tokkee.org">sh@tokkee.org</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Justo,<br><br>On Thu, Sep 27, 2007 at 05:49:15PM +0200, Justo Alonso wrote:<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Two days ago, I wrote to the list about a perl plugin example (thanks,<br>&gt; again!) but the plugin doesn&#39;t&nbsp;&nbsp;work. When I try the example plugin, the
<br>&gt; write callback function crashes (segfault) collectd daemon. If I comment the<br>&gt; plugin_register line of TYPE_WRITE, it doesn&#39;t crash, but the data is not<br>&gt; sent to the server. I try<br><br>The plugin works fine for me. This is most probably a bug (or yet another
<br>strange system dependent behavior of perl) in the perl plugin (as in perl.so)<br>but not MyPlugin.pm. Debugging the perl plugin is somewhat awkward. Can you<br>please generate a core dump and send in the core file, the collectd binary,
<br>perl.so, collectd.conf, MyPlugin.pm (in case you changed anything) and the<br>output generated by collectd. To generate the core file, you probably have to<br>do something like the following:<br><br>&nbsp;&nbsp;% ulimit -c unlimited
<br>&nbsp;&nbsp;% collectd -f &gt; collectd.out 2&gt;&amp;1<br><br>It would be very helpful if you recompile collectd with --enable-debug, enable<br>the logfile plugin and configure it to write to stdout and set the debug level<br>
to &quot;debug&quot;.<br><br>Thanks in advance.<br><br>HTH,<br>Sebastian<br><br>--<br>Sebastian &quot;tokkee&quot; Harl +++ GnuPG-ID: 0x8501C7FC +++ <a href="http://tokkee.org/">http://tokkee.org/</a><br><br>Those who would give up Essential Liberty to purchase a little Temporary
<br>Safety, deserve neither Liberty nor Safety.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Benjamin Franklin<br><br><br>-----BEGIN PGP SIGNATURE-----<br>Version: GnuPG v1.4.6 (GNU/Linux)<br><br>iD8DBQFG+9ZUEFEKc4UBx/wRAmuPAJ9iMqKZuYmQ7NsRq/nM/R1nliGSdACgi7HN
<br>MUn+YVDQRXwKW4de34ACQyM=<br>=TsoE<br>-----END PGP SIGNATURE-----<br><br>_______________________________________________<br>collectd mailing list<br><a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br><a href="http://mailman.verplant.org/listinfo/collectd">
http://mailman.verplant.org/listinfo/collectd</a><br><br></blockquote></div><br>