Segfaults and extra windows
sirjohndfox opened this issue · 4 comments
Gday,
Just compiling seq66 from source (git clone) 0.98.8. When i try to record into a pattern a new editor window pops up with each midi event - meaning I have to close tens of windows - there's one for each note on and off, very strange behaviour. Also getting very frequent segfaults and a lot of qobject messages:
...
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
QObject::setParent: Cannot set parent, new parent is in a different thread
...
Segmentation fault
Is there a more stable version available, or a I perhaps using an out date qt installation? 5.11.3
I'm on an avlinux install that might be a few years old now.
Cheers
John
I figured out where the issue happens and have a fix. It's a result of my efforts to improve (ha ha) the detection of modifications. I still have to test a bit to see if there are any side-effects to the fix.
If you want to go ahead, edit seq_qt5/src/qsmainwnd.cpp; in the member function on_sequence_change(), change:
bool redo = ctype == performer::change::yes;
to
bool redo = ctype == performer::change::recreate;
Otherwise, wait a little bit as I found a couple of the minor bugs to fix, as usual. And I call myself a programmer! :-D
Okay, version 0.98.9 should be working now, tagged and in master branch.