Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Silence-Android
Silence-Android
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 268
    • Issues 268
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Silence
  • Silence-AndroidSilence-Android
  • Issues
  • #824

Closed
Open
Opened Jan 07, 2021 by ThibG@ThibG

Occasional loss of incoming messages

Bug description

Occasionally, Silence loses incoming messages. I get a notification on my Gadgetbridge-enabled device, but when unlocking tthe smarthpone's screen, there is no notification and nothing in Silence.

Looking at the logs it seems the phone does receive the message but fails to launch Silence to process it. I'm not sure why exactly that happens.

01-07 19:47:42.317  5639  5761 W BroadcastQueue: Unable to launch app org.smssecure.smssecure/10104 for broadcast Intent { act=android.provider.Telephony.SMS_DELIVER flg=0x18000010 cmp=org.s
mssecure.smssecure/.service.SmsListener (has extras) }: process is bad
01-07 19:47:42.324  5639  5761 W BroadcastQueue: Unable to launch app org.smssecure.smssecure/10104 for broadcast Intent { act=android.provider.Telephony.SMS_RECEIVED flg=0x19000010 (has ext
ras) }: process is bad

Earlier that day, it seems Silence failed to start:

1-07 11:37:45.125  5639  5699 W ActivityManager: Background start not allowed: service Intent { cmp=org.smssecure.smssecure/.service.KeyCachingService } to org.smssecure.smssecure/.service.KeyCachingService from pid=10179 uid=10104 pkg=org.smssecure.smssecure startFg?=false
01-07 11:37:45.126 10179 10198 E AndroidRuntime: FATAL EXCEPTION: JobConsumer-1
01-07 11:37:45.126 10179 10198 E AndroidRuntime: Process: org.smssecure.smssecure, PID: 10179
01-07 11:37:45.126 10179 10198 E AndroidRuntime: java.lang.IllegalStateException: Not allowed to start service Intent { cmp=org.smssecure.smssecure/.service.KeyCachingService }: app is in background uid UidRecord{fe6454d u0a104 CEM  idle change:cached procs:1 seq(0,0,0)}
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1577)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at android.app.ContextImpl.startService(ContextImpl.java:1532)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at android.content.ContextWrapper.startService(ContextWrapper.java:664)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at org.smssecure.smssecure.service.KeyCachingService.getMasterSecret(KeyCachingService.java:88)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at org.smssecure.smssecure.jobs.requirements.MasterSecretRequirement.isPresent(MasterSecretRequirement.java:19)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at org.whispersystems.jobqueue.Job.isRequirementsMet(Job.java:48)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at org.whispersystems.jobqueue.JobQueue.getNextAvailableJob(JobQueue.java:76)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at org.whispersystems.jobqueue.JobQueue.getNext(JobQueue.java:52)
01-07 11:37:45.126 10179 10198 E AndroidRuntime:        at org.whispersystems.jobqueue.JobConsumer.run(JobConsumer.java:45)
01-07 11:37:45.131  5639  7203 W ActivityManager: Process org.smssecure.smssecure has crashed too many times: killing!
01-07 11:37:45.131  5639  7203 I ActivityManager: Killing 10179:org.smssecure.smssecure/u0a104 (adj 900): crash

Device info

  • Device: Fairphone 2
  • Android version: LineageOS 16.1
  • Silence version: 0.16.12-unstable (installed from F-Droid)
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: Silence/Silence-Android#824