Release a libsql version that includes #2261 (local connection double close)
维护者通常 11 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 半天
- 新手友好度
- 15/100
调研方向
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 小时
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tursodatabase/libsql 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
tursodatabase/libsql#2320 ·
维护者通常 11 天内回复
-
`cloudflare` feature: hrana streams are never closed可能已有人在做 @pcbeingused333 于 4 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
tursodatabase/libsql#2312 ·
维护者通常 11 天内回复
-
bottomless: finished S3 upload tasks are never reaped, so sqld memory grows by ~10 KB per WAL batch可能已有人在做 @pavanmanishd 于 25 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
tursodatabase/libsql#2298 · 1 条评论 ·
维护者通常 11 天内回复
-
Rust local Row::get_value truncates embedded NUL TEXT and panics on malformed UTF-8 (0.9.30)可能已有人在做 @Sanjays2402 于 35 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
tursodatabase/libsql#2285 ·
维护者通常 11 天内回复
-
libsql-ffi: broken builds under Nix on macOS可能已有人在做 @frectonz 于 85 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
tursodatabase/libsql#2275 ·
维护者通常 11 天内回复
查看 tursodatabase/libsql 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
JulianKemmerer/PipelineC#395 ·
-
upstream-blocked
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
-
难度 2/5 1-3 小时 新手友好度 70/100
libretro/parallel-n64#858 ·