Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-17 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-09-16 23:10, Matthias Kronlachner wrote:
 It's a message without argument: /1 I think this should be valid
 OSC? (Wasn't this the same problem reported with Totalmix?)
 
 However, the messages /1 crashes routeOSC if chained like this:
 
 [/1 ( | [routeOSC /1] | [routeOSC /foo]

confirmed with the latest SVN checkout, but *not* with the version
found in the pd-osc Debian package.

the Debian package is build from the 0.1 pseudo-release of OSC as
found at [1], which has been put online 2011-08-04, so before the
revisions r15633 (fixing bug #3426523), r16071 (list support) and
r16072 (removing debug output).

 
 And even if not specified in OSC, it should at least not crash Pd
 :-)
 

i wholeheartedly agree.

fgamsdr
IOhannes


[1] http://puredata.info/downloads/osc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlI4A40ACgkQkX2Xpv6ydvRkogCgyvpMZ8olwHw2dqF0VMTDnjyD
3vYAoKAhylAcKAIMYDgD/7on7ikm35BG
=vkzb
-END PGP SIGNATURE-

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


Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-17 Thread Martin Peach
I think it's all fixed now, in svn. Anything not an OSC message is now 
routed to the rightmost outlet, without prefixing a slash.

Let me know if it works or not for you. Thanks for finding the bug!

Martin

On 2013-09-16 17:22, Matthias Kronlachner wrote:

ok its even more simple than that..
a |bang( crashes routeOSC :-)

and a bang is sent to the outlet of routeOSC if a message has no
argument...

On 9/16/13 11:51 PM, Martin Peach wrote:

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin



___
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-17 Thread Matthias Kronlachner

Now it works fine for me, thanks.

Matthias

On 9/18/13 1:34 AM, Martin Peach wrote:
I think it's all fixed now, in svn. Anything not an OSC message is now 
routed to the rightmost outlet, without prefixing a slash.

Let me know if it works or not for you. Thanks for finding the bug!

Martin

On 2013-09-16 17:22, Matthias Kronlachner wrote:

ok its even more simple than that..
a |bang( crashes routeOSC :-)

and a bang is sent to the outlet of routeOSC if a message has no
argument...

On 9/16/13 11:51 PM, Martin Peach wrote:

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin



___
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Mario Mey

I found this workaround... maybe it helps:

http://puredata.hurleur.com/sujet-9201-touchosc-mrpeach-crash



El 16/09/13 13:08, Mario Mey escribió:
Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio 
12.04.3, it makes PureData crash. There's no message, it just crashs.


Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to 
see if any message is there)... it can't open my patch. So, I'm 
writting another mail to list.



2013/9/15 Martin Peach martin.pe...@sympatico.ca 
mailto:martin.pe...@sympatico.ca


On 2013-09-15 16:12, Mario Mey wrote:

I just downloaded complete PureData from svn... but I want to
compile
only your externals. Is that possible? I think so... how?


From trunk/externals type
make mrpeach
or
make mrpeach_install
(which doesn't actually install the files, it puts them in
externals/build/lib/pd-extended/extra)

Martin


Thank you.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca


On 2013-09-14 19:28, Mario Mey wrote:

Martin Peach, I read somewhere that changing pages in
TouchOSC
makes Pd
(or Pd-Ext) to crash. My Pd-Extended doesn't crash,
but this
error is
shown: * routeOSC: ignoring empty list….



That doesn't happen here. There is no such message in the
source code.
Maybe you have an older version of routeOSC? The OSC
specification
allows empty messages, and [routeOSC] should output a bang
if it
routes such a message.
Older versions of [routeOSC](before March 2012) didn't work
properly, so you probably just need to find a more recent
one or
build it from svn.
   
(http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/
   
http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)




Martin



Today, I've installed Ubuntu Studio 12.04.3 (with
lowlatency
kernel). It
seemed that it was a good distro for my use... but
switching
pages DOES
make Pd-Extended to crash. I reported-suggested this
in this thread:
http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
wrote some

other info,
maybe usefull.

The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
0.43.4 (download
from PPA as the Pure Data page says), jackdmp 1.9.8...//
/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
same Pd-Extended
version, Jack that came with UbuntuStudio (don't know
wich version)/


Any other information that could be useful to fix
this? Like I
wrote in
the thread, I suggested TouchOSC that it should send
non-empty
lists.
But, TouchOSC is closed-code... so, there's no easy
feedback.




_
Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
mailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/__listinfo/pd-list
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Mario Mey
Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio 
12.04.3, it makes PureData crash. There's no message, it just crashs.


Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to see 
if any message is there)... it can't open my patch. So, I'm writting 
another mail to list.



2013/9/15 Martin Peach martin.pe...@sympatico.ca 
mailto:martin.pe...@sympatico.ca


   On 2013-09-15 16:12, Mario Mey wrote:

   I just downloaded complete PureData from svn... but I want to
   compile
   only your externals. Is that possible? I think so... how?


From trunk/externals type
   make mrpeach
   or
   make mrpeach_install
   (which doesn't actually install the files, it puts them in
   externals/build/lib/pd-extended/extra)

   Martin


   Thank you.


   2013/9/15 Martin Peach martin.pe...@sympatico.ca
   mailto:martin.pe...@sympatico.ca
   mailto:martin.pe...@sympatico.ca
   mailto:martin.pe...@sympatico.ca


On 2013-09-14 19:28, Mario Mey wrote:

Martin Peach, I read somewhere that changing pages in
   TouchOSC
makes Pd
(or Pd-Ext) to crash. My Pd-Extended doesn't crash, but
   this
error is
shown: * routeOSC: ignoring empty list….



That doesn't happen here. There is no such message in the
   source code.
Maybe you have an older version of routeOSC? The OSC
   specification
allows empty messages, and [routeOSC] should output a bang
   if it
routes such a message.
Older versions of [routeOSC](before March 2012) didn't work
properly, so you probably just need to find a more recent
   one or
build it from svn.
   
   (http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/
   
   http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)




Martin



Today, I've installed Ubuntu Studio 12.04.3 (with
   lowlatency
kernel). It
seemed that it was a good distro for my use... but
   switching
pages DOES
make Pd-Extended to crash. I reported-suggested this in
   this thread:
   http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
   wrote some

other info,
maybe usefull.

The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
   0.43.4 (download
from PPA as the Pure Data page says), jackdmp 1.9.8...//
/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
   same Pd-Extended
version, Jack that came with UbuntuStudio (don't know
   wich version)/


Any other information that could be useful to fix this?
   Like I
wrote in
the thread, I suggested TouchOSC that it should send
   non-empty
lists.
But, TouchOSC is closed-code... so, there's no easy
   feedback.




_
   Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
   mailto:Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -
   http://lists.puredata.info/__listinfo/pd-list
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Martin Peach
It sounds like you have two issues: one is that the new external crashes 
Pd as soon as it is instantiated, the other is that some OSC messages do 
the same thing when [routeOSC] is involved.

For the second thing, just use
[udpreceive]
|
[unpackOSC]
|
[print]
and switch pages to see what raw message is being sent.
For the first thing, make a new patch and put a [routeOSC] in it and see 
what the console prints.
But then again you don't seem to be able to start Pd at all from the 
console. Is that correct?


Martin


On 2013-09-16 12:08, Mario Mey wrote:

Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio
12.04.3, it makes PureData crash. There's no message, it just crashs.

Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to see
if any message is there)... it can't open my patch. So, I'm writting
another mail to list.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca

On 2013-09-15 16:12, Mario Mey wrote:

I just downloaded complete PureData from svn... but I want to
compile
only your externals. Is that possible? I think so... how?


 From trunk/externals type
make mrpeach
or
make mrpeach_install
(which doesn't actually install the files, it puts them in
externals/build/lib/pd-extended/extra)

Martin


Thank you.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca


 On 2013-09-14 19:28, Mario Mey wrote:

 Martin Peach, I read somewhere that changing pages in
TouchOSC
 makes Pd
 (or Pd-Ext) to crash. My Pd-Extended doesn't crash, but
this
 error is
 shown: * routeOSC: ignoring empty list….



 That doesn't happen here. There is no such message in the
source code.
 Maybe you have an older version of routeOSC? The OSC
specification
 allows empty messages, and [routeOSC] should output a bang
if it
 routes such a message.
 Older versions of [routeOSC](before March 2012) didn't work
 properly, so you probably just need to find a more recent
one or
 build it from svn.


(http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/


http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)



 Martin



 Today, I've installed Ubuntu Studio 12.04.3 (with
lowlatency
 kernel). It
 seemed that it was a good distro for my use... but
switching
 pages DOES
 make Pd-Extended to crash. I reported-suggested this in
this thread:
http://hexler.net/forum/__viewthread/992/
 http://hexler.net/forum/viewthread/992/, where I
wrote some

 other info,
 maybe usefull.

 The config where it doesn't crash:

 /Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
0.43.4 (download
 from PPA as the Pure Data page says), jackdmp 1.9.8...//
 /
 The other config:

 /Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
same Pd-Extended
 version, Jack that came with UbuntuStudio (don't know
wich version)/


 Any other information that could be useful to fix this?
Like I
 wrote in
 the thread, I suggested TouchOSC that it should send
non-empty
 lists.
 But, TouchOSC is closed-code... so, there's no easy
feedback.




 _
Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
mailto:Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
http://lists.puredata.info/__listinfo/pd-list
 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


Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Matthias Kronlachner

Hi!

I experience this bug today as well.
Attached is a Pd-patch that simulates this crash caused by the message 
TouchOSC is sending if page is turned (although this can be changed in 
the TouchOSC editor!).


This is the gdb output:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x
0x045f1c59 in routeOSC_list (x=0x5e5990, s=0x0, argc=0, argv=0x0) at 
routeOSC.c:410
410if (argv[0].a_type == A_SYMBOL) routeOSC_doanything(x, 
argv[0].a_w.w_symbol, argc-1, argv[1]);


I attached an easy fix for routeOSC.c


So either rebuild routeOSC with the fix or change the message TouchOSC 
is sending on page turn.

(This is done by deactivating the auto checkbox below Page, Name and OSC)


Matthias

On 9/16/13 7:46 PM, Martin Peach wrote:
It sounds like you have two issues: one is that the new external 
crashes Pd as soon as it is instantiated, the other is that some OSC 
messages do the same thing when [routeOSC] is involved.

For the second thing, just use
[udpreceive]
|
[unpackOSC]
|
[print]
and switch pages to see what raw message is being sent.
For the first thing, make a new patch and put a [routeOSC] in it and 
see what the console prints.
But then again you don't seem to be able to start Pd at all from the 
console. Is that correct?


Martin


On 2013-09-16 12:08, Mario Mey wrote:

Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio
12.04.3, it makes PureData crash. There's no message, it just crashs.

Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to see
if any message is there)... it can't open my patch. So, I'm writting
another mail to list.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca

On 2013-09-15 16:12, Mario Mey wrote:

I just downloaded complete PureData from svn... but I want to
compile
only your externals. Is that possible? I think so... how?


 From trunk/externals type
make mrpeach
or
make mrpeach_install
(which doesn't actually install the files, it puts them in
externals/build/lib/pd-extended/extra)

Martin


Thank you.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca


 On 2013-09-14 19:28, Mario Mey wrote:

 Martin Peach, I read somewhere that changing pages in
TouchOSC
 makes Pd
 (or Pd-Ext) to crash. My Pd-Extended doesn't crash, but
this
 error is
 shown: * routeOSC: ignoring empty list….



 That doesn't happen here. There is no such message in the
source code.
 Maybe you have an older version of routeOSC? The OSC
specification
 allows empty messages, and [routeOSC] should output a bang
if it
 routes such a message.
 Older versions of [routeOSC](before March 2012) didn't work
 properly, so you probably just need to find a more recent
one or
 build it from svn.

(http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/

http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)



 Martin



 Today, I've installed Ubuntu Studio 12.04.3 (with
lowlatency
 kernel). It
 seemed that it was a good distro for my use... but
switching
 pages DOES
 make Pd-Extended to crash. I reported-suggested this in
this thread:
http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
wrote some

 other info,
 maybe usefull.

 The config where it doesn't crash:

 /Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
0.43.4 (download
 from PPA as the Pure Data page says), jackdmp 
1.9.8...//

 /
 The other config:

 /Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
same Pd-Extended
 version, Jack that came with UbuntuStudio (don't know
wich version)/


 Any other information that could be useful to fix this?
Like I
 wrote in
 the thread, I suggested TouchOSC that it should send
non-empty
 lists.
 But, TouchOSC is closed-code... so, there's no easy
feedback.




_
Pd-list@iem.at mailto:Pd-list@iem.at mailto:Pd-list@iem.at
mailto:Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Matthias Kronlachner

It's a message without argument: /1
I think this should be valid OSC? (Wasn't this the same problem reported 
with Totalmix?)


However, the messages /1 crashes routeOSC if chained like this:

[/1 (
|
[routeOSC /1]
|
[routeOSC /foo]

And even if not specified in OSC, it should at least not crash Pd :-)

Matthias

On 9/16/13 11:51 PM, Martin Peach wrote:

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin

On 2013-09-16 16:12, Matthias Kronlachner wrote:

Hi!

I experience this bug today as well.
Attached is a Pd-patch that simulates this crash caused by the message
TouchOSC is sending if page is turned (although this can be changed in
the TouchOSC editor!).

This is the gdb output:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x
0x045f1c59 in routeOSC_list (x=0x5e5990, s=0x0, argc=0, argv=0x0) at
routeOSC.c:410
410if (argv[0].a_type == A_SYMBOL) routeOSC_doanything(x,
argv[0].a_w.w_symbol, argc-1, argv[1]);

I attached an easy fix for routeOSC.c


So either rebuild routeOSC with the fix or change the message TouchOSC
is sending on page turn.
(This is done by deactivating the auto checkbox below Page, Name and 
OSC)



Matthias

On 9/16/13 7:46 PM, Martin Peach wrote:

It sounds like you have two issues: one is that the new external
crashes Pd as soon as it is instantiated, the other is that some OSC
messages do the same thing when [routeOSC] is involved.
For the second thing, just use
[udpreceive]
|
[unpackOSC]
|
[print]
and switch pages to see what raw message is being sent.
For the first thing, make a new patch and put a [routeOSC] in it and
see what the console prints.
But then again you don't seem to be able to start Pd at all from the
console. Is that correct?

Martin


On 2013-09-16 12:08, Mario Mey wrote:

Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio
12.04.3, it makes PureData crash. There's no message, it just crashs.

Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console 
(to see

if any message is there)... it can't open my patch. So, I'm writting
another mail to list.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca

On 2013-09-15 16:12, Mario Mey wrote:

I just downloaded complete PureData from svn... but I want to
compile
only your externals. Is that possible? I think so... how?


 From trunk/externals type
make mrpeach
or
make mrpeach_install
(which doesn't actually install the files, it puts them in
externals/build/lib/pd-extended/extra)

Martin


Thank you.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca


 On 2013-09-14 19:28, Mario Mey wrote:

 Martin Peach, I read somewhere that changing pages in
TouchOSC
 makes Pd
 (or Pd-Ext) to crash. My Pd-Extended doesn't 
crash, but

this
 error is
 shown: * routeOSC: ignoring empty list….



 That doesn't happen here. There is no such message in the
source code.
 Maybe you have an older version of routeOSC? The OSC
specification
 allows empty messages, and [routeOSC] should output a 
bang

if it
 routes such a message.
 Older versions of [routeOSC](before March 2012) didn't 
work

 properly, so you probably just need to find a more recent
one or
 build it from svn.

(http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/ 




http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/) 






 Martin



 Today, I've installed Ubuntu Studio 12.04.3 (with
lowlatency
 kernel). It
 seemed that it was a good distro for my use... but
switching
 pages DOES
 make Pd-Extended to crash. I reported-suggested 
this in

this thread:
http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
wrote some

 other info,
 maybe usefull.

 The config where it doesn't crash:

 /Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
0.43.4 (download
 from PPA as the Pure Data page says), jackdmp
1.9.8...//
 /
 The other config:

 /Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
same Pd-Extended
 version, Jack that came with UbuntuStudio (don't know
wich version)/


 Any other information that could be 

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Matthias Kronlachner

ok its even more simple than that..
a |bang( crashes routeOSC :-)

and a bang is sent to the outlet of routeOSC if a message has no argument...

On 9/16/13 11:51 PM, Martin Peach wrote:

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin 



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


Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Mario Mey
Now, I'm on Ubuntu 12.04 and I realized that I have a very old version 
of mrpeach folder (routeOSC-help says: 2008/09/17 Martin Peach) and Pd 
was configured to use it. That's why Pd doesn't crash after sending that 
message from TouchOSC. In console, it only shows:


* routeOSC: ignoring empty list...

Luckily I didn't delete that folder and still use it. I'll try to 
compile Matthias version now... but, by doubts, I will keep that 
no-crash old version.





El 16/09/13 18:22, Matthias Kronlachner escribió:

ok its even more simple than that..
a |bang( crashes routeOSC :-)

and a bang is sent to the outlet of routeOSC if a message has no 
argument...


On 9/16/13 11:51 PM, Martin Peach wrote:

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin 





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


Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-16 Thread Martin Peach

OK, thanks for this.
Any idea what the message is that is causing the crash?
Is it valid OSC?

Martin

On 2013-09-16 16:12, Matthias Kronlachner wrote:

Hi!

I experience this bug today as well.
Attached is a Pd-patch that simulates this crash caused by the message
TouchOSC is sending if page is turned (although this can be changed in
the TouchOSC editor!).

This is the gdb output:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x
0x045f1c59 in routeOSC_list (x=0x5e5990, s=0x0, argc=0, argv=0x0) at
routeOSC.c:410
410if (argv[0].a_type == A_SYMBOL) routeOSC_doanything(x,
argv[0].a_w.w_symbol, argc-1, argv[1]);

I attached an easy fix for routeOSC.c


So either rebuild routeOSC with the fix or change the message TouchOSC
is sending on page turn.
(This is done by deactivating the auto checkbox below Page, Name and OSC)


Matthias

On 9/16/13 7:46 PM, Martin Peach wrote:

It sounds like you have two issues: one is that the new external
crashes Pd as soon as it is instantiated, the other is that some OSC
messages do the same thing when [routeOSC] is involved.
For the second thing, just use
[udpreceive]
|
[unpackOSC]
|
[print]
and switch pages to see what raw message is being sent.
For the first thing, make a new patch and put a [routeOSC] in it and
see what the console prints.
But then again you don't seem to be able to start Pd at all from the
console. Is that correct?

Martin


On 2013-09-16 12:08, Mario Mey wrote:

Thanks, Martin. I compiled it and test it. Again, in UbuntuStudio
12.04.3, it makes PureData crash. There's no message, it just crashs.

Is anything I could do to help to avoid that? How could I debug it?

In the other hand, I'm having troubles to launch Pd from console (to see
if any message is there)... it can't open my patch. So, I'm writting
another mail to list.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca

On 2013-09-15 16:12, Mario Mey wrote:

I just downloaded complete PureData from svn... but I want to
compile
only your externals. Is that possible? I think so... how?


 From trunk/externals type
make mrpeach
or
make mrpeach_install
(which doesn't actually install the files, it puts them in
externals/build/lib/pd-extended/extra)

Martin


Thank you.


2013/9/15 Martin Peach martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca
mailto:martin.pe...@sympatico.ca


 On 2013-09-14 19:28, Mario Mey wrote:

 Martin Peach, I read somewhere that changing pages in
TouchOSC
 makes Pd
 (or Pd-Ext) to crash. My Pd-Extended doesn't crash, but
this
 error is
 shown: * routeOSC: ignoring empty list….



 That doesn't happen here. There is no such message in the
source code.
 Maybe you have an older version of routeOSC? The OSC
specification
 allows empty messages, and [routeOSC] should output a bang
if it
 routes such a message.
 Older versions of [routeOSC](before March 2012) didn't work
 properly, so you probably just need to find a more recent
one or
 build it from svn.

(http://sourceforge.net/p/__pure-data/svn/HEAD/tree/trunk/__externals/mrpeach/osc/


http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)




 Martin



 Today, I've installed Ubuntu Studio 12.04.3 (with
lowlatency
 kernel). It
 seemed that it was a good distro for my use... but
switching
 pages DOES
 make Pd-Extended to crash. I reported-suggested this in
this thread:
http://hexler.net/forum/__viewthread/992/
http://hexler.net/forum/viewthread/992/, where I
wrote some

 other info,
 maybe usefull.

 The config where it doesn't crash:

 /Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended
0.43.4 (download
 from PPA as the Pure Data page says), jackdmp
1.9.8...//
 /
 The other config:

 /Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency,
same Pd-Extended
 version, Jack that came with UbuntuStudio (don't know
wich version)/


 Any other information that could be useful to fix this?
Like I
 wrote in
 the thread, I suggested TouchOSC that it should send
non-empty
 lists.
 But, TouchOSC is closed-code... so, there's no easy
feedback.




_
Pd-list@iem.at mailto:Pd-list@iem.at 

Re: [PD] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-15 Thread Martin Peach

On 2013-09-14 19:28, Mario Mey wrote:

Martin Peach, I read somewhere that changing pages in TouchOSC makes Pd
(or Pd-Ext) to crash. My Pd-Extended doesn't crash, but this error is
shown: * routeOSC: ignoring empty list….



That doesn't happen here. There is no such message in the source code.
Maybe you have an older version of routeOSC? The OSC specification 
allows empty messages, and [routeOSC] should output a bang if it routes 
such a message.
Older versions of [routeOSC](before March 2012) didn't work properly, so 
you probably just need to find a more recent one or build it from svn. 
(http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/mrpeach/osc/)


Martin




Today, I've installed Ubuntu Studio 12.04.3 (with lowlatency kernel). It
seemed that it was a good distro for my use... but switching pages DOES
make Pd-Extended to crash. I reported-suggested this in this thread:
http://hexler.net/forum/viewthread/992/, where I wrote some other info,
maybe usefull.

The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended 0.43.4 (download
from PPA as the Pure Data page says), jackdmp 1.9.8...//
/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency, same Pd-Extended
version, Jack that came with UbuntuStudio (don't know wich version)/

Any other information that could be useful to fix this? Like I wrote in
the thread, I suggested TouchOSC that it should send non-empty lists.
But, TouchOSC is closed-code... so, there's no easy feedback.




___
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] TouchOSC makes Pd crash, on UbuntuStudio, not in Ubuntu

2013-09-14 Thread Mario Mey
Martin Peach, I read somewhere that changing pages in TouchOSC makes Pd 
(or Pd-Ext) to crash. My Pd-Extended doesn't crash, but this error is 
shown: * routeOSC: ignoring empty list


Today, I've installed Ubuntu Studio 12.04.3 (with lowlatency kernel). It 
seemed that it was a good distro for my use... but switching pages DOES 
make Pd-Extended to crash. I reported-suggested this in this thread: 
http://hexler.net/forum/viewthread/992/, where I wrote some other info, 
maybe usefull.


The config where it doesn't crash:

/Ubuntu 12.04, Kernel 3.2.0-49-generic, Pd-Extended 0.43.4 (download 
from PPA as the Pure Data page says), jackdmp 1.9.8...//

/
The other config:

/Ubuntu Studio 12.04.3, Kernel 3.2.0-51-lowlatency, same Pd-Extended 
version, Jack that came with UbuntuStudio (don't know wich version)/


Any other information that could be useful to fix this? Like I wrote in 
the thread, I suggested TouchOSC that it should send non-empty lists. 
But, TouchOSC is closed-code... so, there's no easy feedback.



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