Could not open temporary properties file: No space left on device问题分析以及解决方案

1.项目背景
车机项目上进行上下电压测,发现车机系统会不断重启,无法正常开机。通过查看log发现是android开机阶段异常导致。

异常log如下所示:

java.lang.RuntimeException: Failed to boot service com.android.server.trust.TrustManagerService: onBootPhase threw an exception during phase 500
at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:211)
at com.android.server.SystemServer.startOtherServices(SystemServer.java:2162)
at com.android.server.SystemServer.run(SystemServer.java:608)
at com.android.server.SystemServer.main(SystemServer.java:418)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:925)
Caused by: java.lang.NullPointerException: Attempt to invoke interface method 'void com.android.internal.widget.ILockSettings.registerStrongAuthTracker(android.app.trust.IStrongAuthTracker)' on a null object reference
at com.android.internal.widget.LockPatternUtils.registerStrongAuthTracker(LockPatternUtils.java:1372)
at com.android.server.trust.TrustManagerService.onBootPhase(TrustManagerService.java:213)
at com.android.server.SystemServiceManager.startBootPhase(SystemServiceManager.java:208)
... 6 more

2. log分析
No space left on device 导致db文件无法正常创建保存,从而影响到LockSettingsService的启动,最终影响到TrustManagerService的启动,导致系统重启

No space left on device 导致db文件无法正常创建保存,从而影响到LockSettingsService的启动,最终影响到TrustManagerService的启动,导致系统重启。

06-21 19:27:27.657212 953 953 I SystemServerTiming: StartLockSettingsService
06-21 19:27:27.657279 953 953 I SystemServiceManager: Starting com.android.server.locksettings.LockSettingsService$Lifecycle
06-21 19:27:27.658279 953 1345 D SystemServerInitThreadPool: Finished executing UiModeManager.onStart
--------- switch to kernel
06-21 19:27:27.657679 0 0 E init : Could not store persistent property: Could not open temporary properties file: No space left on device
--------- switch to main
06-21 19:27:27.660049 953 953 E SQLiteLog: (14) cannot open file at line 38590 of [d2e6722037]
06-21 19:27:27.660104 953 953 E SQLiteLog: (14) os_unix.c:38590: (2) open(/data/system/recoverablekeystore.db-wal) -
06-21 19:27:27.660126 953 953 E SQLiteLog: (14) unable to open database file in "PRAGMA journal_mode"
06-21 19:27:27.660537 953 953 E SQLiteDatabase: Failed to open database '/data/system/recoverablekeystore.db'.
06-21 19:27:27.660537 953 953 E SQLiteDatabase: android.database.sqlite.SQLiteCantOpenDatabaseException: unable to open database file (code 14 SQLITE_CANTOPEN): , while compiling: PRAGMA journal_mode
06-21 19:27:27.660537 953 953 E SQLiteDatabase: at android.database.sqlite.SQLiteConnection.nativePrepareStatement(Native Method)
06-21 19:27:27.660537 953 95
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值