Repository navigation
Conversation
Runs the scenario of the #621 interrupt test in a loop on macOS and Linux, checks after each iteration that the MariaDB server still accepts connections, and prints the server error log. This is a reproducer to drop before any fix merges. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
The first run showed a mariadbd crash with libmysqlclient over TCP, and none with libmariadb over the Unix socket. Run both clients over both transports on macOS, and count crashes instead of stopping at the first one. This is a reproducer to drop before any fix merges. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
|
First result, from run 46294940142 (4d0b19f): it reproduces, and The server error log: The server is MariaDB 11.8.10 (rev d04ba7c6) from Homebrew. A macOS crash report ( The libmariadb variant on macOS hits the same EPIPE write error in all 50 iterations without crashing. So the crash is in the server's handling of a failed network write, while rows of a prepared statement are still streaming and the client closes the connection. The client is RMariaDB's Cost so far: one run without any cache, a few minutes per job. Generated by Claude Code |
Question: Report the server crash to MariaDB, and how to keep CI green meanwhileA MariaDB 11.8.10 server segfaults in
Reporting means posting on an external tracker in Kirill's name, so Kirill decides. If nobody decides, I'll prepare the CI-log PR and the reproducer, and leave the report undone. Generated by Claude Code |
|
We need green CI now. |
The reproducer in #652 crashes the server over TCP with libmariadb too, and never over the socket. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
… macOS (#655) * test: Leave out the disconnect iteration of the #621 test with libmysqlclient on macOS (#651) A MariaDB server on macOS can crash when libmysqlclient closes the connection while rows are still streaming, and every later test then can't connect. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ * test: Leave out the disconnect iteration on macOS with any client (#651) The reproducer in #652 crashes the server over TCP with libmariadb too, and never over the socket. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ --------- Co-authored-by: Claude <[email protected]>
|
Run 2 (46295776150, 3d1f1b5, 100 iterations per variant, crashes counted) confirms that the crash needs TCP, and happens with both clients:
So a client closing a TCP connection while the server streams the rows of a prepared statement crashes MariaDB 11.8.10 on macOS. That is a server bug, independent of the client library. #655 now leaves out the "disconnect" iteration on macOS for any client. Generated by Claude Code |
|
Handover: #655 and its siblings are merged. A full-matrix run on Generated by Claude Code |
Reproducer record for #651. This PR adds no package code.
.github/workflows/repro-651.yamlruns only on pushes to this branch. It reproduces the setup of the "macos-latest (release) mysql_config" CI job: a MariaDB 11.8 server, and the package built against Homebrew'smysql-clientthroughmysql_config. It then runs the #621 interrupt scenario fromtest-dbDisconnect.Rin a loop, once per action ("send", "disconnect"), and checks after each iteration whether the server is still alive. At the end it prints the server's error log. The job summary gives one verdict per variant. The workflow and its script are a harness to drop before any fix merges.Status: the first runs are in progress. Findings, the error log excerpt, and what the cache and runs cost will follow here.
https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Generated by Claude Code