[asterisk-bugs] [JIRA] (ASTERISK-25439) Segfault in find_entry () from /usr/lib/libpj.so.2 (dns_resolver, qualify_contact)

Dmitriy Serov (JIRA) noreply at issues.asterisk.org
Tue Jan 12 03:21:33 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228961#comment-228961 ] 

Dmitriy Serov commented on ASTERISK-25439:
------------------------------------------

pjproject configured with
./configure --prefix=/usr --enable-shared --disable-sound --disable-resample --disable-video --disable-opencore-amr --with-external-speex \
--with-external-srtp=/usr/src/programs/srtp --with-external-gsm CFLAGS="-O2 -DNDEBUG -DPJSIP_MAX_URL_SIZE=1024 -DPJ_MAX_HOSTNAME=1024"

asterisk was rebuilded and restarted. Monitoring is going on :) If segfault will repeat i comment immediately.

For me it is very doubtful that the length is exactly host exceeded 128. Is there an example of such a host from the log?
In any case I'll be glad if this edit will help.

> Segfault in find_entry () from /usr/lib/libpj.so.2 (dns_resolver, qualify_contact)
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25439
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25439
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip
>    Affects Versions: 13.5.0
>         Environment: # Package Information for pkg-config
> Name: libpjproject
> Description: Multimedia communication library
> URL: http://www.pjsip.org
> Version: 2.4.5
> Libs: -L${libdir} -lpjsua2 -lstdc++ -lpjsua -lpjsip-ua -lpjsip-simple -lpjsip -lpjmedia-codec -lpjmedia -lpjmedia-videodev -lpjmedia-audiodev -lpjmedia -lpjnath -lpjlib-util  -lilbccodec -lg7221codec  -lsrtp -lgsm -lspeex -lspeexdsp -lpj -lssl -lcrypto -luuid -lm -lrt -lpthread
> Cflags: -I${includedir} -I/usr/include -DPJ_AUTOCONF=1  -O2 -DNDEBUG -DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1 -fPIC
>            Reporter: Dmitriy Serov
>            Assignee: Dmitriy Serov
>         Attachments: 2015_09_30__20_02_07.backtrace-threads.txt, 2015_09_30__20_02_07.full.tail.txt, 2015_10_01__11_50_08.backtrace-threads.txt, 2015_10_01__11_50_08.full.tail.txt, 2015_10_01__13_14_07.backtrace-threads.txt, 2015_10_01__13_14_07.full.tail.txt, 2016_01_10__13_08_08.backtrace-threads.txt, 2016_01_10__13_08_08.full.tail.txt, 2016_01_10__22_20_01.backtrace-threads.txt, 2016_01_10__22_20_01.full.tail.txt, 2016_01_10__22_20_01.locks.txt, 2016_01_11__22_56_01.full.tail.txt, 2016_01_11__22_56_01.locks.txt, 2016_01_12__00_04_07.backtrace-threads.txt
>
>
> Segfault in find_entry.
> pjproject: 2.4.5
> PJSIP_MAX_URL_SIZE modified to 1024



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list