Re: [naviserver-devel] Buffer overflow detected

2021-11-07 Thread Gustaf Neumann
There are many possible reasons for the crash, i just mentioned one possibility which i have seen in the past. You have to check with gdb as mentioned below to find the reason in your case. If it is indeed the select() problem, then it might be due to a bug in your Tcl code (e.g. missing close

Re: [naviserver-devel] Buffer overflow detected

2021-11-06 Thread Maksym Zinchenko
Thank you very much for explaining Gustaf, at least I know now that somewhere in my Tcl code something is wrong. I'm using only 2 C modules/packages. On Fri, Nov 5, 2021 at 7:37 AM Gustaf Neumann wrote: > Dear Maksym, > > These kind of errors should never happen, but when this happen, this can >

Re: [naviserver-devel] Buffer overflow detected

2021-11-05 Thread Gustaf Neumann
Dear Maksym, These kind of errors should never happen, but when this happen, this can come from NaviServer or Tcl or some C modules/package loaded. The last time i saw this kind of crash in a NaviServer environment, it was triggered from Tcl, where a select() was tried in a situation where m

[naviserver-devel] Buffer overflow detected

2021-11-04 Thread Maksym Zinchenko
Hi every now and then my server crashes with the last message in the log file *** Buffer overflow detected *** I would really appreciate if someone can point me in the right direction of debugging and figure out what's going on. Thank you Maksym Zinchenko ___