<?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[NetXMS-1.2.11 Crash on FreeBSD-9.2]]></title><description><![CDATA[<p dir="auto"><strong>kernel: pid 74733 (netxmsd), uid 0: exited on signal 11 (core dumped)</strong><br />
Nothing else....</p>
<p dir="auto">I have a corefile for you if you want but it's 122MB so you might not want it here.....</p>
]]></description><link>https://forum.netxms.org/topic/2882/netxms-1.2.11-crash-on-freebsd-9.2</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 20:43:43 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2882.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Jan 2014 15:01:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Tue, 11 Feb 2014 00:16:46 GMT]]></title><description><![CDATA[<p dir="auto">Nice to hear! This crash was one of the strangest problems I had to debug with NetXMS - different platforms, crashes differently, only one thing in common - MySQL backend...<br />
As for what I've fixed - I add a mutex around calls to mysql_stmt_data_seek and mysql_stmt_fetch. Under some conditions two threads call them on different statements, but same MySQL connection. I was thinking that because I'm using mysql_stmt_store_result to cache statement result locally, they are independent, but seems they are not.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12750</link><guid isPermaLink="true">https://forum.netxms.org/post/12750</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 11 Feb 2014 00:16:46 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Fri, 07 Feb 2014 13:54:37 GMT]]></title><description><![CDATA[<p dir="auto">So far so good, normally it would have crashed a few times by now..<br />
Still using the 1.2.11 client btw. I do not have the knowledge and resources to compile the client for windows.<br />
The build error on SQLite is gone too, great job <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>
<p dir="auto">[Update]<br />
I don't know what you fixed exactly but it did the job! Not a single crash anymore since I installed 1.2.12!</p>
]]></description><link>https://forum.netxms.org/post/12719</link><guid isPermaLink="true">https://forum.netxms.org/post/12719</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Fri, 07 Feb 2014 13:54:37 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Thu, 06 Feb 2014 10:11:37 GMT]]></title><description><![CDATA[<p dir="auto">Building it right now..<br />
I'll let you know,<br />
Still on MySQL-5.6 btw.</p>
<p dir="auto">Just in case it's helpfull:</p>
<blockquote>
<p dir="auto">---------------------------------------------------------------------<br />
                         Configure results<br />
---------------------------------------------------------------------</p>
<p dir="auto">Prefix                  : /usr/local/netxms<br />
Platform                : FreeBSD<br />
Shared library suffix   : .so<br />
Build Server            : YES<br />
Server libs             :  -lssl -ltermcap -lreadline<br />
XMPP support            : YES<br />
Encryption enabled      : YES<br />
Build DB-Drivers        : mysql<br />
Build Clients           : NO<br />
Build Agent             : YES<br />
Subagents list          : freebsd netsvc<br />
Build Static Agent      : NO<br />
UNICODE build           : NO<br />
Use internal libexpat   : NO<br />
Use internal libtre     : YES<br />
Use internal zlib       : NO<br />
Force 32bit build       : NO<br />
C compiler              : gcc<br />
C++ compiler            : g++<br />
CPPFLAGS                :  -D_THREAD_SAFE -DTRE_WCHAR=1 -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/opt/openssl/include -Wformat -I/usr/local/include -DPREFIX=\"${prefix}\" -DDATADIR=\"${pkgdatadir}\" -DBINDIR=\"${bindir}\" -DLIBDIR=\"${libdir}\" -DPKGLIBDIR=\"${pkglibdir}\"<br />
CXXFLAGS                : -g -O2 -fno-rtti -fno-exceptions<br />
CFLAGS                  : -g -O2<br />
LDFLAGS                 :   -L/usr/local/mysql/lib -L/usr/lib64/mysql -L/usr/lib/mysql -L/usr/mysql/lib -L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -L/usr/mysql/lib/mysql -L/usr/local/lib -L/opt/openssl/lib -L/usr/local/lib<br />
LIBS                    : -lkvm -lexpat -lz  -pthread -lcrypto -liconv<br />
MySQL libs              : -lmysqlclient</p>
</blockquote>
]]></description><link>https://forum.netxms.org/post/12717</link><guid isPermaLink="true">https://forum.netxms.org/post/12717</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Thu, 06 Feb 2014 10:11:37 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 05 Feb 2014 18:41:15 GMT]]></title><description><![CDATA[<p dir="auto">Please try this version: <a href="https://www.dropbox.com/s/rft98tv0ahnekv6/netxms-1.2.12.tar.gz" rel="nofollow ugc">https://www.dropbox.com/s/rft98tv0ahnekv6/netxms-1.2.12.tar.gz</a>. Note that it will upgrade your database, you won't be able to go back to 1.2.11, so do backup first.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12702</link><guid isPermaLink="true">https://forum.netxms.org/post/12702</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 05 Feb 2014 18:41:15 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 05 Feb 2014 15:52:47 GMT]]></title><description><![CDATA[<p dir="auto">Yes, please try MySQL 5.5. Also, I'll prepare test update later today - I've found some potentially problematic places in our MySQL driver.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12697</link><guid isPermaLink="true">https://forum.netxms.org/post/12697</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 05 Feb 2014 15:52:47 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 05 Feb 2014 15:31:19 GMT]]></title><description><![CDATA[<p dir="auto">I could try a different version of MySQL.. 5.5 for instance...<br />
My current DB is screwed because of the many crashes anyway..</p>
]]></description><link>https://forum.netxms.org/post/12695</link><guid isPermaLink="true">https://forum.netxms.org/post/12695</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Wed, 05 Feb 2014 15:31:19 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Tue, 04 Feb 2014 15:24:11 GMT]]></title><description><![CDATA[<p dir="auto">no..<br />
Using Mysql 5.6.16 server and client.<br />
Nu updates on FreeBSD available</p>
]]></description><link>https://forum.netxms.org/post/12677</link><guid isPermaLink="true">https://forum.netxms.org/post/12677</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Tue, 04 Feb 2014 15:24:11 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Tue, 04 Feb 2014 12:43:49 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">There was another installation crashing in very similar way, on console connect, but on Windows. There problem was solved by replacing MySQL client library with latest version. Is there any updates for MySQL client?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12673</link><guid isPermaLink="true">https://forum.netxms.org/post/12673</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 04 Feb 2014 12:43:49 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Tue, 04 Feb 2014 10:29:33 GMT]]></title><description><![CDATA[<p dir="auto">Any suggestions on this?<br />
Anything I can add to figure out what's wrong?</p>
]]></description><link>https://forum.netxms.org/post/12666</link><guid isPermaLink="true">https://forum.netxms.org/post/12666</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Tue, 04 Feb 2014 10:29:33 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 29 Jan 2014 14:49:29 GMT]]></title><description><![CDATA[<p dir="auto">It seems the server only crashes when I'm connected to it with the Windows Management Console.</p>
]]></description><link>https://forum.netxms.org/post/12607</link><guid isPermaLink="true">https://forum.netxms.org/post/12607</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Wed, 29 Jan 2014 14:49:29 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 29 Jan 2014 13:05:21 GMT]]></title><description><![CDATA[<p dir="auto">yes, mostly.</p>
<p dir="auto">This is another one:<br />
(gdb) bt</p>
<blockquote>
<p dir="auto">#0  0x28892b56 in mysql_stmt_param_metadata () from /usr/local/lib/mysql/libmysqlclient.so.18<br />
#1  0x28893222 in mysql_stmt_fetch () from /usr/local/lib/mysql/libmysqlclient.so.18<br />
#2  0x2825db8b in DrvGetField (hResult=0x2c9d8b60, iRow=1, iColumn=0, pBuffer=0x2a496800, nBufSize=256) at mysql.cpp:662<br />
#3  0x281b41b0 in DBGetFieldA (hResult=0x2b74f970, iRow=1, iColumn=0, pszBuffer=0xb7276970 "4235", nBufLen=256) at session.cpp:420<br />
#4  0x281b4329 in DBGetField (hResult=0x2b74f970, iRow=1, iColumn=0, pszBuffer=0xb7276970 "4235", nBufLen=256) at session.cpp:407<br />
#5  0x281b4571 in DBGetFieldULong (hResult=0x2b74f970, iRow=1, iColumn=0) at session.cpp:470<br />
#6  0x2813244a in ClientSession::getCollectedDataFromDB (this=0x2ef70c00, request=0x2bbef200, response=0xb7276f64, dcTarget=0x28cca800, dciType=1) at session.cpp:3695<br />
#7  0x28132c10 in ClientSession::getCollectedData (this=0x2ef70c00, request=0x2bbef200) at session.cpp:3774<br />
#8  0x28132c6e in ClientSession::ThreadStarter_getCollectedData (pArg=0x29e9c078) at session.cpp:138<br />
#9  0x286e1f3a in pthread_getprio () from /lib/libthr.so.3<br />
#10 0xb6a6efec in ?? ()</p>
</blockquote>
]]></description><link>https://forum.netxms.org/post/12603</link><guid isPermaLink="true">https://forum.netxms.org/post/12603</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Wed, 29 Jan 2014 13:05:21 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 29 Jan 2014 11:36:46 GMT]]></title><description><![CDATA[<p dir="auto">Are all stack traces identical?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12601</link><guid isPermaLink="true">https://forum.netxms.org/post/12601</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 29 Jan 2014 11:36:46 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Wed, 29 Jan 2014 11:17:45 GMT]]></title><description><![CDATA[<p dir="auto">oh and it's not incidental...<br />
It happened 3 times today already..<br />
trying to find the time to build a script to automaticly restart netxmsd because it keeps crashing.</p>
]]></description><link>https://forum.netxms.org/post/12599</link><guid isPermaLink="true">https://forum.netxms.org/post/12599</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Wed, 29 Jan 2014 11:17:45 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Tue, 28 Jan 2014 22:13:01 GMT]]></title><description><![CDATA[<p dir="auto">never done this before so tell me if I did anything wrong.</p>
<p dir="auto">Ran this:</p>
<blockquote>
<p dir="auto">gdb /usr/local/netxms/bin/netxmsd /usr/local/netxms/share/netxms/netxmsd.core</p>
</blockquote>
<p dir="auto">bunch of text scrolls by..</p>
<p dir="auto">Then did this and got following output:</p>
<blockquote>
<p dir="auto">(gdb) bt<br />
#0  0x288933cc in mysql_stmt_data_seek () from /usr/local/lib/mysql/libmysqlclient.so.18<br />
#1  0x2825db80 in DrvGetField (hResult=0x28f04280, iRow=3, iColumn=0, pBuffer=0x29feb400, nBufSize=256) at mysql.cpp:661<br />
#2  0x281b41b0 in DBGetFieldA (hResult=0x2d962870, iRow=3, iColumn=0, pszBuffer=0xbd7db970 "4683", nBufLen=256) at session.cpp:420<br />
#3  0x281b4329 in DBGetField (hResult=0x2d962870, iRow=3, iColumn=0, pszBuffer=0xbd7db970 "4683", nBufLen=256) at session.cpp:407<br />
#4  0x281b4571 in DBGetFieldULong (hResult=0x2d962870, iRow=3, iColumn=0) at session.cpp:470<br />
#5  0x2813244a in ClientSession::getCollectedDataFromDB (this=0x2d830c00, request=0x2a1fccc0, response=0xbd7dbf64, dcTarget=0x28c6a000, dciType=1)<br />
    at session.cpp:3695<br />
#6  0x28132c10 in ClientSession::getCollectedData (this=0x2d830c00, request=0x2a1fccc0) at session.cpp:3774<br />
#7  0x28132c6e in ClientSession::ThreadStarter_getCollectedData (pArg=0x2e6f7be8) at session.cpp:138<br />
#8  0x286e1f3a in pthread_getprio () from /lib/libthr.so.3<br />
#9  0xb7175fec in ?? ()</p>
</blockquote>
<p dir="auto">Is this all you need?</p>
]]></description><link>https://forum.netxms.org/post/12592</link><guid isPermaLink="true">https://forum.netxms.org/post/12592</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Tue, 28 Jan 2014 22:13:01 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS-1.2.11 Crash on FreeBSD-9.2 on Tue, 28 Jan 2014 17:09:44 GMT]]></title><description><![CDATA[<p dir="auto">Try to get a stack backtrace from core (bt command in gdb).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/12585</link><guid isPermaLink="true">https://forum.netxms.org/post/12585</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 28 Jan 2014 17:09:44 GMT</pubDate></item></channel></rss>