Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve kernel stability #11497

Closed
3 tasks done
hscui opened this issue May 21, 2024 · 10 comments
Closed
3 tasks done

Improve kernel stability #11497

hscui opened this issue May 21, 2024 · 10 comments
Assignees
Milestone

Comments

@hscui
Copy link

hscui commented May 21, 2024

3.0.15内核因未知原因退出

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

更新到3.0.15后重建索引就会出现内核未知原因退出;不重建索引刷新页面时也会出现;退回到3.0.14后无此问题。

Expected result

修复

Screenshot or screen recording presentation

图片

Version environment

- Version: 3.0.15
- Operating System: WIN10
- Browser (if used):Firefox

Log file

2024/05/21 18:12:44 runtime.go:74: kernel is booting:
* ver [3.0.15]
* arch [amd64]
* os [Microsoft Windows 10 Pro]
* pid [14376]
* runtime mode [prod]
* working directory [D:\Tools\SiYuan\resources]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [D:\MyDocuments\CuisPKM]
I 2024/05/21 18:12:44 conf.go:124: loaded conf [D:\MyDocuments\CuisPKM\conf\conf.json]
I 2024/05/21 18:12:44 conf.go:433: OpenAI API enabled
userAgent=SiYuan/3.0.15 std/windows
baseURL=https://api.deepseek.com/v1
timeout=80s
proxy=socks://127.0.0.1:7890
model=deepseek-chat
maxTokens=0
temperature=1.0
maxContexts=7
I 2024/05/21 18:12:44 conf.go:488: user has disabled [Google Analytics]
I 2024/05/21 18:12:44 runtime.go:123: use network proxy [system]
I 2024/05/21 18:12:44 serve.go:116: kernel [pid=14376] http server [127.0.0.1:12696] is booting
I 2024/05/21 18:12:44 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:12:44 conf.go:1093: pandoc initialized, set pandoc bin to [D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:12:44 ocr.go:275: tesseract-ocr enabled [ver=v5.3.0.20221222, maxSize=2 MB, langs=chi_sim+chi_sim_vert+eng+osd]
I 2024/05/21 18:12:44 sync.go:147: sync before boot
I 2024/05/21 18:12:44 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=fde39d5f3a9e074a457d20965f8d0e4cc3da2d19, files=6521, size=1.34 GB, created=2024-05-21 18:01:50]
I 2024/05/21 18:12:45 repo.go:595: walk data [files=6521] cost [376.079ms]
I 2024/05/21 18:12:45 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=fde39d5f3a9e074a457d20965f8d0e4cc3da2d19, files=6521, size=1.34 GB, created=2024-05-21 18:01:50]
I 2024/05/21 18:12:45 ref.go:64: updated local latest to [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=149fa6d90aa8f64d77f8a6ab32933c66bf1d32c0, files=6521, size=1.34 GB, created=2024-05-21 18:12:45]
I 2024/05/21 18:12:45 serve.go:129: reverse proxy server [127.0.0.1:6806] is booting
I 2024/05/21 18:12:45 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=149fa6d90aa8f64d77f8a6ab32933c66bf1d32c0, files=6521, size=1.34 GB, created=2024-05-21 18:12:45]
I 2024/05/21 18:12:45 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:12:46 s3.go:121: downloaded object [repo/indexes/681e5d66a4ad75d5f56517cb4654bc501b7081c9]
I 2024/05/21 18:12:46 sync.go:1581: got cloud latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=681e5d66a4ad75d5f56517cb4654bc501b7081c9, files=6521, size=1.34 GB, created=2024-05-21 17:06:45]
I 2024/05/21 18:12:46 repository.go:1217: boot get sync cloud files elapsed [1.55s]
I 2024/05/21 18:12:46 blocktree.go:513: read block tree [22.03 MB] to [D:\MyDocuments\CuisPKM\temp\blocktree], elapsed [0.06s]
I 2024/05/21 18:12:46 conf.go:848: database size [31.8 MB], tree/block count [1431/65019]
I 2024/05/21 18:12:46 working.go:192: kernel booted
I 2024/05/21 18:12:46 box.go:77: auto stat [trees=1431, blocks=65019, dataSize=1.35 GB, assetsSize=1.22 GB]
I 2024/05/21 18:12:46 disk.go:33: disk usage [total=860.29 GB, used=785.75 GB, free=74.54 GB]
I 2024/05/21 18:12:51 session.go:116: auth success [ip=127.0.0.1:12700]
I 2024/05/21 18:12:55 database.go:111: reinitialized database [D:\MyDocuments\CuisPKM\temp\siyuan.db]
I 2024/05/21 18:12:56 index.go:220: rebuilt database for notebook [20210821115526-jplv1w8] in [0.42s], tree [count=1431, size=31.79 MB]
I 2024/05/21 18:12:56 index.go:290: resolved refs [79] in [386ms]
I 2024/05/21 18:15:08 working.go:146:
___ ___ ___ ___
/ /\ ___ ___ //\ / /\ //
/ /:/_ / /\ //| \ :\ / /::\ \ :
/ /:/ /\ / /:/ | |:| \ :\ / /:/:\ \ :
/ /:/ /::\ /
/::\ | |:| ___ \ :\ / /://::\ __:
//:/ /:/:\ _/:_ ||:| /
/\ __:\ /
/:/ /:/:\ /_/::::::::
\ :/:/
/:/ \ :/\ //::::\ \ :\ / /:/ \ :/:// \ :~~/
\ ::/ /:/ _::/ ~:\ \ :\ /:/ \ ::/ \ :\ ~~~
_
/ /:/ //:/ \ :\ \ :/:/ \ :\ \ :
/
/:/ _/ _/ \ ::/ \ :\ \ :
_/ _/ _/ _/
I 2024/05/21 18:15:08 runtime.go:74: kernel is booting:
* ver [3.0.15]
* arch [amd64]
* os [Microsoft Windows 10 Pro]
* pid [1880]
* runtime mode [prod]
* working directory [D:\Tools\SiYuan\resources]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [D:\MyDocuments\CuisPKM]
I 2024/05/21 18:15:08 conf.go:124: loaded conf [D:\MyDocuments\CuisPKM\conf\conf.json]
I 2024/05/21 18:15:08 conf.go:433: OpenAI API enabled
userAgent=SiYuan/3.0.15 std/windows
baseURL=https://api.deepseek.com/v1
timeout=80s
proxy=socks://127.0.0.1:7890
model=deepseek-chat
maxTokens=0
temperature=1.0
maxContexts=7
I 2024/05/21 18:15:08 conf.go:488: user has disabled [Google Analytics]
I 2024/05/21 18:15:08 runtime.go:123: use network proxy [system]
I 2024/05/21 18:15:08 serve.go:116: kernel [pid=1880] http server [127.0.0.1:13043] is booting
I 2024/05/21 18:15:08 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:15:08 conf.go:1093: pandoc initialized, set pandoc bin to [D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:15:08 ocr.go:275: tesseract-ocr enabled [ver=v5.3.0.20221222, maxSize=2 MB, langs=chi_sim+chi_sim_vert+eng+osd]
I 2024/05/21 18:15:08 sync.go:147: sync before boot
I 2024/05/21 18:15:08 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=149fa6d90aa8f64d77f8a6ab32933c66bf1d32c0, files=6521, size=1.34 GB, created=2024-05-21 18:12:45]
I 2024/05/21 18:15:09 repo.go:595: walk data [files=6521] cost [389.424ms]
I 2024/05/21 18:15:09 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=149fa6d90aa8f64d77f8a6ab32933c66bf1d32c0, files=6521, size=1.34 GB, created=2024-05-21 18:12:45]
I 2024/05/21 18:15:09 ref.go:64: updated local latest to [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=dc1098e7498c5bf354f7f28115c49ef5a596a34e, files=6521, size=1.34 GB, created=2024-05-21 18:15:09]
I 2024/05/21 18:15:09 serve.go:129: reverse proxy server [127.0.0.1:6806] is booting
I 2024/05/21 18:15:09 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=dc1098e7498c5bf354f7f28115c49ef5a596a34e, files=6521, size=1.34 GB, created=2024-05-21 18:15:09]
I 2024/05/21 18:15:09 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:15:09 s3.go:121: downloaded object [repo/indexes/681e5d66a4ad75d5f56517cb4654bc501b7081c9]
I 2024/05/21 18:15:09 sync.go:1581: got cloud latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=681e5d66a4ad75d5f56517cb4654bc501b7081c9, files=6521, size=1.34 GB, created=2024-05-21 17:06:45]
I 2024/05/21 18:15:09 repository.go:1217: boot get sync cloud files elapsed [1.21s]
I 2024/05/21 18:15:09 blocktree.go:513: read block tree [21.78 MB] to [D:\MyDocuments\CuisPKM\temp\blocktree], elapsed [0.06s]
I 2024/05/21 18:15:09 conf.go:848: database size [16.33 MB], tree/block count [1431/64283]
I 2024/05/21 18:15:09 working.go:192: kernel booted
I 2024/05/21 18:15:10 box.go:77: auto stat [trees=1431, blocks=64283, dataSize=1.35 GB, assetsSize=1.22 GB]
I 2024/05/21 18:15:10 disk.go:33: disk usage [total=860.29 GB, used=785.73 GB, free=74.56 GB]
I 2024/05/21 18:15:12 session.go:116: auth success [ip=127.0.0.1:13046]
I 2024/05/21 18:16:37 repository.go:1279: syncing data repo [device=e7050026-01d8-49ca-ad84-acc6c39bad57, kernel=wc1kkmn, provider=2, mode=a/true]
I 2024/05/21 18:16:37 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=dc1098e7498c5bf354f7f28115c49ef5a596a34e, files=6521, size=1.34 GB, created=2024-05-21 18:15:09]
I 2024/05/21 18:16:38 repo.go:595: walk data [files=6521] cost [416.7234ms]
I 2024/05/21 18:16:38 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=dc1098e7498c5bf354f7f28115c49ef5a596a34e, files=6521, size=1.34 GB, created=2024-05-21 18:15:09]
I 2024/05/21 18:16:38 ref.go:64: updated local latest to [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:38 s3.go:94: uploaded object [repo/lock-sync]
I 2024/05/21 18:16:38 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:38 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:16:39 s3.go:121: downloaded object [repo/indexes/681e5d66a4ad75d5f56517cb4654bc501b7081c9]
I 2024/05/21 18:16:39 sync.go:1581: got cloud latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=681e5d66a4ad75d5f56517cb4654bc501b7081c9, files=6521, size=1.34 GB, created=2024-05-21 17:06:45]
I 2024/05/21 18:16:39 sync.go:1325: upsert file [f5ea984c70e21904a259e8c4219a554350d74fe4, /storage/av/blocks.msgpack, 2024-05-21 18:12:56] chunk [c9d528f0f312bea94ea06f3191d1d8f88d0874f4]
I 2024/05/21 18:16:39 sync.go:1325: upsert file [051231766e95e17b7c2105e51ed9cb6a918c5881, /widgets/custom.json, 2024-05-21 18:15:14] chunk [6b05bef431ec56523d0c5ce7e1429807d23b1d1d]
I 2024/05/21 18:16:39 sync.go:1341: upsert chunk [c9d528f0f312bea94ea06f3191d1d8f88d0874f4]
I 2024/05/21 18:16:39 s3.go:94: uploaded object [repo/objects/c9/d528f0f312bea94ea06f3191d1d8f88d0874f4]
I 2024/05/21 18:16:39 sync.go:1261: uploaded chunk [objects/c9/d528f0f312bea94ea06f3191d1d8f88d0874f4, 1/1]
I 2024/05/21 18:16:39 s3.go:94: uploaded object [repo/objects/f5/ea984c70e21904a259e8c4219a554350d74fe4]
I 2024/05/21 18:16:39 sync.go:1207: uploaded file [objects/f5/ea984c70e21904a259e8c4219a554350d74fe4, 1/2]
I 2024/05/21 18:16:39 s3.go:94: uploaded object [repo/objects/05/1231766e95e17b7c2105e51ed9cb6a918c5881]
I 2024/05/21 18:16:39 sync.go:1207: uploaded file [objects/05/1231766e95e17b7c2105e51ed9cb6a918c5881, 2/2]
I 2024/05/21 18:16:39 sync.go:221: got local latest [1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0] files [6521]
I 2024/05/21 18:16:39 sync.go:1454: got latest sync [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=681e5d66a4ad75d5f56517cb4654bc501b7081c9, files=6521, size=1.34 GB, created=2024-05-21 17:06:45]
I 2024/05/21 18:16:39 sync.go:228: got latest sync [681e5d66a4ad75d5f56517cb4654bc501b7081c9] files [6521]
I 2024/05/21 18:16:39 diff.go:49: upsert [lID=051de0b3a1260a247e37342e164633f1ab7e1e6b, lPath=/widgets/custom.json, lUpdated=2024-05-21 15:46:38, rID=051231766e95e17b7c2105e51ed9cb6a918c5881, rPath=/widgets/custom.json, rUpdated=2024-05-21 18:15:14]
I 2024/05/21 18:16:39 diff.go:49: upsert [lID=6dbbc0eb83033151d2fcb9a99b66baf56db059ad, lPath=/storage/av/blocks.msgpack, lUpdated=2024-05-21 14:51:02, rID=f5ea984c70e21904a259e8c4219a554350d74fe4, rPath=/storage/av/blocks.msgpack, rUpdated=2024-05-21 18:12:56]
I 2024/05/21 18:16:39 sync.go:239: cloud upsert [051de0b3a1260a247e37342e164633f1ab7e1e6b, /widgets/custom.json, 2024-05-21 15:46:38]
I 2024/05/21 18:16:39 sync.go:239: cloud upsert [6dbbc0eb83033151d2fcb9a99b66baf56db059ad, /storage/av/blocks.msgpack, 2024-05-21 14:51:02]
I 2024/05/21 18:16:39 sync.go:245: local upsert [f5ea984c70e21904a259e8c4219a554350d74fe4, /storage/av/blocks.msgpack, 2024-05-21 18:12:56]
I 2024/05/21 18:16:39 sync.go:245: local upsert [051231766e95e17b7c2105e51ed9cb6a918c5881, /widgets/custom.json, 2024-05-21 18:15:14]
I 2024/05/21 18:16:39 s3.go:121: downloaded object [repo/indexes-v2.json]
I 2024/05/21 18:16:39 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:16:39 s3.go:94: uploaded object [repo/indexes-v2.json]
I 2024/05/21 18:16:39 s3.go:94: uploaded object [repo/indexes/1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0]
I 2024/05/21 18:16:39 sync.go:1172: uploaded index [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:40 s3.go:94: uploaded object [repo/refs/latest]
I 2024/05/21 18:16:40 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:16:40 sync.go:1382: updated latest sync [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:40 s3.go:138: removed object [repo/lock-sync]
I 2024/05/21 18:16:40 repository.go:1347: synced data repo [device=e7050026-01d8-49ca-ad84-acc6c39bad57, kernel=wc1kkmn, provider=2, mode=a/true, ufc=5, dfc=3, ucc=1, dcc=0, ub=181.66 kB, db=316.95 kB] in [2.74s], merge result [conflicts=0, upserts=0, removes=0]

I 2024/05/21 18:16:40 index_fix.go:50: start checking index...
I 2024/05/21 18:16:40 repository.go:1279: syncing data repo [device=e7050026-01d8-49ca-ad84-acc6c39bad57, kernel=wc1kkmn, provider=2, mode=a/true]
I 2024/05/21 18:16:40 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:41 repo.go:595: walk data [files=6521] cost [360.3023ms]
I 2024/05/21 18:16:41 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:41 s3.go:94: uploaded object [repo/lock-sync]
I 2024/05/21 18:16:41 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:41 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:16:41 s3.go:121: downloaded object [repo/indexes/1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0]
I 2024/05/21 18:16:41 sync.go:1581: got cloud latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:16:41 s3.go:138: removed object [repo/lock-sync]
I 2024/05/21 18:16:41 repository.go:1347: synced data repo [device=e7050026-01d8-49ca-ad84-acc6c39bad57, kernel=wc1kkmn, provider=2, mode=a/true, ufc=0, dfc=1, ucc=0, dcc=0, ub=0 B, db=280.72 kB] in [1.10s], merge result [conflicts=0, upserts=0, removes=0]

I 2024/05/21 18:16:49 index_fix.go:71: finish checking index
I 2024/05/21 18:19:21 working.go:146:
___ ___ ___ ___
/ /\ ___ ___ //\ / /\ //
/ /:/_ / /\ //| \ :\ / /::\ \ :
/ /:/ /\ / /:/ | |:| \ :\ / /:/:\ \ :
/ /:/ /::\ /
/::\ | |:| ___ \ :\ / /://::\ __:
//:/ /:/:\ _/:_ ||:| /
/\ __:\ /
/:/ /:/:\ /_/::::::::
\ :/:/
/:/ \ :/\ //::::\ \ :\ / /:/ \ :/:// \ :~~/
\ ::/ /:/ _::/ ~:\ \ :\ /:/ \ ::/ \ :\ ~~~
_
/ /:/ //:/ \ :\ \ :/:/ \ :\ \ :
/
/:/ _/ _/ \ ::/ \ :\ \ :
_/ _/ _/ _/
I 2024/05/21 18:19:21 runtime.go:74: kernel is booting:
* ver [3.0.15]
* arch [amd64]
* os [Microsoft Windows 10 Pro]
* pid [13220]
* runtime mode [prod]
* working directory [D:\Tools\SiYuan\resources]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [D:\MyDocuments\CuisPKM]
I 2024/05/21 18:19:21 conf.go:124: loaded conf [D:\MyDocuments\CuisPKM\conf\conf.json]
I 2024/05/21 18:19:21 conf.go:433: OpenAI API enabled
userAgent=SiYuan/3.0.15 std/windows
baseURL=https://api.deepseek.com/v1
timeout=80s
proxy=socks://127.0.0.1:7890
model=deepseek-chat
maxTokens=0
temperature=1.0
maxContexts=7
I 2024/05/21 18:19:21 conf.go:488: user has disabled [Google Analytics]
I 2024/05/21 18:19:21 runtime.go:123: use network proxy [system]
I 2024/05/21 18:19:21 serve.go:116: kernel [pid=13220] http server [127.0.0.1:13230] is booting
I 2024/05/21 18:19:21 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:19:21 conf.go:1093: pandoc initialized, set pandoc bin to [D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:19:21 ocr.go:275: tesseract-ocr enabled [ver=v5.3.0.20221222, maxSize=2 MB, langs=chi_sim+chi_sim_vert+eng+osd]
I 2024/05/21 18:19:21 sync.go:147: sync before boot
I 2024/05/21 18:19:21 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:19:22 serve.go:129: reverse proxy server [127.0.0.1:6806] is booting
I 2024/05/21 18:19:23 repo.go:595: walk data [files=6521] cost [1.6472948s]
I 2024/05/21 18:19:23 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:19:24 ref.go:64: updated local latest to [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=6a184c45709650323ed80733bcbcf6dd033620cf, files=6521, size=1.34 GB, created=2024-05-21 18:19:24]
I 2024/05/21 18:19:24 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=6a184c45709650323ed80733bcbcf6dd033620cf, files=6521, size=1.34 GB, created=2024-05-21 18:19:24]
I 2024/05/21 18:19:24 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:19:24 s3.go:121: downloaded object [repo/indexes/1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0]
I 2024/05/21 18:19:24 sync.go:1581: got cloud latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:19:24 repository.go:1217: boot get sync cloud files elapsed [3.33s]
I 2024/05/21 18:19:24 blocktree.go:513: read block tree [22 MB] to [D:\MyDocuments\CuisPKM\temp\blocktree], elapsed [0.13s]
I 2024/05/21 18:19:24 conf.go:848: database size [162.56 MB], tree/block count [1431/64931]
I 2024/05/21 18:19:24 working.go:192: kernel booted
I 2024/05/21 18:19:25 box.go:77: auto stat [trees=1431, blocks=64931, dataSize=1.35 GB, assetsSize=1.22 GB]
I 2024/05/21 18:19:25 disk.go:33: disk usage [total=860.29 GB, used=785.88 GB, free=74.42 GB]
I 2024/05/21 18:19:46 queue.go:157: database op tx [14918ms]
I 2024/05/21 18:20:56 session.go:116: auth success [ip=127.0.0.1:4597]
I 2024/05/21 18:21:10 database.go:111: reinitialized database [D:\MyDocuments\CuisPKM\temp\siyuan.db]
I 2024/05/21 18:21:12 index.go:220: rebuilt database for notebook [20210821115526-jplv1w8] in [1.41s], tree [count=1431, size=31.79 MB]
I 2024/05/21 18:21:12 index.go:290: resolved refs [79] in [564ms]
I 2024/05/21 18:25:20 working.go:146:
___ ___ ___ ___
/ /\ ___ ___ //\ / /\ //
/ /:/_ / /\ //| \ :\ / /::\ \ :
/ /:/ /\ / /:/ | |:| \ :\ / /:/:\ \ :
/ /:/ /::\ /
/::\ | |:| ___ \ :\ / /://::\ __:
//:/ /:/:\ _/:_ ||:| /
/\ __:\ /
/:/ /:/:\ /_/::::::::
\ :/:/
/:/ \ :/\ //::::\ \ :\ / /:/ \ :/:// \ :~~/
\ ::/ /:/ _::/ ~:\ \ :\ /:/ \ ::/ \ :\ ~~~
_
/ /:/ //:/ \ :\ \ :/:/ \ :\ \ :
/
/:/ _/ _/ \ ::/ \ :\ \ :
_/ _/ _/ _/
I 2024/05/21 18:25:20 runtime.go:74: kernel is booting:
* ver [3.0.14]
* arch [amd64]
* os [Microsoft Windows 10 Pro]
* pid [13832]
* runtime mode [prod]
* working directory [D:\Tools\SiYuan\resources]
* read only [false]
* container [std]
* database [ver=20220501]
* workspace directory [D:\MyDocuments\CuisPKM]
I 2024/05/21 18:25:20 conf.go:124: loaded conf [D:\MyDocuments\CuisPKM\conf\conf.json]
I 2024/05/21 18:25:20 conf.go:286: downgraded from version [3.0.15] to [3.0.14]
I 2024/05/21 18:25:20 conf.go:433: OpenAI API enabled
userAgent=SiYuan/3.0.14 std/windows
baseURL=https://api.deepseek.com/v1
timeout=80s
proxy=socks://127.0.0.1:7890
model=deepseek-chat
maxTokens=0
temperature=1.0
maxContexts=7
I 2024/05/21 18:25:20 conf.go:488: user has disabled [Google Analytics]
I 2024/05/21 18:25:20 runtime.go:123: use network proxy [system]
I 2024/05/21 18:25:20 serve.go:116: kernel [pid=13832] http server [127.0.0.1:7989] is booting
I 2024/05/21 18:25:21 pandoc.go:132: built-in pandoc [ver=3.1.1, bin=D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:25:21 conf.go:1093: pandoc initialized, set pandoc bin to [D:\MyDocuments\CuisPKM\temp\pandoc\bin\pandoc.exe]
I 2024/05/21 18:25:21 sync.go:147: sync before boot
I 2024/05/21 18:25:21 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=6a184c45709650323ed80733bcbcf6dd033620cf, files=6521, size=1.34 GB, created=2024-05-21 18:19:24]
I 2024/05/21 18:25:21 ocr.go:275: tesseract-ocr enabled [ver=v5.3.0.20221222, maxSize=2 MB, langs=chi_sim+chi_sim_vert+eng+osd]
I 2024/05/21 18:25:21 serve.go:129: reverse proxy server [127.0.0.1:6806] is booting
I 2024/05/21 18:25:22 repo.go:595: walk data [files=6521] cost [1.0684851s]
I 2024/05/21 18:25:22 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=6a184c45709650323ed80733bcbcf6dd033620cf, files=6521, size=1.34 GB, created=2024-05-21 18:19:24]
I 2024/05/21 18:25:23 ref.go:64: updated local latest to [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=26eb7b024273390f3b22e338ab9fcefb88c59089, files=6521, size=1.34 GB, created=2024-05-21 18:25:23]
I 2024/05/21 18:25:23 ref.go:50: got local latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=26eb7b024273390f3b22e338ab9fcefb88c59089, files=6521, size=1.34 GB, created=2024-05-21 18:25:23]
I 2024/05/21 18:25:23 s3.go:121: downloaded object [repo/refs/latest]
I 2024/05/21 18:25:23 s3.go:121: downloaded object [repo/indexes/1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0]
I 2024/05/21 18:25:23 sync.go:1581: got cloud latest [device=e7050026-01d8-49ca-ad84-acc6c39bad57/windows, id=1a972ad106c31c34cc19076a5c55ef5c8a3a3ce0, files=6521, size=1.34 GB, created=2024-05-21 18:16:38]
I 2024/05/21 18:25:24 repository.go:1217: boot get sync cloud files elapsed [2.76s]
I 2024/05/21 18:25:24 index.go:220: rebuilt database for notebook [20210821115526-jplv1w8] in [0.65s], tree [count=1431, size=31.79 MB]
W 2024/05/21 18:25:28 blocktree.go:572: save block tree [size=22.03 MB] to [D:\MyDocuments\CuisPKM\temp\blocktree], elapsed [3.66s]
I 2024/05/21 18:25:28 conf.go:848: database size [16.39 MB], tree/block count [1431/65020]
I 2024/05/21 18:25:28 working.go:192: kernel booted
I 2024/05/21 18:25:29 box.go:77: auto stat [trees=1431, blocks=65020, dataSize=1.35 GB, assetsSize=1.22 GB]
I 2024/05/21 18:25:29 disk.go:33: disk usage [total=860.29 GB, used=785.69 GB, free=74.6 GB]
I 2024/05/21 18:25:55 session.go:116: auth success [ip=127.0.0.1:8006]
I 2024/05/21 18:25:56 queue.go:157: database op tx [26879ms]
I 2024/05/21 18:26:19 queue.go:157: database op tx [20650ms]
I 2024/05/21 18:26:20 database.go:110: reinitialized database [D:\MyDocuments\CuisPKM\temp\siyuan.db]
I 2024/05/21 18:26:20 index.go:220: rebuilt database for notebook [20210821115526-jplv1w8] in [0.62s], tree [count=1431, size=31.79 MB]
I 2024/05/21 18:26:21 index.go:290: resolved refs [79] in [449ms]
I 2024/05/21 18:26:22 index.go:290: resolved refs [79] in [339ms]
I 2024/05/21 18:26:37 queue.go:157: database op tx [14593ms]
I 2024/05/21 18:26:56 queue.go:157: database op tx [18366ms]

More information

No response

@88250
Copy link
Member

88250 commented May 21, 2024

我这里无法重现问题,如果方便的话,请制作一个能够重现问题的工作空间打包发我测试看看 845765@qq.com

@hscui
Copy link
Author

hscui commented May 21, 2024

我这里无法重现问题,如果方便的话,请制作一个能够重现问题的工作空间打包发我测试看看 845765@qq.com

今晚有时间弄一个看看。

@hscui
Copy link
Author

hscui commented May 22, 2024

我这里无法重现问题,如果方便的话,请制作一个能够重现问题的工作空间打包发我测试看看 845765@qq.com

我尝试了很久,目前只确定是我的笔记本会造成这个问题,在两台电脑上都重现了;如果新建笔记本,移入部分笔记则不会出现这个问题;但我无法把所有笔记都打包给你,所以只能靠你们进行Debug。
今天中午群里面有一位也出现同样问题,我让他打包发你邮箱,不知是否收到。

@88250
Copy link
Member

88250 commented May 22, 2024

那就有点难定位问题了,我这里没有收到相关测试用数据集。

@hscui
Copy link
Author

hscui commented May 22, 2024

那就有点难定位问题了,我这里没有收到相关测试用数据集。

那先关闭这个issue吧,后面再看其他版本的情况了,也许下个版本就好了?

@88250
Copy link
Member

88250 commented May 22, 2024 via email

@lihongyang570
Copy link

我也是3.0.15,昨晚更新的,我是更新后开启了开机启动到托盘,今天早上启动后提示上次未正常退出,请完全退出程序后再关机,让我重建索引,我点了重建索引,接下来只要我点击集市或者插件按钮 软件就崩溃 提示内核因未知原因退出

@TCOTC
Copy link
Contributor

TCOTC commented May 23, 2024

@lihongyang570 你的问题应该是这个:#11508 。现在已经恢复了

@lihongyang570
Copy link

lihongyang570 commented May 23, 2024

@lihongyang570 你的问题应该是这个:#11508 。现在已经恢复了

嗯,好像是和链滴无法访问有关,hhh,刚刚看到了D大提的代码,应该是因为集市会访问服务器导致的NPE

@88250
Copy link
Member

88250 commented May 23, 2024

@hscui

我让他打包发你邮箱,不知是否收到。

收到一个可以重现问题的数据集了,但我不知道是不是同一个人发送的。稍后会进行改进,请等下个版本帮忙再测试看看。

88250 added a commit that referenced this issue May 23, 2024
@88250 88250 self-assigned this May 23, 2024
@88250 88250 changed the title 3.0.15内核因未知原因退出 Improve kernel stability May 23, 2024
@88250 88250 added this to the 3.0.16 milestone May 23, 2024
@88250 88250 closed this as completed May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants