Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducable crash with mono voice count #37

Closed
swesterfeld opened this issue Mar 14, 2018 · 1 comment
Closed

Reproducable crash with mono voice count #37

swesterfeld opened this issue Mar 14, 2018 · 1 comment
Labels

Comments

@swesterfeld
Copy link
Collaborator

I'm not really sure as to why this is happening, but this is a reproducable crash. It can be triggered as
follows:

  • load portamento mini demo (from portamento branch)
  • we can reproduce this with the first track only (so you can delete every track except lead track)
  • set lead track num voices to 24
  • press play
  • stop after a while
  • set lead track num voices to 1
  • press play

beast will crash now.

gdb output:

Thread 3 "Beast GUI" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffeaaf4700 (LWP 17198)]
0x00007ffff784279c in (anonymous namespace)::MidiChannel::no_poly_voice (this=this@entry=0x7fffe4444eb0, noteon=noteon@entry=true, event_name=event_name@entry=0x7ffff7acf6b6 "note-on", freq=493.883301)
    at bsemidireceiver.cc:1083
1083              if (bse_module_is_scheduled (mchannel->voices[i]->vmodule))
(gdb) bt
#0  0x00007ffff784279c in (anonymous namespace)::MidiChannel::no_poly_voice (this=this@entry=0x7fffe4444eb0, noteon=noteon@entry=true, event_name=event_name@entry=0x7ffff7acf6b6 "note-on", freq=493.883301)
    at bsemidireceiver.cc:1083
#1  0x00007ffff7844288 in (anonymous namespace)::MidiChannel::start_note (trans=0x7fffdc001648, velocity=<optimized out>, freq=<optimized out>, tick_stamp=223713, this=<optimized out>)
    at bsemidireceiver.cc:1173
#2  midi_receiver_process_event_L (self=self@entry=0x7fffe444f6c0, max_tick_stamp=max_tick_stamp@entry=223893) at bsemidireceiver.cc:2096
#3  0x00007ffff7845947 in bse_midi_receiver_process_events (self=self@entry=0x7fffe444f6c0, max_tick_stamp=max_tick_stamp@entry=223893) at bsemidireceiver.cc:1353
#4  0x00007ffff78aa047 in Bse::Sequencer::process_song_unlooped_SL (this=this@entry=0x7fffe400df30, song=song@entry=0x7fffe470a000, n_ticks=n_ticks@entry=3, force_active_tracks=force_active_tracks@entry=true)
    at bsesequencer.cc:416
#5  0x00007ffff78aa20c in Bse::Sequencer::process_song_SL (this=this@entry=0x7fffe400df30, song=song@entry=0x7fffe470a000, n_ticks=<optimized out>) at bsesequencer.cc:432
#6  0x00007ffff78aa5ce in Bse::Sequencer::sequencer_thread (this=0x7fffe400df30) at bsesequencer.cc:370
#7  0x00007ffff5442c80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff5ebb6ba in start_thread (arg=0x7fffeaaf4700) at pthread_create.c:333
#9  0x00007ffff4ba841d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
@tim-janik
Copy link
Owner

Beast development is continued in Anklang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants