• saveUserPreset overwrite existing files = crash

    6
    0 Votes
    6 Posts
    252 Views
    Dan KorneffD

    Circling back around to this issue as this still happens on all of my builds. Would love to get some help on this one.
    Overwriting an existing preset will crash my plugs.

    When I debug the standalone version on PC, I get the following;

    Test Debug.exe!juce::MessageManager::callFunctionOnMessageThread(void *(*)(void *) func, void * parameter) Line 176 Test Debug.exe!juce::Component::runModalLoop() Line 1746 Test Debug.exe!hise::PresetHandler::showYesNoWindow(const juce::String & title, const juce::String & message, hise::PresetHandler::IconType type) Line 682 Test Debug.exe!hise::UserPresetHelpers::saveUserPreset(hise::ModulatorSynthChain * chain, const juce::String & targetFile, juce::NotificationType notify) Line 61 Test Debug.exe!hise::ScriptingApi::Engine::saveUserPreset(juce::var presetName) Line 2251 Test Debug.exe!hise::ScriptingApi::Engine::Wrapper::saveUserPreset(hise::ApiClass * m, juce::var value1) Line 859 Test Debug.exe!hise::ApiClass::callFunction(int index, juce::var * args, int numArgs) Line 366 Test Debug.exe!hise::HiseJavascriptEngine::RootObject::ApiCall::getResult(const hise::HiseJavascriptEngine::RootObject::Scope & s) Line 140 Test Debug.exe!hise::HiseJavascriptEngine::RootObject::Expression::perform(const hise::HiseJavascriptEngine::RootObject::Scope & s, juce::var * __formal) Line 633 Test Debug.exe!hise::HiseJavascriptEngine::RootObject::BlockStatement::perform(const hise::HiseJavascriptEngine::RootObject::Scope & s, juce::var * returnedValue) Line 52 Test Debug.exe!hise::HiseJavascriptEngine::RootObject::FunctionObject::invoke(const hise::HiseJavascriptEngine::RootObject::Scope & s, const juce::var::NativeFunctionArgs & args) Line 560 Test Debug.exe!hise::HiseJavascriptEngine::callExternalFunctionRaw(juce::var function, const juce::var::NativeFunctionArgs & args) Line 413 Test Debug.exe!hise::HiseJavascriptEngine::callExternalFunction(juce::var function, const juce::var::NativeFunctionArgs & args, juce::Result * result, bool allowMessageThread) Line 449 Test Debug.exe!hise::WeakCallbackHolder::CallableObject::call(hise::HiseJavascriptEngine * engine, const juce::var::NativeFunctionArgs & args, juce::var * returnValue) Line 904 Test Debug.exe!hise::WeakCallbackHolder::operator()(hise::JavascriptProcessor * p) Line 738 [External Code] Test Debug.exe!hise::JavascriptThreadPool::Task::callWithResult() Line 2012 Test Debug.exe!hise::SuspendHelpers::Suspended<hise::JavascriptThreadPool::Task,hise::SuspendHelpers::FreeTicket>::call() Line 221 Test Debug.exe!hise::JavascriptThreadPool::executeQueue(const hise::JavascriptThreadPool::Task::Type & t, juce::Array<juce::WeakReference<hise::JavascriptProcessor,juce::ReferenceCountedObject>,juce::DummyCriticalSection,0> & pendingCompilations) Line 1866 Test Debug.exe!hise::JavascriptThreadPool::executeQueue(const hise::JavascriptThreadPool::Task::Type & t, juce::Array<juce::WeakReference<hise::JavascriptProcessor,juce::ReferenceCountedObject>,juce::DummyCriticalSection,0> & pendingCompilations) Line 1876 Test Debug.exe!hise::JavascriptThreadPool::run() Line 1931 Test Debug.exe!juce::Thread::threadEntryPoint() Line 96 Test Debug.exe!juce::juce_threadEntryPoint(void * userData) Line 119 Test Debug.exe!juce::threadEntryProc(void * userData) Line 66 Test Debug.exe!thread_start<unsigned int (__cdecl*)(void *),1>(void * const parameter) Line 97 [External Code]
  • 0 Votes
    3 Posts
    163 Views
    jonhallurJ

    @d-healey I could not recreate the behavior in a Content.createLocalLoockAndFeel()

    I spoke too soon, some errors you can not recover from. Some syntax errors are fine, but when something really does not work, laf will not recover. Looks like if I do actual runtime errors that are syntactically correct the laf reverts to something older, and does not try to recompile the laf function until reload.

  • [bug] Analyze nodes not working in frame block

    3
    0 Votes
    3 Posts
    143 Views
    Dan KorneffD

    @Christoph-Hart I believe this affecting SNEX nodes as well.

    EDIT:
    scratch that. My ProcessFrame code was commented out. Still not working on analyzer nodes though

  • Delay Effect Produces Static In Compiled FX Plugin. Need Help!

    11
    0 Votes
    11 Posts
    651 Views
    Adam_GA

    @Soundavid this works incredibly well, thanks for sharing

  • [bug] Table value popup being doubled

    8
    0 Votes
    8 Posts
    333 Views
    d.healeyD

    @lalalandsynth Nice :D

  • panel rendering...

    9
    0 Votes
    9 Posts
    214 Views
    LindonL

    @Matt_SF thank yeah - I'd usually use inkscape for the SVG drawing...

  • Export ->All Platforms

    6
    0 Votes
    6 Posts
    176 Views
    LindonL

    @ulrik yes that exactly.

  • [bug] Global look and feel hides MIDI learn table header

    2
    0 Votes
    2 Posts
    87 Views
    d.healeyD

    Two custom LAF functions can be used to manually redraw it.

    laf.registerFunction("drawTableHeaderBackground", function(g, obj) { g.fillAll(Colours.black); }); laf.registerFunction("drawTableHeaderColumn", function(g, obj) { var a = obj.area; g.setColour(Colours.white); g.drawAlignedText(obj.text, a, "centred"); });
  • [bug] Error handler fires on project open

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • [bug] Played RR group button causes HISE to freeze

    1
    0 Votes
    1 Posts
    232 Views
    No one has replied
  • Engine.getMidiNoteFromName("G8");

    1
    1 Votes
    1 Posts
    146 Views
    No one has replied
  • [bug] File browser selection causing assertion

    5
    0 Votes
    5 Posts
    366 Views
    LindonL

    @d-healey I will be avoiding those then..sorry I should have read more carefully...

  • [bug] MIDI Sources list scrollbar vanishing based on tile height

    1
    0 Votes
    1 Posts
    66 Views
    No one has replied
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • [bug] Duplicate samples included multiple times in monolith

    1
    0 Votes
    1 Posts
    117 Views
    No one has replied
  • This topic is deleted!

    19
    0 Votes
    19 Posts
    102 Views
  • [bug] Pasting samples into group not working

    2
    0 Votes
    2 Posts
    304 Views
    Matt_SFM

    @d-healey said in [bug] Pasting samples into group not working:

    In the sample mapping window, no matter which group I have selected pasted samples always go to group 1.

    If you copy/paste your samples, they are indeed pasted in the 1st group but after pasting them, if you immediately click on the RRgroup + or - buttons at the bottom of the sample map, it moves the samples to the desired group. Even if they are not selected you can still move them...
    (Hoping you don't have too many groups...)

    Edit : tested on macOS, commit from Jul 25 :)

  • Colour picker looks strange

    3
    0 Votes
    3 Posts
    176 Views
    d.healeyD

    Bump bump

  • LLVM error and fix

    3
    2 Votes
    3 Posts
    331 Views
    d.healeyD

    @langermarc19 This problem appeared with Xcode 13.3.3 I think. Would be good to have this fix @Christoph-Hart

18

Online

1.7k

Users

11.6k

Topics

100.9k

Posts