英文:
Linphone Android debug app - how to connect to SIP account
问题
我正在尝试构建和运行以下 Linphone 应用程序:https://github.com/BelledonneCommunications/linphone-android/tree/release/5.1
然而,当我使用助手连接到 SIP 帐户时,我收到以下堆栈跟踪:
2023-06-05 11:24:54.487 12702-12702 libc org.linphone.debug A 致命信号 11 (SIGSEGV),代码 1 (SEGV_MAPERR),故障地址 0x0,位于 tid 12702 (.linphone.debug),pid 12702 (.linphone.debug)
2023-06-05 11:24:54.596 12904-12904 DEBUG pid-12904 A pid: 12702,tid: 12702,名称:.linphone.debug >>> org.linphone.debug <<<
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #01 pc 000000000085143c /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (_get_identity+96)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #02 pc 0000000000851818 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (linphone_account_creator_create_proxy_config+60)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #03 pc 0000000000851ad4 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (linphone_account_creator_create_account_in_core+8)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #04 pc 00000000008085c0 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (Java_org_linphone_core_AccountCreatorImpl_createAccountInCore+24)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #12 pc 0000000000025e6a /dev/ashmem/dalvik-classes19.dex 从 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes19.dex (已删除) 中提取到内存中 (org.linphone.core.AccountCreatorImpl.createAccountInCore+6)
2023-06-05 11:24:54.807 12904-12904 DEBUG pid-12904 A #18 pc 000000000000c320 /dev/ashmem/dalvik-classes15.dex 从 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes15.dex (已删除) 中提取到内存中 (org.linphone.activities.assistant.viewmodels.GenericLoginViewModel.createAccountAndAuthInfo+188)
2023-06-05 11:24:54.807 12904-12904 DEBUG pid-12904 A #24 pc 0000000000042092 /dev/ashmem/dalvik-classes7.dex 从 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes7.dex (已删除) 中提取到内存中 (org.linphone.databinding.AssistantGenericAccountLoginFragmentBindingImpl._internalCallbackOnClick+30)
2023-06-05 11:24:54.807 12904-12904 DEBUG pid-12904 A #30 pc 000000000000a098 /dev/ashmem/dalvik-classes9.dex 从 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes9.dex (已删除) 中提取到内存中 (org.linphone.generated.callback.OnClickListener.onClick+8)
2023-06-05 11:24:55.751 471-550 InputDispatcher system_process E 通道 'b6f63cb org.linphone.debug/org.linphone.activities.assistant.AssistantActivity (server)' ~ 通道不可恢复地中断并将被丢弃!
---------------------------- 进程结束 (12702),包名为 org.linphone.debug ----------------------------
2023-06-05 11:24:55.751 471-550 InputDispatcher system_process E 通道 '6b37690 org.linphone.debug/org.linphone.activities.main.MainActivity (server)' ~ 通道不可恢复地中断并将被丢弃!
2023-06-05 11:24:55.789 471-3330 ActivityManager system_process E getPackageFerformanceMode--ComponentInfo{org.linphone.debug/org.linphone.activities.main.MainActivity}----org.linphone.debug
我已从 Play 商店 下载并安装了该应用,它按预期工作。在构建此方式的应用程序时是否需要调整设置?还是我的调试代码/设置中存在我看不到的问题?
英文:
I am trying to build and run the following Linphone app: https://github.com/BelledonneCommunications/linphone-android/tree/release/5.1
However, when using the assistant to connect to a SIP account I getting the following stack-trace:
2023-06-05 11:24:54.487 12702-12702 libc org.linphone.debug A Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 12702 (.linphone.debug), pid 12702 (.linphone.debug)
2023-06-05 11:24:54.596 12904-12904 DEBUG pid-12904 A pid: 12702, tid: 12702, name: .linphone.debug >>> org.linphone.debug <<<
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #01 pc 000000000085143c /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (_get_identity+96)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #02 pc 0000000000851818 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (linphone_account_creator_create_proxy_config+60)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #03 pc 0000000000851ad4 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (linphone_account_creator_create_account_in_core+8)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #04 pc 00000000008085c0 /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/lib/arm64/liblinphone.so (Java_org_linphone_core_AccountCreatorImpl_createAccountInCore+24)
2023-06-05 11:24:54.806 12904-12904 DEBUG pid-12904 A #12 pc 0000000000025e6a /dev/ashmem/dalvik-classes19.dex extracted in memory from /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes19.dex (deleted) (org.linphone.core.AccountCreatorImpl.createAccountInCore+6)
2023-06-05 11:24:54.807 12904-12904 DEBUG pid-12904 A #18 pc 000000000000c320 /dev/ashmem/dalvik-classes15.dex extracted in memory from /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes15.dex (deleted) (org.linphone.activities.assistant.viewmodels.GenericLoginViewModel.createAccountAndAuthInfo+188)
2023-06-05 11:24:54.807 12904-12904 DEBUG pid-12904 A #24 pc 0000000000042092 /dev/ashmem/dalvik-classes7.dex extracted in memory from /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes7.dex (deleted) (org.linphone.databinding.AssistantGenericAccountLoginFragmentBindingImpl._internalCallbackOnClick+30)
2023-06-05 11:24:54.807 12904-12904 DEBUG pid-12904 A #30 pc 000000000000a098 /dev/ashmem/dalvik-classes9.dex extracted in memory from /data/app/org.linphone.debug-dyfVZCnnDJPISTU3kRD9rg==/base.apk!classes9.dex (deleted) (org.linphone.generated.callback.OnClickListener.onClick+8)
2023-06-05 11:24:55.751 471-550 InputDispatcher system_process E channel 'b6f63cb org.linphone.debug/org.linphone.activities.assistant.AssistantActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
---------------------------- PROCESS ENDED (12702) for package org.linphone.debug ----------------------------
2023-06-05 11:24:55.751 471-550 InputDispatcher system_process E channel '6b37690 org.linphone.debug/org.linphone.activities.main.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
2023-06-05 11:24:55.789 471-3330 ActivityManager system_process E getPackageFerformanceMode--ComponentInfo{org.linphone.debug/org.linphone.activities.main.MainActivity}----org.linphone.debug
I have downloaded and installed the app from the play store and it works as expected. Are there settings that need to be adjusted when the app is built this way? Or is there an issue in the debug code/my setup that I can't see?
答案1
得分: 1
以下是已翻译的内容:
给定linphone-android的源代码,在调用accountCreator.createAccountInCore()之前,您是否正确设置了帐户创建器的以下字段?
accountCreator.username = username.value
accountCreator.password = password.value
accountCreator.domain = domain.value
accountCreator.displayName = displayName.value
accountCreator.transport = transport.value
英文:
Given linphone-android's source code, do you correctly set the following fields of the account creator prior to calling accountCreator.createAccountInCore()?
accountCreator.username = username.value
accountCreator.password = password.value
accountCreator.domain = domain.value
accountCreator.displayName = displayName.value
accountCreator.transport = transport.value
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论