<?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[segfault]]></title><description><![CDATA[<p dir="auto">hello, after creating Table DCI and columns in it server crash and do not start any way,</p>
<p dir="auto">command to start: /usr/local/bin/netxmsd -c /etc/netxmsd.conf -d<br />
log file:</p>
<p dir="auto">[04-Oct-2013 15:47:50.646] Log file opened<br />
[04-Oct-2013 15:47:50.650] [INFO ] Platform subagent "/usr/local/lib/libnsm_linux.so" successfully loaded<br />
[04-Oct-2013 15:47:50.655] [INFO ] Database driver "/usr/local/lib/libnxddr_mysql.so" loaded and initialized successfully<br />
[04-Oct-2013 15:47:50.678] [INFO ] Network device driver "NETSCREEN" loaded successfully<br />
[04-Oct-2013 15:47:50.678] [INFO ] Network device driver "DLINK" loaded successfully<br />
[04-Oct-2013 15:47:50.679] [INFO ] Network device driver "ERS8000" loaded successfully<br />
[04-Oct-2013 15:47:50.679] [INFO ] Network device driver "CISCO-ESW" loaded successfully<br />
[04-Oct-2013 15:47:50.679] [INFO ] Network device driver "PROCURVE" loaded successfully<br />
[04-Oct-2013 15:47:50.679] [INFO ] Network device driver "NTWS" loaded successfully<br />
[04-Oct-2013 15:47:50.680] [INFO ] Network device driver "CATALYST-GENERIC" loaded successfully<br />
[04-Oct-2013 15:47:50.680] [INFO ] Network device driver "SYMBOL-WS" loaded successfully<br />
[04-Oct-2013 15:47:50.680] [INFO ] Network device driver "BAYSTACK" loaded successfully<br />
[04-Oct-2013 15:47:50.680] [INFO ] Network device driver "DELL-PWC" loaded successfully<br />
[04-Oct-2013 15:47:50.681] [INFO ] Network device driver "CATALYST-2900XL" loaded successfully<br />
[04-Oct-2013 15:47:57.514] [INFO ] Listening for SNMP traps on UDP socket 0.0.0.0:162<br />
[04-Oct-2013 15:47:57.515] [INFO ] NetXMS Server started<br />
[04-Oct-2013 15:47:57.516] [INFO ] Listening for mobile device connections on TCP socket 0.0.0.0:4747<br />
[04-Oct-2013 15:47:57.516] [INFO ] Listening for client connections on TCP socket 0.0.0.0:4701</p>
<p dir="auto">but netxms not work in real and process list is its not started in /var/log/messages this</p>
<p dir="auto">Oct  4 15:32:20 syslog kernel: netxmsd[2029]: segfault at 0 ip b7212d03 sp b60ff07c error 4 in <a href="http://libc-2.11.1.so" rel="nofollow ugc">libc-2.11.1.so</a>[b7199000+15c000]<br />
Oct  4 15:44:36 syslog -- MARK --<br />
Oct  4 15:48:00 syslog kernel: netxmsd[19998]: segfault at 0 ip b7271d03 sp b65ff07c error 4 in <a href="http://libc-2.11.1.so" rel="nofollow ugc">libc-2.11.1.so</a>[b71f8000+15c000]</p>
<p dir="auto">syste is Linux Slackware.</p>
]]></description><link>https://forum.netxms.org/topic/2648/segfault</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:33:12 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2648.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 Oct 2013 11:57:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to segfault on Mon, 14 Oct 2013 06:44:20 GMT]]></title><description><![CDATA[<p dir="auto">i replace code and everything is the same here stack trace</p>
<p dir="auto">Program received signal SIGSEGV, Segmentation fault.<br />
[Switching to Thread 0xb70ffb70 (LWP 10813)]<br />
0xb7a15d03 in strlen () from /lib/libc.so.6<br />
(gdb) bt<br />
#0  0xb7a15d03 in strlen () from /lib/libc.so.6<br />
#1  0xb7f1dec1 in DCTable::processNewValue (this=0x81273a0, nTimeStamp=1381732962, value=0xb480c4f8) at dctable.cpp:389<br />
#2  0xb7f21120 in DataCollectionTarget::processNewDCValue (this=0x8128850, dco=0x81273a0, currTime=1381732962, value=0xb480c4f8) at dctarget.cpp:366<br />
#3  0xb7f0d1af in DataCollector (pArg=0x0) at datacoll.cpp:254<br />
#4  0xb7c38830 in start_thread () from /lib/libpthread.so.0<br />
#5  0xb7a7c15e in clone () from /lib/libc.so.6</p>
]]></description><link>https://forum.netxms.org/post/11521</link><guid isPermaLink="true">https://forum.netxms.org/post/11521</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Mon, 14 Oct 2013 06:44:20 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Fri, 11 Oct 2013 09:39:32 GMT]]></title><description><![CDATA[<p dir="auto">shit, i do wrong comment in file :((( sorry, one more time try</p>
]]></description><link>https://forum.netxms.org/post/11510</link><guid isPermaLink="true">https://forum.netxms.org/post/11510</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Fri, 11 Oct 2013 09:39:32 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Fri, 11 Oct 2013 09:37:56 GMT]]></title><description><![CDATA[<p dir="auto">i was change this string in file</p>
<p dir="auto">if ((s == NULL) || (_tcslen(s) &lt; MAX_DB_STRING))</p>
<p dir="auto">then</p>
<p dir="auto">./reconf<br />
./configure --with-server --with-agent<br />
./make<br />
./make install</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001424-netxms3.jpg" alt="netxms3.jpg" class="img-markdown  img-fluid" width="810" height="424" /></p>
]]></description><link>https://forum.netxms.org/post/11509</link><guid isPermaLink="true">https://forum.netxms.org/post/11509</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Fri, 11 Oct 2013 09:37:56 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Fri, 11 Oct 2013 08:51:49 GMT]]></title><description><![CDATA[<p dir="auto">Are you sure you apply patch and rebuild server correctly? It crashes in same place as if it was not patched. How line 389 in src/server/core/dctable.cpp looks like now?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11506</link><guid isPermaLink="true">https://forum.netxms.org/post/11506</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 11 Oct 2013 08:51:49 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Fri, 11 Oct 2013 07:08:19 GMT]]></title><description><![CDATA[<p dir="auto">trace with -D9 in attachment.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001423-strace.txt">strace.txt</a></p>
]]></description><link>https://forum.netxms.org/post/11503</link><guid isPermaLink="true">https://forum.netxms.org/post/11503</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Fri, 11 Oct 2013 07:08:19 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Fri, 11 Oct 2013 06:27:51 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Can you provide me a stack trace from debugger?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11502</link><guid isPermaLink="true">https://forum.netxms.org/post/11502</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 11 Oct 2013 06:27:51 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Fri, 11 Oct 2013 05:43:42 GMT]]></title><description><![CDATA[<p dir="auto">i tried recompile with changings, that is not help, server cruch after activate table, see attachments</p>
<p dir="auto">maybe problem is in the oid's of vpn tunnel ifindex interface, it is changed after any reconnect or some time ago after time to live ends.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001419-netxms1.jpg" alt="netxms1.jpg" class="img-markdown  img-fluid" width="991" height="551" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000001421-netxms2.jpg" alt="netxms2.jpg" class="img-markdown  img-fluid" width="888" height="567" /></p>
]]></description><link>https://forum.netxms.org/post/11501</link><guid isPermaLink="true">https://forum.netxms.org/post/11501</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Fri, 11 Oct 2013 05:43:42 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Tue, 08 Oct 2013 06:43:26 GMT]]></title><description><![CDATA[<p dir="auto">hello, yes it is snmp table, but as i understand the error happend when apply snmp table with some mistakes, for now i compile server from source and apply correct table and everything work, i will testing more and when the error will happend i'll try your issue, and sorry for my bad english <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/11483</link><guid isPermaLink="true">https://forum.netxms.org/post/11483</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Tue, 08 Oct 2013 06:43:26 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Tue, 08 Oct 2013 06:08:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Was this SNMP or agent table? Looks very similar to <a href="https://www.netxms.org/forum/configuration/netxms-server-crash-1-2-9" rel="nofollow ugc">https://www.netxms.org/forum/configuration/netxms-server-crash-1-2-9</a>.</p>
<p dir="auto">If you built server from sources, try to replace line 389 in file src/server/core/dctable.cpp which currently should looks like</p>
<pre><code>if (_tcslen(s) &lt; MAX_DB_STRING)
</code></pre>
<p dir="auto">with</p>
<pre><code>if ((s == NULL) || (_tcslen(s) &lt; MAX_DB_STRING))
</code></pre>
<p dir="auto">and rebuild server.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/11479</link><guid isPermaLink="true">https://forum.netxms.org/post/11479</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 08 Oct 2013 06:08:02 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Mon, 07 Oct 2013 08:16:47 GMT]]></title><description><![CDATA[<p dir="auto">helps only removing that nodes from mysql manualy, can anybody said did dci table function work or not ?</p>
]]></description><link>https://forum.netxms.org/post/11469</link><guid isPermaLink="true">https://forum.netxms.org/post/11469</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Mon, 07 Oct 2013 08:16:47 GMT</pubDate></item><item><title><![CDATA[Reply to segfault on Mon, 07 Oct 2013 05:22:46 GMT]]></title><description><![CDATA[<p dir="auto">here is debug info</p>
<p dir="auto">[07-Oct-2013 09:21:07.142] [DEBUG] DCTable::columnIdFromName(): column name VM name added to cache, ID=2<br />
[07-Oct-2013 09:21:07.142] [DEBUG] {0x804ded0} bind at pos 1: "1482969814819930112"<br />
[07-Oct-2013 09:21:07.142] [DEBUG] {0x804ded0} bind at pos 2: "2"<br />
Segmentation fault</p>
<p dir="auto">any answers ?</p>
]]></description><link>https://forum.netxms.org/post/11466</link><guid isPermaLink="true">https://forum.netxms.org/post/11466</guid><dc:creator><![CDATA[kiaj]]></dc:creator><pubDate>Mon, 07 Oct 2013 05:22:46 GMT</pubDate></item></channel></rss>