<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[netxmsd segmentation faults]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">For the last couple of days the netxmsd process on our server has been segfaulting randomly. Randomly in that debug logs ( at level 8 ) do not hint at the same thing being done prior to the crash. However it does usually take a couple of hours before the process crashes.</p>
<p dir="auto">Not sure how to troubleshooting this?<br />
I've been reading up on gdb and am following some suggestions from this post: <a href="http://stackoverflow.com/questions/16169022/debugging-a-running-daemon-using-gdb" rel="nofollow ugc">http://stackoverflow.com/questions/16169022/debugging-a-running-daemon-using-gdb</a><br />
Not sure if that is going to produce any useful output at all.</p>
<p dir="auto">Anything else I can do to troubleshoot this?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/topic/4459/netxmsd-segmentation-faults</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:49:39 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4459.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 May 2016 04:23:58 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to netxmsd segmentation faults on Thu, 25 Aug 2016 14:59:55 GMT]]></title><description><![CDATA[<p dir="auto">Could you please run netxmsd under gdb and send backtrace after crash? Here is the instruction: <a href="https://wiki.netxms.org/wiki/Running_NetXMS_under_debugger" rel="nofollow ugc">https://wiki.netxms.org/wiki/Running_NetXMS_under_debugger</a></p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/20778</link><guid isPermaLink="true">https://forum.netxms.org/post/20778</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 25 Aug 2016 14:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Mon, 22 Aug 2016 23:04:32 GMT]]></title><description><![CDATA[<p dir="auto">I decided to re-enable the template in 2.0.5 and unfortunately the issue persists.<br />
Once I enable the template, the NetXMS server crashes within a few hours.<br />
When I disable the template again, NetXMS runs stable and without issues.</p>
<p dir="auto">This is driving me nuts... I'm not exactly a code/debug whiz, so what do I have to do to get some debugging data that would help with fixing this?</p>
]]></description><link>https://forum.netxms.org/post/20753</link><guid isPermaLink="true">https://forum.netxms.org/post/20753</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 22 Aug 2016 23:04:32 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Fri, 27 May 2016 07:26:27 GMT]]></title><description><![CDATA[<p dir="auto">Template seems normal, nothing unusual. Even if agent returns texts in some fields server should handle it correctly. There were some fixes in 2.0.4, you can try to re-enable this template when 2.0.4 will be available. If it will not help, then the only way to debug issue will be to run netxmsd under debugger and wait for crash.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/19956</link><guid isPermaLink="true">https://forum.netxms.org/post/19956</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 27 May 2016 07:26:27 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Mon, 16 May 2016 21:58:26 GMT]]></title><description><![CDATA[<p dir="auto">Looks like that was it. No more segfaults.<br />
I have attached the template that is causing the problem.</p>
<p dir="auto">After some digging in the database (prior to removing the template from all relevant devices) I found that the devices (old Intel Modular servers) appear to send "SCM Comm Error" as response to random values at times. The template includes a number of Integer and Int64 fields, including in SNMP tables. Not sure if that's what is causing the problem, i.e. NetXMS receiving "SCM Comm Error", trying to put that into an Int64 field?</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000003004-IntelModular.xml">IntelModular.xml</a></p>
]]></description><link>https://forum.netxms.org/post/19882</link><guid isPermaLink="true">https://forum.netxms.org/post/19882</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 16 May 2016 21:58:26 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Mon, 16 May 2016 00:56:50 GMT]]></title><description><![CDATA[<p dir="auto">I may have found the culprit. There have been two segfaults right after the same type of DCI alarm was triggered. And a third one just now, "live" while I was connected. An alert popped up relating to that type of DCI and NetXMS died together with displaying the message. However, there were several segfaults without a directly related log message. So to confirm, I've made some config changes and am now monitoring to see if the segfaults actually stop.</p>
<p dir="auto">Will update the post once I have some more data (i.e. no segfault in the next 24 hours would be a good sign).</p>
]]></description><link>https://forum.netxms.org/post/19866</link><guid isPermaLink="true">https://forum.netxms.org/post/19866</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Mon, 16 May 2016 00:56:50 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Sun, 15 May 2016 14:32:03 GMT]]></title><description><![CDATA[<p dir="auto">I can provide you with built packages from the develop branch if you wish.</p>
]]></description><link>https://forum.netxms.org/post/19865</link><guid isPermaLink="true">https://forum.netxms.org/post/19865</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Sun, 15 May 2016 14:32:03 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Sun, 15 May 2016 11:09:51 GMT]]></title><description><![CDATA[<p dir="auto">We're not using the NXSL function for the ExpectedState (yet), but we certainly have some SNMP traps coming in.<br />
Maybe some device we're monitoring or added recently is having issues and just happens to be sending one of those "bad" traps.<br />
Guess I'll wait for 2.0.4 and see what happens.</p>
]]></description><link>https://forum.netxms.org/post/19864</link><guid isPermaLink="true">https://forum.netxms.org/post/19864</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Sun, 15 May 2016 11:09:51 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Sat, 14 May 2016 10:25:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">also 2.0.3 may crash on receiving some SNMP traps (fixed in develop branch as well).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/19846</link><guid isPermaLink="true">https://forum.netxms.org/post/19846</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 14 May 2016 10:25:36 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Fri, 13 May 2016 12:26:34 GMT]]></title><description><![CDATA[<p dir="auto">Are you using "Interface::setExpectedState" NXSL functions by any chance?<br />
There was a bug that would cause segfaults that is fixed in develop branch.</p>
<p dir="auto">If not, your best bet in this case is to contact official Raden support, so they can help you out.<br />
<a href="https://www.netxms.org/contact/" rel="nofollow ugc">https://www.netxms.org/contact/</a></p>
]]></description><link>https://forum.netxms.org/post/19832</link><guid isPermaLink="true">https://forum.netxms.org/post/19832</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Fri, 13 May 2016 12:26:34 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Fri, 13 May 2016 11:53:20 GMT]]></title><description><![CDATA[<p dir="auto">NetXMS Version 2.0.3<br />
Running on Ubuntu 14.04.4 LTS, using packages from "deb <a href="http://packages.netxms.org/ubuntu" rel="nofollow ugc">http://packages.netxms.org/ubuntu</a> trusty main".</p>
<p dir="auto">nxdbmgr comes back clean. But I guess that doesn't mean it couldn't be some database corruption bringing NetXMS to fall.</p>
]]></description><link>https://forum.netxms.org/post/19830</link><guid isPermaLink="true">https://forum.netxms.org/post/19830</guid><dc:creator><![CDATA[Tursiops]]></dc:creator><pubDate>Fri, 13 May 2016 11:53:20 GMT</pubDate></item><item><title><![CDATA[Reply to netxmsd segmentation faults on Fri, 13 May 2016 09:41:18 GMT]]></title><description><![CDATA[<p dir="auto">We need more information.</p>
<p dir="auto">What version of NetXMS are you using?<br />
What OS?</p>
<p dir="auto">Are you compiling from source using using .deb packages?</p>
]]></description><link>https://forum.netxms.org/post/19829</link><guid isPermaLink="true">https://forum.netxms.org/post/19829</guid><dc:creator><![CDATA[tomaskir]]></dc:creator><pubDate>Fri, 13 May 2016 09:41:18 GMT</pubDate></item></channel></rss>