NetXMS-1.2.11 Crash on FreeBSD-9.2

Started by possamai, January 28, 2014, 05:01:28 PM

Previous topic - Next topic

Victor Kirhenshtein

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...
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.

Best regards,
Victor