[SIP Beyond VoIP] sipclients crash on debian squeeze

Saúl Ibarra Corretgé saul at ag-projects.com
Mon Nov 5 12:18:20 CET 2012


On Nov 5, 2012, at 12:15 PM, Juha Heinanen wrote:

> Saúl Ibarra Corretgé writes:
> 
>> If you installed the SDK from our Debian repositories you can get the
>> debug symbols by installing python-sipsimple-dbg.
> 
> saul,
> 
> my bad, i gave wrong binary to gdb.  i used /usr/bin/sip-session when i
> should have used /usr/bin/python.  below find backtrace.
> 

I see the crash occurs in PortAudio, so no joy :-S We plan to get rid of it and use native audio backends on each platform, but I have no ETA on when that will happen.

> regarding portaudio shown in backtrace, i only have lib package
> installed:
> 

We don't use the PortAudio present in the system, it's bundled with PJSIP.

> $ dpkg -l | egrep portaudio
> ii  libportaudio2                        19+svn20071022-3.2                Portable audio I/O - shared library
> 
> -- juha
> 
> Core was generated by `/usr/bin/python /usr/bin/sip-session'.
> Program terminated with signal 11, Segmentation fault.
> #0  Copy_16_To_16 (destinationBuffer=0xa337110, destinationStride=1, 
>    sourceBuffer=0x0, sourceStride=1, count=546, ditherGenerator=0xa321060)
>    at src/../../../portaudio/src/common/pa_converters.c:1679
> 1679	src/../../../portaudio/src/common/pa_converters.c: No such file or directory.
> 	in src/../../../portaudio/src/common/pa_converters.c
> (gdb) where
> #0  Copy_16_To_16 (destinationBuffer=0xa337110, destinationStride=1, 
>    sourceBuffer=0x0, sourceStride=1, count=546, ditherGenerator=0xa321060)
>    at src/../../../portaudio/src/common/pa_converters.c:1679
> #1  0xb6e13788 in AdaptingProcess (bp=<value optimized out>, 
>    streamCallbackResult=<value optimized out>, processPartialUserBuffers=1)
>    at src/../../../portaudio/src/common/pa_process.c:1326
> #2  0xb6e13afe in PaUtil_EndBufferProcessing (bp=0xa320fd4, 
>    streamCallbackResult=0xb34fb37c)
>    at src/../../../portaudio/src/common/pa_process.c:1557
> #3  0xb6e0cc7d in CallbackThreadFunc (userData=0xa320f88)
>    at src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c:3390
> #4  0xb76e6955 in start_thread (arg=0xb34fbb70) at pthread_create.c:300
> #5  0xb74801de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

--
Saúl Ibarra Corretgé
AG Projects





More information about the SIPBeyondVoIP mailing list