keybase / keybase/client

Crash on Startup

Open
#7,672 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
9.2k
Forks
1.3k
Avg merge
12h 58m
Merged PRs (30d)
56

Description

Android O preview on Pixel XL

(also happened on older OS versions)

07-07 18:01:05.845 888-3729/? W/ActivityManager: Ignoring remove of inactive process: ProcessRecord{406d38e 0:io.keybase.ossifrage/u0a33}
07-07 18:01:05.846 888-3729/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.keybase.ossifrage/.MainActivity} from uid 10032
07-07 18:01:05.865 656-656/? D/QCOM PowerHAL: LAUNCH HINT: ON
07-07 18:01:05.867 656-656/? I/QCOM PowerHAL: Activity launch hint handled
07-07 18:01:05.870 12267-12267/? D/AutofillManager: updateSessionLocked(): id=1073741827, bounds=null, value=null, flags=536870912
07-07 18:01:05.871 12267-12267/? D/AutofillManager: updateSessionLocked(): id=1073742491, bounds=null, value=null, flags=536870912
07-07 18:01:05.907 888-19518/? E/ActivityManager: applyOptionsLocked: Unknown animationType=0
07-07 18:01:05.955 888-19518/? I/ActivityManager: Start proc 3906:io.keybase.ossifrage/u0a33 for activity io.keybase.ossifrage/.MainActivity
07-07 18:01:06.037 12267-12267/? D/AutofillManager: updateSessionLocked(): id=1073741827, bounds=null, value=null, flags=536870912
07-07 18:01:06.037 12267-12267/? D/AutofillManager: updateSessionLocked(): id=1073742491, bounds=null, value=null, flags=536870912
07-07 18:01:06.195 888-19518/? W/ActivityManager: Slow operation: 71ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked
07-07 18:01:06.225 888-8101/? W/AppOps: Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
07-07 18:01:06.246 3906-3906/? I/zygote: Starting a blocking GC AddRemoveAppImageSpace
07-07 18:01:06.266 888-900/? I/zygote64: Background concurrent copying GC freed 56369(5MB) AllocSpace objects, 20(916KB) LOS objects, 42% free, 32MB/56MB, paused 898us total 283.176ms
07-07 18:01:06.327 3906-3906/? V/fb-UnpackingSoSource: locked dso store /data/user/0/io.keybase.ossifrage/lib-main
07-07 18:01:06.329 3906-3906/? I/fb-UnpackingSoSource: dso store is up-to-date: /data/user/0/io.keybase.ossifrage/lib-main
07-07 18:01:06.329 3906-3906/? V/fb-UnpackingSoSource: releasing dso store lock for /data/user/0/io.keybase.ossifrage/lib-main
07-07 18:01:06.480 3906-3923/? A/libc: Fatal signal 31 (SIGSYS), code 1 in tid 3923 (ybase.ossifrage)
07-07 18:01:06.565 3931-3931/? I/crash_dump32: obtaining output fd from tombstoned
07-07 18:01:06.566 748-748/? I//system/bin/tombstoned: received crash request for pid 3906
07-07 18:01:06.569 3931-3931/? I/crash_dump32: performing dump of process 3906 (target tid = 3923)
07-07 18:01:06.570 3931-3931/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-07 18:01:06.570 3931-3931/? A/DEBUG: Build fingerprint: 'google/marlin/marlin:O/OPP2.170420.019/4021594:user/release-keys'
07-07 18:01:06.570 3931-3931/? A/DEBUG: Revision: '0'
07-07 18:01:06.570 3931-3931/? A/DEBUG: ABI: 'arm'
07-07 18:01:06.571 3931-3931/? A/DEBUG: pid: 3906, tid: 3923, name: ybase.ossifrage  >>> io.keybase.ossifrage <<<
07-07 18:01:06.571 3931-3931/? A/DEBUG: signal 31 (SIGSYS), code 1 (SYS_SECCOMP), fault addr --------
07-07 18:01:06.571 3931-3931/? A/DEBUG: Cause: seccomp prevented call to disallowed arm system call 142
07-07 18:01:06.571 3931-3931/? A/DEBUG:     r0 00000000  r1 00000000  r2 00000000  r3 00000000
07-07 18:01:06.571 3931-3931/? A/DEBUG:     r4 c9fc3890  r5 00000000  r6 00000000  r7 0000008e
07-07 18:01:06.571 3931-3931/? A/DEBUG:     r8 00000f42  r9 db3ff880  sl 92a1a5a0  fp 00002710
07-07 18:01:06.571 3931-3931/? A/DEBUG:     ip ea1d463c  sp c9fc388c  lr ca3708a8  pc ca3708cc  cpsr 800f0010
07-07 18:01:06.600 3931-3931/? A/DEBUG: backtrace:
07-07 18:01:06.600 3931-3931/? A/DEBUG:     #00 pc 002af8cc  /data/app/io.keybase.ossifrage-vz1q_ppCPyVcsLJ-pQSMyw==/lib/arm/libgojni.so (runtime.usleep+48)
07-07 18:01:06.600 3931-3931/? A/DEBUG:     #01 pc 00000000  <unknown>
07-07 18:01:06.950 888-3933/? W/ActivityManager:   Force finishing activity io.keybase.ossifrage/.MainActivity
07-07 18:01:06.956 888-938/? I/BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE)
07-07 18:01:06.980 667-667/? E/lowmemorykiller: Error writing /proc/3906/oom_score_adj; errno=22
07-07 18:01:06.987 888-8101/? I/ActivityManager: Process io.keybase.ossifrage (pid 3906) has died
07-07 18:01:06.990 701-701/? I/Zygote: Process 3906 exited due to signal (31)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash on Android O with the provided startup log, then inspect the MainActivity launch path and the native libgojni.so backtrace at runtime.usleep. Confirm the cause of the SIGSYS seccomp failure and verify that the application starts without crashing on the affected Android versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, go
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.