iOS切换用户登录后,数据库打开成功,但是后续出错,prepare db error:26 info:file is not a database

跳跳 2021-10-19 612

:1934201] [NetworkInfo] Signal strength query returned error: Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied", descriptor: <CTServiceDescriptor 0x28310a720, domain=1, instance=1>

2021-10-19 11:25:05.491056+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, Open, 275][open db /var/mobile/Containers/Data/Application/8D78319A-0506-4922-82DF-4BE40CE4C6F5/Documents/6a9e105cbe324428bea06b1d6dbed7f4/DA338A82-1B82-434E-9270-4495C9673D40/data

2021-10-19 11:25:05.501371+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, Open, 314][open db done

2021-10-19 11:25:05.645878+0800 mobileoffice_ios[73306:1934494] TIC Read Status [1:0x28047cd80]: 1:57

2021-10-19 11:25:06.025485+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 50][prepare db error:26 info:file is not a database sql:select name from sqlite_master where type='table' AND name=?

2021-10-19 11:25:06.025865+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeSelect, 64][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.027209+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 50][prepare db error:26 info:file is not a database sql:select _version from t_version order by _version desc  limit 1

2021-10-19 11:25:06.027388+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeSelect, 64][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.027931+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 33][prepare db error:26 info:file is not a database sql:update t_message set _status=? where _status=?

2021-10-19 11:25:06.028121+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeUpdate, 103][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.028626+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 33][prepare db error:26 info:file is not a database sql:select _head from t_timeline

2021-10-19 11:25:06.028940+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeSelect, 64][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.029509+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 33][prepare db error:26 info:file is not a database sql:select max(_update_dt) from t_user_setting

2021-10-19 11:25:06.029774+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeSelect, 64][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.030326+0800 mobileoffice_ios[73306:1934201] Connection status changed to (0)

2021-10-19 11:25:06.031393+0800 mobileoffice_ios[73306:1934201] [OCFTLog]: [IM] [onConnectionStatusChanged] 0

2021-10-19 11:25:06.032419+0800 mobileoffice_ios[73306:1934201] [I][mars::stn][net_source.cc, SetShortlink, 118][task set shortlink server addr, port:80, debugip:

2021-10-19 11:25:06.033433+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 50][prepare db error:26 info:file is not a database sql:select _host,_long_port,_short_port,_update_dt from t_user_server where _uid=?

2021-10-19 11:25:06.034263+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeSelect, 64][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.034793+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, RecyclableStatement, 50][prepare db error:26 info:file is not a database sql:select _host,_long_port,_short_port,_update_dt from t_user_server where _uid=?

2021-10-19 11:25:06.034930+0800 mobileoffice_ios[73306:1934201] [E][][DB2.cc, executeSelect, 64][sql select error:21, errorInfo:file is not a database

2021-10-19 11:25:06.035353+0800 mobileoffice_ios[73306:1934201] [I][mars::stn][net_source.cc, SetShortlink, 118][task set shortlink server addr, port:80, debugip:

2021-10-19 11:25:06.035630+0800 mobileoffice_ios[73306:1934201] [I][mars::stn][stn_logic.cc, operator, 186][make sure longlink connect

2021-10-19 11:25:06.047916+0800 mobileoffice_ios[73306:1934543] [I][mars::stn][net_core.cc, operator, 299][task start long short taskid:2, cmdid:11, need_authed:false, cgi:/route, channel_select:1, limit_flow:false, host:124.196.0.10, send_only:false, cmdid:11, server_process_cost:-1, retrycount:-1,  channel_strategy:1,  total_timetout:-1, network_status_sensitive:false, priority:3, report_arg:

最新回复 (2)
  • 跳跳 2021-10-19
    引用 2

    A用户登录后,退出再登录没问题,拉取消息正常,

    但是切换B用户后,t再登录A用户,或者B用户,则报上述数据库错误

    怀疑切换用户的时候,db内容被破坏

  • HeavyRain 2021-10-19
    引用 3
    更新到最新的协议栈SDK能不能修复
返回