[yoshimi] Re: segfault on program change

  • From: Nicola Pandini <nicola.pandini@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Thu, 12 Oct 2017 10:10:50 +0200

Il 11/10/2017 18:29, Will Godfrey ha scritto:

On Wed, 11 Oct 2017 16:28:31 +0200
Nicola Pandini <nicola.pandini@xxxxxxxxx> wrote:

Hi list,

I'm experiencing segfaults on Yoshimi 1.5.4 when I send program changes.
Is there a way to get more informations from Yoshimi about those
segfaults? Like a debug mode?

     Thanks!
Hi,
I've only just got back from holiday (after synthfest). However this happened
once there too. I'm pretty certain I know the cause, and it's my top priority.
As soon as this is resolved I'll push out a bugfix release.

Meanwhile, it seems to be more likely to happen with large buffer sizes, and I
can't get it to happen at all unless there is note activity on the same channel.
Is that what you are experiencing?

If not, can you give me as much information as possible about your setup, such
as audio hardware, processor, distro, jack version, jack and yoshimi settings.


Hi Will,
the segfaults occurs when I change presets even when there is no note activity.
I just open yoshimi, vmpk(or another software that outputs program changes),
and after sending some program changes, the segfault occurs.
Today I made another test: it seems that segfaults occurs when selecting specific presets:
./usr/local/share/yoshimi/banks/The_Mysterious_Bank/0001-percussive_lead.xiz
./usr/local/share/yoshimi/banks/Plucked/0036-Plucked Wah.xiz

I use Yoshimi 1.5.4 as stand alone, ALSA MIDI and Jack Audio, with a buffer size of 256 and osc size 512 on
two machines (Intel i5 and i7) running Debian Stretch with AV Linux rt kernel, jackd 1.9.11.
I report segfaults with the following jackd setups:
- Internal audio card | 44.1 | 256 frames | 2 periods
- Internal audio card | 44.1 | 128 frames | 2 periods
No segfaults at the moment with:
- Komplete K6 | 44.1 | 64 frames | 2 periods
but I haven't yet stressed it too much.

p.s. Ah, I've just read your SynthFest report: well done! :-)

--
Nicola

Yoshimi source code is available from either: 
https://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: