Comments (20)
can you build for debug (cmake -DCMAKE_BUILD_TYPE=Debug ...) and watch for a stacktrace dump?
also, does it crash on every project you load or is there sth special with that one?
and what buffer-size?
from qtractor.
Maybe the compiler warning gives a hint, too.
warning.txt
dump.txt
from qtractor.
the compiler warning is of no consequence here (warning.txt)
the crash seems to be on some old JUCE plugin, KlangFalter? what happens if you don't use or activate that plugin?
from qtractor.
Compiling the most recent DISTRHO-ports (klangfalter) doesn't help.
Inactivating klangfalter in the qtr-File with an text editor helps a bit. I can load the song. Activating a klangfalter instance immediately crashes Qtractor.
from qtractor.
definitely an issue with klangfalter; I suspect it doesn't support short periods/buffer-sizes (eg. 64 frames)
may you investigate on the klangfalter/juce source and tell what the heck is going in there?
JUCE Assertion failure in juce_AudioSampleBuffer.h:747
JUCE Assertion failure in juce_AudioSampleBuffer.h:596
from qtractor.
These asserts are on multiple places, e.g. in a clear function and in an applygain function:
jassert (startSample >= 0 && numSamples >= 0 && startSample + numSamples <= size);
I see these asserts in juce5, 6 and 7 header files.
from qtractor.
what happens if you comment out those jasserts?
but again, what's or was your nominal buffer-size?
also please. what happens if you change this line from 64 to 128?
qtractor/src/qtractorAudioEngine.cpp
Line 70 in 10dfd45
from qtractor.
Usually I use a jack_bufsize of 256.
When I delete the asserts then Qtractor crashes as well – except when I use a jack_bufsize of 64.
When I don't delete the asserts then Qtractor crashes even with a jack_bufsize of 64.
Changing BLOCK_SIZE to 128: no crash with jack_bufsize of 64 or 128, crash with 256
from qtractor.
but all crashes are due on klangfalter plugin and only right?
from qtractor.
Yes. There are several other plugins in the session but only klangfalter crashes Qtractor when activated.
from qtractor.
I assume you're using the KlangFalter.lv2
what about the vst2 plugin version which I think is also bundled in distrho?
from qtractor.
Yes it is:
/usr/local/lib/vst/KlangFalter.so
But Qtractor doesn't recognize it, even after a rescan.
It's built with:
cmake -DCONFIG_LV2_UI_GTKMM2=no -DCONFIG_VST3SDK=/home/hm/src/qtractor/vst3sdk ..
Qtractor 0.9.33.18git.10dfd4.dirty (Qt 5.5.1)
Build target . . . . . . . . . . . . . . . . . . .: release
JACK Audio Connection Kit support . . . . . . . .: yes
ALSA MIDI Sequencer support . . . . . . . . . . .: yes
General audio file support (libsndfile) . . . . .: yes
Ogg Vorbis audio file support (libvorbis) . . . .: yes
MPEG-1 Audio Layer 3 file support (libmad) . . . .: yes
Sample-rate conversion support (libsamplerate) . .: yes
Pitch-shifting support (librubberband) . . . . . .: yes
Beat-detection support (libaubio) . . . . . . . .: yes
OSC service support (liblo) . . . . . . . . . . .: yes
Archive/Zip file support (zlib) . . . . . . . . .: yes
IEEE 32bit float optimizations . . . . . . . . . .: yes
SSE optimization support (x86) . . . . . . . . . .: yes
LADSPA plug-in support . . . . . . . . . . . . . .: yes
DSSI plug-in support . . . . . . . . . . . . . . .: yes
VST2 plug-in support . . . . . . . . . . . . . . .: yes
VST3 plug-in support . . . . . . . . . . . . . . .: yes
CLAP plug-in support . . . . . . . . . . . . . . .: yes
LV2 plug-in support . . . . . . . . . . . . . . .: yes
from qtractor.
I have to investigate what happened. There was a time when I could load vst plugins.
from qtractor.
indeed there's sth funky with the KlangFalter plugins: the lv2 does crash on small jack-buffer-sizes/periods; but the vst2 doesn't; however, the later may present a larger head-latency (>=1024) than its lv2 counterpart, when it runs on the same jack-buffer-size setting (>=128) and doesn't crash :(
from qtractor.
I had old qtractor plugin programs in /usr/local/bin. I deleted them and now I can load vst plugins. Will investigate it tomorrow.
from qtractor.
maybe this would make no harm: qtractor >= 0.9.33.19git.58cbd3
just maybe, you tell me ;)
from qtractor.
Partial successful. The crash is avoided but klangfalter's reverb sounds metallic.
kick.mp3.zip
from qtractor.
ok. thanks. that's positive progress :)
now please try qtractor >= 0.9.33.20git.7f74de
from qtractor.
Works. Thank you, Rui.
klangfalter_ok.mp3.zip
from qtractor.
thanks, please report if you find any other glitch, most esp. re. inserts and aux-sends (which I believe you abuse of ;)
cheers
from qtractor.
Related Issues (20)
- piano roll painting issue HOT 8
- Qtractor doesn't fully draw VST3 GUI HOT 8
- automation gets switched on when it shouldn't HOT 2
- MIDI recording with countdown issue HOT 12
- Send MIDI start/stop HOT 3
- MIDI off is not sent on transport stop HOT 10
- Dont Work: Reverse Keyboard modifiers role (Shift/Ctrl) HOT 2
- Incorrect scaling in volumeters MIDI track with audio output HOT 4
- Proposed improvements to the status bar HOT 2
- Direct connections between buses do not work HOT 3
- Strange behaviour of audio inserts HOT 2
- Audio export is unreliable HOT 26
- Time signature change breaks MIDI snapping HOT 2
- Feature Request: Step Input HOT 9
- Crashes badly with LSP-plugins HOT 15
- Distorted sound in Windows plugins via Carla HOT 1
- GUI is shown in a gigantic window larger than the screen with Calf Gate LV2 plugin, and other Calf LV2 plugins
- Application crashes when the GUI window of the noise-suppression-for-voice LV2 plugin
- Split MIDI clip doesn't work HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qtractor.