[MDEV-17373] Windows : application verifier stop "Attempt to use an unknown SOCKET" in debug build. Created: 2018-10-04  Updated: 2018-10-05  Resolved: 2018-10-05

Status: Closed
Project: MariaDB Server
Component/s: Platform Windows
Affects Version/s: 10.2
Fix Version/s: 10.2.19

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

In debug code (DBUG_EXECUTE_IF), and hopefully only there, sometimes the socket is being closed from inside the server and set to INVALID_SOCKET

Verified does not like it, and stops with

=======================================
VERIFIER STOP 0000E102: pid 0x1080: Attempt to use an unknown SOCKET

FFFFFFFF : SOCKET being accessed

at this place e.g in connect_debug test

mysqld!inline_mysql_socket_send
mysqld!vio_write
mysqld!net_real_write
mysqld!net_flush
mysqld!net_write_command
mysqld!net_send_error_packet
mysqld!Protocol::send_error
mysqld!Protocol::end_statement
mysqld!login_connection
mysqld!thd_prepare_connection


Generated at Thu Feb 08 08:35:58 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.