Re: [LAU] Linux-audio-user Digest, Vol 23, Issue 32

From: Kjetil S. Matheussen <k.s.matheussen@email-addr-hidden>
Date: Mon Jan 26 2009 - 01:42:54 EET

PS. Please CC me when you reply. :-)

Andras Simon:
>> Andras Simon:
>>
>>>>
>>>> Can you try this one:
>>>> http://heim.ifi.uio.no/~ksvalast/jack_capture.c.gz
>>>> ?
>>>
>>> Sure:
>>>
>>> [simon at zsuzsi jack_capture-0.9.31]$ ./jack_capture
>>> 1
>>> 2
>>> 4
>>> 5
>>> 6
>>
>> That's just buffer init. Weird! Perhaps you
>> are running out of memory?
>
> I shouldn't:
>
> [simon@email-addr-hidden jack_capture-0.9.31]$ free
> total used free shared buffers cached
> Mem: 2059296 1937596 121700 0 82608 628812
> -/+ buffers/cache: 1226176 833120
> Swap: 8193108 4812 8188296
>
>
>

What does /etc/security/limits.conf say?

My file has this line:

"@audio - memlock 25000000"

which gives me 2.5m of non-locked memory. (at least I think
that's what it means)

>> Can you try
>>
>> ./jack_capture -B 0.1
>>
>> ?
>
> Much more interesting:
>
> [simon@email-addr-hidden jack_capture-0.9.31]$ ./jack_capture -B 0.1
> 1
> 2
> 4
> 5
> 6
> 7
> Warning, the format "wav" is not supported. Using wav instead.

Try make clean before make. If that doesn't help,
what says "sh gen_setformat_c.sh"? And which version
of libsndfile do you have?

> 8
> 9
> 10
> 11
> 12
> Recording to "jack_capture_01.wav". Press <Return> or <Ctrl-C> to stop.
> 13
> |""""""""""""""""""""""""""""""""""""""""""""""""""""""""|
> 00:| |
> 01:| |
> Buffer: 0.06s / 0.09s. Disk high priority: [ ]. Overruns: 0
> 14
> Segmentation fault
>
> [This is without me pressing return or ctrl-c]
>

This is probably related to the bug above, where it didn't
find a legal soundformat, and thus couldn't open a new file
with libsndfile either.

>> Also, what machine do you have? (/proc/cpu) There's some atomic
>> operations going on in the buffer init, maybe they are locking up.
>
> processor : 0

Thanks.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user
Received on Mon Jan 26 04:15:07 2009

This archive was generated by hypermail 2.1.8 : Mon Jan 26 2009 - 04:15:07 EET