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

Fatal signal 11 (SIGSEGV) #150

Open
TienHai opened this issue Dec 19, 2021 · 2 comments
Open

Fatal signal 11 (SIGSEGV) #150

TienHai opened this issue Dec 19, 2021 · 2 comments

Comments

@TienHai
Copy link

TienHai commented Dec 19, 2021

Hi,

I will try PjSip but when set account, my app crash with error:
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe in tid 24345 (SipService)

here what a do:

    mAccount = SipAccountData()
    mAccount.host = serverSip
    mAccount.realm = serverSip
    mAccount.port = port
    mAccount.username = userName
    mAccount.password =  userPwd
    mAccountId = SipServiceCommand.setAccount(this, mAccount)

log console:

2021-12-19 11:34:25.993 25261-25300/com.henkadev.testpjsip D/SipService: PJSIP started!
2021-12-19 11:34:25.995 25261-25261/com.henkadev.testpjsip D/SipServiceBR: SIP service stack started
2021-12-19 11:34:26.032 25261-25300/com.henkadev.testpjsip D/SipService: SIP account sip:username@serverSip successfully added
2021-12-19 11:34:26.032 25261-25300/com.henkadev.testpjsip D/SipService: SipService created!
2021-12-19 11:34:26.033 25261-25300/com.henkadev.testpjsip D/SipService: Reconfiguring sip:username@serverSip
2021-12-19 11:34:26.033 25261-25300/com.henkadev.testpjsip D/SipService: addAccount => SIP account setRegistration

2021-12-19 11:34:26.035 25261-25300/com.henkadev.testpjsip A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xe in tid 25300 (SipService), pid 25261 (v.testpjsip)

2021-12-19 11:34:26.065 25261-25261/com.henkadev.testpjsip D/SipServiceBR: onRegistration - accountID: username@serverSip , registrationStateCode: 200
2021-12-19 11:34:26.065 25261-25261/com.henkadev.testpjsip I/MainActivity: onRegistration: 200

Do you know what a do wrong ?or How debug ?

Thanks!

@waheedkhan-dev
Copy link

I am facing the same issue when the user hangs up the call on a poor internet connection.PJSIP has no proper documentation to figure out these types of bugs and crashes.

@aenonGit
Copy link
Collaborator

Try with latest develop, it has native debug and logs can be enabled via api. Check it out

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

No branches or pull requests

3 participants