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

crashing Novelty #146

Open
tremblap opened this issue Dec 10, 2022 · 0 comments
Open

crashing Novelty #146

tremblap opened this issue Dec 10, 2022 · 0 comments
Assignees

Comments

@tremblap
Copy link
Member

This code crashes every time in Test compile:

({var in = SinOsc.ar(LFNoise0.kr(3).exprange(100,1000).lag(0.01)); 
var value = FluidNoveltyFeature.kr(in,3,10,10,512); 
	Out.kr(2, (value*10).lag(0.2)); // look at the scope channel 3 control
	Out.ar(0,in);
}.play;)

with this crash report:

Crashed Thread: 8 com.apple.audio.IOThread.client

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Assertion failed: (startRow >= 0 && blockRows >= 0 && startRow <= xpr.rows() - blockRows && startCol >= 0 && blockCols >= 0 && startCol <= xpr.cols() - blockCols), function Block, file /Users/pa/Documents/documents@hudd/research/projects/fluid corpus navigation/research/flucoma-supercollider/build/_deps/eigen-src/Eigen/src/Core/Block.h, line 147.

(snip)

Thread 8 Crashed:: com.apple.audio.IOThread.client
0 libsystem_kernel.dylib 0x00007fff6de8032a __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6df3ce60 pthread_kill + 430
2 libsystem_c.dylib 0x00007fff6de07808 abort + 120
3 libsystem_c.dylib 0x00007fff6de06ac6 __assert_rtn + 314
4 FluidNoveltyFeature.scx 0x000000010e513ecd fluid::algorithm::Novelty::createKernel(fluid::FallbackAllocator&) + 1949 (Novelty.hpp:94)
5 FluidNoveltyFeature.scx 0x000000010e5122d6 fluid::algorithm::NoveltyFeature::init(long, long, long, fluid::FallbackAllocator&) + 54 (NoveltyFeature.hpp:38)
6 FluidNoveltyFeature.scx 0x000000010e50c50e void fluid::client::noveltyfeature::NoveltyFeatureClient::process(std::__1::vector<fluid::FluidTensorView<float, 1ul>, std::__1::allocator<fluid::FluidTensorView<float, 1ul> > >&, std::__1::vector<fluid::FluidTensorView<float, 1ul>, std::__1::allocator<fluid::FluidTensorView<float, 1ul> > >&, fluid::client::FluidContext&) + 558 (NoveltyFeatureClient.hpp:138)
7 FluidNoveltyFeature.scx 0x000000010e50c2a7 fluid::client::impl::RealTimeBase<fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient, fluid::client::FluidSCWrapper<fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient > >::next(SCUnit&, fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient&, fluid::client::ParameterSet<fluid::client::ParameterDescriptorSet<std::__1::integer_sequence<unsigned long, 0ul, 0ul, 0ul, 0ul>, std::__1::tuple<std::__1::tuple<fluid::client::EnumT, std::__1::tuplefluid::client::EnumT::EnumConstraint, fluid::client::Fixed >, std::__1::tuple<fluid::client::LongRuntimeMaxT, std::__1::tuple<fluid::client::LongRuntimeMaxParam::RuntimeMaxConstraint, fluid::client::impl::MinImpl, fluid::client::Odd>, fluid::client::Primary>, std::__1::tuple<fluid::client::LongRuntimeMaxT, std::__1::tuple<fluid::client::LongRuntimeMaxParam::RuntimeMaxConstraint, fluid::client::impl::MinImpl >, fluid::client::Primary>, std::__1::tuple<fluid::client::FFTParamsT, std::__1::tuplefluid::client::FFTParams::FFTSettingsConstraint, fluid::client::Fixed > > > const>&, fluid::client::impl::FloatControlsIter&, fluid::FallbackAllocator&, bool) + 391 (RealTimeBase.hpp:220)
8 FluidNoveltyFeature.scx 0x000000010e50c117 void SCUnit::run_member_function<fluid::client::impl::RealTime<fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient, fluid::client::FluidSCWrapper<fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient > >, &(fluid::client::impl::RealTime<fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient, fluid::client::FluidSCWrapper<fluid::client::ClientWrapperfluid::client::noveltyfeature::NoveltyFeatureClient > >::next(int))>(Unit*, int) + 87 (SC_PlugIn.hpp:231)
9 scsynth 0x000000010907f086 Graph_Calc + 102
10 scsynth 0x0000000109085d37 Group_Calc + 23
11 scsynth 0x0000000109085d37 Group_Calc + 23
12 scsynth 0x000000010907b1d9 void SC_CoreAudioDriver::Run(AudioBufferList const*, AudioBufferList*, long long) + 2793
13 scsynth 0x00000001090799ac int appIOProc(unsigned int, AudioTimeStamp const*, AudioBufferList const*, AudioTimeStamp const*, AudioBufferList*, AudioTimeStamp const*, void*) + 316
14 com.apple.audio.CoreAudio 0x00007fff342ea91a invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 5639
15 com.apple.audio.CoreAudio 0x00007fff3441db9e HALB_IOThread::Entry(void*) + 72
16 libsystem_pthread.dylib 0x00007fff6df3d109 _pthread_start + 148
17 libsystem_pthread.dylib 0x00007fff6df38b8b thread_start + 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants