Comments (6)
@toh-ableton I've given a new build to Oli with your kind informations :) it should fix it in Xcode 15 hosts. (Got the feedback it's all right now)
from dplug.
Uh, I'm not in Live 12 beta...
Certainly no repro with Sonoma 14.0 + any type of Live 11
- maybe with Sonoma 14.3? => nope
from dplug.
I believe the bug starts on this line:
Dplug/window/dplug/window/cocoawindow.d
Line 487 in e6640a4
The rect passed in is the dirty rect and can be larger than the view's bounds. If this computes a firstPixel
that is outside _wfb
's buffer
Dplug/window/dplug/window/cocoawindow.d
Line 492 in e6640a4
or a
sizeNeeded
going beyond the endDplug/window/dplug/window/cocoawindow.d
Line 493 in e6640a4
it will crash here:
Dplug/window/dplug/window/cocoawindow.d
Line 496 in e6640a4
Apple mentions this in the AppKit release notes:
Some patterns that have historically worked will require adjustment:
[...]
- Filling the dirty rect of a view inside of
-drawRect
. A fairly common pattern is to simply rect fill the dirty rect passed into an override ofNSView.draw()
. The dirty rect can now extend outside of your view’s bounds. This pattern can be adjusted by filling the bounds instead of the dirty rect, or by settingclipsToBounds = true
.- Confusing a view’s bounds and its dirty rect. The dirty rect passed to
.drawRect()
should be used to determine what to draw, not where to draw it. UseNSView.bounds
when determining the layout of what your view draws. (10905750)
from dplug.
To reproduce the host must be built with Xcode 15
A x86_64 built with LDC 1.28 also doesn't exhibit the issue for some unknown reason.
from dplug.
- for good measure test the new build on 10.15, before drawRect about broke every year
from dplug.
Fixed in latest tag
from dplug.
Related Issues (20)
- PBR tuning widget
- Better mipmap halfband filter HOT 10
- Linear RGB renderer
- Some Monterey and Ventura macOS deletes the Mac and Windows installer after ZIP download HOT 4
- Subnormal problem? In large session. HOT 1
- FFT with AVX semantics HOT 2
- Wiki: Better env var GUI hint in Dplug VST2 Guide HOT 3
- More macOS crashes , like issue 741 HOT 2
- More Windows installer convenience HOT 1
- Cubase Pro 13 + unknown format + Windows 10 + VST3 => not recognized, can't escape blacklist
- REAPER + AU => no latency reporting? HOT 3
- destroyNoGC(interface) HOT 1
- Garageband 10.4 + Sonoma 14.2.1 + AU + Graillon 2.8(?) => no show HOT 4
- Windows + Cubase v13 + VST3 + Inner Pitch 1.1 HOT 1
- 1-1 mono + Inner Pitch => crash HOT 3
- Consider other build options
- AAX + macOS Catalina + Panagement 2.6 => instacrash
- Graillon 2.8 + Windows 11 + Protools 12.6 => not installing!
- usability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dplug.