Jami can't be opened anymore (only if you open Jami on Windows too)
I am using the newest beta version of Jami(20230710-01) on EMUI 11
EDIT: I think I just reproduced: (Seee also #1321 (comment 44328))
- Make a call Windows 10 (Jami Version (Beta): 202306191617) (account1) -> Android (Jami Version (Beta): 20230710-01) (account 2)
- Now exit both apps
- After a few seconds / a minute try to open the Jami app on Android
- Jami can't be opened anymore (even if you reboot your phone)
The only solution is to open the desktop app too - After like 30 seconds you can open the Android app again
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Developer
So your app is completely down ? Did you find a solution to make it work again ? :/
Collapse replies @pnicolas I found the solution: Although very, very, very, [...] strange:
Before I made the calls I opened Jami JUST on Android. After that I opened Jami on Windows 10.
If I now JUST open Jami on Android it will exit automatically (less than half a second)
HOWEVER:
If I also open Jami on Windows 10 - Jami on Android suddenly can be opened again!
Edited by Elys
- Pierre Nicolas added severityhigh typebug labels
added severityhigh typebug labels
- Elys changed the description
Compare with previous version changed the description
- Elys changed title from Jami can't be opened anymore (after the new update) to Jami can't be opened anymore (only if you open Jami on Windows too)
changed title from Jami can't be opened anymore (after the new update) to Jami can't be opened anymore (only if you open Jami on Windows too)
- Elys changed the description
Compare with previous version changed the description
- Developer
Can you please provide logs ?
Collapse replies - Owner
If Jami can't be opened, you can't go to the settings to get the logs.
But
adb logcat
will still works But
adb logcat
will still worksI guess that requires some extra work. I will try.
Anyway: Does it help if I provide logs of the desktop client (after I sucessfully open Jami on Android)?
Is this actually an issue of the daemon or just because of the Android client? (Of course we probably first need the logs)
- Developer
Anyway: Does it help if I provide logs of the desktop client (after I successfully open Jami on Android)?
For the moment, let's just analyze the android-client log as it will probably tell a lot about the crash.
Is this actually an issue of the daemon or just because of the Android client? (Of course we probably first need the logs)
Edited by Pierre Nicolas Alright here are the logs using adb logcat (Created during before opening and until the crash?):
07-14 18:24:33.524 21327 21327 E cx.ring : No implementation found for void net.jami.daemon.JamiServiceJNI.swig_module_init() (tried Java_net_jami_daemon_JamiServiceJNI_swig_1module_1init and Java_net_jami_daemon_JamiServiceJNI_swig_1module_1init__) 07-14 18:24:33.524 21327 21327 D AndroidRuntime: Shutting down VM 07-14 18:24:33.524 21327 21327 I QarthLog: [PatchStore] createDisableExceptionQarthFile 07-14 18:24:33.524 21327 21327 I QarthLog: [PatchStore] create disable file for cx.ring uid is 10255 07-14 18:24:33.524 21327 21327 E AndroidRuntime: FATAL EXCEPTION: main 07-14 18:24:33.524 21327 21327 E AndroidRuntime: Process: cx.ring, PID: 21327 07-14 18:24:33.524 21327 21327 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for void net.jami.daemon.JamiServiceJNI.swig_module_init() (tried Java_net_jami_daemon_JamiServiceJNI_swig_1module_1init and Java_net_jami_daemon_JamiServiceJNI_swig_1module_1init__) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiServiceJNI.swig_module_init(Native Method) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiServiceJNI.(Unknown Source:0) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiServiceJNI.monitor(Native Method) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiService.monitor(Unknown Source:0) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s3.n.b(SourceFile:15) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.f.u(SourceFile:11) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.j.c(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.c0.u(SourceFile:26) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.j.c(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.j0.u(SourceFile:21) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.j.c(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.n0.u(Unknown Source:23) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.j.c(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.b0.u(Unknown Source:9) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.j.c(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.h0.x(SourceFile:75) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.b.u(SourceFile:18) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.j.c(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at s9.m.g(Unknown Source:9) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at f9.g.e(SourceFile:6) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at cx.ring.application.a.onCreate(SourceFile:43) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at i7.j.onCreate(SourceFile:20) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at cx.ring.application.JamiApplicationFirebase.onCreate(SourceFile:1) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1202) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7588) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.app.ActivityThread.access$2600(ActivityThread.java:260) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2435) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:110) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.os.Looper.loop(Looper.java:219) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:8668) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109) 07-14 18:24:33.526 1554 12000 W ActivityTaskManager: finishTopCrashedActivityLocked Force finishing activity cx.ring/.client.HomeActivity 07-14 18:24:33.526 1554 21373 I DropBoxManagerService: add tag=data_app_crash isTagEnabled=true flags=0x2 07-14 18:24:33.526 1554 12000 V ActivityTaskManager: positionChild stackId=0 to top. 07-14 18:24:33.527 1554 12000 W HwActivityTaskManagerServiceEx: setResumedActivityUncheckLocked start call, from: ActivityRecord{666e644 u0 cx.ring/.client.HomeActivity t143 f}, to: ActivityRecord{fa8db6b u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t1} 07-14 18:24:33.527 1554 12000 W HwActivityTaskManagerServiceEx: appSwitch from: cx.ring to: com.huawei.android.launcher 07-14 18:24:33.527 2868 4280 W HwLauncher: ExitAppAnimationManager getAnimationInfoMyself, mAnimationInfo = com.huawei.android.launcher.exitapp.ExitAppAnimationManager$AnimationInfo@324f42 07-14 18:24:33.528 1554 10098 I WindowManager: setActivityVisibleInFingerBoost callingPid: 2868 07-14 18:24:33.528 1554 1726 I PowerManagerService: handleSandman: wakefulness: 1,startDreaming: false 07-14 18:24:33.528 3227 21290 I HiAdKit.DC.PersistentMessageCenter: notifyMessage com.huawei.hwid_app_switch_from_to_intent 07-14 18:24:33.528 2555 2656 I ScenarioService: app focus change from: cx.ring to:com.huawei.android.launcher 07-14 18:24:33.528 2803 3929 I AssistantService-11.2.1.200: registerHwActivityNotifier call fromPackage:cx.ring, toPackage:com.huawei.android.launcher 07-14 18:24:33.528 1554 21372 I QarthDisFileCreator: pattern not match 07-14 18:24:33.528 2803 26387 I Hicom_Monitor: mAppSwitchNotifierEx. uid: 10069, foreground app: com.huawei.android.launcher, foreground activity: com.huawei.android.launcher.unihome.UniHomeLauncher 07-14 18:24:33.528 2803 15181 D AssistantService-11.2.1.200: handleMessage app switch fromPackage:cx.ring, toPackage:com.huawei.android.launcher 07-14 18:24:33.529 1554 1570 I HwWindowManagerServiceEx: set app win exit info, bundle = Bundle[mParcelledData.dataSize=288], iconBitmap = android.graphics.Bitmap@f44927d 07-14 18:24:33.529 1554 1570 D HwWindowManagerServiceEx: AnimationTurbo wms set setIconToLayer exit icon 07-14 18:24:33.529 1554 1570 D HwWindowManagerServiceEx: set app win icon info, bundle = Bundle[{isLandscape=false, launcherPkgName=com.huawei.android.launcher, iconWidth=174, pivotX=332.0, pivotY=819.0, iconHeight=174, flag=0}], iconBitmap = android.graphics.Bitmap@f44927dmExitPivotX =332.0mExitPivotY =819.0floatBallSize = 0.0mExitIconWidth =174mExitIconHeight =174mExitFlag =0callingUid10069 07-14 18:24:33.529 2803 3526 W Hicom_XEngineProc: handleForegroundAppChanged. Feature is not enable. 07-14 18:24:33.529 6431 6771 I CAWARENESS_AppUsageManager: Repeat info, don't need publish 07-14 18:24:33.529 1554 1692 D HwGameAssistantController: UPDATE: mCurFgPkg=com.huawei.android.launcher, mCurFgPid=2868, mIsCurGame=false 07-14 18:24:33.530 1554 1601 I ActivityManager: get AppResource 07-14 18:24:33.530 21327 21327 I Process : Sending signal. PID: 21327 SIG: 9 07-14 18:24:33.530 1554 10098 I WindowManager: send SET_LAUNCHER_VISIBLE_IN_FINGER_BOOST visible: true,delay:0, handle:false, userId:0, callingPid: 2868 07-14 18:24:33.531 4901 4991 I PushLog110105309: [FileObserver-254]enter cancelAlarm(Action=com.huawei.push.intent.NC_SWITCH_CHANGED 07-14 18:24:33.531 1554 1604 I WindowManager: handle SET_LAUNCHER_VISIBLE_IN_FINGER_BOOST visible:true handle:falseuserId:0, currentUserId:0 07-14 18:24:33.531 1554 1604 D WindowManager: setLauncherVisibleInFingerBoost record=ActivityRecord{fa8db6b u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t1} 07-14 18:24:33.531 1554 1604 I WindowManager: setLauncherVisible setAlpha to 1.0 07-14 18:24:33.533 4901 4991 I PushLog110105309: [FileObserver-254]enter AlarmTools:setExactAlarm(intent:Intent { act=com.huawei.push.intent.NC_SWITCH_CHANGED pkg=android } interval:60000ms 07-14 18:24:33.533 4901 4991 I PushLog110105309: [FileObserver-254]setExactAlarm expectTriggerTime:1689351933533 07-14 18:24:33.536 2868 2868 W HwLauncher: RotationHelper hideAdjacentScreen, launcher is not transposed. RotationMode = com.huawei.android.launcher.graphics.RotationMode$1{8c1163f surfaceRotation = 0.0,isTransposed = false} 07-14 18:24:33.542 676 676 I Zygote : Process 21327 exited due to signal 9 (Killed) 07-14 18:24:33.542 1554 12000 I ActivityManager: Process cx.ring (pid 21327) has died: vis+99 TOP 07-14 18:24:33.542 1554 12000 D ActivityManager: cleanUpApplicationRecord app: 21327:cx.ring/u0a255, bad: false, restarting: false, allowRestart: true 07-14 18:24:33.542 1554 1714 I libprocessgroup: Successfully killed process cgroup uid 10255 pid 21327 in 0ms 07-14 18:24:33.543 1554 2136 W HwAudioServiceEx: SoundEffectState bundle get reserved is invalid 07-14 18:24:33.543 1554 2136 I HwAudioServiceEx: sendAppKilledIntentForKit, isKitPackageOnPause = false, isKitPackageKill = false, isKitPackageOnResume = false 07-14 18:24:33.543 1554 12000 I WindowManager: removeWindowToken: displayid:0 binder:Token{99d7062 ActivityRecord{666e644 u0 cx.ring/.client.HomeActivity t143 f}} token:AppWindowToken{e12e5f3 token=Token{99d7062 ActivityRecord{666e644 u0 cx.ring/.client.HomeActivity t143}}} 07-14 18:24:33.543 1554 12000 V WindowManager: commitVisibility: AppWindowToken{e12e5f3 token=Token{99d7062 ActivityRecord{666e644 u0 cx.ring/.client.HomeActivity t143}}}: hidden=true hiddenRequested=true 07-14 18:24:33.543 1554 2050 W Process : Unable to open /proc/-1/status 07-14 18:24:33.543 2803 3526 I Hicom_Monitor: notifyAppDied: uid = 10255 07-14 18:24:33.544 2803 3526 I UctpAppMonitor: handleAppDied: pkgName is cx.ring mIsNeedToOpen is false 07-14 18:24:33.544 2803 3929 E HsmCoreServiceImpl: onTransact in code is: 102 07-14 18:24:33.544 2803 3929 I MediaProcessHandler: processOp opType: 1, uid: 10255, pid: 21327 07-14 18:24:33.544 2803 3929 W MediaProcessHandler: only the process it self can do this operation: 10255, 1000, 21327, 2397 07-14 18:24:33.544 2803 3929 I MediaProcessHandler: executedCallBack opType: 1 mMediaStatusObservers.size=0 07-14 18:24:33.544 1554 12000 V WindowManager: removeAppToken: AppWindowToken{e12e5f3 token=Token{99d7062 ActivityRecord{666e644 u0 cx.ring/.client.HomeActivity t143}}} delayed=true Callers=com.android.server.wm.DisplayContent.removeAppToken:1320 com.android.server.wm.ActivityRecord.removeWindowContainer:1446 com.android.server.wm.ActivityStack.removeActivityFromHistoryLocked:5542 com.android.server.wm.ActivityStack.removeHistoryRecordsForAppLocked:5976 com.android.server.wm.ActivityStack.handleAppDiedLocked:6537 com.android.server.wm.RootActivityContainer.handleAppDied:2297 com.android.server.wm.ActivityTaskManagerService$LocalService.handleAppDied:7925 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3967 com.android.server.am.ActivityManagerService.appDiedLocked:4106 07-14 18:24:33.544 1554 12000 V WindowManager: removeAppToken make exiting: AppWindowToken{e12e5f3 token=Token{99d7062 ActivityRecord{666e644 u0 cx.ring/.client.HomeActivity t143}}} 07-14 18:24:33.544 1554 2050 D HwActivityManagerServiceEx: notifyAppToTop pid:2868, enable:1 07-14 18:24:33.544 1554 12000 I TaskSnapshot: taskId:143 Callers=com.android.server.wm.TaskSnapshotCache.removeRunningEntry:196 com.android.server.wm.TaskSnapshotCache.onTaskRemoved:176 com.android.server.wm.TaskSnapshotController.notifyTaskRemovedFromRecents:749 com.android.server.wm.WindowManagerService.notifyTaskRemovedFromRecents:7189 com.android.server.wm.TaskRecord.removedFromRecents:1202 com.android.server.wm.ActivityStackSupervisor.onRecentTaskRemoved:2283 com.android.server.wm.RecentTasks.notifyTaskRemoved:452 com.android.server.wm.RecentTasks.remove:1251 07-14 18:24:33.544 1554 2050 W AwareLog: SchedLevelBoost: onProcessDied config not set! 07-14 18:24:33.545 1554 1691 I HwPowerManagerService: appdie release wakelock, pid = 21327, uid = 10255 07-14 18:24:33.545 1031 1031 D ITouchService: itouch stylusCurrentPkgName = cx.ring lastOneFramePkgName = 07-14 18:24:33.545 1031 1031 D ITouchService: itouch currentPackageName = cx.ring 07-14 18:24:33.545 1031 1031 D ITouchService: itouch appType=-1 appState=0 gameMode=2 07-14 18:24:33.545 1031 1031 D ITouchService: itouchReaderMonitor empty 07-14 18:24:33.545 1031 1031 D ITouchService: g_itouch_reader_monitor Monitor::IsReaderMonitorEnable()=0 07-14 18:24:33.545 1031 1031 D ITouchService: itouch getCurrentParmID tempPkg=cx.xxx 07-14 18:24:33.545 1031 1031 D ITouchService: itouch:app cx.ring is not game app 07-14 18:24:33.545 1031 1031 D ITouchService: itouch:app cx.ring is not in StylusPenList 07-14 18:24:33.545 1031 1031 D ITouchService: itouch:styluspen_switch is disable 07-14 18:24:33.545 1031 1031 D ITouchService: itouch:currentAppTypeName =|UNKNOWN| 07-14 18:24:33.546 1554 12000 V ActivityTaskManager: removeChild: detaching stackId=145 from displayId=0 07-14 18:24:33.547 1554 12000 I ActivityTaskManager: Making visible and scheduling visibility: ActivityRecord{fa8db6b u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t1} 07-14 18:24:33.547 1554 12000 I HwWindowManagerServiceEx: setLandAnimationInfo : false 07-14 18:24:33.548 2555 2656 D ScenarioService: front pkg : com.huawei.android.launcher launcher: true 07-14 18:24:33.548 2555 2656 I AppsUsage: scnOff:false FgAPP:com.huawei.android.launcher BgAPP:cx.ring 07-14 18:24:33.548 2555 2994 I PG_ash : front pkg : com.huawei.android.launcher 07-14 18:24:33.548 2555 3275 I PGServer: report state:10000 event type:2 pid:0 uid:0 pkg:cx.ring to pid: 2555 07-14 18:24:33.548 2555 3275 I SceneReceiver: state type: 10000 eventType:2 pid:0 uid:0 pkg:cx.ring 07-14 18:24:33.548 2555 3275 I PGServer: report state:10000 event type:2 pid:0 uid:0 pkg:cx.ring to pid: 1554 07-14 18:24:33.548 2555 3275 I PGServer: report state:10010 event type:1 pid:0 uid:0 pkg:com.huawei.android.launcher to pid: 2555 07-14 18:24:33.548 2555 3275 I ApsAppsTypeHandler: APS: APK: ApsAppsTypeHandler.getInstance, sInstance = com.huawei.android.hwaps.o@b667f82 07-14 18:24:33.548 2555 3275 I SceneReceiver: state type: 10010 eventType:1 pid:0 uid:0 pkg:com.huawei.android.launcher 07-14 18:24:33.548 2555 3275 I PGServer: report state:10010 event type:1 pid:0 uid:0 pkg:com.huawei.android.launcher to pid: 1554 07-14 18:24:33.549 1554 12000 V WindowManager: notifyAppResumed: wasStopped=false AppWindowToken{3f7c347 token=Token{dc8de86 ActivityRecord{fa8db6b u0 com.huawei.android.launcher/.unihome.UniHomeLauncher t1}}} 07-14 18:24:33.549 2555 13690 I PGServer: checkPkgType. calling pkg: android 07-14 18:24:33.549 1554 2932 I DE J DisplayEngineDbManager: [effect] TableProcessor[BrightnessCurveDefault].getSizeWithoutLock() return 35 07-14 18:24:33.550 1554 2932 I DE J HwBrightnessSceneRecognition: [effect] setTopApkLevelToBlControllerIfNeeded, topApkState = 3
Edited by Elys- Developer
Hey perfect ! Thanks !
Created during before opening and until the crash?
Yep exactly, as you can see the crash trace looks like this, which refers to something we added recently. So we have a fix, I will push a new beta version asap.
07-14 18:24:33.524 21327 21327 E AndroidRuntime: java.lang.UnsatisfiedLinkError: No implementation found for void net.jami.daemon.JamiServiceJNI.swig_module_init() (tried Java_net_jami_daemon_JamiServiceJNI_swig_1module_1init and Java_net_jami_daemon_JamiServiceJNI_swig_1module_1init__) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiServiceJNI.swig_module_init(Native Method) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiServiceJNI.(Unknown Source:0) 07-14 18:24:33.524 21327 21327 E AndroidRuntime: at net.jami.daemon.JamiServiceJNI.monitor(Native Method)
- Developer
If you want a quick fix, I have understood that you manage to open Jami sometimes
Jami on Android suddenly can be opened again!
So, go in "advanced settings"/"diagnostic logs"/"Stop logging".
Please tell me if it doesn't work.
Edited by Pierre Nicolas The only fix that was possible for me was to open Jami on desktop too.
And obviously I can only get logs after opening Jami on desktop too (which does not have any issues?)
Do you need the logs of the Android client anyway?
NOTE: I have another phone with the same beta version and I ONLY use a SIP-account. Don't have any issues (until now)?
Maybe this is just an issue because of a Jami account.
Edited by Elys- Developer
I don't think we understood each other because I don't need new logs.
I was just telling you, if you can, to turn off logging on Android client to resolve the crash (as it comes from there).
Anyway, with the new beta (currently uploading) this bug should be fixed.
- Pierre Nicolas assigned to @pnicolas
assigned to @pnicolas
- Pierre Nicolas added sprintto review label
added sprintto review label
- Pierre Nicolas mentioned in commit 1c292ed0
mentioned in commit 1c292ed0
- Pierre Nicolas added sprintdone label and removed sprintto review label
added sprintdone label and removed sprintto review label
- Elys closed
closed