Giter Club home page Giter Club logo

orbits's Introduction

orbits's People

Contributors

rarebreeds avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

orbits's Issues

Eugene crashes when selecting a preset via Stoermelder 8facemk2

I am getting a consistent crash whenever I try to use 8face to preserve Eugene state. I can "record" a preset, but whenever I try to playback one of the recorded presets, it crashes rack.

How to reproduce:
Use the attached vcv patch. Click 8face's R/W toggle to "w". Press the first green button (.). Clock the R/W toggle back to "r". The press the first green button to "recall" the preset you just saved. Boom!

A representative crash:

Thread 7 Crashed:
0   libGL.dylib                   	    0x7ffa29acb78f glDeleteFramebuffers + 18
1   libRack.dylib                 	       0x1020b04b6 nvgluDeleteFramebuffer(NVGLUframebuffer*) + 38
2   libRack.dylib                 	       0x10218b996 rack::widget::FramebufferWidget::~FramebufferWidget() + 54
3   libRack.dylib                 	       0x10218ba9e rack::widget::FramebufferWidget::~FramebufferWidget() + 14
4   libRack.dylib                 	       0x10218cf91 rack::widget::Widget::clearChildren() + 113
5   libRack.dylib                 	       0x10218ce66 rack::widget::Widget::~Widget() + 38
6   libRack.dylib                 	       0x10214f2a8 rack::app::SvgPanel::~SvgPanel() + 72
7   libRack.dylib                 	       0x10212d3b1 rack::app::ModuleWidget::setPanel(std::__1::shared_ptr<rack::window::Svg>) + 161
8   plugin.dylib                  	       0x10d9dc05d OrbitsWidget::loadTheme(int) + 189
9   plugin.dylib                  	       0x10d9dc3ac OrbitsWidget::loadTheme(char const*) + 204
10  libRack.dylib                 	       0x10217d6ef rack::engine::Module::fromJson(json_t*) + 735
11  libRack.dylib                 	       0x102178990 rack::engine::Engine::moduleFromJson(rack::engine::Module*, json_t*) + 48
12  plugin.dylib                  	       0x10a272260 StoermelderPackOne::EightFaceMk2::EightFaceMk2Module<8>::processWorker(int) + 944
13  plugin.dylib                  	       0x10a27111f StoermelderPackOne::TaskWorker::processWorker() + 127
14  plugin.dylib                  	       0x10a2712fe void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (StoermelderPackOne::TaskWorker::*)(), StoermelderPackOne::TaskWorker*> >(void*) + 62
15  libsystem_pthread.dylib       	    0x7ff810abd4e1 _pthread_start + 125
16  libsystem_pthread.dylib       	    0x7ff810ab8f6b thread_start + 15

eugene.vcv.zip

Will not compile in Windows 10 Pro with MSYS2

$ RACK_DIR=C:/msys64/Rack-SDK make dist
g++ -std=c++11 -Wsuggest-override -fPIC -IC:/msys64/Rack-SDK/include -IC:/msys64/Rack-SDK/dep/include -MMD -MP -g -O3 -march=nocona -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_WIN -D_USE_MATH_DEFINES -c -o build/src/Eugene.cpp.o src/Eugene.cpp
src/Eugene.cpp:7:13: error: 'bitset' in namespace 'std' does not name a template type
7 | static std::bitset<max_rhythm_length> euclideanRhythm(unsigned int number_of_hits, unsigned int length_of_sequence)
| ^~~~~~
src/Eugene.cpp:5:1: note: 'std::bitset' is defined in header ''; did you forget to '#include '?
4 | #include "plugin.hpp"
+++ |+#include
5 |
src/Eugene.cpp:109:7: error: 'bitset' in namespace 'std' does not name a template type
109 | std::bitset<max_rhythm_length> rhythm;
| ^~~~~~
src/Eugene.cpp:109:2: note: 'std::bitset' is defined in header ''; did you forget to '#include '?
109 | std::bitset<max_rhythm_length> rhythm;
| ^~~
src/Eugene.cpp: In member function 'void RareBreeds_Orbits_Eugene::updateOutput(const rack::engine::Module::ProcessArgs&)':
src/Eugene.cpp:233:7: error: 'rhythm' was not declared in this scope
233 | if(rhythm[index])
| ^~~~~~
src/Eugene.cpp: In member function 'void RareBreeds_Orbits_Eugene::updateEuclideanRhythm(unsigned int, unsigned int, unsigned int, bool)':
src/Eugene.cpp:243:3: error: 'rhythm' was not declared in this scope
243 | rhythm = euclideanRhythm(hits, length);
| ^~~~~~
src/Eugene.cpp:243:12: error: 'euclideanRhythm' was not declared in this scope; did you mean 'updateEuclideanRhythm'?
243 | rhythm = euclideanRhythm(hits, length);
| ^~~~~~~~~~~~~~~
| updateEuclideanRhythm
src/Eugene.cpp: In member function 'virtual void RhythmDisplay::draw(const rack::widget::Widget::DrawArgs&)':
src/Eugene.cpp:384:15: error: 'struct RareBreeds_Orbits_Eugene' has no member named 'rhythm'
384 | if(module->rhythm[k])
| ^~~~~~
make: *** [C:/msys64/Rack-SDK/compile.mk:69: build/src/Eugene.cpp.o] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.