Event delivery could be missed when local (XNET) protocol is used
-----------------------------------------------------------------
Key: CORE-6488
URL: http://tracker.firebirdsql.org/browse/CORE-6488
Project: Firebird Core
Issue Type: Bug
Components: API / Client Library, Engine
Affects Versions: 4.0 RC 1, 3.0.7, 2.5.9
Environment: Windows only
Reporter: Vlad Khorsun
The bug was reported at https://www.sql.ru/forum/1333365/
The problem could happen when:
- the op_event packet is longer than the XNET transmission buffer length (100
bytes), and
- client start to read data a bit later than server write first 100 bytes.
In this case race between writer and reader could happen and reader could miss
first 100 bytes of the packet contents.
The bug is close to impossible to reproduce without artificial manipulation by
running threads using debugger.
It might explain why it was not detected so far, since XNET was introduced.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel