Repository navigation
test: Leave out the crashing disconnect iteration of the #621 test on macOS - #655
Merged
Merged
Conversation
…qlclient 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
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
Member
Author
Accepted limitationsThe clean review of the first version (d20fd48, which keyed on libmysqlclient) found nothing above Low. The second reproducer run then showed that the crash needs TCP, not libmysqlclient, so 97136ca keys on macOS alone, with nothing left to detect.
Generated by Claude Code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For #651, to get CI green now.
The "disconnect" iteration of the #621 interrupt test in
tests/testthat/test-dbDisconnect.Rcloses the connection while rows are still streaming. On macOS that can crash the MariaDB 11.8 server (signal 11 inmy_net_write()after an EPIPE), and every test that connects afterwards then fails. The reproducer in #652 (run 46295776150, 100 iterations per variant) shows the crash needs TCP and happens with both clients: 41 of 100 iterations with libmariadb and 23 with libmysqlclient. Over the Unix socket it never happened, and the "send" iteration never crashed. On macOS, the test now runs only the "send" iteration; Linux and Windows run both. It is a test-only change.The server bug itself stays open in #651; whether to report it upstream is a question on #652.
Other red CI on
mainhas its own fixes: #648 (#647: R < 4.3, local infile on the MySQL server) and #654 (#653: the flakywarn = 2test).Tests: the file parses. The local database server is down, so the suite runs in CI only; the full matrix is dispatched for 97136ca.
Accepted limitations
https://claude.ai/code/session_01Hr1rd5PUWgaCJzotWt9NhJ
Generated by Claude Code