<?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["Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16]]></title><description><![CDATA[<p dir="auto">I am trying to upgrade vrom 1.2.13 to 1.2.16 and during the database upgrade I get the following:</p>
<p dir="auto">nxdbmgr upgrade -t<br />
NetXMS Database Manager Version 1.2.16 Build 7884</p>
<p dir="auto">Upgrading database...<br />
Upgrading from version 324 to 325<br />
&gt;&gt;&gt; SELECT map_id, element1, element2, element_data, color, status_object, routing, bend_points FROM network_map_links<br />
Segmentation fault</p>
<p dir="auto">Any ideas on how to fix this?</p>
]]></description><link>https://forum.netxms.org/topic/3313/segmentation-fault-with-nxdbmgr-on-upgrade-from-1.2.13-to-1.2.16</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:23:56 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3313.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 Aug 2014 21:55:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Thu, 14 Aug 2014 06:31:59 GMT]]></title><description><![CDATA[<p dir="auto">Yes, this patch fixes the database upgrade crash.<br />
Thanks!</p>
]]></description><link>https://forum.netxms.org/post/14669</link><guid isPermaLink="true">https://forum.netxms.org/post/14669</guid><dc:creator><![CDATA[grimnir]]></dc:creator><pubDate>Thu, 14 Aug 2014 06:31:59 GMT</pubDate></item><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Wed, 13 Aug 2014 20:36:33 GMT]]></title><description><![CDATA[<p dir="auto">Thanks!!  That fixed it.</p>
]]></description><link>https://forum.netxms.org/post/14668</link><guid isPermaLink="true">https://forum.netxms.org/post/14668</guid><dc:creator><![CDATA[silvanet]]></dc:creator><pubDate>Wed, 13 Aug 2014 20:36:33 GMT</pubDate></item><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Wed, 13 Aug 2014 20:14:17 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I probably found the bug. Try to patch src/server/tools/nxdbmgr/upgrade.cpp as following:</p>
<p dir="auto">Find line 492 - it should be</p>
<p dir="auto">         TCHAR *config = DBGetField(hResult, i, 3, NULL, 0);</p>
<p dir="auto">insert after it the following code:</p>
<p dir="auto">         if (config == NULL)<br />
            config = _tcsdup(_T(""));</p>
<p dir="auto">Rebuild nxdbmgr - it should work.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/14667</link><guid isPermaLink="true">https://forum.netxms.org/post/14667</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 13 Aug 2014 20:14:17 GMT</pubDate></item><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Wed, 13 Aug 2014 17:49:43 GMT]]></title><description><![CDATA[<p dir="auto">It seems that this is related to the maps.  I am not fully using my maps at the moment.  Could I remove the maps from mysql tables?  If so, what would the proper sql commands to get rid of the maps?</p>
]]></description><link>https://forum.netxms.org/post/14666</link><guid isPermaLink="true">https://forum.netxms.org/post/14666</guid><dc:creator><![CDATA[silvanet]]></dc:creator><pubDate>Wed, 13 Aug 2014 17:49:43 GMT</pubDate></item><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Wed, 13 Aug 2014 17:43:24 GMT]]></title><description><![CDATA[<p dir="auto">gdb nxdbmgr<br />
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04<br />
Copyright (C) 2012 Free Software Foundation, Inc.<br />
License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html" rel="nofollow ugc">http://gnu.org/licenses/gpl.html</a><br />
This is free software: you are free to change and redistribute it.<br />
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"<br />
and "show warranty" for details.<br />
This GDB was configured as "x86_64-linux-gnu".<br />
For bug reporting instructions, please see:<br />
<a href="http://bugs.launchpad.net/gdb-linaro/" rel="nofollow ugc">http://bugs.launchpad.net/gdb-linaro/</a>...<br />
Reading symbols from /usr/local/bin/nxdbmgr...done.<br />
(gdb) run upgrade<br />
Starting program: /usr/local/bin/nxdbmgr upgrade<br />
[Thread debugging using libthread_db enabled]<br />
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".<br />
NetXMS Database Manager Version 1.2.16 Build 7884</p>
<p dir="auto">[New Thread 0x7ffff538e700 (LWP 4472)]<br />
[Thread 0x7ffff538e700 (LWP 4472) exited]<br />
Upgrading database...<br />
Upgrading from version 324 to 325</p>
<p dir="auto">Program received signal SIGSEGV, Segmentation fault.<br />
0x00007ffff6f99661 in ?? () from /lib/x86_64-linux-gnu/libc.so.6<br />
(gdb) bt<br />
#0  0x00007ffff6f99661 in ?? () from /lib/x86_64-linux-gnu/libc.so.6<br />
#1  0x000000000040b100 in H_UpgradeFromV324 (currVersion=&lt;optimized out&gt;,<br />
    newVersion=&lt;optimized out&gt;) at upgrade.cpp:499<br />
#2  0x00000000004151d7 in UpgradeDatabase () at upgrade.cpp:8127<br />
#3  0x000000000040338a in main (argc=&lt;optimized out&gt;, argv=0x7fffffffe6f8)<br />
    at nxdbmgr.cpp:782<br />
(gdb)</p>
]]></description><link>https://forum.netxms.org/post/14665</link><guid isPermaLink="true">https://forum.netxms.org/post/14665</guid><dc:creator><![CDATA[silvanet]]></dc:creator><pubDate>Wed, 13 Aug 2014 17:43:24 GMT</pubDate></item><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Wed, 13 Aug 2014 09:14:07 GMT]]></title><description><![CDATA[<p dir="auto">Please provide backtrace of this crash (details on how to get a backtrace: <a href="https://wiki.debian.org/HowToGetABacktrace#Running_gdb" rel="nofollow ugc">https://wiki.debian.org/HowToGetABacktrace#Running_gdb</a>)</p>
]]></description><link>https://forum.netxms.org/post/14650</link><guid isPermaLink="true">https://forum.netxms.org/post/14650</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Wed, 13 Aug 2014 09:14:07 GMT</pubDate></item><item><title><![CDATA[Reply to "Segmentation fault" with nxdbmgr on upgrade from 1.2.13 to 1.2.16 on Wed, 13 Aug 2014 07:03:47 GMT]]></title><description><![CDATA[<p dir="auto">Exactly the same issue under FreeBSD (FreeBSD 9.3-RELEASE, mysql-server 5.5.39).</p>
<p dir="auto">Indeed, FreeBSD port of NetXMS is broken now: it does not install shared libraries files required for both netxmsd and nxagent (i.e., libnxsqlite.so.1.0.0,libnxdb.so.1.0.0 and so on)  .</p>
]]></description><link>https://forum.netxms.org/post/14649</link><guid isPermaLink="true">https://forum.netxms.org/post/14649</guid><dc:creator><![CDATA[grimnir]]></dc:creator><pubDate>Wed, 13 Aug 2014 07:03:47 GMT</pubDate></item></channel></rss>