Anybody else having issues with juce_dsp.cpp crashing gcc?

In file included from ../../../../../modules/juce/modules/juce_dsp/juce_dsp.cpp:73:0,
                 from ../../JuceLibraryCode/include_juce_dsp.cpp:9:
../../../../../modules/juce/modules/juce_dsp/frequency/juce_Convolution.cpp: In instantiation of ‘juce::dsp::normaliseImpulseResponse(juce::AudioBuffer<float>&)::<lambda(auto:6, auto:7*)> [with auto:6 = float; auto:7 = float]’:
/usr/include/c++/5/bits/stl_numeric.h:154:22:   required from ‘_Tp std::accumulate(_InputIterator, _InputIterator, _Tp, _BinaryOperation) [with _InputIterator = float**; _Tp = float; _BinaryOperation = juce::dsp::normaliseImpulseResponse(juce::AudioBuffer<float>&)::<lambda(auto:6, auto:7*)>]’
../../../../../modules/juce/modules/juce_dsp/frequency/juce_Convolution.cpp:617:6:   required from here
../../../../../modules/juce/modules/juce_dsp/frequency/juce_Convolution.cpp:613:61: internal compiler error: Segmentation fault
         return jmax (max, std::accumulate (channel, channel + numSamples, 0.0f, [] (auto sum, auto samp)
                                                             ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
Makefile:149: recipe for target 'build/intermediate/Release/include_juce_dsp_aeb2060f.o' failed
make: *** [build/intermediate/Release/include_juce_dsp_aeb2060f.o] Error 1

Thanks! This should be fixed here:

This should also be changed in modules/juce_dsp/frequency/juce_Convolution_test.cpp for unit testing, please. Thank you.

Yep, thanks. We’ll get that added.

1 Like