Call ​Directory​ Extension​ really new SQLite error while reloading

Hello developers! I'm active developing app using CallKit Directory Extension. ( CXCallDirectory Extension)


I read all information about it, and know about about all erorrs. But several days ago i found new error, when i try as usual insert numbers (independently to block or identification), every time on accidental number i see next error:



Error while reloading status for MYBUNDLE extension: Optional(Error Domain=sqlite Code=11 "sqlite3_step for query 'INSERT OR IGNORE INTO PhoneNumber (number) VALUES (?), (?), (?), (?), (?), (?), ... a lot for question marks... (?), (?)' returned 11 (11) errorMessage 'database disk image is malformed'" UserInfo={NSLocalizedDescription=sqlite3_step for query 'INSERT OR IGNORE INTO PhoneNumber (number) VALUES (?), (?), (?), (?), (?),... a lot for question marks...(?), (?), (?), (?)' returned 11 (11) errorMessage 'database disk image is malformed'})




This error i have already on 2 devices; I have a big problem - if this error appears once - then is appears EVERY TIME when i reload extension.

I don't know what to do. Deleting app and reloading device - is not helped.

I test app on my number base a lot of times, but why this error start appers - i don't know.

I get the exact same error for about 10-20 users per month.


I do not know how to debug this further (that is, there doesn't seem a way to know whether some data / exactly what data have "corrupted" the db, or whether this is some internal iOS glitch / hardware problem?). Anyway, seemingly, there is no way to "reset" the device's db out of this state.


I have no idea what suggestions my support can give the users. I'm stuck.

Call ​Directory​ Extension​ really new SQLite error while reloading
 
 
Q