Closed
Description
某次更新后,书签面板变为空,刷新按钮不起作用
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.1.9版本似乎一切正常
但是Win11某次思源更新后,估计是3.1.10版本开始,书签页面就变成了空,
点击刷新按钮转一小下就卡住了:、
refresh.mp4
偶尔启动的时候会出现一两个书签,但一点刷新就有变成空的了
Expected result
书签功能回复正常,或兼容特殊字符的书签?
Screenshot or screen recording presentation
No response
Version environment
- Version: 3.1.10
- Operating System: Win11
- Browser (if used):
Log file
log有很多这样的报错,不确定是不是有关系
E 2024/10/28 22:50:05 logging.go:165: PANIC RECOVERED: runtime error: invalid memory address or nil pointer dereference
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/panic.go:785 (0x7ff7439b5f91)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/panic.go:262 (0x7ff743995b97)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/signal_windows.go:401 (0x7ff743995b67)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/node.go:699 (0x7ff7451b97ea)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/render.go:91 (0x7ff7451b97ee)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/walk.go:36 (0x7ff744013b28)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/walk.go:44 (0x7ff744013b84)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/walk.go:31 (0x7ff7451b9237)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/render.go:47 (0x7ff7451b91ee)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/bookmark.go:185 (0x7ff74512f456)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/api/bookmark.go:32 (0x7ff74526cbbc)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e152f)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:249 (0x7ff7451e151d)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7446ce24a)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-contrib/sessions@v1.0.1/sessions.go:54 (0x7ff7452eb1a4)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff745247f68)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-contrib/gzip@v1.0.1/handler.go:60 (0x7ff745247f50)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7452eeafa)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:679 (0x7ff7452eeae8)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7446ce24a)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:661 (0x7ff7452f0efe)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e1d8e)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:406 (0x7ff7451e1d7a)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e1cdc)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:383 (0x7ff7451e1aaf)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e2289)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:432 (0x7ff7451e2047)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7446da3b1)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x7ff7446d9e20)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x7ff7446d9951)
D:/a/siyuan/siyuan/go/pkg/mod/golang.org/x/net@v0.30.0/http2/h2c/h2c.go:125 (0x7ff7446c8552)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/net/http/server.go:3210 (0x7ff743cd6fad)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/net/http/server.go:2092 (0x7ff743cb64cf)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/asm_amd64.s:1700 (0x7ff7439bf0e0)
E 2024/10/28 22:50:05 logging.go:165: PANIC RECOVERED: runtime error: invalid memory address or nil pointer dereference
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/panic.go:785 (0x7ff7439b5f91)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/panic.go:262 (0x7ff743995b97)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/signal_windows.go:401 (0x7ff743995b67)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/node.go:699 (0x7ff7451b97ea)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/render.go:91 (0x7ff7451b97ee)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/walk.go:36 (0x7ff744013b28)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/walk.go:44 (0x7ff744013b84)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/88250/lute@v1.7.7-0.20241020155135-9028c989d61e/ast/walk.go:31 (0x7ff7451b9237)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/render.go:47 (0x7ff7451b91ee)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/bookmark.go:185 (0x7ff74512f456)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/api/bookmark.go:32 (0x7ff74526cbbc)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e152f)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:249 (0x7ff7451e151d)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7446ce24a)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-contrib/sessions@v1.0.1/sessions.go:54 (0x7ff7452eb1a4)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff745247f68)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-contrib/gzip@v1.0.1/handler.go:60 (0x7ff745247f50)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7452eeafa)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:679 (0x7ff7452eeae8)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7446ce24a)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/server/serve.go:661 (0x7ff7452f0efe)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e1d8e)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:406 (0x7ff7451e1d7a)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e1cdc)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:383 (0x7ff7451e1aaf)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7451e2289)
D:/a/siyuan/siyuan/go/src/github.com/siyuan-note/siyuan/kernel/model/session.go:432 (0x7ff7451e2047)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185 (0x7ff7446da3b1)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633 (0x7ff7446d9e20)
D:/a/siyuan/siyuan/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589 (0x7ff7446d9951)
D:/a/siyuan/siyuan/go/pkg/mod/golang.org/x/net@v0.30.0/http2/h2c/h2c.go:125 (0x7ff7446c8552)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/net/http/server.go:3210 (0x7ff743cd6fad)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/net/http/server.go:2092 (0x7ff743cb64cf)
C:/hostedtoolcache/windows/go/1.23.2/x64/src/runtime/asm_amd64.s:1700 (0x7ff7439bf0e0)
More information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
HowcanoeWang commentedon Oct 28, 2024
回退3.1.9版本,win11书签恢复正常
[-]某次更新后,书签面板变为空,刷新按钮不起作用[/-][+]The bookmark panel cannot display items[/+]🐛 The bookmark panel cannot display items #12959
88250 commentedon Oct 28, 2024
感谢反馈,稍后发布的 dev 版麻烦测试看看是否修复。
HowcanoeWang commentedon Oct 28, 2024
可以了,感谢🙏
[-]The bookmark panel cannot display items[/-][+]The outline/bookmark panel cannot display items[/+]