I'm working on a couple of bugfixes for pd~: https://github.com/pure-data/pure-data/pull/349
I hit a wall with a bug where opening a subprocess with a large -fifo size will stall both processes (they seem to wait for each other forever). can someone confirm this issue? and if yes, on which system and at which fifo size does it happen?
Christof
On win8.1 I get roughly the same limit of 202.
On Ubuntu16.04 the limit is around 180.
Some question on this PR:
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
--
Mensaje telepatico asistido por maquinas.
On 4/7/2018 9:48 PM, Christof Ressi wrote:
I'm working on a couple of bugfixes for pd~: https://github.com/pure-data/pure-data/pull/349
I hit a wall with a bug where opening a subprocess with a large -fifo size will stall both processes (they seem to wait for each other forever). can someone confirm this issue? and if yes, on which system and at which fifo size does it happen?
Christof
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
thanks for reporting!
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
I'm not sure what you mean here but currently the "-schedlib" flag already sets the audio api to 0 in sys_argparse (which is called after sys_loadpreferences) so AFAICT there shouldn't be any difference anyway.
Gesendet: Sonntag, 08. April 2018 um 04:47 Uhr Von: "Lucas Cordiviola" lucarda27@hotmail.com An: "Christof Ressi" christof.ressi@gmx.at, Pd-List pd-list@lists.iem.at Betreff: Re: [PD] pd~ bugfixes - need some help
On win8.1 I get roughly the same limit of 202.
On Ubuntu16.04 the limit is around 180.
Some question on this PR:
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
--
Mensaje telepatico asistido por maquinas.
On 4/7/2018 9:48 PM, Christof Ressi wrote:
I'm working on a couple of bugfixes for pd~: https://github.com/pure-data/pure-data/pull/349
I hit a wall with a bug where opening a subprocess with a large -fifo size will stall both processes (they seem to wait for each other forever). can someone confirm this issue? and if yes, on which system and at which fifo size does it happen?
Christof
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Unfortunately, the deadlock can also happen if you send too many messages to or from the subprocess!
I found an article explaining the issue: https://blogs.msdn.microsoft.com/oldnewthing/20110707-00/?p=10223
they suggest to use seperate threads for reading and writing. Others are welcome to clone the branch and try out solutions :-)
Gesendet: Sonntag, 08. April 2018 um 14:10 Uhr Von: "Christof Ressi" christof.ressi@gmx.at An: "Lucas Cordiviola" lucarda27@hotmail.com Cc: Pd-List pd-list@lists.iem.at Betreff: Re: [PD] pd~ bugfixes - need some help
thanks for reporting!
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
I'm not sure what you mean here but currently the "-schedlib" flag already sets the audio api to 0 in sys_argparse (which is called after sys_loadpreferences) so AFAICT there shouldn't be any difference anyway.
Gesendet: Sonntag, 08. April 2018 um 04:47 Uhr Von: "Lucas Cordiviola" lucarda27@hotmail.com An: "Christof Ressi" christof.ressi@gmx.at, Pd-List pd-list@lists.iem.at Betreff: Re: [PD] pd~ bugfixes - need some help
On win8.1 I get roughly the same limit of 202.
On Ubuntu16.04 the limit is around 180.
Some question on this PR:
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
--
Mensaje telepatico asistido por maquinas.
On 4/7/2018 9:48 PM, Christof Ressi wrote:
I'm working on a couple of bugfixes for pd~: https://github.com/pure-data/pure-data/pull/349
I hit a wall with a bug where opening a subprocess with a large -fifo size will stall both processes (they seem to wait for each other forever). can someone confirm this issue? and if yes, on which system and at which fifo size does it happen?
Christof
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
How about passing messages through netsend/netreceive?
--
Mensaje telepatico asistido por maquinas.
On 4/8/2018 12:13 PM, Christof Ressi wrote:
Unfortunately, the deadlock can also happen if you send too many messages to or from the subprocess!
I found an article explaining the issue: https://blogs.msdn.microsoft.com/oldnewthing/20110707-00/?p=10223
they suggest to use seperate threads for reading and writing. Others are welcome to clone the branch and try out solutions :-)
Gesendet: Sonntag, 08. April 2018 um 14:10 Uhr Von: "Christof Ressi" christof.ressi@gmx.at An: "Lucas Cordiviola" lucarda27@hotmail.com Cc: Pd-List pd-list@lists.iem.at Betreff: Re: [PD] pd~ bugfixes - need some help
thanks for reporting!
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
I'm not sure what you mean here but currently the "-schedlib" flag already sets the audio api to 0 in sys_argparse (which is called after sys_loadpreferences) so AFAICT there shouldn't be any difference anyway.
Gesendet: Sonntag, 08. April 2018 um 04:47 Uhr Von: "Lucas Cordiviola" lucarda27@hotmail.com An: "Christof Ressi" christof.ressi@gmx.at, Pd-List pd-list@lists.iem.at Betreff: Re: [PD] pd~ bugfixes - need some help
On win8.1 I get roughly the same limit of 202.
On Ubuntu16.04 the limit is around 180.
Some question on this PR:
When you say "ignore audio API in sys_loadpreferences when an external scheduler is used":
This will still work when using an "external scheduler" ?
It will work using Pdvst~ right?
--
Mensaje telepatico asistido por maquinas.
On 4/7/2018 9:48 PM, Christof Ressi wrote:
I'm working on a couple of bugfixes for pd~: https://github.com/pure-data/pure-data/pull/349
I hit a wall with a bug where opening a subprocess with a large -fifo size will stall both processes (they seem to wait for each other forever). can someone confirm this issue? and if yes, on which system and at which fifo size does it happen?
Christof
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hello,
The question is for people involved in the libpd project. I would like to know if the module pylibpd is planned for python3 ? Ciao. ++
Jack