Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 15566

0

I am trying to add buddy in CSipSimple by the following code .

public int addBuddy(String buddyUri) throws SameThreadException {
        created = true ;
        if (!created) {
            return -1;
        }
        int[] p_buddy_id = new int[1];
        pjsua.start();

        pjsua_buddy_config buddy_cfg = new pjsua_buddy_config();
        pjsua.buddy_config_default(buddy_cfg);
        buddy_cfg.setSubscribe(1);
        buddy_cfg.setUri(pjsua.pj_str_copy(buddyUri));
        pjsua.buddy_add(buddy_cfg, p_buddy_id);
        System.out.println("Buddy Id is  "+p_buddy_id[0]);
        return p_buddy_id[0];
    }

When the app enters into the following line

    pjsua.buddy_add(buddy_cfg, p_buddy_id);

I am getting the following error and the app crashes .

03-27 12:12:42.007  15566-15566/com.csipsimple A/libc﹕ Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 15566 (com.csipsimple)

How can I solve this error ? Any advice is of great help .

android
fatal-error
crash-reports
asked on Stack Overflow Mar 27, 2016 by osimer pothe

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0