[ecasound] Re: Sometimes ecasound-2.4.3 says it's recording and it isn't and it crashes

From: Avuton Olrich <avuton@email-addr-hidden>
Date: Sun Nov 06 2005 - 11:21:35 EET

On 11/4/05, Avuton Olrich <avuton@email-addr-hidden> wrote:
> Hello,
>
> I have been having a couple of problems, methods of debugging aren't
> getting me too far. One thing I notice here is it is not showing the
> full filename in the core, but otherwise I'm not much help.
>
> 1) Sometimes on exit of ecasound, when I CTRL-C out I get a core, when
> I get a bt on the core it's not too useful:
> (no debugging symbols found)
> Core was generated by `ecasound_debug -r -i alsahw,0,0 -o
> /mnt/aux/Tmp/new_wavs/2005-11-04_698976000_h'.
> Program terminated with signal 11, Segmentation fault.
>
> warning: current_sos: Can't read pathname for load map: Input/output error
>
> Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
> Loaded symbols for /lib/libncurses.so.5
> Reading symbols from /usr/lib/libsamplerate.so.0...(no debugging
> symbols found)...done.
> Loaded symbols for /usr/lib/libsamplerate.so.0
> Reading symbols from /usr/lib/libaudiofile.so.0...(no debugging
> symbols found)...done.
> Loaded symbols for /usr/lib/libaudiofile.so.0
> Reading symbols from /usr/lib/libasound.so.2...
> (no debugging symbols found)...done.
> Loaded symbols for /usr/lib/libasound.so.2
> Reading symbols from /usr/lib/libjack.so.0...(no debugging symbols
> found)...done.
> Loaded symbols for /usr/lib/libjack.so.0
> Reading symbols from
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.4/libstdc++.so.6...done.
> Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6
> Reading symbols from /lib/libdl.so.2...done.
> Loaded symbols for /lib/libdl.so.2
> Reading symbols from /lib/libpthread.so.0...done.
> Loaded symbols for /lib/libpthread.so.0
> Reading symbols from /lib/libm.so.6...done.
> Loaded symbols for /lib/libm.so.6
> Reading symbols from
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1...done.
> Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1
> Reading symbols from /lib/libc.so.6...done.
> Loaded symbols for /lib/libc.so.6
> Reading symbols from /lib/ld-linux.so.2...done.
> Loaded symbols for /lib/ld-linux.so.2
> #0 0x080f1c00 in ECA_CONTROL_BASE::is_engine_started ()
> (gdb) bt
> #0 0x080f1c00 in ECA_CONTROL_BASE::is_engine_started ()
> #1 0x080f1c8c in ECA_CONTROL_BASE::is_running ()
> #2 0x080f345d in ECA_CONTROL_BASE::run ()
> #3 0x0808ebf8 in main ()
> (gdb)
>
> 2) Sometimes when recording I'm not getting a valid wav file,
> sometimes when using 'aplay' to test if it's working or not, it
> refuses to play it, exiting with no error message (is there a better
> way to test the validity of a wav file?).
>
> I'm really unsure if these two problems have any relation to each other.

BTW- This still goes unsolved for me, to demonstrate #2 I tried
flacing a wav that ecasound made and I got the following:

shapeshifter new_wavs # flac -8
2005-11-06_301092000_howard-stern-channel-100.wav

flac 1.1.2, Copyright (C) 2000,2001,2002,2003,2004,2005 Josh Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.

options: -P 4096 -b 4608 -m -l 12 -e -q 0 -r 0,6
x.wav: WARNING: skipping unknown sub-chunk '���'
flac: encode.c:844: flac__encode_wav: Assertion `skip<=2147483647L' failed.
Aborted

The ecasound arguments I use on this are:
ecasound_debug -r -i alsahw,0,0 -z:db,dbsize -t:15800 -o $CURRENT_FILE

It refuses to play with aplay, (actually anything using libaudiofile),
although it exits with a 0 error code, so it _seems_ fine.

oggenc encodes it just fine, then it can play.

If anyone can do any kind of analysis on this file I have put it on my site:
http://68.111.224.150:8080/~sbh/c100.wav

Any further help I could possibly be please don't hesitate to contact me.

thanks,
avuton

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sun Nov 6 12:15:05 2005

This archive was generated by hypermail 2.1.8 : Sun Nov 06 2005 - 12:15:05 EET