wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

iOS15.x app进入后台30秒左右,被系统干掉了,有什么解决方式吗?

Open SMYdamao opened this issue 2 years ago • 3 comments

The language of WCDB

e.g. Objective-C,

The version of WCDB

e.g. v1.0.7.5

The platform of WCDB

e.g. iOS

The installation of WCDB

e.g. Cocoapods

SMYdamao avatar Mar 10 '22 08:03 SMYdamao

issue第六个有个同学fork并进行了解决你试试看可不可行,可行记得回来回复下

shywoody avatar Mar 10 '22 09:03 shywoody

issue第六个有个同学fork并进行了解决你试试看可不可行,可行记得回来回复下

这个我试了,还是不能解决

SMYdamao avatar Mar 11 '22 07:03 SMYdamao

我这也是新版本里突然各种语句报错, 不过96%场景都是在后台, 样本堆栈如下


Thread 7 Crashed:

0 WCDB 0x000000010971d3a8 WCDB::Error::report() const + 84

1 WCDB 0x000000010971d374 WCDB::Error::report() const + 32

2 WCDB 0x000000010971d894 WCDB::Error::Report(WCDB::Error::Type, int, std::__1::map<WCDB::Error::Key, WCDB::ErrorValue, std::__1::lessWCDB::Error::Key, std::__1::allocator<std::__1::pair<WCDB::Error::Key const, WCDB::ErrorValue> > > const&, WCDB::Error*) + 52

3 WCDB 0x000000010971e294 WCDB::Error::ReportInterface(int, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, WCDB::Error::InterfaceOperation, WCDB::Error::InterfaceCode, char const*, WCDB::Error*) + 332

4 WCDB 0x00000001096e58d8 WCTColumnBinding::makeDefaultObjC(NSObject*) + 1772

5 WCDB 0x00000001096f0938 WCTBinding::setVirtualTableModule(NSString*) + 4740

6 OA_App 0x0000000102d4e1e8 -[CTIMUserInfoWcdb userForID:] + 5317096 (CTIMUserInfoWcdb.mm:0)


Millionaryearl avatar Mar 11 '22 09:03 Millionaryearl

Please provide more details, maybe this is not caused by WCDB.

Qiuwen-chen avatar Dec 30 '22 04:12 Qiuwen-chen