Re: [android] pjsua_create: assertion "status == PJ_SUCCESS" failed'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Thanks for fast fix. I just make some test on few devices and works ok.

Greetings
Andrzej

W dniu 2016-11-15 o 08:22, Ming pisze:
Hi Andrzej,

We just implemented a fallback mechanism in r5482
(https://trac.pjsip.org/repos/changeset/5482). Let us know if there's
still any issue.

Regards,
Ming

On Mon, Nov 14, 2016 at 7:54 PM, Andrzej Grajnert <frogersik@xxxxxxxxx> wrote:
Hi,
I follow your prompt and found where is the problem. The problem appeared in
rev 5457 in pjlib/src/pj/os_timestamp_posix.c in #1961.
For now I don't know how to fix it. But if you need more info let me know.

BR, Andrzej

W dniu 2016-11-10 o 21:01, Lars Olsson pisze:

Hi

I think I saw this issue as well on a Sony Z3 Plus device.
Unfortunately the device was not mine and I could not continue the
testing on it. However, I tested to go back with pjsip to rev. 5435
(somewhere in september) and then it worked on the Sony device.

If you have the device in you hand, try to step back to an older revision.
If you find the issue, please report the bug.

cheers,
Lars

2016-11-10 16:59 GMT+01:00 Andrzej Grajnert <frogersik@xxxxxxxxx
<mailto:frogersik@xxxxxxxxx>>:


    Hi,
    I have strange issue with pjsip on android. It appear only on two
    devices Moto X Style, and Sony E6633 (Xperia Z5) Android 6.0.1, I
    launch sample android app and crash in ep.libCreate(); I tested on
    many other devices (Samsung S2,S5,S6,S7, Grand Prime, OnePlus One,
    Huawei MateS, few LG and HTC M8) and there are no problem with this.
    I build it with NDK version 12.1.2977051 with
    APP_PLATFORM=android-21 TARGET_ABI=armeabi --use-ndk-cflags
    --disable-video
    this issue appear also for other arch "armeabi-v7a" "x86" "mips"
    "arm64-v8a" "x86_64"

    If you need more let me know I will try get more info.

    BR, Andrzej Grajnert

    here is the log:

    Fatal signal 6 (SIGABRT), code -6 in tid 29106 (jsip.pjsua2.app)
    11-10 16:14:08.768 440-440/? A/DEBUG:
    11-10 16:14:08.769 440-440/? A/DEBUG: Build fingerprint:
    'motorola/clark_reteu/clark:6.0.1/MPHS24.107-58-1/1:user/release-keys'
    11-10 16:14:08.769 440-440/? A/DEBUG: Revision: 'p3c0'
    11-10 16:14:08.769 440-440/? A/DEBUG: ABI: 'arm'
    11-10 16:14:08.769 440-440/? A/DEBUG: pid: 29106, tid: 29106, name:
    jsip.pjsua2.app >>> org.pjsip.pjsua2.app <<<
    11-10 16:14:08.769 440-440/? A/DEBUG: signal 6 (SIGABRT), code -6
    (SI_TKILL), fault addr --------
    11-10 16:14:08.788 440-440/? A/DEBUG: Abort message:
    '../src/pjsua-lib/pjsua_core.c:773: pjsua_create: assertion "status
    == PJ_SUCCESS" failed'
    11-10 16:14:08.788 440-440/? A/DEBUG: r0 00000000 r1 000071b2 r2
    00000006 r3 f7534b7c
    11-10 16:14:08.788 440-440/? A/DEBUG: r4 f7534b84 r5 f7534b34 r6
    00000002 r7 0000010c
    11-10 16:14:08.788 440-440/? A/DEBUG: r8 00000000 r9 f52b6500 sl
    12c42400 fp 12cef100
    11-10 16:14:08.788 440-440/? A/DEBUG: ip 00000006 sp ffa52e50 lr
    f72a73dd pc f72a97d8 cpsr 40070010
    11-10 16:14:08.797 440-440/? A/DEBUG: backtrace:
    11-10 16:14:08.798 440-440/? A/DEBUG: #00 pc 000427d8
    /system/lib/libc.so (tgkill+12)
    11-10 16:14:08.798 440-440/? A/DEBUG: #01 pc 000403d9
    /system/lib/libc.so (pthread_kill+32)
    11-10 16:14:08.799 440-440/? A/DEBUG: #02 pc 0001c85f
    /system/lib/libc.so (raise+10)
    11-10 16:14:08.799 440-440/? A/DEBUG: #03 pc 00019a01
    /system/lib/libc.so (libc_android_abort+34)
    11-10 16:14:08.799 440-440/? A/DEBUG: #04 pc 000175bc
    /system/lib/libc.so (abort+4)
    11-10 16:14:08.799 440-440/? A/DEBUG: #05 pc 0001b473
    /system/lib/libc.so (libc_fatal+16)
    11-10 16:14:08.799 440-440/? A/DEBUG: #06 pc 00019a89
    /system/lib/libc.so (__assert2+20)
    11-10 16:14:08.799 440-440/? A/DEBUG: #07 pc 00134d5d
    /data/app/org.pjsip.pjsua2.app-1/lib/arm/libpjsua2.so
(pjsua_create+72)
    11-10 16:14:08.799 440-440/? A/DEBUG: #08 pc 001009f9
    /data/app/org.pjsip.pjsua2.app-1/lib/arm/libpjsua2.so
    (_ZN2pj8Endpoint9libCreateEv+12)
    11-10 16:14:08.799 440-440/? A/DEBUG: #09 pc 000da439
    /data/app/org.pjsip.pjsua2.app-1/lib/arm/libpjsua2.so
    (Java_org_pjsip_pjsua2_pjsua2JNI_Endpoint_1libCreate+28)
    11-10 16:14:08.799 440-440/? A/DEBUG: #10 pc 001376c1
    /data/app/org.pjsip.pjsua2.app-1/oat/arm/base.odex (offset 0x77000)
    (void org.pjsip.pjsua2.pjsua2JNI.Endpoint_libCreate(long,
    org.pjsip.pjsua2.Endpoint)+116)
    11-10 16:14:08.800 440-440/? A/DEBUG: #11 pc 000a74b3
    /data/app/org.pjsip.pjsua2.app-1/oat/arm/base.odex (offset 0x77000)
    (void org.pjsip.pjsua2.Endpoint.libCreate()+102)
    11-10 16:14:08.800 440-440/? A/DEBUG: #12 pc 001029cb
    /data/app/org.pjsip.pjsua2.app-1/oat/arm/base.odex (offset 0x77000)
    (void
    org.pjsip.pjsua2.app.MyApp.init(org.pjsip.pjsua2.app.MyAppObserver,
    java.lang.String, boolean)+134)
    11-10 16:14:08.800 440-440/? A/DEBUG: #13 pc 00102915
    /data/app/org.pjsip.pjsua2.app-1/oat/arm/base.odex (offset 0x77000)
    (void
    org.pjsip.pjsua2.app.MyApp.init(org.pjsip.pjsua2.app.MyAppObserver,
    java.lang.String)+72)
    11-10 16:14:08.800 440-440/? A/DEBUG: #14 pc 0010027b
    /data/app/org.pjsip.pjsua2.app-1/oat/arm/base.odex (offset 0x77000)
    (void
org.pjsip.pjsua2.app.MainActivity.onCreate(android.os.Bundle)+294)
    11-10 16:14:08.800 440-440/? A/DEBUG: #15 pc 0278f7d5
    /system/framework/arm/boot.oat (offset 0x200b000)
    11-10 16:14:08.924 440-440/? A/DEBUG: Tombstone written to:
    /data/tombstones/tombstone_04
    11-10 16:14:08.924 440-440/? E/DEBUG: AM write failed: Broken pipe
    11-10 16:14:08.943 1169-29119/? E/JavaBinder: !!! FAILED BINDER
    TRANSACTION !!! (parcel size = 112)
    11-10 16:14:08.945 407-407/? E/lowmemorykiller: Error writing
    /proc/29106/oom_score_adj; errno=22
    11-10 16:14:09.003 26021-26092 <tel:26021-26092>/?
    E/AudioRecord-JNI: Error -4 during AudioRecord native read

    _______________________________________________
    Visit our blog: http://blog.pjsip.org

    pjsip mailing list
    pjsip@xxxxxxxxxxxxxxx <mailto:pjsip@xxxxxxxxxxxxxxx>
    http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
    <http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org>






_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux