Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linphone not registered and crashes if using TLS #596

Open
matthewkalantar opened this issue Nov 27, 2019 · 2 comments
Open

linphone not registered and crashes if using TLS #596

matthewkalantar opened this issue Nov 27, 2019 · 2 comments
Labels

Comments

@matthewkalantar
Copy link

Hi there
Please help me
linphone crashes when Transparent is TLS
Thanks in advanced

(I clone the latest version)

my log:

Authentication
2019-11-27 12:32:45.496634-0800 linphone[19723:139646] [Message] Found certificate depth=[0], flags=[]:
2019-11-27 12:32:45.496873-0800 linphone[19723:139646] [Message] 	cert. version     : 3
2019-11-27 12:32:45.497105-0800 linphone[19723:139646] [Message] 	serial number     : 01:FB:49:23:10:F7:E4:9E:60:F8:EF:68:D2:A5:18:1C
2019-11-27 12:32:45.497499-0800 linphone[19723:139646] [Message] 	issuer name       : C=US, O=DigiCert Inc, OU=www.digicert.com, CN=GeoTrust RSA CA 2018
2019-11-27 12:32:45.497975-0800 linphone[19723:139646] [Message] 	subject name      : CN=*.siptest.com
2019-11-27 12:32:45.498178-0800 linphone[19723:139646] [Message] 	issued  on        : 2019-10-03 00:00:00
2019-11-27 12:32:45.498763-0800 linphone[19723:139646] [Message] 	expires on        : 2020-12-01 12:00:00
2019-11-27 12:32:45.499188-0800 linphone[19723:139646] [Message] 	signed using      : RSA with SHA-256
2019-11-27 12:32:45.499572-0800 linphone[19723:139646] [Message] 	RSA key size      : 2048 bits
2019-11-27 12:32:45.500063-0800 linphone[19723:139646] [Message] 	basic constraints : CA=false
2019-11-27 12:32:45.500531-0800 linphone[19723:139646] [Message] 	subject alt name  : *.siptest.com, septets.com
2019-11-27 12:32:45.501437-0800 linphone[19723:139646] [Message] 	key usage         : Digital Signature, Key Encipherment
2019-11-27 12:32:45.502667-0800 linphone[19723:139646] [Message] 	ext key usage     : TLS Web Server Authentication, TLS Web Client Authentication
2019-11-27 12:32:45.519622-0800 linphone[19723:139646] Crash: *** +[NSString stringWithUTF8String:]: NULL cString
2019-11-27 12:32:45.519935-0800 linphone[19723:139646] Stack Trace: (
	0   CoreFoundation                      0x00007fff23c4f02e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50b97b20 objc_exception_throw + 48
	2   Foundation                          0x00007fff25756323 +[NSString stringWithBytes:length:encoding:] + 0
	3   linphone                            0x00000001047e620c linphone_iphone_popup_password_request + 540
	4   linphone                            0x000000010581d81d linphone_core_notify_authentication_requested + 109
	5   linphone                            0x00000001057d35b1 _ZL14auth_requestedPN15LinphonePrivate3SalEP11SalAuthInfo + 97
	6   linphone                            0x0000000105745c08 _ZN15LinphonePrivate3Sal22processAuthRequestedCbEPvP20belle_sip_auth_event + 40
	7   belle-sip                           0x0000000105201ade channel_on_auth_requested + 238
	8   belle-sip                           0x000000010520a661 belle_sip_client_certificate_request_callback + 129
	9   bctoolbox                           0x0000000104d5d9fb bctbx_ssl_handshake + 91
	10  belle-sip                           0x000000010520a86d tls_process_handshake + 45
	11  belle-sip                           0x000000010520a305 tls_process_data + 1077
	12  belle-sip                           0x00000001050e105c belle_sip_main_loop_run + 1180
	13  belle-sip                           0x00000001050e1314 belle_sip_main_loop_sleep + 148
	14  linphone                            0x00000001057f15fb linphone_core_iterate + 587
	15  linphone                            0x00000001047e364e -[LinphoneManager iterate] + 174
	16  Foundation                          0x00007fff2576b423 __NSFireTimer + 72
	17  CoreFoundation                      0x00007fff23bb2944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
	18  CoreFoundation                      0x00007fff23bb2632 __CFRunLoopDoTimer + 1026
	19  CoreFoundation                      0x00007fff23bb1c8a __CFRunLoopDoTimers + 266
	20  CoreFoundation                      0x00007fff23bac9fe __CFRunLoopRun + 2238
	21  CoreFoundation                      0x00007fff23babe16 CFRunLoopRunSpecific + 438
	22  GraphicsServices                    0x00007fff38438bb0 GSEventRunModal + 65
	23  UIKitCore                           0x00007fff4784fb68 UIApplicationMain + 1621
	24  linphone                            0x000000010475703c main + 124
	25  libdyld.dylib                       0x00007fff51a1dc25 start + 1
	26  ???                                 0x0000000000000001 0x0 + 1
)
2019-11-27 12:32:45.522147-0800 linphone[19723:139646] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** +[NSString stringWithUTF8String:]: NULL cString'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff23c4f02e __exceptionPreprocess + 350
	1   libobjc.A.dylib                     0x00007fff50b97b20 objc_exception_throw + 48
	2   Foundation                          0x00007fff25756323 +[NSString stringWithBytes:length:encoding:] + 0
	3   linphone                            0x00000001047e620c linphone_iphone_popup_password_request + 540
	4   linphone                            0x000000010581d81d linphone_core_notify_authentication_requested + 109
	5   linphone                            0x00000001057d35b1 _ZL14auth_requestedPN15LinphonePrivate3SalEP11SalAuthInfo + 97
	6   linphone                            0x0000000105745c08 _ZN15LinphonePrivate3Sal22processAuthRequestedCbEPvP20belle_sip_auth_event + 40
	7   belle-sip                           0x0000000105201ade channel_on_auth_requested + 238
	8   belle-sip                           0x000000010520a661 belle_sip_client_certificate_request_callback + 129
	9   bctoolbox                           0x0000000104d5d9fb bctbx_ssl_handshake + 91
	10  belle-sip                           0x000000010520a86d tls_process_handshake + 45
	11  belle-sip                           0x000000010520a305 tls_process_data + 1077
	12  belle-sip                           0x00000001050e105c belle_sip_main_loop_run + 1180
	13  belle-sip                           0x00000001050e1314 belle_sip_main_loop_sleep + 148
	14  linphone                            0x00000001057f15fb linphone_core_iterate + 587
	15  linphone                            0x00000001047e364e -[LinphoneManager iterate] + 174
	16  Foundation                          0x00007fff2576b423 __NSFireTimer + 72
	17  CoreFoundation                      0x00007fff23bb2944 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20
	18  CoreFoundation                      0x00007fff23bb2632 __CFRunLoopDoTimer + 1026
	19  CoreFoundation                      0x00007fff23bb1c8a __CFRunLoopDoTimers + 266
	20  CoreFoundation                      0x00007fff23bac9fe __CFRunLoopRun + 2238
	21  CoreFoundation                      0x00007fff23babe16 CFRunLoopRunSpecific + 438
	22  GraphicsServices                    0x00007fff38438bb0 GSEventRunModal + 65
	23  UIKitCore                           0x00007fff4784fb68 UIApplicationMain + 1621
	24  linphone                            0x000000010475703c main + 124
	25  libdyld.dylib                       0x00007fff51a1dc25 start + 1
	26  ???                                 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb) 
@matthewkalantar
Copy link
Author

Hi guys,
Any ideas?

@KyronNextLevel
Copy link

Hi, did you tried to re-enter you password in your account options ? I looked quickly at the stacktrace and it seems to be empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants