Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Crash during export to sql

未關閉
#4,154 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
42/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
cpp, sqlite
領域
database, desktop

研究方向

先使用提供的 sqlite3 資料庫和 DB4S v3.13.99 環境重現匯出,然後檢查匯出路徑,並比回報的 bad_alloc 更精確地擷取失敗情況。完成的標準是匯出此資料庫時不發生當機,並產生可用的 SQL 檔案。

由索引模型根據 Issue 內容生成。

描述

Details for the issue

What did you do?

Create a base with:
sqlite3 /tmp/test.db <<'EOF'
CREATE TABLE test(id INTEGER PRIMARY KEY, name TEXT);
INSERT INTO test(name) VALUES ('abc');
EOF

open with:
sqlitebrowser

export to sql file

What did you expect to see?
What did you see instead?

many lines
KServiceTypeTrader: serviceType "ThumbCreator" not found

and finaly

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Abandon (core dumped)

Useful extra information

DB4S v3.13.99 (Apr 11 2025) [built for x86_64-little_endian-lp64] on Debian GNU/Linux 13 (trixie) (linux/6.12.90 deb13.1-amd64) [x86_64]
using SQLCipher Version 4.6.1 community (based on SQLite 3.46.1)
and Qt 5.15.15

主要語言
C++
星號
24.6k
分支
2.4k
平均合併
2 天 8 小時
30 天內合併 PR
4

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

sqlitebrowser/sqlitebrowser 的其他 Issue

查看 sqlitebrowser/sqlitebrowser 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。