Compiling linuxsampler I see the next three errors: /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInputPort.h:419: warning: argument 'BankMsb' of command @param is not found in the argument list of LinuxSampler::MidiInputPort::DispatchBankSelectLsb(uint8_t BankLsb, uint MidiChannel) /home/janflorijn/Installatie/LS/linuxsampler/src/common/global_private.h:55: warning: preprocessing issue while doing constant expression evaluation: syntax error /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:138: warning: preprocessing issue while doing constant expression evaluation: syntax error /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:156: warning: preprocessing issue while doing constant expression evaluation: syntax error /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:172: warning: preprocessing issue while doing constant expression evaluation: syntax error /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:189: warning: preprocessing issue while doing constant expression evaluation: syntax error /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:208: warning: preprocessing issue while doing constant expression evaluation: syntax error /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:226: warning: preprocessing issue while doing constant expression evaluation: syntax error And undefined variables in Doxygen. How to solve this?
(In reply to comment #0) > Compiling linuxsampler I see the next three errors: > > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInputPort.h:419: > warning: argument 'BankMsb' of command @param is not found in the argument list > of LinuxSampler::MidiInputPort::DispatchBankSelectLsb(uint8_t BankLsb, uint > MidiChannel) > > /home/janflorijn/Installatie/LS/linuxsampler/src/common/global_private.h:55: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:138: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:156: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:172: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:189: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:208: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/audio/AudioChannel.cpp:226: > warning: preprocessing issue while doing constant expression evaluation: syntax > error > > And undefined variables in Doxygen. > > > > How to solve this? Today had a new try. The next errors/messages: Generating docs for compound LinuxSampler::DeviceRuntimeParameterBool... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:224: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterBool::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceRuntimeParameterInt... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:283: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterInt::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceRuntimeParameterFloat... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:367: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterFloat::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceRuntimeParameterString... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:453: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterString::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceRuntimeParameterStrings... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:504: warning: argument 'sVal' of command @param is not found in the argument list of LinuxSampler::DeviceRuntimeParameterStrings::DeviceRuntimeParameterStrings(std::vector< String > vS) /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:504: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterStrings::DeviceRuntimeParameterStrings(std::vector< String > vS) are not documented: parameter 'vS' /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:523: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterStrings::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceCreationParameter... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:169: warning: The following parameters of LinuxSampler::DeviceRuntimeParameter::SetValue(String val)=0 are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceCreationParameterBool... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:779: warning: The following parameters of LinuxSampler::DeviceCreationParameterBool::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceCreationParameterInt... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:816: warning: The following parameters of LinuxSampler::DeviceCreationParameterInt::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceCreationParameterFloat... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:856: warning: The following parameters of LinuxSampler::DeviceCreationParameterFloat::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceCreationParameterString... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:895: warning: The following parameters of LinuxSampler::DeviceCreationParameterString::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::DeviceCreationParameterStrings... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:935: warning: The following parameters of LinuxSampler::DeviceCreationParameterStrings::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::AudioChannel... Generating docs for nested compound LinuxSampler::AudioChannel::ParameterIsMixChannel... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:224: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterBool::SetValue(String val) are not documented: parameter 'val' Generating docs for nested compound LinuxSampler::AudioChannel::ParameterMixChannelDestination... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:283: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterInt::SetValue(String val) are not documented: parameter 'val' Generating docs for nested compound LinuxSampler::AudioChannel::ParameterName... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:453: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterString::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::AudioOutputDevice... Generating docs for nested compound LinuxSampler::AudioOutputDevice::ParameterActive... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:779: warning: The following parameters of LinuxSampler::DeviceCreationParameterBool::SetValue(String val) are not documented: parameter 'val' Generating docs for nested compound LinuxSampler::AudioOutputDevice::ParameterChannels... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:816: warning: The following parameters of LinuxSampler::DeviceCreationParameterInt::SetValue(String val) are not documented: parameter 'val' Generating docs for nested compound LinuxSampler::AudioOutputDevice::ParameterSampleRate... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:816: warning: The following parameters of LinuxSampler::DeviceCreationParameterInt::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::AudioOutputException... Generating docs for compound LinuxSampler::midi_prog_index_t... Generating docs for compound LinuxSampler::MidiInputPort... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInputPort.h:419: warning: argument 'BankMsb' of command @param is not found in the argument list of LinuxSampler::MidiInputPort::DispatchBankSelectLsb(uint8_t BankLsb, uint MidiChannel) /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInputPort.h:419: warning: The following parameters of LinuxSampler::MidiInputPort::DispatchBankSelectLsb(uint8_t BankLsb, uint MidiChannel) are not documented: parameter 'BankLsb' Generating docs for nested compound LinuxSampler::MidiInputPort::ParameterName... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:453: warning: The following parameters of LinuxSampler::DeviceRuntimeParameterString::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::MidiInputException... Generating docs for compound LinuxSampler::MidiInputDevice... Generating docs for nested compound LinuxSampler::MidiInputDevice::ParameterActive... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:779: warning: The following parameters of LinuxSampler::DeviceCreationParameterBool::SetValue(String val) are not documented: parameter 'val' Generating docs for nested compound LinuxSampler::MidiInputDevice::ParameterPorts... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/DeviceParameter.h:816: warning: The following parameters of LinuxSampler::DeviceCreationParameterInt::SetValue(String val) are not documented: parameter 'val' Generating docs for compound LinuxSampler::MidiInstrumentMapper... /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInstrumentMapper.h:150: warning: argument 'Index' of command @param is not found in the argument list of LinuxSampler::MidiInstrumentMapper::GetEntry(int Map, uint MidiBank, uint MidiProg) /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInstrumentMapper.h:150: warning: The following parameters of LinuxSampler::MidiInstrumentMapper::GetEntry(int Map, uint MidiBank, uint MidiProg) are not documented: parameter 'MidiBank' parameter 'MidiProg' /home/janflorijn/Installatie/LS/linuxsampler/src/drivers/midi/MidiInstrumentMapper.h:233: warning: argument 'Map' of command @param is not found in the argument list of LinuxSampler::MidiInstrumentMapper::GetInstrumentCount() Generating docs for nested compound LinuxSampler::MidiInstrumentMapper::entry_t... Generating docs for compound LinuxSampler::VirtualMidiDevice... Generating docs for nested compound LinuxSampler::VirtualMidiDevice::event_t... Generating docs for compound LinuxSampler::Engine... Generating docs for compound LinuxSampler::EngineChannel... Generating docs for compound LinuxSampler::FxSend... Generating docs for compound LinuxSampler::InstrumentManagerException... Generating docs for compound LinuxSampler::InstrumentManager... Generating docs for nested compound LinuxSampler::InstrumentManager::instrument_id_t... Generating docs for nested compound LinuxSampler::InstrumentManager::instrument_info_t... Generating docs for compound LinuxSampler::InstrumentEditor... /home/janflorijn/Installatie/LS/linuxsampler/src/plugins/InstrumentEditor.h:192: warning: The following parameters of LinuxSampler::InstrumentEditor::Launch(void *pInstrument, String sTypeName, String sTypeVersion, void *pUserData=NULL) are not documented: parameter 'pInstrument' parameter 'sTypeName' parameter 'sTypeVersion'
The API documentation comments in the sampler's source code are currently not 100% in sync with the actual source code. So there are here and there function/method arguments mentioned in the API doc comments which don't exist in the C++ source code anymore and vice versa. However such issues are usually just ignored by Doxygen (for many, many years now) without throwing an error. Do you have a bleeding edge version of Doxygen which became picky? What is the Doxygen version you have there?
(In reply to comment #2) > The API documentation comments in the sampler's source code are currently not > 100% in sync with the actual source code. So there are here and there > function/method arguments mentioned in the API doc comments which don't exist > in the C++ source code anymore and vice versa. > > However such issues are usually just ignored by Doxygen (for many, many years > now) without throwing an error. Do you have a bleeding edge version of Doxygen > which became picky? > > What is the Doxygen version you have there? Hi, I have two versions: a. 1.8.2 in a 64-bit installation of Ubuntu Studio b. 1.8.7 in a 32-bit installation of Ubuntu Studio I can understand that not every message is a error. But: Linuxsampler does crash after compiling/installation of all pieces, liblscp,libgig,linuxsampler en gigtools. So, that was for me a reason to check the compilation. The things i do: sudo apt-get install subversion svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit sudo apt-get install g++ debhelper pkg-config automake1.1 automake1.4 automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 sudo apt-get install ant qt4-dev-tools and later a jack-lib I build with dpkg-buildpackage -rfakeroot -b Debian rules for Libgig: chmod a+x configure CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -msse -march=native -mfpmath=sse -ffast-math -fomit-frame-pointer -funroll-loops -mprefer-avx128 -pipe" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info Debian rules for Linuxsampler and others: chmod a+x configure CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -msse -march=native -mfpmath=sse -ffast-math -fomit-frame-pointer -funroll-loops -mprefer-avx128 -pipe" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-refill-streams=2 --enable-stream-size=320000 --enable-preload-samples=65536 --enable-max-voices=1024 --enable-max-streams=1536 The whole way is based on the description of David Bolton. It alsways worked. I have added sevaral things, but Linuxsampler still crashes. Kind regards, JanFlorijn
(In reply to comment #3) > (In reply to comment #2) > > The API documentation comments in the sampler's source code are currently not > > 100% in sync with the actual source code. So there are here and there > > function/method arguments mentioned in the API doc comments which don't exist > > in the C++ source code anymore and vice versa. > > > > However such issues are usually just ignored by Doxygen (for many, many years > > now) without throwing an error. Do you have a bleeding edge version of Doxygen > > which became picky? > > > > What is the Doxygen version you have there? > > Hi, > > I have two versions: > a. 1.8.2 in a 64-bit installation of Ubuntu Studio > b. 1.8.7 in a 32-bit installation of Ubuntu Studio > > I can understand that not every message is a error. > > But: > > Linuxsampler does crash after compiling/installation of all pieces, > liblscp,libgig,linuxsampler en gigtools. > > So, that was for me a reason to check the compilation. > > The things i do: > sudo apt-get install subversion > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > sudo apt-get install g++ debhelper pkg-config automake1.1 automake1.4 > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > sudo apt-get install ant qt4-dev-tools > and later a jack-lib > I build with dpkg-buildpackage -rfakeroot -b > > Debian rules for Libgig: > chmod a+x configure > CHOST="x86_64-pc-linux-gnu" > CXXFLAGS="-O2 -msse -march=native -mfpmath=sse -ffast-math -fomit-frame-pointer > -funroll-loops -mprefer-avx128 -pipe" > CXXFLAGS="${CFLAGS}" > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > --infodir=\$${prefix}/share/info > > Debian rules for Linuxsampler and others: > chmod a+x configure > CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -msse -march=native -mfpmath=sse > -ffast-math -fomit-frame-pointer -funroll-loops -mprefer-avx128 -pipe" > CXXFLAGS="${CFLAGS}" > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > --infodir=\$${prefix}/share/info --enable-refill-streams=2 > --enable-stream-size=320000 --enable-preload-samples=65536 > --enable-max-voices=1024 --enable-max-streams=1536 > > The whole way is based on the description of David Bolton. It alsways worked. > > I have added sevaral things, but Linuxsampler still crashes. > > Kind regards, > > JanFlorijn I made a script to remove the installed packages, compile new one and install. At first play with linuxsampler it crashes, The script: sudo apt-get remove liblscp\* sudo apt-get purge liblscp\* sudo apt-get remove libgig\* sudo apt-get purge libgig\* sudo apt-get remove gigtools\* sudo apt-get purge gigtools\* sudo apt-get remove liblinux\* sudo apt-get purge liblinux\* sudo apt-get remove linuxsampler\* sudo apt-get purge linuxsampler\* sudo apt-get remove gigedit\* sudo apt-get purge gigedit\* cd /home/janflorijn/Installatie/LS svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit sudo apt-get install g++ debhelper pkg-config automake 1.1 automake 1.4 automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 sudo apt-get install ant qt4-dev-tools libjack-jackd2-dev cd liblscp dpkg-buildpackage -rfakeroot -b cd .. sudo dpkg -i liblscp6_0.5.7-1_i386.deb sudo dpkg -i liblscp-dev_0.5.7-1_i386.deb cd libgig dpkg-buildpackage -rfakeroot -b cd .. dpkg-buildpackage -rfakeroot -b sudo dpkg -i libgig6_3.3.0-6_i386.deb sudo dpkg -i libgig-dev_3.3.0-6_i386.deb sudo dpkg -i gigtools_3.3.0-6_i386.deb sudo apt-get install libjack-jackd2-dev cd linuxsampler sudo dpkg-buildpackage -rfakeroot -b cd .. sudo dpkg -i linuxsampler_1.0.0-1_i386.deb sudo dpkg -i liblinuxsampler-dev_1.0.0-1_i386.deb sudo dpkg -i liblinuxsampler_1.0.0-1_i386.deb cd gigedit sudo dpkg-buildpackage -rfakeroot -b cd .. sudo dpkg -i gigedit_0.2.0-1_i386.deb Kind regards, Janflorijn
(In reply to comment #4) > (In reply to comment #3) > > (In reply to comment #2) > > > The API documentation comments in the sampler's source code are currently not > > > 100% in sync with the actual source code. So there are here and there > > > function/method arguments mentioned in the API doc comments which don't exist > > > in the C++ source code anymore and vice versa. > > > > > > However such issues are usually just ignored by Doxygen (for many, many years > > > now) without throwing an error. Do you have a bleeding edge version of Doxygen > > > which became picky? > > > > > > What is the Doxygen version you have there? > > > > Hi, > > > > I have two versions: > > a. 1.8.2 in a 64-bit installation of Ubuntu Studio > > b. 1.8.7 in a 32-bit installation of Ubuntu Studio > > > > I can understand that not every message is a error. > > > > But: > > > > Linuxsampler does crash after compiling/installation of all pieces, > > liblscp,libgig,linuxsampler en gigtools. > > > > So, that was for me a reason to check the compilation. > > > > The things i do: > > sudo apt-get install subversion > > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > > sudo apt-get install g++ debhelper pkg-config automake1.1 automake1.4 > > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > > sudo apt-get install ant qt4-dev-tools > > and later a jack-lib > > I build with dpkg-buildpackage -rfakeroot -b > > > > Debian rules for Libgig: > > chmod a+x configure > > CHOST="x86_64-pc-linux-gnu" > > CXXFLAGS="-O2 -msse -march=native -mfpmath=sse -ffast-math -fomit-frame-pointer > > -funroll-loops -mprefer-avx128 -pipe" > > CXXFLAGS="${CFLAGS}" > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > --infodir=\$${prefix}/share/info > > > > Debian rules for Linuxsampler and others: > > chmod a+x configure > > CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -msse -march=native -mfpmath=sse > > -ffast-math -fomit-frame-pointer -funroll-loops -mprefer-avx128 -pipe" > > CXXFLAGS="${CFLAGS}" > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > --infodir=\$${prefix}/share/info --enable-refill-streams=2 > > --enable-stream-size=320000 --enable-preload-samples=65536 > > --enable-max-voices=1024 --enable-max-streams=1536 > > > > The whole way is based on the description of David Bolton. It alsways worked. > > > > I have added sevaral things, but Linuxsampler still crashes. > > > > Kind regards, > > > > JanFlorijn > > I made a script to remove the installed packages, compile new one and install. > At first play with linuxsampler it crashes, > > The script: > sudo apt-get remove liblscp\* > sudo apt-get purge liblscp\* > sudo apt-get remove libgig\* > sudo apt-get purge libgig\* > sudo apt-get remove gigtools\* > sudo apt-get purge gigtools\* > sudo apt-get remove liblinux\* > sudo apt-get purge liblinux\* > sudo apt-get remove linuxsampler\* > sudo apt-get purge linuxsampler\* > sudo apt-get remove gigedit\* > sudo apt-get purge gigedit\* > cd /home/janflorijn/Installatie/LS > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > sudo apt-get install g++ debhelper pkg-config automake 1.1 automake 1.4 > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > sudo apt-get install ant qt4-dev-tools libjack-jackd2-dev > cd liblscp > dpkg-buildpackage -rfakeroot -b > cd .. > sudo dpkg -i liblscp6_0.5.7-1_i386.deb > sudo dpkg -i liblscp-dev_0.5.7-1_i386.deb > cd libgig > dpkg-buildpackage -rfakeroot -b > cd .. > dpkg-buildpackage -rfakeroot -b > sudo dpkg -i libgig6_3.3.0-6_i386.deb > sudo dpkg -i libgig-dev_3.3.0-6_i386.deb > sudo dpkg -i gigtools_3.3.0-6_i386.deb > sudo apt-get install libjack-jackd2-dev > cd linuxsampler > sudo dpkg-buildpackage -rfakeroot -b > cd .. > sudo dpkg -i linuxsampler_1.0.0-1_i386.deb > sudo dpkg -i liblinuxsampler-dev_1.0.0-1_i386.deb > sudo dpkg -i liblinuxsampler_1.0.0-1_i386.deb > cd gigedit > sudo dpkg-buildpackage -rfakeroot -b > cd .. > sudo dpkg -i gigedit_0.2.0-1_i386.deb > > > Kind regards, > > Janflorijn In Linuxsampler I haved edited debian/rules: CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-march=athlon-fx -mtune=athlon-fx" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-refill-streams=2 --enable-stream-size=320000 --enable-preload-samples=65536 --enable-max-voices=1024 --enable-max-streams=1536 touch configure-stamp In libgig, gigedit and liblscp I edited debian/rules: CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-march=athlon-fx -mtune=athlon-fx" CXXFLAGS="${CFLAGS}" ./configure --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info Linuxsampler still crashes with the first played note. Kind regards, JanFlorijn
(In reply to comment #5) > (In reply to comment #4) > > (In reply to comment #3) > > > (In reply to comment #2) > > > > The API documentation comments in the sampler's source code are currently not > > > > 100% in sync with the actual source code. So there are here and there > > > > function/method arguments mentioned in the API doc comments which don't exist > > > > in the C++ source code anymore and vice versa. > > > > > > > > However such issues are usually just ignored by Doxygen (for many, many years > > > > now) without throwing an error. Do you have a bleeding edge version of Doxygen > > > > which became picky? > > > > > > > > What is the Doxygen version you have there? > > > > > > Hi, > > > > > > I have two versions: > > > a. 1.8.2 in a 64-bit installation of Ubuntu Studio > > > b. 1.8.7 in a 32-bit installation of Ubuntu Studio > > > > > > I can understand that not every message is a error. > > > > > > But: > > > > > > Linuxsampler does crash after compiling/installation of all pieces, > > > liblscp,libgig,linuxsampler en gigtools. > > > > > > So, that was for me a reason to check the compilation. > > > > > > The things i do: > > > sudo apt-get install subversion > > > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > > > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > > > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > > > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > > > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > > > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > > > sudo apt-get install g++ debhelper pkg-config automake1.1 automake1.4 > > > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > > > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > > > sudo apt-get install ant qt4-dev-tools > > > and later a jack-lib > > > I build with dpkg-buildpackage -rfakeroot -b > > > > > > Debian rules for Libgig: > > > chmod a+x configure > > > CHOST="x86_64-pc-linux-gnu" > > > CXXFLAGS="-O2 -msse -march=native -mfpmath=sse -ffast-math -fomit-frame-pointer > > > -funroll-loops -mprefer-avx128 -pipe" > > > CXXFLAGS="${CFLAGS}" > > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > > --infodir=\$${prefix}/share/info > > > > > > Debian rules for Linuxsampler and others: > > > chmod a+x configure > > > CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -msse -march=native -mfpmath=sse > > > -ffast-math -fomit-frame-pointer -funroll-loops -mprefer-avx128 -pipe" > > > CXXFLAGS="${CFLAGS}" > > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > > --infodir=\$${prefix}/share/info --enable-refill-streams=2 > > > --enable-stream-size=320000 --enable-preload-samples=65536 > > > --enable-max-voices=1024 --enable-max-streams=1536 > > > > > > The whole way is based on the description of David Bolton. It alsways worked. > > > > > > I have added sevaral things, but Linuxsampler still crashes. > > > > > > Kind regards, > > > > > > JanFlorijn > > > > I made a script to remove the installed packages, compile new one and install. > > At first play with linuxsampler it crashes, > > > > The script: > > sudo apt-get remove liblscp\* > > sudo apt-get purge liblscp\* > > sudo apt-get remove libgig\* > > sudo apt-get purge libgig\* > > sudo apt-get remove gigtools\* > > sudo apt-get purge gigtools\* > > sudo apt-get remove liblinux\* > > sudo apt-get purge liblinux\* > > sudo apt-get remove linuxsampler\* > > sudo apt-get purge linuxsampler\* > > sudo apt-get remove gigedit\* > > sudo apt-get purge gigedit\* > > cd /home/janflorijn/Installatie/LS > > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > > sudo apt-get install g++ debhelper pkg-config automake 1.1 automake 1.4 > > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > > sudo apt-get install ant qt4-dev-tools libjack-jackd2-dev > > cd liblscp > > dpkg-buildpackage -rfakeroot -b > > cd .. > > sudo dpkg -i liblscp6_0.5.7-1_i386.deb > > sudo dpkg -i liblscp-dev_0.5.7-1_i386.deb > > cd libgig > > dpkg-buildpackage -rfakeroot -b > > cd .. > > dpkg-buildpackage -rfakeroot -b > > sudo dpkg -i libgig6_3.3.0-6_i386.deb > > sudo dpkg -i libgig-dev_3.3.0-6_i386.deb > > sudo dpkg -i gigtools_3.3.0-6_i386.deb > > sudo apt-get install libjack-jackd2-dev > > cd linuxsampler > > sudo dpkg-buildpackage -rfakeroot -b > > cd .. > > sudo dpkg -i linuxsampler_1.0.0-1_i386.deb > > sudo dpkg -i liblinuxsampler-dev_1.0.0-1_i386.deb > > sudo dpkg -i liblinuxsampler_1.0.0-1_i386.deb > > cd gigedit > > sudo dpkg-buildpackage -rfakeroot -b > > cd .. > > sudo dpkg -i gigedit_0.2.0-1_i386.deb > > > > > > Kind regards, > > > > Janflorijn > > In Linuxsampler I haved edited debian/rules: > > CHOST="x86_64-pc-linux-gnu" > CXXFLAGS="-march=athlon-fx -mtune=athlon-fx" > CXXFLAGS="${CFLAGS}" > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > --infodir=\$${prefix}/share/info --enable-refill-streams=2 > --enable-stream-size=320000 --enable-preload-samples=65536 > --enable-max-voices=1024 --enable-max-streams=1536 > touch configure-stamp > > In libgig, gigedit and liblscp I edited debian/rules: > > CHOST="x86_64-pc-linux-gnu" > CXXFLAGS="-march=athlon-fx -mtune=athlon-fx" > CXXFLAGS="${CFLAGS}" > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > --infodir=\$${prefix}/share/info > > > Linuxsampler still crashes with the first played note. > > Kind regards, > > > JanFlorijn I succeeded to compile install and play with LinuxSampler 1.0.0.svn37. I think it is important in wich order things are getting compiled and installed. I will study the download page. Kind regards, JanFlorijn
(In reply to comment #6) > (In reply to comment #5) > > (In reply to comment #4) > > > (In reply to comment #3) > > > > (In reply to comment #2) > > > > > The API documentation comments in the sampler's source code are currently not > > > > > 100% in sync with the actual source code. So there are here and there > > > > > function/method arguments mentioned in the API doc comments which don't exist > > > > > in the C++ source code anymore and vice versa. > > > > > > > > > > However such issues are usually just ignored by Doxygen (for many, many years > > > > > now) without throwing an error. Do you have a bleeding edge version of Doxygen > > > > > which became picky? > > > > > > > > > > What is the Doxygen version you have there? > > > > > > > > Hi, > > > > > > > > I have two versions: > > > > a. 1.8.2 in a 64-bit installation of Ubuntu Studio > > > > b. 1.8.7 in a 32-bit installation of Ubuntu Studio > > > > > > > > I can understand that not every message is a error. > > > > > > > > But: > > > > > > > > Linuxsampler does crash after compiling/installation of all pieces, > > > > liblscp,libgig,linuxsampler en gigtools. > > > > > > > > So, that was for me a reason to check the compilation. > > > > > > > > The things i do: > > > > sudo apt-get install subversion > > > > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > > > > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > > > > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > > > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > > > > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > > > > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > > > > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > > > > sudo apt-get install g++ debhelper pkg-config automake1.1 automake1.4 > > > > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > > > > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > > > > sudo apt-get install ant qt4-dev-tools > > > > and later a jack-lib > > > > I build with dpkg-buildpackage -rfakeroot -b > > > > > > > > Debian rules for Libgig: > > > > chmod a+x configure > > > > CHOST="x86_64-pc-linux-gnu" > > > > CXXFLAGS="-O2 -msse -march=native -mfpmath=sse -ffast-math -fomit-frame-pointer > > > > -funroll-loops -mprefer-avx128 -pipe" > > > > CXXFLAGS="${CFLAGS}" > > > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > > > --infodir=\$${prefix}/share/info > > > > > > > > Debian rules for Linuxsampler and others: > > > > chmod a+x configure > > > > CHOST="x86_64-pc-linux-gnu" CXXFLAGS="-O2 -msse -march=native -mfpmath=sse > > > > -ffast-math -fomit-frame-pointer -funroll-loops -mprefer-avx128 -pipe" > > > > CXXFLAGS="${CFLAGS}" > > > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > > > --infodir=\$${prefix}/share/info --enable-refill-streams=2 > > > > --enable-stream-size=320000 --enable-preload-samples=65536 > > > > --enable-max-voices=1024 --enable-max-streams=1536 > > > > > > > > The whole way is based on the description of David Bolton. It alsways worked. > > > > > > > > I have added sevaral things, but Linuxsampler still crashes. > > > > > > > > Kind regards, > > > > > > > > JanFlorijn > > > > > > I made a script to remove the installed packages, compile new one and install. > > > At first play with linuxsampler it crashes, > > > > > > The script: > > > sudo apt-get remove liblscp\* > > > sudo apt-get purge liblscp\* > > > sudo apt-get remove libgig\* > > > sudo apt-get purge libgig\* > > > sudo apt-get remove gigtools\* > > > sudo apt-get purge gigtools\* > > > sudo apt-get remove liblinux\* > > > sudo apt-get purge liblinux\* > > > sudo apt-get remove linuxsampler\* > > > sudo apt-get purge linuxsampler\* > > > sudo apt-get remove gigedit\* > > > sudo apt-get purge gigedit\* > > > cd /home/janflorijn/Installatie/LS > > > svn co https://svn.linuxsampler.org/svn/libgig/trunk libgig > > > svn co https://svn.linuxsampler.org/svn/liblscp/trunk liblscp > > > svn co https://svn.linuxsampler.org/svn/linuxsampler/trunk linuxsampler > > > svn co https://svn.linuxsampler.org/svn/qsampler/trunk qsampler > > > svn co https://svn.linuxsampler.org/svn/jlscp/trunk jlscp > > > svn co https://svn.linuxsampler.org/svn/jsampler/trunk jsampler > > > svn co https://svn.linuxsampler.org/svn/gigedit/trunk gigedit > > > sudo apt-get install g++ debhelper pkg-config automake 1.1 automake 1.4 > > > automake1.9 libtool fakeroot libsndfile1-dev doxygen uuid-dev bison > > > sudo apt-get install intltool libgtkmm-2.4-dev xsltproc flex sqlite 3.3 > > > sudo apt-get install ant qt4-dev-tools libjack-jackd2-dev > > > cd liblscp > > > dpkg-buildpackage -rfakeroot -b > > > cd .. > > > sudo dpkg -i liblscp6_0.5.7-1_i386.deb > > > sudo dpkg -i liblscp-dev_0.5.7-1_i386.deb > > > cd libgig > > > dpkg-buildpackage -rfakeroot -b > > > cd .. > > > dpkg-buildpackage -rfakeroot -b > > > sudo dpkg -i libgig6_3.3.0-6_i386.deb > > > sudo dpkg -i libgig-dev_3.3.0-6_i386.deb > > > sudo dpkg -i gigtools_3.3.0-6_i386.deb > > > sudo apt-get install libjack-jackd2-dev > > > cd linuxsampler > > > sudo dpkg-buildpackage -rfakeroot -b > > > cd .. > > > sudo dpkg -i linuxsampler_1.0.0-1_i386.deb > > > sudo dpkg -i liblinuxsampler-dev_1.0.0-1_i386.deb > > > sudo dpkg -i liblinuxsampler_1.0.0-1_i386.deb > > > cd gigedit > > > sudo dpkg-buildpackage -rfakeroot -b > > > cd .. > > > sudo dpkg -i gigedit_0.2.0-1_i386.deb > > > > > > > > > Kind regards, > > > > > > Janflorijn > > > > In Linuxsampler I haved edited debian/rules: > > > > CHOST="x86_64-pc-linux-gnu" > > CXXFLAGS="-march=athlon-fx -mtune=athlon-fx" > > CXXFLAGS="${CFLAGS}" > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > --infodir=\$${prefix}/share/info --enable-refill-streams=2 > > --enable-stream-size=320000 --enable-preload-samples=65536 > > --enable-max-voices=1024 --enable-max-streams=1536 > > touch configure-stamp > > > > In libgig, gigedit and liblscp I edited debian/rules: > > > > CHOST="x86_64-pc-linux-gnu" > > CXXFLAGS="-march=athlon-fx -mtune=athlon-fx" > > CXXFLAGS="${CFLAGS}" > > ./configure --prefix=/usr --mandir=\$${prefix}/share/man > > --infodir=\$${prefix}/share/info > > > > > > Linuxsampler still crashes with the first played note. > > > > Kind regards, > > > > > > JanFlorijn > > I succeeded to compile install and play with LinuxSampler 1.0.0.svn37. > > I think it is important in wich order things are getting compiled and > installed. > > I will study the download page. > > > Kind regards, > > JanFlorijn I run Linuxsampler with the console in order to get an error message. Now running Fantasia and pressing a note on the keyboard from Fantasia, Linuxsampler gives the next message: Loading gig instrument ('/home/janflorijn/Documenten/Domus/gig/Trompet16a.gig',2)...OK Caching initial samples...OK Segmentatiefout (geheugendump gemaakt) At the beginning loading the gig files the next message: Cannot open instruments database: /var/lib/linuxsampler/instruments.db
A backtrace is required to investigate this: CXXFLAGS="-O0 -g3" ./configure && make libtool --mode=execute gdb --arg src/linuxsampler run the sampler should now be running as usual, just attached to the GNU debugger. So use the sampler, reproduce the crash, and after it happened, type bt Then paste the printed back trace.
(In reply to comment #8) > A backtrace is required to investigate this: > > CXXFLAGS="-O0 -g3" ./configure && make > libtool --mode=execute gdb --arg src/linuxsampler > run > > the sampler should now be running as usual, just attached to the GNU debugger. > So use the sampler, reproduce the crash, and after it happened, type > > bt > > Then paste the printed back trace. Well, (gdb) bt #0 0xb7e11d6c in isEmpty (this=0x4) at ../common/../../common/Pool.h:304 #1 clear (this=0x0) at ../common/../../common/Pool.h:475 #2 FreeKey (pKey=0x4b2ee730, this=0x4b2e388c) at ../common/MidiKeyboardManager.h:348 #3 FreeAllInactiveKyes (this=0x4b2e388c) at ../common/MidiKeyboardManager.h:368 #4 PostProcess (this=0xb5a64288, pEngineChannel=0x4b2e3658) at ../EngineBase.h:1089 #5 LinuxSampler::EngineBase<LinuxSampler::gig::Voice, gig::Region, gig::DimensionRegion, LinuxSampler::gig::DiskThread, LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::RenderAudio (this=0xb5a64288, Samples=512) at ../EngineBase.h:178 #6 0xb7ece1d2 in LinuxSampler::AudioOutputDevice::RenderAudio ( this=0xb5a1d858, Samples=512) at AudioOutputDevice.cpp:372 #7 0xb7ee6335 in LinuxSampler::AudioOutputDeviceJack::Process ( this=0xb5a1d858, Samples=Samples@entry=512) at AudioOutputDeviceJack.cpp:253 #8 0xb7ee65cb in LinuxSampler::JackClient::Process ( this=this@entry=0xb5a0ef30, Samples=Samples@entry=512) at AudioOutputDeviceJack.cpp:386 #9 0xb7ee6603 in LinuxSampler::linuxsampler_libjack_process_callback ( nframes=512, arg=0xb5a0ef30) at AudioOutputDeviceJack.cpp:332 #10 0xb77da690 in ?? () from /usr/lib/i386-linux-gnu/libjack.so.0 ---Type <return> to continue, or q <return> to quit---
(In reply to comment #9) > (In reply to comment #8) > > A backtrace is required to investigate this: > > > > CXXFLAGS="-O0 -g3" ./configure && make > > libtool --mode=execute gdb --arg src/linuxsampler > > run > > > > the sampler should now be running as usual, just attached to the GNU debugger. > > So use the sampler, reproduce the crash, and after it happened, type > > > > bt > > > > Then paste the printed back trace. > > Well, > > (gdb) bt > #0 0xb7e11d6c in isEmpty (this=0x4) at ../common/../../common/Pool.h:304 > #1 clear (this=0x0) at ../common/../../common/Pool.h:475 > #2 FreeKey (pKey=0x4b2ee730, this=0x4b2e388c) > at ../common/MidiKeyboardManager.h:348 > #3 FreeAllInactiveKyes (this=0x4b2e388c) > at ../common/MidiKeyboardManager.h:368 > #4 PostProcess (this=0xb5a64288, pEngineChannel=0x4b2e3658) > at ../EngineBase.h:1089 > #5 LinuxSampler::EngineBase<LinuxSampler::gig::Voice, gig::Region, > gig::DimensionRegion, LinuxSampler::gig::DiskThread, > LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::RenderAudio > (this=0xb5a64288, Samples=512) > at ../EngineBase.h:178 > #6 0xb7ece1d2 in LinuxSampler::AudioOutputDevice::RenderAudio ( > this=0xb5a1d858, Samples=512) at AudioOutputDevice.cpp:372 > #7 0xb7ee6335 in LinuxSampler::AudioOutputDeviceJack::Process ( > this=0xb5a1d858, Samples=Samples@entry=512) > at AudioOutputDeviceJack.cpp:253 > #8 0xb7ee65cb in LinuxSampler::JackClient::Process ( > this=this@entry=0xb5a0ef30, Samples=Samples@entry=512) > at AudioOutputDeviceJack.cpp:386 > #9 0xb7ee6603 in LinuxSampler::linuxsampler_libjack_process_callback ( > nframes=512, arg=0xb5a0ef30) at AudioOutputDeviceJack.cpp:332 > #10 0xb77da690 in ?? () from /usr/lib/i386-linux-gnu/libjack.so.0 > ---Type <return> to continue, or q <return> to quit--- And now exact using your commands: Caching initial samples...OK Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb6720b40 (LWP 6461)] 0xb7d6f6ce in RTListBase<LinuxSampler::ScriptEvent>::isEmpty (this=0x4) at ../common/../../common/Pool.h:304 304 return _begin.next == &_end; (gdb) bt #0 0xb7d6f6ce in RTListBase<LinuxSampler::ScriptEvent>::isEmpty (this=0x4) at ../common/../../common/Pool.h:304 #1 0xb7d70a92 in RTList<LinuxSampler::ScriptEvent>::clear (this=0x0) at ../common/../../common/Pool.h:475 #2 0xb7d6fb84 in LinuxSampler::MidiKeyboardManager<LinuxSampler::gig::Voice>::FreeKey (this=0xab592c84, pKey=0xab59daa8) at ../common/MidiKeyboardManager.h:348 #3 0xb7d6e9dd in LinuxSampler::MidiKeyboardManager<LinuxSampler::gig::Voice>::FreeAllInactiveKyes (this=0xab592c84) at ../common/MidiKeyboardManager.h:368 #4 0xb7d6c73c in LinuxSampler::EngineBase<LinuxSampler::gig::Voice, gig::Region, gig::DimensionRegion, LinuxSampler::gig::DiskThread, LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::PostProcess (this=0xb5963b98, pEngineChannel=0xab592a50) at ../EngineBase.h:1089 #5 0xb7d69f5a in LinuxSampler::EngineBase<LinuxSampler::gig::Voice, gig::Region, gig::DimensionRegion, LinuxSampler::gig::DiskThread, LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::RenderAudio (this=0xb5963b98, Samples=512) at ../EngineBase.h:178 #6 0xb7e481e3 in LinuxSampler::AudioOutputDevice::RenderAudio ( this=0xb591d138, Samples=512) at AudioOutputDevice.cpp:372 #7 0xb7e5a84c in LinuxSampler::AudioOutputDeviceJack::Process ( this=0xb591d138, Samples=512) at AudioOutputDeviceJack.cpp:253 #8 0xb7e5af0f in LinuxSampler::JackClient::Process (this=0xb590e908, Samples=512) at AudioOutputDeviceJack.cpp:386 ---Type <return> to continue, or q <return> to quit---
(In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > A backtrace is required to investigate this: > > > > > > CXXFLAGS="-O0 -g3" ./configure && make > > > libtool --mode=execute gdb --arg src/linuxsampler > > > run > > > > > > the sampler should now be running as usual, just attached to the GNU debugger. > > > So use the sampler, reproduce the crash, and after it happened, type > > > > > > bt > > > > > > Then paste the printed back trace. > > > > Well, > > > > (gdb) bt > > #0 0xb7e11d6c in isEmpty (this=0x4) at ../common/../../common/Pool.h:304 > > #1 clear (this=0x0) at ../common/../../common/Pool.h:475 > > #2 FreeKey (pKey=0x4b2ee730, this=0x4b2e388c) > > at ../common/MidiKeyboardManager.h:348 > > #3 FreeAllInactiveKyes (this=0x4b2e388c) > > at ../common/MidiKeyboardManager.h:368 > > #4 PostProcess (this=0xb5a64288, pEngineChannel=0x4b2e3658) > > at ../EngineBase.h:1089 > > #5 LinuxSampler::EngineBase<LinuxSampler::gig::Voice, gig::Region, > > gig::DimensionRegion, LinuxSampler::gig::DiskThread, > > LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::RenderAudio > > (this=0xb5a64288, Samples=512) > > at ../EngineBase.h:178 > > #6 0xb7ece1d2 in LinuxSampler::AudioOutputDevice::RenderAudio ( > > this=0xb5a1d858, Samples=512) at AudioOutputDevice.cpp:372 > > #7 0xb7ee6335 in LinuxSampler::AudioOutputDeviceJack::Process ( > > this=0xb5a1d858, Samples=Samples@entry=512) > > at AudioOutputDeviceJack.cpp:253 > > #8 0xb7ee65cb in LinuxSampler::JackClient::Process ( > > this=this@entry=0xb5a0ef30, Samples=Samples@entry=512) > > at AudioOutputDeviceJack.cpp:386 > > #9 0xb7ee6603 in LinuxSampler::linuxsampler_libjack_process_callback ( > > nframes=512, arg=0xb5a0ef30) at AudioOutputDeviceJack.cpp:332 > > #10 0xb77da690 in ?? () from /usr/lib/i386-linux-gnu/libjack.so.0 > > ---Type <return> to continue, or q <return> to quit--- > > And now exact using your commands: > > Caching initial samples...OK > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb6720b40 (LWP 6461)] > 0xb7d6f6ce in RTListBase<LinuxSampler::ScriptEvent>::isEmpty (this=0x4) > at ../common/../../common/Pool.h:304 > 304 return _begin.next == &_end; > (gdb) bt > #0 0xb7d6f6ce in RTListBase<LinuxSampler::ScriptEvent>::isEmpty (this=0x4) > at ../common/../../common/Pool.h:304 > #1 0xb7d70a92 in RTList<LinuxSampler::ScriptEvent>::clear (this=0x0) > at ../common/../../common/Pool.h:475 > #2 0xb7d6fb84 in > LinuxSampler::MidiKeyboardManager<LinuxSampler::gig::Voice>::FreeKey > (this=0xab592c84, pKey=0xab59daa8) > at ../common/MidiKeyboardManager.h:348 > #3 0xb7d6e9dd in > LinuxSampler::MidiKeyboardManager<LinuxSampler::gig::Voice>::FreeAllInactiveKyes > (this=0xab592c84) at ../common/MidiKeyboardManager.h:368 > #4 0xb7d6c73c in LinuxSampler::EngineBase<LinuxSampler::gig::Voice, > gig::Region, gig::DimensionRegion, LinuxSampler::gig::DiskThread, > LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::PostProcess > (this=0xb5963b98, > pEngineChannel=0xab592a50) at ../EngineBase.h:1089 > #5 0xb7d69f5a in LinuxSampler::EngineBase<LinuxSampler::gig::Voice, > gig::Region, gig::DimensionRegion, LinuxSampler::gig::DiskThread, > LinuxSampler::gig::InstrumentResourceManager, gig::Instrument>::RenderAudio > (this=0xb5963b98, > Samples=512) at ../EngineBase.h:178 > #6 0xb7e481e3 in LinuxSampler::AudioOutputDevice::RenderAudio ( > this=0xb591d138, Samples=512) at AudioOutputDevice.cpp:372 > #7 0xb7e5a84c in LinuxSampler::AudioOutputDeviceJack::Process ( > this=0xb591d138, Samples=512) at AudioOutputDeviceJack.cpp:253 > #8 0xb7e5af0f in LinuxSampler::JackClient::Process (this=0xb590e908, > Samples=512) at AudioOutputDeviceJack.cpp:386 > ---Type <return> to continue, or q <return> to quit--- Starting Linuxsampler from the commandline I see the next messages: Unloading instrument editor plugins...OK libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) libjackBufferSizeCallback(512) Starting disk thread...OK EQ support: no Scheduling '/home/janflorijn/Documenten/Domus/gig/Bourdon8.gig' (Index=0) to be loaded in background (if not loaded yet). Loading gig file '/home/janflorijn/Documenten/Domus/gig/Bourdon8.gig'...OK Loading gig instrument ('/home/janflorijn/Documenten/Domus/gig/Bourdon8.gig',0)...OK
*** This bug has been marked as a duplicate of bug 227 ***