Resampling gives segmentation fault (ARM9)

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

 



I am experimenting with pjsip/pjsua on an ARM9 platform and am getting
segmentation fault whenever I use resampling (eg. when running
"resampleplay" in the "samples" directory). Everything else seems to work
fine (eg. "playfile" etc.). I'm using alsa-lib-1.0.24.1 and building pjsip
using the flags

export ALSALIB="${HOME}/alsa-lib-1.0.24.1"
export CFLAGS="-mcpu=arm926ej-s -msoft-float -fomit-frame-pointer -pipe -O2
-I${ALSALIB}/include"
export CPPFLAGS="-mcpu=arm926ej-s -msoft-float -fomit-frame-pointer -pipe
-O2 -I${ALSALIB}/include"
export LDFLAGS="-L${ALSALIB}/src/.libs/"

Running resampleplay with loglevel 6 gives the output

...
 02:00:33.014     alsa_dev.c  open_capture: Open capture device
'default:CARD=EVM'
 02:00:33.031    alsa0x84b58  1764 bytes requested, resizing pool by 2048
bytes (used=2044, cap=3072)
 02:00:33.031    alsa0x84b58  create_block(sz=2048), cur.cap=3072,
cur.used=2044
 02:00:33.031    alsa0x84b58   block created, buffer=0x8577c-0x85f68
 02:00:33.040     alsa_dev.c  Opened device alsa(default:CARD=EVM) for
capture, sample rate=44100, ch=1, bits=16, period size=882 frames,
latency=320 ms
 02:00:33.041 alsasound_play  Thread created
 02:00:33.042 alsasound_play  Thread created
 02:00:33.042 resampleplay.c  Total pool memory allocated=45 KB, used=38 KB
 02:00:33.043 alsasound_play  Thread started
 02:00:33.043     alsa_dev.c  ca_thread_func(951): Set thread priority for
audio capture thread.
 02:00:33.046 alsasound_play  Thread started
Segmentation fault

Have tried various different settings in config_site.h such as

#define PJMEDIA_RESAMPLE_IMP        PJMEDIA_RESAMPLE_LIBRESAMPLE
#define PJMEDIA_WSOLA_IMP           PJMEDIA_WSOLA_IMP_WSOLA_LITE

but to no avail.

All help very much appreciated!

Thanks in advance

/Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20110810/cb4272f6/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