Csound Csound-dev Csound-tekno Search About

[Cs-dev] portaudio on Linux

Date2006-01-12 17:49
FromVictor Lazzarini
Subject[Cs-dev] portaudio on Linux
Today I updated one of my systems here to fedora core 4,
got and built all the alsa drivers/tools/libs, csound, libsndfile,
portaudio, etc.

Now Csound5 crashes with portaudio, but runs OK with the
alsa module. Alsa 1.0.10, portaudio tarball from today.
Any suggestions why portaudio is crashing?

The csound tidy up: segmentation fault comes just after
the PortAudio v19 Devel message.

Victor

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-01-12 18:07
FromIstvan Varga
SubjectRe: [Cs-dev] portaudio on Linux
AttachmentsNone  

Date2006-01-13 09:31
FromVictor Lazzarini
SubjectRe: [Cs-dev] portaudio on Linux
No, there is no old version of portaudio, since I have installed
everything from scratch and as far as I know Fedora Core 4 does
not ship portaudio, but I'll check anyway.

At 18:07 12/01/2006, you wrote:
>On Thursday 12 January 2006 18:49, Victor Lazzarini wrote:
>
> > Today I updated one of my systems here to fedora core 4,
> > got and built all the alsa drivers/tools/libs, csound, libsndfile,
> > portaudio, etc.
> >
> > Now Csound5 crashes with portaudio, but runs OK with the
> > alsa module. Alsa 1.0.10, portaudio tarball from today.
> > Any suggestions why portaudio is crashing?
> >
> > The csound tidy up: segmentation fault comes just after
> > the PortAudio v19 Devel message.
>
>Does not crash for me, using pa_snapshot_v19.tar.gz from
>http://www.portaudio.com/usingcvs.html (has an md5sum of
>036ea239a59a203d5d24bf752035eb6e).
>Did you try setting a different output device (dac0, dac1,
>dac:hw:0, etc.) ? Is it possible that there is an old version
>of PortAudio in the way somewhere ?
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-01-13 09:59
FromVictor Lazzarini
SubjectRe: [Cs-dev] portaudio on Linux
and what's more: the portaudio tests also cause segmentation fault;
so I guess it's portaudio then. I'll let them know.

Victor

At 09:31 13/01/2006, you wrote:
>No, there is no old version of portaudio, since I have installed
>everything from scratch and as far as I know Fedora Core 4 does
>not ship portaudio, but I'll check anyway.
>
>At 18:07 12/01/2006, you wrote:
>>On Thursday 12 January 2006 18:49, Victor Lazzarini wrote:
>>
>> > Today I updated one of my systems here to fedora core 4,
>> > got and built all the alsa drivers/tools/libs, csound, libsndfile,
>> > portaudio, etc.
>> >
>> > Now Csound5 crashes with portaudio, but runs OK with the
>> > alsa module. Alsa 1.0.10, portaudio tarball from today.
>> > Any suggestions why portaudio is crashing?
>> >
>> > The csound tidy up: segmentation fault comes just after
>> > the PortAudio v19 Devel message.
>>
>>Does not crash for me, using pa_snapshot_v19.tar.gz from
>>http://www.portaudio.com/usingcvs.html (has an md5sum of
>>036ea239a59a203d5d24bf752035eb6e).
>>Did you try setting a different output device (dac0, dac1,
>>dac:hw:0, etc.) ? Is it possible that there is an old version
>>of PortAudio in the way somewhere ?
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>for problems?  Stop!  Download the new AJAX search engine that makes
>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-01-13 11:32
FromVictor Lazzarini
SubjectRe: [Cs-dev] portaudio on Linux
Found the solution. The /dev/dsp symlink had not been created,
so portaudio did not like that (althought Istvan's alsa module did not
complain). I had not re-booted after installing alsa (with alsaconf);
after the re-boot all's well.

Victor
At 09:59 13/01/2006, you wrote:
>and what's more: the portaudio tests also cause segmentation fault;
>so I guess it's portaudio then. I'll let them know.
>
>Victor
>
>At 09:31 13/01/2006, you wrote:
>>No, there is no old version of portaudio, since I have installed
>>everything from scratch and as far as I know Fedora Core 4 does
>>not ship portaudio, but I'll check anyway.
>>
>>At 18:07 12/01/2006, you wrote:
>>>On Thursday 12 January 2006 18:49, Victor Lazzarini wrote:
>>>
>>> > Today I updated one of my systems here to fedora core 4,
>>> > got and built all the alsa drivers/tools/libs, csound, libsndfile,
>>> > portaudio, etc.
>>> >
>>> > Now Csound5 crashes with portaudio, but runs OK with the
>>> > alsa module. Alsa 1.0.10, portaudio tarball from today.
>>> > Any suggestions why portaudio is crashing?
>>> >
>>> > The csound tidy up: segmentation fault comes just after
>>> > the PortAudio v19 Devel message.
>>>
>>>Does not crash for me, using pa_snapshot_v19.tar.gz from
>>>http://www.portaudio.com/usingcvs.html (has an md5sum of
>>>036ea239a59a203d5d24bf752035eb6e).
>>>Did you try setting a different output device (dac0, dac1,
>>>dac:hw:0, etc.) ? Is it possible that there is an old version
>>>of PortAudio in the way somewhere ?
>>>
>>>
>>>-------------------------------------------------------
>>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>>for problems?  Stop!  Download the new AJAX search engine that makes
>>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>_______________________________________________
>>>Csound-devel mailing list
>>>Csound-devel@lists.sourceforge.net
>>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>Victor Lazzarini
>>Music Technology Laboratory
>>Music Department
>>National University of Ireland, Maynooth
>>
>>
>>-------------------------------------------------------
>>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>>for problems?  Stop!  Download the new AJAX search engine that makes
>>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>_______________________________________________
>>Csound-devel mailing list
>>Csound-devel@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>Victor Lazzarini
>Music Technology Laboratory
>Music Department
>National University of Ireland, Maynooth
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-01-13 14:04
FromIstvan Varga
SubjectRe: [Cs-dev] portaudio on Linux
AttachmentsNone  

Date2006-01-13 15:14
FromVictor Lazzarini
SubjectRe: [Cs-dev] portaudio on Linux
Device 0 (-odac) for portaudio is /dev/dsp (OSS), so that's why.

At 14:04 13/01/2006, you wrote:
>On Friday 13 January 2006 12:32, Victor Lazzarini wrote:
>
> > Found the solution. The /dev/dsp symlink had not been created,
> > so portaudio did not like that (althought Istvan's alsa module did not
> > complain).
>
>The ALSA module does not use /dev/dsp as it is for the old OSS
>interface only. I did suggest trying a different PortAudio device,
>suspecting that the problem is related to OSS emulation; however,
>it is possible that PortAudio already crashes while enumerating the
>devices.
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems?  Stop!  Download the new AJAX search engine that makes
>searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>_______________________________________________
>Csound-devel mailing list
>Csound-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/csound-devel

Victor Lazzarini
Music Technology Laboratory
Music Department
National University of Ireland, Maynooth 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net