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

Initialise m_previousValue #3428

merged 1 commit into from Mar 15, 2017


Copy link

Uninitialised value in MidiController.cpp gave floating point error on automation of envelope.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 0x7fffde071700 (LWP 30037)]
0x000000000050c1fa in linearInterpolate (v0=1.40129846e-45, v1=0, x=0) at /home/zonkmachine/builds/lmms/lmms/include/interpolation.h:90
90		return fastFmaf( x, v1-v0, v0 );
(gdb) bt full
#0  0x000000000050c1fa in linearInterpolate (v0=1.40129846e-45, v1=0, x=0) at /home/zonkmachine/builds/lmms/lmms/include/interpolation.h:90
No locals.
#1  0x0000000000561ad7 in ValueBuffer::__lambda0::operator() (__closure=0x7fffde070b40) at /home/zonkmachine/builds/lmms/lmms/src/core/ValueBuffer.cpp:40
        start = @0x7fffde070b64: 1.40129846e-45
        end_ = @0x7fffde070b60: 0
        i = @0x7fffde070b7c: 1
        this = 0x7fffeaebd2a0

@zonkmachine zonkmachine merged commit afbf800 into LMMS:master Mar 15, 2017
@zonkmachine zonkmachine deleted the midicontrollerinit branch March 15, 2017 08:40
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant