On Saturday 23 December 2006 09:37, Stephane Thomas wrote:
> I noticed that lmms crash when I set a volume enveloppe on the kicker :
> history size: 21
> history size: 22
> terminate called after throwing an instance of 'std::bad_alloc'
> what(): St9bad_alloc
> Program received signal SIGABRT, Aborted.
> [Switching to Thread -1515476048 (LWP 26376)]
> 0xa70987c7 in raise () from /lib/tls/libc.so.6
> (gdb) bt
> #0 0xa70987c7 in raise () from /lib/tls/libc.so.6
> #1 0xa709a06b in abort () from /lib/tls/libc.so.6
> #2 0xa728a944 in __gnu_cxx::__verbose_terminate_handler ()
> from /usr/lib/libstdc++.so.6 #3 0xa7288365 in std::set_unexpected ()
> from /usr/lib/libstdc++.so.6 #4 0xa72883a2 in std::terminate ()
> from /usr/lib/libstdc++.so.6 #5 0xa72884da in __cxa_throw ()
> from /usr/lib/libstdc++.so.6 #6 0xa728891b in operator new ()
> from /usr/lib/libstdc++.so.6 #7 0xa72889ed in operator new ()
> from /usr/lib/libstdc++.so.6 #8 0x080c9b16 in
> bufferAllocator::allocBytes (_bytes=4294963200) at
> buffer_allocator.cpp:213 #9 0xa681ee44 in kickerInstrument::playNote
> (this=0x8697c60, _n=0x8639250) at buffer_allocator.h:46 #10 0x08163316
> in instrumentTrack::playNote (this=0xa68265a8, _n=0x8639250,
> _try_parallelizing=false) at instrument_track.cpp:752 #11 0x08163384 in
> notePlayHandle::play (this=0x8639250, _try_parallelizing=false) at
> note_play_handle.cpp:154 #12 0x0811706b in mixer::renderNextBuffer
> (this=0x8293350) at mixer.cpp:331 #13 0x081172d1 in
> audioDevice::getNextBuffer (this=0x840e290, _ab=0x8450ee0) at
> audio_device.cpp:100 #14 0x08117949 in audioALSA::run (this=0x840e290)
> at audio_alsa.cpp:240 #15 0xa7a09144 in QThreadInstance::start ()
> from /usr/lib/libqt-mt.so.3 #16 0xa6eeeced in start_thread ()
> from /lib/tls/libpthread.so.0 #17 0xa7140dee in clone ()
> from /lib/tls/libc.so.6
> But as described in my previous post, I used a workaround to get "Kicker"
> working, maybe it is not planned to use volume enveloppe on this plugin...
> Maybe it's a conflict between de two decay values (one from the plugin, an
> the other one from the enveloppe).
> Another remark, why did you limit "end frequency" to 40 Hz ? 3 Hz or even
> 20 Hz would be a better choice IMHO. (Yes I guess I can edit the source to
> achieve that...)
> Appart of that, your plugin just rocks ! Simple but powerfull !
> Also, I've seen that there are some other plugins I didn't test yet (as
> they are not in my menu), like midi-import, vst-base, vst-effect, live-tool
> and bass-booster... But, for me, with those three "AudioFileProc",
> "TripleOsc" and "Kicker" plus LADSPA plugins for effects LMMS is complete !
> I like the way "Kicker" acts if you set a lower start-frequency than the
> end-frequency :) I use to call those types of sound "pouet-pouet sounds",
> very important in Hardteckno music.
Stefane, I'm also getting this same crash. Using the decay for the Volume
envelope with the Kicker plugin seems to be what's causing it.