chatlog icon indicating copy to clipboard operation
chatlog copied to clipboard

开启自动解密后数据库没有更新新解密的数据,.db.tmp未能合并

Open Airtual31959 opened this issue 4 months ago • 4 comments

Issue 简述

自动解密失效,数据库中没有新的数据,sns.db大小没有变化,sns.db.tmp的大小在一直增加


复现步骤

连续运行两天chatlog后出现了问题,较难说明如何复现


环境信息

  • 系统:Windows 10
  • 微信版本:4.0.3.43

补充说明

删除chatlog解密的目录重新解密后,再次开启自动解密也无法正常自动解密

Image Image

Airtual31959 avatar Oct 13 '25 06:10 Airtual31959

是不是手动打开过 sns.db 文件?windows 系统文件句柄未释放的话,无法覆盖更新文件

sjzar avatar Oct 13 '25 08:10 sjzar

没有手动打开过sns.db数据库文件,但是我写了一个只读脚本去查看sns.db的内容。

Airtual31959 avatar Oct 13 '25 08:10 Airtual31959

Image

Airtual31959 avatar Oct 13 '25 09:10 Airtual31959

嗯,这就是 tmp 无法覆盖更新的原因了。 改一下脚本,拷贝到其他目录后再打开就行了。

sjzar avatar Oct 13 '25 10:10 sjzar