Tencent / wcdb

WCDB is a cross-platform database framework developed by WeChat.
Other
10.78k stars 1.41k forks source link

crash on WCDBSwift WCDB::Value::clearValue() (atomic:) #1070

Closed mxh-mo closed 6 months ago

mxh-mo commented 6 months ago

The language of WCDB

Swift

The version of WCDB

v2.0.4

The platform of WCDB

iOS

The installation of WCDB

Git clone

What's the issue?

I have received such crashes on Bugly, and currently found that both insert and delete operations can trigger the same crash. Bugly shows that when the crash occurred, the users' phone storage spaces were all very limited, generally less than 0.5%.

1

I have tried to reproduce the issue myself using a phone with limited space, and the database also crashes occasionally. Here is the screenshot of the stack trace I obtained.

2

Could you please check what the problem is?

Qiuwen-chen commented 6 months ago

Fixed in the latest version