Re: [LAU] Segfault using zita-j2a

From: Jannis Achstetter <jannis_achstetter@email-addr-hidden>
Date: Fri Oct 26 2012 - 00:37:30 EEST

Am 25.10.2012 22:57, schrieb Fons Adriaensen:
> On Thu, Oct 25, 2012 at 07:37:24PM +0200, Jannis Achstetter wrote:
>
>> In my last mail I forgot: zresample works perfectly fine on the files
>> and with the rates I tried. Output sounds okay, too. However, I don't
>> know if that uses the same code-paths as the ajbridge.
>
> Yes and no. The zresample app uses the Resampler class,
> while zita-ajbridge uses VResampler. The two share some
> code, but they are different classes. Could you try the
> zretune app that comes with the latest release of zita-
> resamper ? This is using the VResampler class.

Okay, the different classes explain the different behavoirs then because
zretune crashes instantly:

(gdb) r --cent 20 test-orig.wav out.wav

Starting program: /usr/bin/zretune --cent 20 test-orig.wav out.wav

warning: Could not load shared library symbols for linux-vdso.so.1.

Do you need "set solib-search-path" or "set sysroot"?

Program received signal SIGSEGV, Segmentation fault.

0x00007ffff7bd8760 in VResampler::process (this=0x7fffffffcf50) at
vresampler.cc:217

217 vresampler.cc: No such file or directory.

(gdb) q

>
>> warning: Could not load shared library symbols for linux-vdso.so.1.
>> Do you need "set solib-search-path" or "set sysroot"?
>
> I've no idea what linux-vdso.so is ...

Ya, nevermind it, that's always printed but gdb does its job for
backtraces :)

> This may be unrelated, but I also see frequent errors on
> the ALSA device in the valgrind output. Could you test
> the device with the alsa_loopback app that comes with
> zita-alsa-pcmi, using the same parameters as you'd use
> for zita-a2j ?
>
> I suspect this is some 64-bit related problem...

I saw the ALSA-errors, too but can't test it right now since I currently
only have the library-part of zita-alsa-pcmi installed. Will install the
other binaries tomorrow and test it then. I can do tests on a pure
32-bit machine if it helps.

Thanks for the help up to now :)

        Jannis
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Oct 26 04:15:01 2012

This archive was generated by hypermail 2.1.8 : Fri Oct 26 2012 - 04:15:03 EEST