HISE icon indicating copy to clipboard operation
HISE copied to clipboard

[bug] File browser selection causing assertion

Open davidhealey opened this issue 1 year ago • 1 comments

Forum Discussion

https://forum.hise.audio/topic/6114/bug-file-browser-selection-causing-assertion

Commit

https://github.com/christophhart/HISE/commit/caf486755bdc5e1a43780a69ff8293b6285c7167

Tested

OS: Windows, GNU/Linux HISE: yes Compiled Project: yes

Description

Open a file browser, select a file, and the assertion is triggered.

JUCE Assertion failure in ScriptingBaseObjects.cpp:901

I get the issue in both HISE and a compiled project. Happens with browseForDirectory as well.

It was introduced between commits f7e75e164fb55202d76348e34a5e5b12c6717acc and caf486755bdc5e1a43780a69ff8293b6285c7167

I haven't been able to narrow it down to an exact commit because the ones in-between won't build for me.

Snippet

HiseSnippet 803.3ocsUssaSCDDc2jXDIbQTI9.rxSNnPTBWJHwCDxMTDj1Hboh2p1tdcyptdWi85VhppDeJ7Lec7G.yZ6j3TRqPQT+PTlKmwmc1yLdZjhxhiUQHb0ClGxP36a4NWpm0eFgKQiGfv6X4yEriiTmGyhzrXMp27PRbLyCgwkeuIMb0Jnzme81dDAQRYqbgPGp3T1G4Ab8JuS69AtPLh3wNfGTH6WzcLUI6qDpDfRksZiBIzSImv1iXRqjEBemgdbsJxUS.xfvU5o7l6NSctLK+C4w7iELiQGjKTnL2iTBOCiMdQ8mwEdSWbziQPUltpQTNqQ7XqIbO9R+qZHOJMf8JDE6G3RqSuxqQuNEoW6BzaCTBWfRUxnzNVtzHdndUDCetm0XolE4Sf1dQpjkKpzOwV8UPFRcq.xorQQfwRDN61tcSa3mFuoVsZbofKY19IRplqj1JYuDsVI6XJPjR3PUAgJITpl1mQDIrF0tnVUtusStU0pi.wh67XMKnUllwofmSX5zKhnhNG.MGgh3E2nosOQDyZZW+I0atjEN9Mt3RfdWBLbwAAJT+ETwodNIq2nUrweJU6SDhiAsiyUOCPkJb91SoY6KcROG0trl8UC46uwX40R.mjME1HpitIfNxjfiYQE6hlDga50kOVWu7on5ll0VJjnRNVx06GxjWmlGk2Kg+84wCHZhQyk6CxKDF14FJfGvNCFfyTfUsFvhOUqBSyM+B.lI0oQeXt9Lqgi3dF.4cez2VNk+iu1c9RiueX2XxYrwxoQL31yHb4wSTAPcIQPZ3Rn+dP.FAUdIBhd84Ryxn7.P2dsgAifWFy0yKtr5+1v5+JE2wZJWSmsYNVZCbDtStM3X9JtGXMz2mQ0qHXEqQe41YeF5SpDMWdxDhNhCZAq8RBbgs7TF71kRlvn1gKaCzT61FaSGvkI8RM9M7jGriwFmGryhfn.BMRcDMaFyrD8tod.NIS+9QUqIFa6Nnz4N.mU6VsQAv97inTyw+ovnxlw7rs.yy2BLuXKv7xs.ytaAlWsEXd8Mhw7oz2knUAYiCfioCSWFgwCkDPYkpBQ+AzORjoL

davidhealey avatar Aug 03 '22 12:08 davidhealey

I'm pretty sure this is the commit - https://github.com/christophhart/HISE/commit/8fbac8fd3a78da3b5146b4e84906922a78931c75#diff-1a9474c689c7ef0d4899f43a74bacf4f96bc98280f84335c03debdfae66971f7R900

My guess it that since the file browser is closed by the time this is called there is no reference?

davidhealey avatar Aug 05 '22 00:08 davidhealey

Seems to be working fine with the latest version. Not sure when the issue was resolved but I'll close this issue.

davidhealey avatar Feb 15 '23 01:02 davidhealey