[yoshimi] Re: *** buffer overflow detected ***: yoshimi terminated

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Sun, 28 Apr 2019 19:50:34 +0100

Well that's embarrassing. I made that change to silence a compiler warning in
debian-testing. gcc7 I think.


On Sun, 28 Apr 2019 20:38:19 +0200
Jesper Lloyd <jpl.lloyd@xxxxxxxxx> wrote:

I suspect this line in src/UI/PartUI.fl :

code0 {snprintf(label,12,"%d",n+1);o->label(label);}

Try changing 12 to 10 and rebuild. I ran into this yesterday, but haven't
looked into why the change was made.

Could be something else, of course.

Den sön 28 apr. 2019 kl 20:31 skrev Tom <dmarc-noreply@xxxxxxxxxxxxx>:

git pulled Sunday.  Built as normal (on Xubuntu 18.04) and get this:

------------------------

Yoshimi 1.5.10 M is starting
Error, alsa audio: alsa audio mmap not possible: Invalid argument
March is Little Endian
Card Format is Signed Little Endian 32 Bit 2 Channel
Using alsa_audio for audio and alsa_midi for midi
Alsa audio priority is 40
Alsa midi priority is 39
Yoshimi 1.5.10 M
Build Number 1544
Clientname: yoshimi
Audio: alsa -> 'default'
Midi: alsa -> 'default'
Oscilsize: 512
Samplerate: 48000
Period size: 256

Yay! We're up and running :-)
*** buffer overflow detected ***: yoshimi terminated
Aborted (core dumped)
----------------------

What have I done wrong

Tom

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
 


-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
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: