Ok I did all that and it's still crashing. I did find some other areas I think 
that shouldn't have had any of those files, so I thought it would work, because 
I got rid of ALL of them per your instructions and completely reconfigured and 
compiled both pjsip and then asterisk. 

Attached is the new backtrace...

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Joshua Colp
Sent: Wednesday, September 23, 2015 7:05 PM
To: [email protected]
Subject: Re: [asterisk-users] problems with PJSIP install on UBUNTU 14.04


On 15-09-23 08:00 PM, Ryan, Travis wrote:
> I ran all the uninstall commands and the rm commands. Made sure that ldconfig 
> -p had no pj stuff in it.
>
> That's not enough? What did I miss?

"make uninstall" uses the configure parameters. You can do:

updatedb
locate libpj

To find all remaining libraries.

You should also ensure old Asterisk modules don't exist by doing rm -rf 
/usr/lib/asterisk/modules

And re-running make install in Asterisk afterwards

--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: 
www.digium.com & www.asterisk.org

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to 
Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from asterisk...done.
[New LWP 3197]
[New LWP 3199]
[New LWP 3202]
[New LWP 3204]
[New LWP 3203]
[New LWP 3205]
[New LWP 3207]
[New LWP 3206]
[New LWP 3209]
[New LWP 3211]
[New LWP 3210]
[New LWP 3216]
[New LWP 3212]
[New LWP 3217]
[New LWP 3213]
[New LWP 3218]
[New LWP 3214]
[New LWP 3219]
[New LWP 3215]
[New LWP 3220]
[New LWP 3221]
[New LWP 3225]
[New LWP 3222]
[New LWP 3235]
[New LWP 3224]
[New LWP 3237]
[New LWP 3226]
[New LWP 3241]
[New LWP 3170]
[New LWP 3173]
[New LWP 3176]
[New LWP 3177]
[New LWP 3178]
[New LWP 3228]
[New LWP 3184]
[New LWP 3229]
[New LWP 3223]
[New LWP 3230]
[New LWP 3231]
[New LWP 3232]
[New LWP 3233]
[New LWP 3234]
[New LWP 3236]
[New LWP 3238]
[New LWP 3239]
[New LWP 3240]
[New LWP 3242]
[New LWP 3243]
[New LWP 3244]
[New LWP 3162]
[New LWP 3163]
[New LWP 3166]
[New LWP 3174]
[New LWP 3175]
[New LWP 3180]
[New LWP 3181]
[New LWP 3182]
[New LWP 3183]
[New LWP 3185]
[New LWP 3186]
[New LWP 3187]
[New LWP 3188]
[New LWP 3189]
[New LWP 3190]
[New LWP 3191]
[New LWP 3227]
[New LWP 3208]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/sbin/asterisk'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fa4e64e5d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
(gdb) btfull
(gdb) bt full
#0  0x00007fa4e64e5d04 in find_entry () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#1  0x00007fa4e64e6189 in pj_hash_get_lower () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#2  0x00007fa4e64c706f in pjsip_ua_find_dialog () from 
/usr/lib/asterisk/modules/res_hep_pjsip.so
No symbol table info available.
#3  0x00007fa4e64bd330 in assign_uuid (call_id=0x25a11d8, local_tag=<optimized 
out>, remote_tag=<optimized out>)
    at res_hep_pjsip.c:55
        session = 0x0
        dlg = <optimized out>
        uuid = 0x0
        __PRETTY_FUNCTION__ = "assign_uuid"
#4  0x00007fa4e64bd4bd in logging_on_rx_msg (rdata=0x259f948) at 
res_hep_pjsip.c:131
        local_buf = 
"0.0.0.0:5060\000\177\000\000\000\000\000\000\005\000\000\000\002\001\000\000\001\000\000\000U\343\377'\245\177\000\000\250\342\377'\245\177\000\000\200\342\377'\245\177\000\000\020<Q\002\000\000\000\000\001\000\000\000\000\000\000\000x:Q\002\000\000\000\000
 
7Q\002\000\000\000\000\221\t\000M\245\177\000\000\000\000\000\000\000\000\000\000\020<Q\002\000\000\000\000\005",
 '\000' <repeats 15 times>, "\001\000\000\000\000\000\000\000 
7Q\002\000\000\000\000\060\344\377'\245\177\000\000\060\000\000\000\060\000\000\000\210\342\377'\245\177\000\000\260\341\377'\245\177\000\000\000\000\000\000\000\000\000\000x:Q\002\000\000\000\000\360\341\377'\245\177\000\000"...
        remote_buf = 
"10.1.1.201:5060\000\000\000\000\000\000\000\000\000\060*p$\245\177\000\000h\fZ\002\000\000\000\000@\fZ\002\000\000\000\000\060\344\377'\245\177\000\000H\371Y\002",
 '\000' <repeats 12 times>, 
"E9M$\245\177\000\000\000kS\002\000\000\000\000\b\np$\245\177\000\000\000\000\000\000\000\000\000\000\320\343\377'\245\177\000\000\314\343\377'\245\177\000\000\210\372Y\002\000\000\000\000H\371Y\002\000\000\000\000WU\000M\245\177\000\000\005",
 '\000' <repeats 16 times>, 
"kS\002\000\000\000\000@7OK\245\177\000\000H\371Y\002\000\000\000\000H\371Y\002\000\000\000\000\230\275R\002\000\000\000\000"...
        uuid = <optimized out>
        capture_info = 0x7fa538004eb8
#5  0x00007fa5244ab5a7 in pjsip_endpt_process_rx_data () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#6  0x00007fa5244ab76e in endpt_on_rx_msg () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#7  0x00007fa5244b122f in pjsip_tpmgr_receive_packet () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#8  0x00007fa5244b2c49 in udp_on_read_complete () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#9  0x00007fa5244cb7ed in ioqueue_dispatch_read_event () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#10 0x00007fa5244cca8d in pj_ioqueue_poll () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#11 0x00007fa5244ab338 in pjsip_endpt_handle_events2 () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#12 0x00007fa52448625f in monitor_thread_exec (endpt=0x0) at res_pjsip.c:3531
        delay = {sec = 0, msec = 10}
#13 0x00007fa5244cd6e6 in thread_main () from 
/usr/lib/asterisk/modules/res_pjsip.so
No symbol table info available.
#14 0x00007fa54b4f9182 in start_thread (arg=0x7fa527fff700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fa527fff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140347317417728, 
-8751122402603258872, 0, 0, 140347317418432, 140347317417728, 
                8775135736050396168, 8775072650918931464}, mask_was_saved = 
0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {
              prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#15 0x00007fa54aad547d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
(gdb) 
-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to