"Unfortunately, Silence has stopped." at each access to Silence
Created by: FilLupin
Hello, I recently installed Silence 0.16.3 unstable (202). I configured a passphrase and send and receive several sms and mms.
Bug description
Yesterday, I used Silence since one week when I noticed I received 3 sms. When trying to read them, I entered my passphrase and then, Silence crashed with message: "Unfortunately, Silence has stopped." Since then, I can access to notifications if sms got received after Silence has been started, but Silence crashes each time I enter passphrase, after 0 to 1 second, just the time to watch the numbers of the sms sender. Since I stopped app and launch it again, notifications hide message contents.
After talking with one of the senders, he confirmed he tried to exchange keys to open a secure session. However, he cannot stop secure session but just sending again new keys. No sender sent attached picture or anything.
I do not have any recent export so I can not access to export function. I cannot uninstall and reinstall Silence, I understood it will remove all sms. It seems linked to #555
How to reproduce
- when contact opened a secure session, open silence
- enter passphrase
- watch silence crash
Device info
- Device: samsung GT-I9300
- Android version: 6.0.1
- Silence version: Silence 0.16.3-unstable
- Internal memory used : 73.04 Mb
Link to debug log
Here is the log I got qith adb logcat after opening Silence, entering passphrase, and crashing Silence:
07-10 17:53:04.412 12282 12447 D lights : set_light_buttons: 1 07-10 17:53:04.697 14405 14405 W KeyCachingService: onCreate() 07-10 17:53:04.697 14405 14405 W KeyCachingService: onStartCommand, null 07-10 17:53:04.697 14405 14405 W KeyCachingService: foregrounding KCS 07-10 17:53:04.717 14405 14405 W service : Broadcasting new secret... 07-10 17:53:04.742 12282 12944 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.smssecure.smssecure/.RoutingActivity bnds=[164,1134][298,1286] (has extras)} from uid 10064 on display 0 07-10 17:53:04.747 12847 12847 I LatinIME: Starting input. Cursor position = 8,8 07-10 17:53:04.787 14405 14405 W PassphraseRequiredActionBarActivity: onCreate(null) 07-10 17:53:04.787 14405 14405 W PassphraseRequiredActionBarActivity: routeApplicationState(), state: 0 07-10 17:53:04.792 14405 14405 W PassphraseRequiredActionBarActivity: initializeClearKeyReceiver() 07-10 17:53:04.792 14405 14405 W SubscriptionManagerCompat: from() 07-10 17:53:04.872 14405 14420 W art : Long monitor contention event with owner method=void org.smssecure.smssecure.database.DatabaseFactory.(android.content.Context) from DatabaseFactory.java:172 waiters=2 for 116ms 07-10 17:53:04.927 14405 14421 W SilenceSessionStore: SilenceSessionStore for subscription ID 1 07-10 17:53:04.937 14405 14420 W PublicKey: PublicKey Length: 36 07-10 17:53:04.942 14405 14405 W PassphraseRequiredActionBarActivity: onResume() 07-10 17:53:04.977 14405 14420 W SilenceSessionStore: SilenceSessionStore for subscription ID 1 07-10 17:53:05.002 14405 14421 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.032 14405 14405 W KeyCachingService: onStartCommand, org.smssecure.smssecure.service.action.ACTIVITY_START_EVENT 07-10 17:53:05.032 14405 14405 W KeyCachingService: Incrementing activity count... 07-10 17:53:05.137 14405 14442 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.137 14405 14420 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.152 14405 14442 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.242 14405 14423 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.242 14405 14422 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.247 14405 14439 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:05.667 14405 14405 W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection 07-10 17:53:05.667 14405 14405 I Choreographer: Skipped 33 frames! The application may be doing too much work on its main thread. 07-10 17:53:05.677 12847 12847 W RichInputConnection: Slow InputConnection: GET_TEXT_BEFORE_CURSOR took 643 ms. 07-10 17:53:05.767 12282 12315 I ActivityManager: Displayed org.smssecure.smssecure/.RoutingActivity: +996ms 07-10 17:53:05.782 14405 14405 W IInputConnectionWrapper: getSelectedText on inactive InputConnection 07-10 17:53:06.077 14405 14405 W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection 07-10 17:53:06.082 12847 12847 E RichInputConnection: Unable to connect to the editor to retrieve text. 07-10 17:53:06.082 12847 12847 W RichInputConnection: Unable to connect to the editor. Setting caps mode without knowing text. 07-10 17:53:06.147 14405 14405 W IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection 07-10 17:53:06.172 12847 12847 E RichInputConnection: Unable to connect to the editor to retrieve text. 07-10 17:53:06.172 12847 12847 W RichInputConnection: Unable to connect to the editor. Setting caps mode without knowing text. 07-10 17:53:06.177 14405 14405 W IInputConnectionWrapper: finishComposingText on inactive InputConnection 07-10 17:53:06.192 14405 14405 W IInputConnectionWrapper: finishComposingText on inactive InputConnection 07-10 17:53:06.302 14405 14421 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.307 14405 14420 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.307 14405 14423 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.307 14405 14422 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.322 14405 14442 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.327 14405 14439 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.332 14405 14420 W SilenceSessionStore: No existing session information found. 07-10 17:53:06.347 14405 14423 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.352 14405 14421 W SilenceSessionStore: No existing session information found. 07-10 17:53:06.352 14405 14422 W RecipientPreferenceDatabase: Muted until: 0 07-10 17:53:06.357 14405 14421 W JobConsumer: java.lang.IllegalArgumentException: Null values! 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.whispersystems.libsignal.ratchet.SymmetricSignalProtocolParameters.(SymmetricSignalProtocolParameters.java:37) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.whispersystems.libsignal.ratchet.SymmetricSignalProtocolParameters$Builder.create(SymmetricSignalProtocolParameters.java:109) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.smssecure.smssecure.crypto.SessionBuilder.processInitiate(SessionBuilder.java:255) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.smssecure.smssecure.crypto.SessionBuilder.process(SessionBuilder.java:220) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.smssecure.smssecure.crypto.SmsCipher.process(SmsCipher.java:114) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.smssecure.smssecure.jobs.SmsDecryptJob.handleKeyExchangeMessage(SmsDecryptJob.java:171) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.smssecure.smssecure.jobs.SmsDecryptJob.onRun(SmsDecryptJob.java:93) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.smssecure.smssecure.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76) 07-10 17:53:06.357 14405 14421 W JobConsumer: at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46) 07-10 17:53:06.362 14405 14420 W JobConsumer: java.lang.IllegalArgumentException: Null values! 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.whispersystems.libsignal.ratchet.SymmetricSignalProtocolParameters.(SymmetricSignalProtocolParameters.java:37) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.whispersystems.libsignal.ratchet.SymmetricSignalProtocolParameters$Builder.create(SymmetricSignalProtocolParameters.java:109) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.smssecure.smssecure.crypto.SessionBuilder.processInitiate(SessionBuilder.java:255) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.smssecure.smssecure.crypto.SessionBuilder.process(SessionBuilder.java:220) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.smssecure.smssecure.crypto.SmsCipher.process(SmsCipher.java:114) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.smssecure.smssecure.jobs.SmsDecryptJob.handleKeyExchangeMessage(SmsDecryptJob.java:171) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.smssecure.smssecure.jobs.SmsDecryptJob.onRun(SmsDecryptJob.java:93) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.smssecure.smssecure.jobs.MasterSecretJob.onRun(MasterSecretJob.java:18) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.whispersystems.jobqueue.JobConsumer.runJob(JobConsumer.java:76) 07-10 17:53:06.362 14405 14420 W JobConsumer: at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:46) 07-10 17:53:06.362 14405 14421 I Process : Sending signal. PID: 14405 SIG: 9 07-10 17:53:06.387 12282 12447 W InputDispatcher: channel '283b22f org.smssecure.smssecure/org.smssecure.smssecure.RoutingActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9 07-10 17:53:06.387 12282 12447 E InputDispatcher: channel '283b22f org.smssecure.smssecure/org.smssecure.smssecure.RoutingActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 07-10 17:53:06.392 12282 12951 W InputDispatcher: Attempted to unregister already unregistered input channel '283b22f org.smssecure.smssecure/org.smssecure.smssecure.RoutingActivity (server)' 07-10 17:53:06.392 12282 12951 I WindowState: WIN DEATH: Window{283b22f u0 org.smssecure.smssecure/org.smssecure.smssecure.RoutingActivity} 07-10 17:53:06.407 12282 14268 I ActivityManager: Process org.smssecure.smssecure (pid 14405) has died 07-10 17:53:06.407 12282 14268 D ActivityManager: cleanUpApplicationRecord -- 14405 07-10 17:53:06.407 12282 14268 W ActivityManager: Scheduling restart of crashed service org.smssecure.smssecure/.service.KeyCachingService in 1000ms 07-10 17:53:06.412 12282 14268 W ActivityManager: Force removing ActivityRecord{8c2a0a4 u0 org.smssecure.smssecure/.RoutingActivity t885}: app died, no saved state 07-10 17:53:06.457 12282 12420 W InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 14405 uid 10064 07-10 17:53:07.437 12892 13138 W AudioFxService: self destructing, no sessions active and nothing to do. 07-10 17:53:11.187 12282 12397 D lights : set_light_buttons: 2