Hello IOhannes,

Disabling [else/sfont~ -g 0.3] by doing [#else/sfont~ -g 0.3] is also making the trick. Pd is no more crashing when my SMS Vanilla patch is opening.

As I wrote it here-below:
"I will further investigate my patch as I was obliged, for the time being, to add some glue to [else/sfont~] for avoiding Pd crashing as long as there is no SoundFont loaded.
See this ISSUE for more information."

So, the new potential culprit is now the [else/sfont~] object.
After adding my "anti-crash glue" I was able to have it working for days BUT then I surely made a modification in it and I missed its side effect when reopening the path.
I will keep you posted about my find.

Q: Do you thing what you found out about [midiout] is still relevant?

I'm very sorry for having kept you so busy with my problem.
Thank you very much.
- - - - - - -
Best, Joe
- - - - - - -

Le 28/01/2023 à 18:21, Linux ROUEN Normandie a écrit :
Hello IOhannes,
See below.
- - - - - - -
Best, Joe
- - - - - - -

Le 28/01/2023 à 00:28, IOhannes m zmölnig a écrit :
On 1/27/23 21:40, IOhannes m zmölnig wrote:
does your patch crash if you disable the [cyclone/midiformat] object?

ah well, at least for me disabling [cyclone/midiformat] just prevents data to be sent to `[midiout]` which indeed crashes.

the simplest crasher i've found with regard to this is:
```
[loadbang]
|
[176, 7, 100(
|
[midiout]
```

and run this patch with `-nomidi`.

I'm not sure whether this is the root cause for *your* problem, but at least it prevents me from digging any deeper for now.
I confirm on my side the same bad behavior with your above simplest crasher.
I will further investigate my patch as I was obliged, for the time being, to add some glue to [else/sfont~] for avoiding Pd crashing as long as there is no SoundFont loaded.
See this ISSUE for more information.

i've submitted a fix for the issue *i've* found in the 'develop' branch on github.

could you try to compile that version of Pd yourself and see whether the problem persists?
I will try to find it then compile this version of Pd and I will see.
Note that I'm not a complilation expert!
Thank you.

fmsad
IOhannes

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