Release a libsql version that includes #2261 (local connection double close)

オープン
#2,307 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 11 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
半日
初心者へのやさしさ
15/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, go, rust, sqlite
領域
databases, release

調査の方向性

This is a maintainer request to publish a new libsql tag that includes the fix from #2261, which is already merged; nothing in the payload asks for a code change. The release history is the place to look, starting from the latest tag libsql-0.9.30 and the merge of #2261. Done means a tag newer than 0.9.30 exists and contains the local Connection double-close fix. Contributors can help by testing a release candidate.

索引モデルが issue の本文から書いたものです。

説明

Hi! #2251 (local Connection closed twice on drop; sqlite3_close_v2 on a freed handle) was fixed by #2261 on 2026-10-13, thank you. The newest tag, libsql-0.9.30 (2026-03-19), predates the fix, so no release carries it yet.

Through go-libsql, the C binding's libsql_disconnect runs the drop on RT.spawn_blocking. In our CI that shows up as a random SIGSEGV on a tokio worker (sqlite3_close_v2 ← drop_in_place<libsql::local::connection::Connection> ← Arc::drop_slow ← tokio::runtime::task::raw::poll) in about 4–12% of test-binary runs on ubuntu-latest. Production services that close connections (pool retirement, shutdown) carry the same double free.

Could you cut a release (0.9.31 or later) that includes #2261? That would let go-libsql rebuild its static libraries (update-libsql.yml) and let us drop a fork that only cherry-picks this one fix. Happy to test a release candidate.

主要言語
C
スター
17.3k
フォーク
562
平均マージ
10日 15時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tursodatabase/libsql のほかの issue

tursodatabase/libsql の issue をすべて見る

似ている issue

C の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。