Crash in string_i.h:121: pj_strncpy on android armeabi but not x86

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

 



Yes, forgot to mention, that is true for PJSIP TRUNK. 2.4.5 release works.

2016-03-23 11:27 GMT+03:00 Anton VG <anton.vazir at gmail.com>:

> Hi!
> Trying to find out the reason the PJSUA2 sample app crashes here:
>
> 03-23 11:11:01.198 22964-22964/org.pjsip.pjsua2.app A/libc:
> ../include/pj/string_i.h:121: pj_strncpy: assertion "max >= 0" failed
> 03-23 11:11:01.198 22964-22964/org.pjsip.pjsua2.app A/libc: Fatal signal 6
> (SIGABRT), code -6 in tid 22964 (jsip.pjsua2.app)
>
> This is the case only while compiled for armeabi (v7a too), but x86
> compilation works (on emulator).
> arm lib crashes in emulator, and real devices
>
> I have been trying ndk r10e, r9c and r8 - all got the same.
>
> Thanks in advance
> Anton
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160323/4d8050a4/attachment.html>


[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