<?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 netxmsd crash]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">We are getting segfaults on the netxmsd after upgrading to 1.2.16.<br />
error is:</p>
<p dir="auto">netxmsd[32695]: segfault at 7f62ef0d666c ip 00007f62f3806dd0 sp 00007f62ef09ad50 error 4 in libnxcore.so.1.0.0</p>
<p dir="auto">OS is Oracle Linux (RedHat) 6.3 with kernel: 2.6.32-300.3.1.el6uek.x86_64<br />
glibc version is glibc-2.12-1.80.el6_3.6.i686</p>
]]></description><link>https://forum.netxms.org/topic/3342/segfault-netxmsd-crash</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 06:23:34 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3342.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Aug 2014 11:47:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to segfault netxmsd crash on Tue, 09 Sep 2014 17:34:53 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it seems that it is update of IP topology network map. I'll take a look at it.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14874</link><guid isPermaLink="true">https://forum.netxms.org/post/14874</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 09 Sep 2014 17:34:53 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Tue, 09 Sep 2014 17:27:49 GMT]]></title><description><![CDATA[<p dir="auto">Attached is the log from gdb.<br />
look for thread 9332, because it is this one which is currently running at 100%</p>
<p dir="auto">Regards,<br />
Edward</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001969-gdb_bt.log">gdb_bt.log</a></p>
]]></description><link>https://forum.netxms.org/post/14873</link><guid isPermaLink="true">https://forum.netxms.org/post/14873</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Tue, 09 Sep 2014 17:27:49 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Tue, 09 Sep 2014 15:42:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">when system will be on 100%, please attach to netxmsd process with gdb and send me result of command</p>
<p dir="auto">thread apply all bt</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14869</link><guid isPermaLink="true">https://forum.netxms.org/post/14869</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 09 Sep 2014 15:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Mon, 08 Sep 2014 20:52:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Some news:<br />
I have migrated my complete system from Oracle Linux to Debian 7.6<br />
and guess what? the problem is not reproduced yet...</p>
<p dir="auto">I will leave this new system running for now. see how it goes.<br />
only one thing: I see netxmsd running 100% continue.<br />
Maybe we have to look at that some time.</p>
<p dir="auto">Regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14865</link><guid isPermaLink="true">https://forum.netxms.org/post/14865</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 08 Sep 2014 20:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Mon, 08 Sep 2014 10:56:48 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">I have upgraded my system from Oracle Linux 6.3 to 6.5<br />
glibc unfortunately is not updated in the release.<br />
Also netxmsd crashed after giving it a flood of alarms.</p>
<p dir="auto">So, situation is not changed so far.<br />
Regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14862</link><guid isPermaLink="true">https://forum.netxms.org/post/14862</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 08 Sep 2014 10:56:48 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sun, 07 Sep 2014 12:42:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">so far our analysis shows that root of the problem is that some internal data structures are not initialized properly (if you are familiar with C++ - it seems that constructor for global instance of AlarmManager class is not called), although it is not clear why this happens. I try your binaries on CentOS 6.3 (closest that I can find) and it works as expected. Is it an option to do system upgrade to latest versions of kernel and glibc and try again? If this will not help, I'll re-write alarm manager initialization and provide you with intermediate build for testing.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14859</link><guid isPermaLink="true">https://forum.netxms.org/post/14859</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sun, 07 Sep 2014 12:42:46 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 21:37:34 GMT]]></title><description><![CDATA[<p dir="auto">I have uploaded a new core file.<br />
This one is generated by abrt<br />
regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14858</link><guid isPermaLink="true">https://forum.netxms.org/post/14858</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Sat, 06 Sep 2014 21:37:34 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 20:49:47 GMT]]></title><description><![CDATA[<p dir="auto">Thanks,</p>
<p dir="auto">I have uploaded the following files:<br />
core.tgz<br />
server-binaries.tgz</p>
<p dir="auto">do you need anything else?<br />
regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14857</link><guid isPermaLink="true">https://forum.netxms.org/post/14857</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Sat, 06 Sep 2014 20:49:47 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 19:54:57 GMT]]></title><description><![CDATA[<p dir="auto">You can upload it to our anonymous ftp at <a href="ftp://netxms.org/upload/" rel="nofollow ugc">ftp://netxms.org/upload/</a>. This FTP is upload-only and support encrypted TLS sessions (optional, you'll need compatible ftp client like FileZilla).</p>
]]></description><link>https://forum.netxms.org/post/14856</link><guid isPermaLink="true">https://forum.netxms.org/post/14856</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Sat, 06 Sep 2014 19:54:57 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 19:29:56 GMT]]></title><description><![CDATA[<p dir="auto">I have a core dump generated.<br />
How would you like me to send/upload it?<br />
it is compressed 9M. (only the core file)<br />
comressed tar from the binaries is 70M.</p>
<p dir="auto">Best regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14855</link><guid isPermaLink="true">https://forum.netxms.org/post/14855</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Sat, 06 Sep 2014 19:29:56 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 10:51:40 GMT]]></title><description><![CDATA[<p dir="auto">You can gdnerate events using nxevent command line tool.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14854</link><guid isPermaLink="true">https://forum.netxms.org/post/14854</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 06 Sep 2014 10:51:40 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 09:42:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">Thanks for the reply!</p>
<p dir="auto">I'm currently running it under GDB, so as soon as I have a crash I will generate a core dump.<br />
Is that ok for you if I do it this way?</p>
<p dir="auto">Another question:<br />
Is is possible to fake some node down events for existing nodes?<br />
That way I can try to reproduce the crash.</p>
<p dir="auto">Regards,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14852</link><guid isPermaLink="true">https://forum.netxms.org/post/14852</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Sat, 06 Sep 2014 09:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sat, 06 Sep 2014 08:55:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it seems one of the most mysterious bugs we've ever encounter. I've done load tests with lot of alarm generation and termination, and system works as expected. Seems it is some rare combination of events and/or environment. Is it possible to get remote access to your system to debug it in place? Alternatively, can you try to get core dump after crash (most likely it will note be generated by default, you'll have to enable it with ulimit) and sent to us along with compiled binaries? If you run it as virtual machine and can provide a VM image it also could help us with debugging.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14849</link><guid isPermaLink="true">https://forum.netxms.org/post/14849</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 06 Sep 2014 08:55:49 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Fri, 05 Sep 2014 19:21:15 GMT]]></title><description><![CDATA[<p dir="auto">attached is a debug log (level <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:1.4em;width:auto;vertical-align:middle" title="8)" alt="😎" /> where you can see a new alarm coming in.<br />
this was a node down alarm. direct after this we got the sigsegv.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001968-debug.log">debug.log</a></p>
]]></description><link>https://forum.netxms.org/post/14846</link><guid isPermaLink="true">https://forum.netxms.org/post/14846</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Fri, 05 Sep 2014 19:21:15 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Fri, 05 Sep 2014 19:17:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi Alex,</p>
<p dir="auto">Thanks for responding!<br />
attached is the output for the disassemble.</p>
<p dir="auto">Maybe good to know that I found out that the crash always occur strait after a new alarm.<br />
Not after each alarm, but after running a couple of hours (I think after a couple of new alarms)<br />
Also it looks that it is related to a critical event. (node down or so)<br />
I'm trying to reproduce the crash, but that is really difficult.</p>
<p dir="auto">Today we have had not many new alarms, and it is running all day now.<br />
I expect that as soon as start some maintenance (rebooting machines etc) we will have a crash again.</p>
<p dir="auto">Hope this helps.<br />
Regards,<br />
Edward</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001967-disassemble.log">disassemble.log</a></p>
]]></description><link>https://forum.netxms.org/post/14845</link><guid isPermaLink="true">https://forum.netxms.org/post/14845</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Fri, 05 Sep 2014 19:17:20 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Fri, 05 Sep 2014 14:45:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello.</p>
<p dir="auto">Could you please also provide us with disassembly of two methods: AlarmManager::watchdogThread and AlarmManager::newAlarm?</p>
<p dir="auto">This can be done with gdb:</p>
<pre><code>$ gdb /opt/netxms/bin/netxmsd
(gdb) info functions AlarmManager::watchdogThread
(gdb) disassemble AlarmManager::watchdogThread
(gdb) disassemble AlarmManager::newAlarm
</code></pre>
]]></description><link>https://forum.netxms.org/post/14844</link><guid isPermaLink="true">https://forum.netxms.org/post/14844</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 05 Sep 2014 14:45:57 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Thu, 04 Sep 2014 06:57:28 GMT]]></title><description><![CDATA[<p dir="auto">any news on this?</p>
<p dir="auto">I'm open for any ideas to speed up the resolve of this issue.</p>
<p dir="auto">include some more info in the code?<br />
reinstall system? move to other OS?</p>
<p dir="auto">Thanks,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14835</link><guid isPermaLink="true">https://forum.netxms.org/post/14835</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Thu, 04 Sep 2014 06:57:28 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Tue, 02 Sep 2014 19:55:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Here is the full log.<br />
It is huge, so I have compressed it.</p>
<p dir="auto">Hope this helps.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001966-valgrind.tgz">valgrind.tgz</a></p>
]]></description><link>https://forum.netxms.org/post/14828</link><guid isPermaLink="true">https://forum.netxms.org/post/14828</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Tue, 02 Sep 2014 19:55:03 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Tue, 02 Sep 2014 19:48:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">can you please provide full valgrind log (assuming there are more records then you post already)? Those errors logged looks like consequences of some memory corruption that happened before.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14827</link><guid isPermaLink="true">https://forum.netxms.org/post/14827</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 02 Sep 2014 19:48:07 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Tue, 02 Sep 2014 13:33:52 GMT]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">Any progress on this?<br />
Server is still crashing several times...</p>
<p dir="auto">Would it be an option to downgrade to 1.2.14?<br />
This was our previous version.</p>
<p dir="auto">Thanks,<br />
Edward</p>
]]></description><link>https://forum.netxms.org/post/14820</link><guid isPermaLink="true">https://forum.netxms.org/post/14820</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Tue, 02 Sep 2014 13:33:52 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Mon, 01 Sep 2014 06:10:34 GMT]]></title><description><![CDATA[<p dir="auto">and here is another one:</p>
<pre><code>==6816== Thread 66:
==6816== Conditional jump or move depends on uninitialised value(s)
==6816==    at 0x4CC549E: ClientSession::onAlarmUpdate(unsigned int, NXC_ALARM*) (session.cpp:4989)
==6816==    by 0x4C631ED: EnumerateClientSessions(void (*)(ClientSession*, void*), void*) (client.cpp:337)
==6816==    by 0x4C5F278: AlarmManager::newAlarm(char*, char*, int, int, unsigned int, unsigned int, Event*, unsigned int) (alarm.cpp:384)
==6816==    by 0x4C81704: EPRule::generateAlarm(Event*) (epp.cpp:531)
==6816==    by 0x4C81D4A: EPRule::processEvent(Event*) (epp.cpp:468)
==6816==    by 0x4C81F4B: EventPolicy::processEvent(Event*) (epp.cpp:814)
==6816==    by 0x4C862C9: EventProcessor(void*) (evproc.cpp:225)
==6816==    by 0x313D407850: start_thread (in /lib64/libpthread-2.12.so)
==6816==    by 0x313CCE811C: clone (in /lib64/libc-2.12.so)
</code></pre>
<p dir="auto">Hope this helps finding the crash cause.</p>
]]></description><link>https://forum.netxms.org/post/14810</link><guid isPermaLink="true">https://forum.netxms.org/post/14810</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 01 Sep 2014 06:10:34 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Mon, 01 Sep 2014 06:07:45 GMT]]></title><description><![CDATA[<p dir="auto">Here is a part from an error from Valgrind:</p>
<pre><code>==6816== Thread 7:
==6816== Invalid read of size 4
==6816==    at 0x4C5CDD0: AlarmManager::watchdogThread() (alarm.cpp:1105)
==6816==    by 0x4C5CF28: WatchdogThreadStarter(void*) (alarm.cpp:204)
==6816==    by 0x313D407850: start_thread (in /lib64/libpthread-2.12.so)
==6816==    by 0x313CCE811C: clone (in /lib64/libc-2.12.so)
==6816==  Address 0x2c8c57bc is 52,620 bytes inside a block of size 243,984 free'd
==6816==    at 0x4A0610F: realloc (vg_replace_malloc.c:525)
==6816==    by 0x4C5EF8A: AlarmManager::newAlarm(char*, char*, int, int, unsigned int, unsigned int, Event*, unsigned int) (alarm.cpp:359)
==6816==    by 0x4C81704: EPRule::generateAlarm(Event*) (epp.cpp:531)
==6816==    by 0x4C81D4A: EPRule::processEvent(Event*) (epp.cpp:468)
==6816==    by 0x4C81F4B: EventPolicy::processEvent(Event*) (epp.cpp:814)
==6816==    by 0x4C862C9: EventProcessor(void*) (evproc.cpp:225)
==6816==    by 0x313D407850: start_thread (in /lib64/libpthread-2.12.so)
==6816==    by 0x313CCE811C: clone (in /lib64/libc-2.12.so)
</code></pre>
]]></description><link>https://forum.netxms.org/post/14809</link><guid isPermaLink="true">https://forum.netxms.org/post/14809</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Mon, 01 Sep 2014 06:07:45 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Sun, 31 Aug 2014 14:43:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
Unfortunately it crashed again. Same error<br />
I'm running it now under valgrind, but that takes a lot of resources. I run it with default settings<br />
Did not have a crash yet</p>
]]></description><link>https://forum.netxms.org/post/14808</link><guid isPermaLink="true">https://forum.netxms.org/post/14808</guid><dc:creator><![CDATA[edward.borst]]></dc:creator><pubDate>Sun, 31 Aug 2014 14:43:57 GMT</pubDate></item><item><title><![CDATA[Reply to segfault netxmsd crash on Thu, 28 Aug 2014 20:01:42 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">you mean that you've found some specific place in added code which caused this crash?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14793</link><guid isPermaLink="true">https://forum.netxms.org/post/14793</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 28 Aug 2014 20:01:42 GMT</pubDate></item></channel></rss>