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

MIDI-Startzeit wird nicht korrekt initialisiert #13

Open
keinstein opened this issue May 3, 2019 · 0 comments
Open

MIDI-Startzeit wird nicht korrekt initialisiert #13

keinstein opened this issue May 3, 2019 · 0 comments

Comments

@keinstein
Copy link
Owner

In

timing_params::ticktype Track::WriteDelta() aus DevMidF.cpp kann newtime $\leq$ Time werden.
Im konkreten Fall trifft das auf
CommonMidiOutput<T,D>::do_Open() und die Controller-Schleife zu. Bereits beim ersten Pitch-Bend.

Kompletter Stapel:

0  in __GI_raise of ../sysdeps/unix/sysv/linux/raise.c:50
1  in __GI_abort of abort.c:79
2  in mutabor_assert_fail of ../../mutabor/src/kernel/interface_deps_generic.c:45
3  in mutabor::Track::WriteDelta of ../../mutabor/src/kernel/routing/midi/DevMidF.cpp:140
4  in mutabor::Track::WriteDelta of ../../mutabor/src/kernel/routing/midi/DevMidF.h:401
5  in mutabor::Track::MidiOut of ../../mutabor/src/kernel/routing/midi/DevMidF.h:477
6  in mutabor::MidiFileOutputProvider::RawMsg of ../../mutabor/src/kernel/routing/midi/DevMidF.h:687
7  in mutabor::MidiFileOutputProvider::operator() of ../../mutabor/src/kernel/routing/midi/DevMidF.h:670
8  in mutabor::CommonMidiOutput<mutabor::MidiFileOutputProvider, mutabor::CommonFileOutputDevice>::pitch_bend of ../../mutabor/src/kernel/routing/midi/midicmn.h:728
9  in mutabor::CommonMidiOutput<mutabor::MidiFileOutputProvider, mutabor::CommonFileOutputDevice>::do_Open of ../../mutabor/src/kernel/routing/midi/midicmn.cpp:82
10 in mutabor::OutputDeviceClass::Open of ../../mutabor/src/kernel/routing/Device.h:1001
11 in OutputMidiFileTest::testNoteOnOff of ../../mutabor/src/kernel/routing/midi/tests/DevMidFTest.cpp:4877
12 in std::__invoke_impl<void, void (OutputMidiFileTest::*&)(), OutputMidiFileTest*&> of /usr/include/c++/8/bits/invoke.h:73
13 in std::__invoke<void (OutputMidiFileTest::*&)(), OutputMidiFileTest*&> of /usr/include/c++/8/bits/invoke.h:95
14 in std::_Bind<void (OutputMidiFileTest::*(OutputMidiFileTest*))()>::__call<void, , 0ul>(std::tuple<>&&, std::_Index_tuple<0ul>) of /usr/include/c++/8/functional:400
15 in std::_Bind<void (OutputMidiFileTest::*(OutputMidiFileTest*))()>::operator()<, void>() of /usr/include/c++/8/functional:484
16 in std::_Function_handler<void (), std::_Bind<void (OutputMidiFileTest::*(OutputMidiFileTest*))()> >::_M_invoke(std::_Any_data const&) of /usr/include/c++/8/bits/std_function.h:297
17 in std::function<void ()>::operator()() const of /usr/include/c++/8/bits/std_function.h:687
18 in CppUnit::TestCaller<OutputMidiFileTest>::runTest of /usr/include/cppunit/TestCaller.h:175
19 in CppUnit::TestCaseMethodFunctor::operator()() const of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
20 in CppUnit::DefaultProtector::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
21 in CppUnit::ProtectorChain::protect(CppUnit::Functor const&, CppUnit::ProtectorContext const&) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
22 in CppUnit::TestResult::protect(CppUnit::Functor const&, CppUnit::Test*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
23 in CppUnit::TestCase::run(CppUnit::TestResult*) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
24 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
25 in CppUnit::TestComposite::run(CppUnit::TestResult*) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
26 in CppUnit::TestComposite::doRunChildTests(CppUnit::TestResult*) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
27 in CppUnit::TestComposite::run(CppUnit::TestResult*) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
28 in CppUnit::TestResult::runTest(CppUnit::Test*) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
29 in CppUnit::TestRunner::run(CppUnit::TestResult&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
30 in CppUnit::TextTestRunner::run(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, bool, bool) of /usr/lib/x86_64-linux-gnu/libcppunit-1.14.so.0
31 in main of ../../mutabor/src/kernel/routing/midi/tests/main.cpp:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant