Re: [Opalvoip-user] SIGSEGV on listening or calling
Brought to you by:
csoutheren,
rjongbloed
From: VEYSSIERE N. <nic...@th...> - 2014-05-13 08:32:32
|
You where right, I am using tarball distribution, I then switch to SVN. I was able to build ptlib without problems. For opal, this is an other story, I add to install autoconf 2.69 from source and automake 1.13.4 (theses is not available in centos). But the compilation failed anyway : [LD] /root/opal/lib_linux_x86_64/plugins/opus/opus_ptplugin.so /usr/bin/ld: /root/opal/plugins/audio/Opus/opus/.libs/libopus.a(celt.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /root/opal/plugins/audio/Opus/opus/.libs/libopus.a: could not read symbols: Bad value I don't know if I am doing something wrong here, but I didn't have this error for the tar version. -- Nicolas V. De : Robert Jongbloed [mailto:ro...@vo...] Envoyé : mardi 13 mai 2014 01:11 À : opa...@li... Objet : Re: [Opalvoip-user] SIGSEGV on listening or calling FIrst question: are you using the tarball or the SVN? If using the tarball for 3.14.0, please use the SVN version. Robert Jongbloed OPAL/OpenH323/PTLib Architect and Co-founder. Commercial support at http://www.voxlucida.com.au On 13/05/2014 12:56 AM, VEYSSIERE Nicolas wrote: Hello, I have build ptlib and opal (2.14 and 3.14) on a fresh Centos 6.5 system. I am facing a big problem, when using callgen, both caller and called crash with SIGSEGV. I am starting callgen like that : callgen -listen Here is the result : Default user name: root TCP ports: 0-0 UDP ports: 0-0 RTP ports: 5000-5999 Audio QoS: C5 RTP payload size: 1400 Detected 6 network interfaces: <00-00-00-00-00-00> (lo) <08-00-27-FF-BD-D7> (eth0) 127.0.0.1 <00-00-00-00-00-00> (lo) 192.165.10.59 <08-00-27-FF-BD-D7> (eth0) ::1 <00-00-00-00-00-00> (lo) fe80::a00:27ff:feff:bdd7%eth0 <08-00-27-FF-BD-D7> (eth0) SIP crypto suites: Clear sipuser input mode: SendUserInputInBand sip listening on: udp$*:5060,tcp$0.0.0.0:5060,tcp$[::]:5060 H323 crypto suites: Clear h323user input mode: SendUserInputInBand h323 listening on: tcp$0.0.0.0:1720,tcp$[::]:1720 H.323 Aliases: root H.323 Alias Patterns: H.323 options: Fast connect, Tunnelled H.245 No PSTN lines supplied. Media Formats: G.722.2,G.722.1-32K,G.722.1-24K,G.722-64k,GSM-AMR,G.726-40k,G.726-32k,G.726-24k,G.726-16k,G.711-uLaw-64k,G.711-ALaw-64k,PCM-16,PCM-16-12kHz,PCM-16-16kHz,PCM-16-24kHz,PCM-16-32kHz,PCM-16-48kHz,PCM-16S,PCM-16S-12kHz,PCM-16S-16kHz,PCM-16S-24kHz,PCM-16S-32kHz,PCM-16S-48kHz,LPC-10,MS-IMA-ADPCM,SILK-8,SILK-16,UserInput/RFC2833,NamedSignalEvent Not using outgoing audio file. Not saving incoming media data. Endpoint is listening for incoming calls, press ^C to exit. When I am trying to call, by using this command : callgen -m 1 -W opal/samples/callgen/ogm.wav 192.165.10.83 It crash : Default user name: root TCP ports: 0-0 UDP ports: 0-0 RTP ports: 5000-5999 Audio QoS: C5 RTP payload size: 1400 Detected 6 network interfaces: <00-00-00-00-00-00> (lo) <08-00-27-FF-BD-D7> (eth0) 127.0.0.1 <00-00-00-00-00-00> (lo) 192.165.10.59 <08-00-27-FF-BD-D7> (eth0) ::1 <00-00-00-00-00-00> (lo) fe80::a00:27ff:feff:bdd7%eth0 <08-00-27-FF-BD-D7> (eth0) SIP crypto suites: Clear sipuser input mode: SendUserInputInBand sip listening on: udp$*:5060,tcp$0.0.0.0:5060,tcp$[::]:5060 H323 crypto suites: Clear h323user input mode: SendUserInputInBand h323 listening on: tcp$0.0.0.0:1720,tcp$[::]:1720 H.323 Aliases: root H.323 Alias Patterns: H.323 options: Fast connect, Tunnelled H.245 No PSTN lines supplied. Media Formats: G.722.2,G.722.1-32K,G.722.1-24K,G.722-64k,GSM-AMR,G.726-40k,G.726-32k,G.726-24k,G.726-16k,G.711-uLaw-64k,G.711-ALaw-64k,PCM-16,PCM-16-12kHz,PCM-16-16kHz,PCM-16-24kHz,PCM-16-32kHz,PCM-16-48kHz,PCM-16S,PCM-16S-12kHz,PCM-16S-16kHz,PCM-16S-24kHz,PCM-16S-32kHz,PCM-16S-48kHz,LPC-10,MS-IMA-ADPCM,SILK-8,SILK-16,UserInput/RFC2833,NamedSignalEvent Using outgoing audio file: opal/samples/callgen/ogm.wav Not saving incoming media data. Maximum time between calls: 10.000-30.000 Maximum total call duration: 10.000-1:00.000 Maximum wait for establish: 0.000 Endpoint starting 1 simultaneous call 1 time, grand total of 1 calls. Press ^C at any time to quit. 1: : Initial delay of 0.101 seconds 1: C1f8f30711: Making call 1 of 1 (total=1) for 29.121 seconds to 192.165.10.83 Erreur de segmentation (core dumped) If using strace to debug : Press ^C at any time to quit. ) = 102 write(1, "\n", 1 ) = 1 pipe([33, 34]) = 0 sched_get_priority_min(SCHED_OTHER) = 0 sched_get_priority_max(SCHED_OTHER) = 0 mmap(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fb348e46000 mprotect(0x7fb348e46000, 4096, PROT_NONE) = 0 clone(child_stack=0x7fb348e85fd0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7fb348e869d0, tls=0x7fb348e86700, child_tidptr=0x7fb348e869d0) = 1595 futex(0xb503f4, FUTEX_WAKE_OP_PRIVATE, 1, 1, 0xb503f0, {FUTEX_OP_SET, 0, FUTEX_OP_CMP_GT, 1}) = 1 futex(0xb503c8, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0xb6ae84, FUTEX_WAIT_PRIVATE, 1, NULL 1: : Initial delay of 0.657 seconds 1: C1bb4fc631: Making call 1 of 1 (total=1) for 21.230 seconds to 192.165.10.83 <unfinished ...> +++ killed by SIGSEGV (core dumped) +++ Erreur de segmentation (core dumped) So I tried to call the first instance (using open phone), then it crash too : Endpoint is listening for incoming calls, press ^C to exit. Cdf742e7d1: Started "" h323: active=1 total=1 Erreur de segmentation (core dumped) Can someone tells me if I have done something wrong, or if this is a bug in opal / ptlib / callgen ? Thanks. lsb_release -a LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: CentOS Description: CentOS release 6.5 (Final) Release: 6.5 Codename: Final -- Nicolas V. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Opalvoip-user mailing list Opa...@li...<mailto:Opa...@li...> https://lists.sourceforge.net/lists/listinfo/opalvoip-user |