signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.45k stars 6.1k forks source link

Signal cannot handle ENOSPC conditions during backup restore, crashing instead #11490

Open strugee opened 3 years ago

strugee commented 3 years ago

Bug description

If there is not enough space to restore a backup, Signal crashes rather than report the error to the user.

Steps to reproduce

  1. Have minimal storage on the phone
  2. Install Signal
  3. Open it and restore a large backup
  4. Wait for a crash

Actual result: Signal crashes without warning Expected result: Signal reports to the user that it was unable to restore the backup because the device doesn't have enough space.

Screenshots

N/A

Device info

Device: Google Pixel 3a XL Android version: LineageOS July 24, 2021, based on Android 11 Signal version: 5.18.3 beta

Link to debug log

https://github.com/signalapp/Signal-Android/issues/11489#issuecomment-887095187 has a debug log that contains information about this bug. Relevant snippet:

07-26 14:18:31.748  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 1 line
07-26 14:18:53.005  1050  3586 I chatty  : uid=1000(system) backup-0 expire 2 lines
07-26 14:18:57.488  1050  1084 I chatty  : uid=1000(system) android.io expire 1 line
07-26 14:18:57.687  1050  2032 I chatty  : uid=1000(system) HwBinder:1050_5 expire 2 lines
07-26 14:19:19.298  1050  2992 I chatty  : uid=1000(system) AdbDebuggingMan expire 1 line
07-26 14:20:01.979  1050  1558 I chatty  : uid=1000(system) InputReader expire 2 lines
07-26 14:20:57.010  1050  4299 I chatty  : uid=1000(system) Binder:1050_18 expire 9 lines
07-26 14:20:57.010  1050  1082 I chatty  : uid=1000(system) android.fg expire 6 lines
07-26 14:20:57.034  1050  4287 I chatty  : uid=1000(system) Binder:1050_12 expire 6 lines
07-26 14:20:57.041  1050  1714 I chatty  : uid=1000(system) Binder:1050_5 expire 3 lines
07-26 14:20:57.055  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 35 lines
07-26 14:20:57.227  1050  1050 I chatty  : uid=1000 system_server expire 54 lines
07-26 14:20:57.604  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 7 lines
07-26 14:21:30.827  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 107 lines
07-26 14:21:36.892  1050  3633 I chatty  : uid=1000(system) Binder:1050_F expire 3 lines
07-26 14:21:51.578  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 2 lines
07-26 14:22:16.864  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 15 lines
07-26 14:22:24.409  1050  1085 I chatty  : uid=1000(system) android.display expire 5 lines
07-26 14:22:34.434  1050  1535 I chatty  : uid=1000(system) AlarmManager expire 1 line
07-26 14:23:21.073  1050  1729 I chatty  : uid=1000(system) Binder:1050_6 expire 2 lines
07-26 14:23:21.366  1050  3634 I chatty  : uid=1000(system) Binder:1050_10 expire 5 lines
07-26 14:23:33.273  1050  1050 I chatty  : uid=1000 system_server expire 13 lines
07-26 14:23:33.617  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 28 lines
07-26 14:24:04.206  1866  1866 V DeadZone: consuming errant click: (887.0,10.0)
07-26 14:24:04.207  1866  1866 V DeadZone: consuming errant click: (887.0,10.0)
07-26 14:24:04.857  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 70 lines
07-26 14:24:05.764  1050  1050 I chatty  : uid=1000 system_server expire 27 lines
07-26 14:24:57.205  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 15 lines
07-26 14:25:04.761  1050  1085 I chatty  : uid=1000(system) android.display expire 4 lines
07-26 14:25:04.923  1050  1082 I chatty  : uid=1000(system) android.fg expire 4 lines
07-26 14:25:23.120  1050  1729 I chatty  : uid=1000(system) Binder:1050_6 expire 9 lines
07-26 14:25:24.109  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 2 lines
07-26 14:25:24.309 26280 26280 I ActivityThread: Removing dead content provider:android.content.ContentProviderProxy@2452f33
07-26 14:25:24.410  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 20 lines
07-26 14:25:25.380  1050  1050 I chatty  : uid=1000 system_server expire 12 lines
07-26 14:25:34.917  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 3 lines
07-26 14:25:35.096  1050  1714 I chatty  : uid=1000(system) Binder:1050_5 expire 1 line
07-26 14:25:35.338  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 1 line
07-26 14:25:35.344  1050  4319 I chatty  : uid=1000(system) Binder:1050_1C expire 5 lines
07-26 14:25:35.373  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 7 lines
07-26 14:25:35.630  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 3 lines
07-26 14:25:37.532  1050  1083 I chatty  : uid=1000(system) android.ui expire 1 line
07-26 14:25:48.063 31855 31855 W ViewRootImpl[App]: Dropping event due to root view being removed: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=843.40546, y[0]=1190.6099, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=1, eventTime=37912210, downTime=37912150, deviceId=2, source=0x1002, displayId=0 }
07-26 14:25:48.846  1050  1050 I chatty  : uid=1000 system_server expire 2 lines
07-26 14:25:49.683  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 46 lines
07-26 14:25:54.328  1050  1050 I chatty  : uid=1000 system_server expire 19 lines
07-26 14:25:56.994  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 16 lines
07-26 14:25:57.659  1050  1068 I chatty  : uid=1000(system) Binder:1050_2 expire 1 line
07-26 14:25:57.659  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 11 lines
07-26 14:25:57.872 19253 19309 E ActivityThread: Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
07-26 14:26:02.875  1050  1729 I chatty  : uid=1000(system) Binder:1050_6 expire 2 lines
07-26 14:26:35.383  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 7 lines
07-26 14:26:42.997  1050  1083 I chatty  : uid=1000(system) android.ui expire 5 lines
07-26 14:26:43.760  1050  4319 I chatty  : uid=1000(system) Binder:1050_1C expire 2 lines
07-26 14:26:43.787 19823 19860 D ScreenshotSmartActions: Screenshot from user profile: 0
07-26 14:26:44.317  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 20 lines
07-26 14:26:44.364 19823 19860 D ScreenshotSmartActions: Got 0 smart actions. Wait time: 0 ms
07-26 14:26:45.884  1050  1050 I chatty  : uid=1000 system_server expire 11 lines
07-26 14:26:47.615  1050  4287 I chatty  : uid=1000(system) Binder:1050_12 expire 5 lines
07-26 14:27:24.725  1050  3633 I chatty  : uid=1000(system) Binder:1050_F expire 8 lines
07-26 14:27:35.290 20150 20150 D ActivityThread: Loading provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
07-26 14:27:35.546  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 4 lines
07-26 14:27:36.062  1050  1050 I chatty  : uid=1000 system_server expire 13 lines
07-26 14:28:25.198  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 14 lines
07-26 14:28:32.758  1050  1085 I chatty  : uid=1000(system) android.display expire 5 lines
07-26 14:28:32.899  1050  1082 I chatty  : uid=1000(system) android.fg expire 4 lines
07-26 14:28:33.045  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 1 line
07-26 14:28:33.045  1050  5849 I chatty  : uid=1000(system) Binder:1050_1F expire 1 line
07-26 14:28:33.046  1050  4299 I chatty  : uid=1000(system) Binder:1050_18 expire 1 line
07-26 14:28:33.176  1050  1796 I chatty  : uid=1000(system) SyncManager expire 2 lines
07-26 14:28:35.070  1050  4313 I chatty  : uid=1000(system) Binder:1050_1A expire 3 lines
07-26 14:28:35.142  1050  1987 I chatty  : uid=1000(system) Binder:1050_7 expire 1 line
07-26 14:28:35.142  1050  2486 I chatty  : uid=1000(system) Binder:1050_B expire 3 lines
07-26 14:28:40.786  1050  1535 I chatty  : uid=1000(system) AlarmManager expire 1 line
07-26 14:29:13.050  1050  3628 I chatty  : uid=1000(system) Binder:1050_D expire 5 lines
07-26 14:29:13.190  1050  4312 I chatty  : uid=1000(system) Binder:1050_19 expire 3 lines
07-26 14:29:23.550  1050  3632 I chatty  : uid=1000(system) Binder:1050_E expire 2 lines
07-26 14:29:28.387  1050  3621 I chatty  : uid=1000(system) Binder:1050_C expire 2 lines
07-26 14:29:28.772  1050  4291 I chatty  : uid=1000(system) Binder:1050_13 expire 8 lines
07-26 14:29:29.421  1050  3633 I chatty  : uid=1000(system) Binder:1050_F expire 6 lines
07-26 14:29:29.611  1050  3621 I chatty  : uid=1000(system) Binder:1050_C expire 10 lines
07-26 14:29:29.612  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 9 lines
07-26 14:29:32.597  1050  1083 I chatty  : uid=1000(system) android.ui expire 3 lines
07-26 14:29:35.362  1050  3628 I chatty  : uid=1000(system) Binder:1050_D expire 8 lines
07-26 14:29:39.748  1050  3632 I chatty  : uid=1000(system) Binder:1050_E expire 2 lines
07-26 14:29:41.272  1050  4312 I chatty  : uid=1000(system) Binder:1050_19 expire 5 lines
07-26 14:29:49.307  1050  4298 I chatty  : uid=1000(system) Binder:1050_17 expire 7 lines
07-26 14:29:54.101  1050  1558 I chatty  : uid=1000(system) InputReader expire 6 lines
07-26 14:29:54.123  1050  1050 I chatty  : uid=1000 system_server expire 30 lines
07-26 14:29:54.585  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 29 lines
07-26 14:29:54.642  1050  1085 I chatty  : uid=1000(system) android.display expire 11 lines
07-26 14:29:54.812  1050  1082 I chatty  : uid=1000(system) android.fg expire 9 lines
07-26 14:30:05.019  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 7 lines
07-26 14:30:05.041  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 3 lines
07-26 14:30:12.094  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 16 lines
07-26 14:30:12.273  1050  4313 I chatty  : uid=1000(system) Binder:1050_1A expire 1 line
07-26 14:31:04.963  1050  2486 I chatty  : uid=1000(system) Binder:1050_B expire 6 lines
07-26 14:31:16.541  1050  4314 I chatty  : uid=1000(system) Binder:1050_1B expire 3 lines
07-26 14:33:39.055  1050  1097 I chatty  : uid=1000(system) batterystats-wo expire 1 line
07-26 14:34:05.628  1050  1535 I chatty  : uid=1000(system) AlarmManager expire 1 line
07-26 14:34:05.730  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 2 lines
07-26 14:34:14.585  1050  1090 I chatty  : uid=1000(system) android.bg expire 1 line
07-26 14:34:53.958  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 2 lines
07-26 14:36:57.660  1050  3586 I chatty  : uid=1000(system) backup-0 expire 4 lines
07-26 14:36:57.669  1050 21068 I chatty  : uid=1000 system_server expire 5 lines
07-26 14:37:06.950  1050  1796 I chatty  : uid=1000(system) SyncManager expire 2 lines
07-26 14:37:07.981  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 12 lines
07-26 14:37:07.981  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 6 lines
07-26 14:37:09.445  1050  1050 I chatty  : uid=1000 system_server expire 101 lines
07-26 14:37:09.760  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 6 lines
07-26 14:37:09.785  1050  1085 I chatty  : uid=1000(system) android.display expire 3 lines
07-26 14:37:10.125  1050  3586 I chatty  : uid=1000(system) backup-0 expire 5 lines
07-26 14:37:10.209  1050  1082 I chatty  : uid=1000(system) android.fg expire 5 lines
07-26 14:37:10.247  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 24 lines
07-26 14:37:10.275  1050  4314 I chatty  : uid=1000(system) Binder:1050_1B expire 1 line
07-26 14:37:10.931  1050  2486 I chatty  : uid=1000(system) Binder:1050_B expire 1 line
07-26 14:37:11.300  1050  4319 I chatty  : uid=1000(system) Binder:1050_1C expire 1 line
07-26 14:37:12.772  1050  5849 I chatty  : uid=1000(system) Binder:1050_1F expire 1 line
07-26 14:37:12.887  1050  1067 I chatty  : uid=1000(system) Binder:1050_1 expire 1 line
07-26 14:37:20.396  1050 21068 I chatty  : uid=1000 system_server expire 54 lines
07-26 14:37:20.900  1050  1714 I chatty  : uid=1000(system) Binder:1050_5 expire 1 line
07-26 14:37:21.902  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 2 lines
07-26 14:37:22.698  1050  4298 I chatty  : uid=1000(system) Binder:1050_17 expire 2 lines
07-26 14:37:25.840  1050  3632 I chatty  : uid=1000(system) Binder:1050_E expire 4 lines
07-26 14:37:26.119  1050  4312 I chatty  : uid=1000(system) Binder:1050_19 expire 2 lines
07-26 14:37:31.053  1050  2218 I chatty  : uid=1000(system) Binder:1050_9 expire 1 line
07-26 14:37:31.561  1050  4295 I chatty  : uid=1000(system) Binder:1050_14 expire 1 line
07-26 14:37:57.050  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 1 line
07-26 14:38:00.683  1050  4320 I chatty  : uid=1000(system) Binder:1050_1D expire 1 line
07-26 14:38:03.724  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 23 lines
07-26 14:38:03.914 22050 22050 D ActivityThread: Loading provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
07-26 14:38:04.285  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 1 line
07-26 14:38:04.549  1050  1050 I chatty  : uid=1000 system_server expire 58 lines
07-26 14:38:05.245  1050 21068 I chatty  : uid=1000 system_server expire 59 lines
07-26 14:38:15.830  1050  2218 I chatty  : uid=1000(system) Binder:1050_9 expire 10 lines
07-26 14:38:17.498  1050  1591 I chatty  : uid=1000(system) NetworkPolicy expire 1 line
07-26 14:38:18.298  1050  4291 I chatty  : uid=1000(system) Binder:1050_13 expire 6 lines
07-26 14:38:18.715  1050  4314 I chatty  : uid=1000(system) Binder:1050_1B expire 1 line
07-26 14:38:22.525  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 4 lines
07-26 14:38:22.525  1050  3632 I chatty  : uid=1000(system) Binder:1050_E expire 1 line
07-26 14:38:22.526  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 10 lines
07-26 14:38:23.106 13226 19907 E ActivityThread: Failed to find provider info for instantapp-dev-manager
07-26 14:38:24.057  1050  1050 I chatty  : uid=1000 system_server expire 28 lines
07-26 14:38:24.312 29162 14130 E AndroidRuntime: FATAL EXCEPTION: signal-logger
07-26 14:38:24.312 29162 14130 E AndroidRuntime: Process: org.thoughtcrime.securesms, PID: 29162
07-26 14:38:24.312 29162 14130 E AndroidRuntime: net.sqlcipher.database.SQLiteFullException: database or disk is full: COMMIT;
07-26 14:38:24.312 29162 14130 E AndroidRuntime:    at net.sqlcipher.database.SQLiteDatabase.native_execSQL(Native Method)
07-26 14:38:24.312 29162 14130 E AndroidRuntime:    at net.sqlcipher.database.SQLiteDatabase.execSQL(SQLiteDatabase.java:2439)
07-26 14:38:24.312 29162 14130 E AndroidRuntime:    at net.sqlcipher.database.SQLiteDatabase.endTransaction(SQLiteDatabase.java:834)
07-26 14:38:24.312 29162 14130 E AndroidRuntime:    at org.thoughtcrime.securesms.database.LogDatabase.insert(LogDatabase.kt:130)
07-26 14:38:24.312 29162 14130 E AndroidRuntime:    at org.thoughtcrime.securesms.logging.PersistentLogger$WriteThread.run(PersistentLogger.kt:113)
07-26 14:38:25.323  1050  5849 I chatty  : uid=1000(system) Binder:1050_1F expire 2 lines
07-26 14:38:28.975  1050  4298 I chatty  : uid=1000(system) Binder:1050_17 expire 5 lines
07-26 14:38:29.054  1050  1644 I chatty  : uid=1000(system) DeviceStorageMo expire 1 line
07-26 14:38:29.610  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 3 lines
07-26 14:38:29.641  1050  1085 I chatty  : uid=1000(system) android.display expire 1 line
07-26 14:38:33.179  1050  4295 I chatty  : uid=1000(system) Binder:1050_14 expire 7 lines
07-26 14:38:34.258  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 16 lines
07-26 14:38:34.258  1050 21068 I chatty  : uid=1000 system_server expire 25 lines
07-26 14:38:34.777  1050  2218 I chatty  : uid=1000(system) Binder:1050_9 expire 3 lines
07-26 14:38:35.103  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 9 lines
07-26 14:38:35.113  1050  1097 I chatty  : uid=1000(system) batterystats-wo expire 2 lines
07-26 14:38:35.135  1050  1085 I chatty  : uid=1000(system) android.display expire 2 lines
07-26 14:38:35.146  1050  5849 I chatty  : uid=1000(system) Binder:1050_1F expire 5 lines
07-26 14:38:36.137  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 7 lines
07-26 14:38:36.248  1050  1050 I chatty  : uid=1000 system_server expire 43 lines
07-26 14:38:37.093  1050  3633 I chatty  : uid=1000(system) Binder:1050_F expire 4 lines
07-26 14:38:37.148  1050  4320 I chatty  : uid=1000(system) Binder:1050_1D expire 1 line
07-26 14:38:37.148  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 5 lines
07-26 14:38:37.149  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 5 lines
07-26 14:38:37.610  1050  1068 I chatty  : uid=1000(system) Binder:1050_2 expire 1 line
07-26 14:38:42.706  1050  4313 I chatty  : uid=1000(system) Binder:1050_1A expire 5 lines
07-26 14:38:42.908  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 4 lines
07-26 14:38:42.932  1050  1082 I chatty  : uid=1000(system) android.fg expire 3 lines
07-26 14:38:43.596  1050  3635 I chatty  : uid=1000(system) Binder:1050_11 expire 5 lines
07-26 14:38:47.656  1050  4298 I chatty  : uid=1000(system) Binder:1050_17 expire 2 lines
07-26 14:38:52.006  1050  1987 I chatty  : uid=1000(system) Binder:1050_7 expire 1 line
07-26 14:38:52.196 23061 23109 E ActivityThread: Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
07-26 14:38:53.130  1050  1050 I chatty  : uid=1000 system_server expire 23 lines
07-26 14:38:54.373  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 8 lines
07-26 14:38:59.309  1050 21068 I chatty  : uid=1000 system_server expire 20 lines
07-26 14:38:59.595  1050  1067 I chatty  : uid=1000(system) Binder:1050_1 expire 1 line
07-26 14:38:59.736  1050  4299 I chatty  : uid=1000(system) Binder:1050_18 expire 1 line
07-26 14:38:59.775 23217 23217 D ActivityThread: Loading provider contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
07-26 14:38:59.884  1050 21068 I chatty  : uid=1000 system_server expire 44 lines
07-26 14:38:59.911  1050  5531 I chatty  : uid=1000(system) Binder:1050_1E expire 5 lines
07-26 14:39:00.024  1050  1050 I chatty  : uid=1000 system_server expire 46 lines
07-26 14:39:00.131  1050  4291 I chatty  : uid=1000(system) Binder:1050_13 expire 2 lines
07-26 14:39:00.142  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 20 lines
07-26 14:39:00.360  1050  1067 I chatty  : uid=1000(system) Binder:1050_1 expire 1 line
07-26 14:39:00.360  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 10 lines
07-26 14:39:00.432  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 4 lines
07-26 14:39:00.738  1050  4319 I chatty  : uid=1000(system) Binder:1050_1C expire 4 lines
07-26 14:39:00.864  1050  4314 I chatty  : uid=1000(system) Binder:1050_1B expire 3 lines
07-26 14:39:01.872  1050  3633 I chatty  : uid=1000(system) Binder:1050_F expire 4 lines
07-26 14:39:01.929  1050  1082 I chatty  : uid=1000(system) android.fg expire 7 lines
07-26 14:39:02.111  1050  3632 I chatty  : uid=1000(system) Binder:1050_E expire 1 line
07-26 14:39:02.406  1050  4287 I chatty  : uid=1000(system) Binder:1050_12 expire 2 lines
07-26 14:39:05.653  1050  1535 I chatty  : uid=1000(system) AlarmManager expire 1 line
07-26 14:39:17.921  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 6 lines
07-26 14:39:18.216  1050  4313 I chatty  : uid=1000(system) Binder:1050_1A expire 1 line
07-26 14:39:29.603  1050  1644 I chatty  : uid=1000(system) DeviceStorageMo expire 2 lines
07-26 14:39:47.222  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 14 lines
07-26 14:39:47.347  1050  2218 I chatty  : uid=1000(system) Binder:1050_9 expire 2 lines
07-26 14:39:54.762  1050  1085 I chatty  : uid=1000(system) android.display expire 4 lines
07-26 14:40:23.823  1050  4298 I chatty  : uid=1000(system) Binder:1050_17 expire 3 lines
07-26 14:41:13.651  1050  3635 I chatty  : uid=1000(system) Binder:1050_11 expire 4 lines
07-26 14:41:13.656  1050  4296 I chatty  : uid=1000(system) Binder:1050_15 expire 4 lines
07-26 14:41:13.794  1050  1068 I chatty  : uid=1000(system) Binder:1050_2 expire 3 lines
07-26 14:41:14.862  1050  4320 I chatty  : uid=1000(system) Binder:1050_1D expire 5 lines
07-26 14:41:16.878  1050  1628 I chatty  : uid=1000(system) ConnectivitySer expire 11 lines
07-26 14:41:30.695  1050  1050 I chatty  : uid=1000 system_server expire 18 lines
07-26 14:41:30.696  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 25 lines
07-26 14:41:30.787  1050  1644 I chatty  : uid=1000(system) DeviceStorageMo expire 4 lines
07-26 14:41:31.711  1050  1068 I chatty  : uid=1000(system) Binder:1050_2 expire 1 line
07-26 14:41:32.151  1050  2484 I chatty  : uid=1000(system) Binder:1050_A expire 2 lines
07-26 14:42:21.430  1050  4291 I chatty  : uid=1000(system) Binder:1050_13 expire 2 lines
07-26 14:42:23.329  1050  3632 I chatty  : uid=1000(system) Binder:1050_E expire 8 lines
07-26 14:42:23.611  1050  1101 I chatty  : uid=1000(system) PowerManagerSer expire 15 lines
07-26 14:42:51.278  1050  3621 I chatty  : uid=1000(system) Binder:1050_C expire 11 lines
07-26 14:42:51.825  1050  1085 I chatty  : uid=1000(system) android.display expire 9 lines
07-26 14:42:51.982  1050  1082 I chatty  : uid=1000(system) android.fg expire 4 lines
07-26 14:42:52.271 29166 29166 E AndroidRuntime: FATAL EXCEPTION: main
07-26 14:42:52.271 29166 29166 E AndroidRuntime: Process: com.google.android.apps.wellbeing, PID: 29166
07-26 14:42:52.271 29166 29166 E AndroidRuntime: lsy: 
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at tk_trace.Broadcast to com.google.android.apps.wellbeing.fences.screen.ScreenOnOffReceiver_Receiver com.google.android.apps.wellbeing.action.SCREEN_ON_OFF(Unknown Source:0)
07-26 14:42:52.271 29166 29166 E AndroidRuntime: Caused by: java.io.IOException: Inoperable file: canonical[/data/data/com.google.android.apps.wellbeing/files/FenceManagerConfigDataStore.pb] freeSpace[104665088] mode[33152]
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jwt.c(PG:7)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jwt.d(PG:7)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jwt.a(PG:7)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jwg.c(PG:9)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jwc.a(Unknown Source:2)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at lsm.a(PG:2)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at mjy.f(PG:2)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at mka.run(PG:9)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at mne.run(PG:1)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at mnf.run(PG:4)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at ita.run(PG:5)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at ism.run(Unknown Source:2)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at ise.run(Unknown Source:2)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at java.lang.Thread.run(Thread.java:923)
07-26 14:42:52.271 29166 29166 E AndroidRuntime: Caused by: java.io.FileNotFoundException: /data/user/0/com.google.android.apps.wellbeing/files/FenceManagerConfigDataStore.pb.tmp: open failed: ENOSPC (No space left on device)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at libcore.io.IoBridge.open(IoBridge.java:492)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jtn.d(PG:4)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jum.d(PG:1)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at juk.a(PG:1)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jtg.a(PG:2)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at jwg.c(PG:4)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    ... 12 more
07-26 14:42:52.271 29166 29166 E AndroidRuntime: Caused by: android.system.ErrnoException: open failed: ENOSPC (No space left on device)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at libcore.io.Linux.open(Native Method)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7550)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    at libcore.io.IoBridge.open(IoBridge.java:478)
07-26 14:42:52.271 29166 29166 E AndroidRuntime:    ... 19 more
07-26 14:42:52.284  1050  1091 I chatty  : uid=1000(system) ActivityManager expire 15 lines
07-26 14:42:52.314  1050 24062 I chatty  : uid=1000 system_server expire 2 lines
07-26 14:42:52.929  1050  3633 I chatty  : uid=1000(system) Binder:1050_F expire 2 lines
07-26 14:43:00.751  1050  4296 I chatty  : uid=1000(system) Binder:1050_15 expire 2 lines
07-26 14:43:00.752  1050  4298 I chatty  : uid=1000(system) Binder:1050_17 expire 1 line
07-26 14:43:43.675  1050  8812 I chatty  : uid=1000(system) Binder:1050_20 expire 4 lines
07-26 14:43:43.754 29162 14135 E AndroidRuntime: FATAL EXCEPTION: signal-bounded-1
07-26 14:43:43.754 29162 14135 E AndroidRuntime: Process: org.thoughtcrime.securesms, PID: 29162
07-26 14:43:43.754 29162 14135 E AndroidRuntime: net.sqlcipher.database.SQLiteFullException: database or disk is full: COMMIT;
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at net.sqlcipher.database.SQLiteDatabase.native_execSQL(Native Method)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at net.sqlcipher.database.SQLiteDatabase.execSQL(SQLiteDatabase.java:2439)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at net.sqlcipher.database.SQLiteDatabase.endTransaction(SQLiteDatabase.java:834)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.database.JobDatabase.insertJobs(JobDatabase.java:170)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobs.FastJobStorage.insertJobs(FastJobStorage.java:74)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobController.insertJobChain(JobController.java:385)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobController.submitNewJobChain(JobController.java:100)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.lambda$enqueueChain$11(JobManager.java:383)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.lambda$enqueueChain$11$JobManager(Unknown Source:0)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.-$$Lambda$JobManager$jdZ5aWLvUtEiXo5JyCyJ3nh1qL8.run(Unknown Source:4)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.lambda$runOnExecutor$13(JobManager.java:405)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.lambda$runOnExecutor$13$JobManager(Unknown Source:0)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.-$$Lambda$JobManager$c1ovOCOlc-SXjpOsSFvpE5K-odk.run(Unknown Source:4)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.util.concurrent.FilteredExecutor.execute(FilteredExecutor.java:26)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.runOnExecutor(JobManager.java:403)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.enqueueChain(JobManager.java:382)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.access$200(JobManager.java:41)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager$Chain.enqueue(JobManager.java:468)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.jobmanager.JobManager.add(JobManager.java:150)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.util.FeatureFlags.refreshIfNecessary(FeatureFlags.java:211)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.ApplicationContext.lambda$onForeground$16(ApplicationContext.java:193)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.ApplicationContext.lambda$onForeground$16$ApplicationContext(Unknown Source:0)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at org.thoughtcrime.securesms.-$$Lambda$ApplicationContext$8JK64U4SOtl_GNzkpAY53GCenPs.run(Unknown Source:2)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-26 14:43:43.754 29162 14135 E AndroidRuntime:    at java.lang.Thread.run(Thread.java:923)
07-26 14:43:43.909  1050  4314 I chatty  : uid=1000(system) Binder:1050_1B expire 8 lines
07-26 14:43:44.155 11953 11953 E AndroidRuntime: FATAL EXCEPTION: main
07-26 14:43:44.155 11953 11953 E AndroidRuntime: Process: com.google.android.apps.wellbeing, PID: 11953
07-26 14:43:44.155 11953 11953 E AndroidRuntime: lsy: 
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at tk_trace.Broadcast to com.google.android.apps.wellbeing.fences.screen.ScreenOnOffReceiver_Receiver com.google.android.apps.wellbeing.action.SCREEN_ON_OFF(Unknown Source:0)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at tk_trace.Application creation(Unknown Source:0)
07-26 14:43:44.155 11953 11953 E AndroidRuntime: Caused by: java.io.IOException: Inoperable file: canonical[/data/data/com.google.android.apps.wellbeing/files/FenceManagerConfigDataStore.pb] freeSpace[104669184] mode[33152]
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jwt.c(PG:7)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jwt.d(PG:7)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jwt.a(PG:7)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jwg.c(PG:9)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jwc.a(Unknown Source:2)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at lsm.a(PG:2)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at mjy.f(PG:2)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at mka.run(PG:9)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at mne.run(PG:1)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at mnf.run(PG:4)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at ita.run(PG:5)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at ism.run(Unknown Source:2)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at ise.run(Unknown Source:2)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at java.lang.Thread.run(Thread.java:923)
07-26 14:43:44.155 11953 11953 E AndroidRuntime: Caused by: java.io.FileNotFoundException: /data/user/0/com.google.android.apps.wellbeing/files/FenceManagerConfigDataStore.pb.tmp: open failed: ENOSPC (No space left on device)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at libcore.io.IoBridge.open(IoBridge.java:492)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at java.io.FileOutputStream.<init>(FileOutputStream.java:236)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at java.io.FileOutputStream.<init>(FileOutputStream.java:186)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jtn.d(PG:4)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jum.d(PG:1)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at juk.a(PG:1)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jtg.a(PG:2)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at jwg.c(PG:4)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    ... 12 more
07-26 14:43:44.155 11953 11953 E AndroidRuntime: Caused by: android.system.ErrnoException: open failed: ENOSPC (No space left on device)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at libcore.io.Linux.open(Native Method)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7550)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    at libcore.io.IoBridge.open(IoBridge.java:478)
07-26 14:43:44.155 11953 11953 E AndroidRuntime:    ... 19 more
07-26 14:43:44.187  1050 24299 I chatty  : uid=1000 system_server expire 2 lines
07-26 14:43:49.009  1050  1083 I chatty  : uid=1000(system) android.ui expire 4 lines
07-26 14:43:49.679  1050  1570 I chatty  : uid=1000(system) Binder:1050_3 expire 5 lines
07-26 14:43:52.745  1050  2486 I chatty  : uid=1000(system) Binder:1050_B expire 5 lines
07-26 14:44:02.155  1050  1652 I chatty  : uid=1000(system) Binder:1050_4 expire 1 line
07-26 14:44:04.448  1050  3628 I chatty  : uid=1000(system) Binder:1050_D expire 5 lines
07-26 14:44:05.674  1050  1535 I chatty  : uid=1000(system) AlarmManager expire 1 line
07-26 14:44:58.072 24582 24661 E ActivityThread: Failed to find provider info for com.facebook.katana.provider.AttributionIdProvider
07-26 14:45:02.630  1050  1050 I chatty  : uid=1000 system_server expire 6 lines
07-26 14:45:02.637  1050  5849 I chatty  : uid=1000(system) Binder:1050_1F expire 1 line
07-26 14:45:02.682  1050  3621 I chatty  : uid=1000(system) Binder:1050_C expire 1 line
07-26 14:45:02.682  1050  4299 I chatty  : uid=1000(system) Binder:1050_18 expire 1 line
07-26 14:45:21.465  1050  1092 I chatty  : uid=1000(system) ActivityManager expire 22 lines
07-26 14:45:22.417  1050  2486 I chatty  : uid=1000(system) Binder:1050_B expire 2 lines
07-26 14:45:25.028  1050  1083 I chatty  : uid=1000(system) android.ui expire 3 lines
07-26 14:45:25.614  1050  3628 I chatty  : uid=1000(system) Binder:1050_D expire 3 lines
rbrooklyn commented 3 years ago

Your device has run out of space. Evidenced by this line: 07-26 14:42:52.271 29166 29166 E AndroidRuntime: Caused by: android.system.ErrnoException: open failed: ENOSPC (No space left on device)

Signal should handle this more gracefully, but this is the cause.

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

strugee commented 2 years ago

@stale go away

stale[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

strugee commented 2 years ago

🙄