wcdb icon indicating copy to clipboard operation
wcdb copied to clipboard

Create Table Crash

Open nothot opened this issue 5 years ago • 1 comments

The language of WCDB

Objective-C

The version of WCDB

e.g. v1.0.5

The platform of WCDB

iOS

What's the issue?

We found WCDB has crash when creating table sometimes,the crash stack as follow: SIGSEGV 0x0000000000000002 0 WCDB WCTBinding::generateCreateTableStatement(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) const + 148 1 WCDB std::__1::__function::__func<-[WCTInterface(Table) createTableAndIndexesOfName:withClass:andError:]::$_0, std::__1::allocator<-[WCTInterface(Table) createTableAndIndexesOfName:withClass:andError:]::$_0>, bool (WCDB::Error&)>::operator()(WCDB::Error&) + 496 2 WCDB WCDB::CoreBase::runTransaction(std::__1::function<bool (WCDB::Error&)>, std::__1::function<void (WCDB::CoreBase::TransactionEventType)>, WCDB::Error&) + 84 3 WCDB WCDB::Database::runEmbeddedTransaction(std::__1::function<bool (WCDB::Error&)>, WCDB::Error&) + 192 4 WCDB -[WCTInterface(Table) createTableAndIndexesOfName:withClass:andError:] + 192 5 WCDB -[WCTDatabase(Table) createTableAndIndexesOfName:withClass:] + 80

nothot avatar Jul 14 '20 02:07 nothot

Encountered same problem

wangpeiyan avatar Mar 31 '21 03:03 wangpeiyan

Please try WCDB 2.0 to see if this problem still exists.

Qiuwen-chen avatar Apr 26 '23 07:04 Qiuwen-chen