[tim-janik/beast] Reproducable crash with mono voice count (#37)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[tim-janik/beast] Reproducable crash with mono voice count (#37)

Stefan Westerfeld-2

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


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/tim-janik/beast","title":"tim-janik/beast","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/tim-janik/beast"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Reproducable crash with mono voice count (#37)"}],"action":{"name":"View Issue","url":"https://github.com/tim-janik/beast/issues/37"}}}</script>
_______________________________________________
beast mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/beast