Odd crash. Anyone else ever seen this.
The code that calls it is completely straightforward, we create a Path on the stack and then add our centred arc.
We’ve had two different Logic X users report this with a beta and no-one else. I wonder if it’s a complier cock up even but I’m going to go and check my work once again in case i’m missing something.
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000185d95000
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [0]
VM Regions Near 0x185d95000:
MALLOC_LARGE 0000000185d32000-0000000185d5d000 [ 172K] rw-/rwx SM=PRV
--> mapped file 0000000185d95000-0000000185d96000 [ 4K] r--/rwx SM=COW
Image IO 0000000185d96000-0000000185dd4000 [ 248K] rw-/rwx SM=PRV
Application Specific Information:
MALondonII | 94d3b910e514cb711d268bc5d953046c3bb629e70a5564a403b3bde53d2a75b7 | 9419a47d1e9fd89d618dfcd530b15af7c1e6c250 | 2018-09-24_08:40:21
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 com.deviousmachines.texture 0x00000001caff6bc1 void juce::Array<float, juce::DummyCriticalSection, 0>::add<float, float>(float const&, float, float) + 177
1 com.deviousmachines.texture 0x00000001cafce95f juce::Path::addCentredArc(float, float, float, float, float, float, float, bool) + 655
2 com.deviousmachines.texture 0x00000001cae921e9 ui::IgorKnobLookAndFeel::drawRotarySlider(juce::Graphics&, int, int, int, int, float, float, float, juce::Slider&) + 873
3 com.deviousmachines.texture 0x00000001cb090878 juce::Slider::paint(juce::Graphics&) + 232
4 com.deviousmachines.texture 0x00000001cb03f1c0 juce::Component::paintComponentAndChildren(juce::Graphics&) + 160
5 com.deviousmachines.texture 0x00000001cb03f633 juce::Component::paintComponentAndChildren(juce::Graphics&) + 1299