[PD] mrpeach/net iemnet and other way to get file from the net

2014-02-12 Thread Cyrille Henry

hello,

We are trying to get small text file from the internet using mrpeach net 
objects.

there is some few crash. gdb backtrace gives :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff8cf81700 (LWP 31771)]
0x7fffeab9fa94 in tcpclient_child_connect (w=0x7fffea88d010) at 
tcpclient.c:225
225 x->x_addr = ntohl(*(long *)hp->h_addr);
(gdb) watchdog: signaling pd...
watchdog: signaling pd...
bt
#0  0x7fffeab9fa94 in tcpclient_child_connect (w=0x7fffea88d010) at 
tcpclient.c:225
#1  0x773a8f6e in start_thread (arg=0x7fff8cf81700) at 
pthread_create.c:311
#2  0x76ecf9cd in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

(this is on ubuntu 13.10 linux 64 bit / pd 0.45 / mrpeach from svn, but osX 
gives the same kind of crash )

iemnet object are not more stable.


there are lot's of thread about this in the list. is there anything new, or 
something we can do to avoid crash?

or is there an other solution that would be cross platform (linux, osX, 
windows) and would allow a patch to download text file from a server?

thanks
cheers
Cyrille

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] mrpeach/net iemnet and other way to get file from the net

2014-02-12 Thread Martin Peach

On 2014-02-12 11:13, Cyrille Henry wrote:

hello,

We are trying to get small text file from the internet using mrpeach net
objects.

there is some few crash. gdb backtrace gives :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff8cf81700 (LWP 31771)]
0x7fffeab9fa94 in tcpclient_child_connect (w=0x7fffea88d010) at
tcpclient.c:225
225x->x_addr = ntohl(*(long *)hp->h_addr);
(gdb) watchdog: signaling pd...
watchdog: signaling pd...
bt
#0  0x7fffeab9fa94 in tcpclient_child_connect (w=0x7fffea88d010) at
tcpclient.c:225
#1  0x773a8f6e in start_thread (arg=0x7fff8cf81700) at
pthread_create.c:311
#2  0x76ecf9cd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

(this is on ubuntu 13.10 linux 64 bit / pd 0.45 / mrpeach from svn, but
osX gives the same kind of crash )

iemnet object are not more stable.


there are lot's of thread about this in the list. is there anything new,
or something we can do to avoid crash?



I don't recall any threads about this kind of crash.
It looks like a 64-bit issue. If it really crashes at
x->x_addr = ntohl(*(long *)hp->h_addr);
then possibly the long type is too long or the h_addr field is not a 
long in 64-bit or h_addr is not properly initialized, so ntohl() looks 
in the wrong place and segfaults. I never get any such crashes on 32-bit 
systems, but so far I haven't tried it on 64-bit.





or is there an other solution that would be cross platform (linux, osX,
windows) and would allow a patch to download text file from a server?



You could probably make a single object with pdlua or pyext that does 
just that.


Martin


thanks
cheers
Cyrille

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list





___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] vst~ for OSX, any update?

2014-02-12 Thread Pagano, Patrick
Hello

I am asking if anyone has had any success on updating the vst~ object for OSX. 
I would really like to use some simple vst~ plugins with GUIs inside of Pd, but 
i cannot seem to get the GUI window to pop up still. Pd sees all the 
information, ins/outs and methods but cannot display the GUI interface so it 
seems. I am building and extension to the Console abstraction Leonard made some 
years ago and i would like it to have interchangeable vsts for 
REVERB/DELAY/FILTER AND a wildcard effect.


please help

pp

Patrick Pagano B.S, M.F.A
Audio and Projection Design Faculty
Digital Worlds Institute
University of Florida, USA
(352)294-2020
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] mrpeach/net iemnet and other way to get file from the net

2014-02-12 Thread Martin Peach

On 2014-02-12 11:51, Martin Peach wrote:

It looks like a 64-bit issue. If it really crashes at
x->x_addr = ntohl(*(long *)hp->h_addr);
then possibly the long type is too long or the h_addr field is not a
long in 64-bit or h_addr is not properly initialized, so ntohl() looks
in the wrong place and segfaults. I never get any such crashes on 32-bit
systems, but so far I haven't tried it on 64-bit.






I just committed a change to tcpclient.c in svn that might fix it, 
changing long to uint32_t to make sure it accesses a 32-bit field.


Martin


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] vst~ for OSX, any update?

2014-02-12 Thread Miller Puckette
Hi all -

I tried to do this a while back but found out that on Mac you have to structure
a program as an "app" (which entails using Apple's event loop instead of your
own scheduler).  I couldn't see any reasonable way to get Pd working that
way, and eventually gave up.

My workaround was to use another application to show the GUI, learned the
controls and found reasonable settings, and then used the plug-in in Pd with
no GUI.

By the way, at the time there seemed to be NO open-source program for Macintosh
that could host plug-ins.  I ended up using Max :)

Miller

On Wed, Feb 12, 2014 at 06:32:04PM +, Pagano, Patrick wrote:
> Hello
> 
> I am asking if anyone has had any success on updating the vst~ object for 
> OSX. I would really like to use some simple vst~ plugins with GUIs inside of 
> Pd, but i cannot seem to get the GUI window to pop up still. Pd sees all the 
> information, ins/outs and methods but cannot display the GUI interface so it 
> seems. I am building and extension to the Console abstraction Leonard made 
> some years ago and i would like it to have interchangeable vsts for 
> REVERB/DELAY/FILTER AND a wildcard effect.
> 
> 
> please help
> 
> pp
> 
> Patrick Pagano B.S, M.F.A
> Audio and Projection Design Faculty
> Digital Worlds Institute
> University of Florida, USA
> (352)294-2020

> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> http://lists.puredata.info/listinfo/pd-list


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] vst~ for OSX, any update?

2014-02-12 Thread Matthias Kronlachner

On 13/02/14 07:08, Miller Puckette wrote:

By the way, at the time there seemed to be NO open-source program for Macintosh
that could host plug-ins.  I ended up using Max:)
There is the Plugin Host from the Juce Framework which supports VST2 and 
VST3 (and other plugin formats).

It's GPL. www.juce.com

Matthias

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] vst~ for OSX, any update?

2014-02-12 Thread Chris Clepper
On Thu, Feb 13, 2014 at 12:08 AM, Miller Puckette  wrote:

> Hi all -
>
> I tried to do this a while back but found out that on Mac you have to
> structure
> a program as an "app" (which entails using Apple's event loop instead of
> your
> own scheduler).  I couldn't see any reasonable way to get Pd working that
> way, and eventually gave up.
>

Jamie and I did all of the OSX window, mouse and keyboard code for GEM
using the Apple event loops.  It wasn't fun, but also not too terribly
difficult either.  I'm sure the GEM source is very deprecated now since it
isn't an iOS app.


> My workaround was to use another application to show the GUI, learned the
> controls and found reasonable settings, and then used the plug-in in Pd
> with
> no GUI.
>

That's just nuts.  It should be possible to build a Pd patch wrapper for
all of the VST parameters right?


> By the way, at the time there seemed to be NO open-source program for
> Macintosh
> that could host plug-ins.  I ended up using Max :)
>
>
SuperCollider hosts AudioUnits, but given James' day job that is not
surprising.




> Miller
>
> On Wed, Feb 12, 2014 at 06:32:04PM +, Pagano, Patrick wrote:
> > Hello
> >
> > I am asking if anyone has had any success on updating the vst~ object
> for OSX. I would really like to use some simple vst~ plugins with GUIs
> inside of Pd, but i cannot seem to get the GUI window to pop up still. Pd
> sees all the information, ins/outs and methods but cannot display the GUI
> interface so it seems. I am building and extension to the Console
> abstraction Leonard made some years ago and i would like it to have
> interchangeable vsts for REVERB/DELAY/FILTER AND a wildcard effect.
> >
> >
> > please help
> >
> > pp
> >
> > Patrick Pagano B.S, M.F.A
> > Audio and Projection Design Faculty
> > Digital Worlds Institute
> > University of Florida, USA
> > (352)294-2020
>
> > ___
> > Pd-list@iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
> ___
> Pd-list@iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list