Random AV at client application using events when connection was broken [CORE5530] #5798
Labels
affect-version: 2.1.7
affect-version: 2.5.0
affect-version: 2.5.1
affect-version: 2.5.2 Update 1
affect-version: 2.5.2
affect-version: 2.5.3 Update 1
affect-version: 2.5.3
affect-version: 2.5.4
affect-version: 2.5.5
affect-version: 2.5.6
affect-version: 2.5.7
component: api / client library
fix-version: 2.5.8
priority: major
type: bug
Submitted by: @hvlad
If client application
- uses local (stack based) status vector when call ISC API functions, and
- uses events, and
- connection with server is broken,
then random AV could happens in some of application thread's.
The reason is that fbclient saves pointer to the user status-vector at entry to the
all ISC API functions and later report network error happens at event listener thread
using that saved pointer to the status-vector. If stack variable is out of scope it
means events listener thread wrote to the some "random" place at the stack of
another thread.
Commits: 817919c
The text was updated successfully, but these errors were encountered: