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

Crash: Infinite loop in latency code. (Via forum.) #853

Closed
terminator356 opened this issue Sep 7, 2020 · 1 comment
Closed

Crash: Infinite loop in latency code. (Via forum.) #853

terminator356 opened this issue Sep 7, 2020 · 1 comment
Assignees

Comments

@terminator356
Copy link
Member

terminator356 commented Sep 7, 2020

Crash observed. Thank you!

It is caught in an endless loop inside my latency correction code,
calling Track 5 which calls device jack-midi-0 which calls Track 5 which calls device jack-midi-0... and repeat infinite until crash.

Notes to self: /From saturnin51/Breath.med and MusE-seq.cfg and mynotes.txt

Below is for Track5, jack-midi-0.

#4,040 MusECore::MidiDevice::getDominanceInfoMidi() at /home/col/Source/muse-20200607-master/muse3/muse/mididev.cpp:896
#4,041 MusECore::MidiTrack::getDominanceInfo() at /home/col/Source/muse-20200607-master/muse3/muse/track.cpp:1,174
#4,042 MusECore::MidiDevice::getDominanceInfoMidi() at /home/col/Source/muse-20200607-master/muse3/muse/mididev.cpp:896
#4,043 MusECore::MidiTrack::getDominanceInfo() at /home/col/Source/muse-20200607-master/muse3/muse/track.cpp:1,174
#4,044 MusECore::MidiDevice::getDominanceInfoMidi() at /home/col/Source/muse-20200607-master/muse3/muse/mididev.cpp:896
#4,045 MusECore::Audio::process1() at /home/col/Source/muse-20200607-master/muse3/muse/audio.cpp:1,015

@terminator356
Copy link
Member Author

In git master now:

  • Fixed bug 853: Crash in infinite loop in latency code.
    Don't examine things connected TO a midi device if examining its 'capture' part.
  • Latency code: Optimization of most loops, should be a bit faster now, depending.

Tested OK with your test file and configuration.
Reopen if any more problems, thanks for reporting!

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

No branches or pull requests

1 participant