Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Studio One 7 + AU or VST) or (FL 2024 + VST3) + macOS 13 => "does not work" #905

Closed
rstephane opened this issue Jan 25, 2025 · 12 comments
Closed
Labels
Wont-fix Issue will not be resolved.

Comments

@rstephane
Copy link
Collaborator

Hello,
I am on a MAC OS 13.7 and when I launch FL 2024 and upload my plugin on a track, FL Studio crashes. No time to launch some sounds , etc.
same with Studio one :(

I have MAC OS 13.7 with Dplug 15.0.8 and LDC 1.39 and Dub 1.38

to be more precise, it doesnot work : FL 2024 1.2 -> VST3 (works in case I upload the AU or the CLAP version)

it doesnot Studio one 7.0.2 -> AU + VST (works with CLAP)

What can I do to help to find a way to solve this ?
tell me if you need more info.

Regards

@p0nce
Copy link
Collaborator

p0nce commented Jan 25, 2025

Hello,
I have no idea what happens there just with that information.
If you launch Studio One on the cmdline /Application//Contents/MacOS/ then you can printf your way to the bug.

@p0nce p0nce changed the title [daw crash] got daw crash when uploading my plugins on a track (Studio One 7 + AU or VST) or (FL 2024 + VST3) + macOS 13 => "does not work" Jan 25, 2025
@p0nce
Copy link
Collaborator

p0nce commented Jan 25, 2025

What you should also do is create an installer and run it, else you might have trouble reproducing 100% your issue unless on Logic. It seems there are caches if you just use --publish, I had trouble this way and tested former version.

To be 100% sure

  • delete from plugin directories
  • build with release mode, installer (implies codesigning)
  • run installer
  • relaunch DAW

Only then if the bug happen we can be sure there is an issue, else it might be a wrong binary, it happens to me all the time except with Logic for some reason

@p0nce
Copy link
Collaborator

p0nce commented Jan 25, 2025

you say your plugin crash, please post your crash log

@p0nce p0nce added the Unconfirmed This issue describe a bug that hasn't been reproduced yet. label Jan 25, 2025
@rstephane
Copy link
Collaborator Author

rstephane commented Jan 26, 2025 via email

@rstephane
Copy link
Collaborator Author

I followed your advices/procedure (remove the pluginsd from folders, recreate a signed installation, etc.)

For Studio One , here is the log :
(ldc-1.39.0)[134 sribas@STEPH-MacBook /]% /Applications/Studio\ One\ 7.app/Contents/MacOS/Studio\ One

Warning: UCNET:Enabled UDP multicast on official port 47809 (1 sockets)

Warning: UCNET:Local UDP port bound to 53035 (2 sockets)

Warning: UCNET:Adding server via UDP discovery 192.168.1.52 : tcp 49934 udp 52447 (alive event)

Warning: UCNET:Server "Plug-in Scanner" (id = "{1E2B6426-D954-A04D-A9C0-2F0CA2B36F7E}.11979") resolved at host "192.168.1.52", tcp 49934 udp 52447

Warning: UCNET:Resolving hostname localhost...

Warning: UCNET:Connecting to localhost...

Warning: UID conflict on class registration: KV_Element (AudioSynth VST2) => used by: Element (AudioSynth VST3/Synth)

Warning: UID conflict on class registration: KV_ElementFX (AudioEffect VST2) => used by: Element FX (AudioEffect VST3)

Warning: UID conflict on class registration: TAL-Reverb-4 (AudioEffect VST2) => used by: TAL Reverb 4 Plugin (AudioEffect VST3)

Warning: UID conflict on class registration: ARP 2600 V3 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Analog Lab V (AudioEffect AudioUnit)

Warning: UID conflict on class registration: FL Studio (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Buchla Easel V (AudioEffect AudioUnit)

Warning: UID conflict on class registration: DX7 V (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Element (AudioEffect AudioUnit)

Warning: UID conflict on class registration: HISE (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Jun-6 V (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Pigments (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Mini V3 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Mellotron V (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Massive (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Reaktor5 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Reaktor 6 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Synplant (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Phoscyon (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Phoscyon 2 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: Vocoder V (AudioEffect AudioUnit)

Warning: UID conflict on class registration: iZotope Iris 2 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: TripleCheese (AudioEffect AudioUnit)

Warning: UID conflict on class registration: DLSMusicDevice (AudioEffect AudioUnit)

Warning: UID conflict on class registration: impOSCar2 (AudioEffect AudioUnit)

Warning: UID conflict on class registration: AUMIDISynth (AudioEffect AudioUnit)

Warning: UID conflict on class registration: TAL-NoiseMaker (AudioEffect AudioUnit)

Warning: UID conflict on class registration: AUSampler (AudioEffect AudioUnit)

Warning: UCNET:Removing server via UDP discovery 192.168.1.52 : tcp 49934 udp 52447 (leave event)

Warning: UCNET:Server "Plug-in Scanner" removed.

Warning: UCNET:Adding server via UDP discovery 192.168.1.52 : tcp 49936 udp 50057 (alive event)

Warning: UCNET:Server "Plug-in Scanner" (id = "{38151EBC-4867-5142-BC80-A106BF8C828C}.11980") resolved at host "192.168.1.52", tcp 49936 udp 50057

Warning: UCNET:Resolving hostname localhost...

Warning: UCNET:Connecting to localhost...

Warning: UCNET:Removing server via UDP discovery 192.168.1.52 : tcp 49936 udp 50057 (leave event)

Warning: UCNET:Server "Plug-in Scanner" removed.

Warning: [UserProfileManager] Signed in to Firestore

Warning: UCNET:Started listening on TCP port 49944 (2 sockets)

Warning: UCNET:Server "Studio One/7.0.2.103351 macOS x64" registration reply received.

Segmentation fault: 11

-- end

tell me if you need more stuf.

@rstephane
Copy link
Collaborator Author

For FL Studio, here is the log:

(ldc-1.39.0)[126 sribas@STEPH-MacBook /]% /Applications/FL\ Studio\ 2024.app/Contents/MacOS/OsxFL
Use FastMM
objc[12007]: Class TCustomWKWebView is implemented in both /Applications/FL Studio 2024.app/Contents/Libs/FLEngine_x64.dylib (0x10f0c3b98) and /Applications/FL Studio 2024.app/Contents/Resources/FL/Plugins/Fruity/Generators/FLEX/FLEX_x64.dylib (0x122922eb8). One of the two will be used. Which one is undefined.
objc[12007]: Class TLoadDelegate is implemented in both /Applications/FL Studio 2024.app/Contents/Libs/FLEngine_x64.dylib (0x10f0c3be8) and /Applications/FL Studio 2024.app/Contents/Resources/FL/Plugins/Fruity/Generators/FLEX/FLEX_x64.dylib (0x122922f08). One of the two will be used. Which one is undefined.
objc[12007]: Class TWebPolicyDelegate is implemented in both /Applications/FL Studio 2024.app/Contents/Libs/FLEngine_x64.dylib (0x10f0c3c38) and /Applications/FL Studio 2024.app/Contents/Resources/FL/Plugins/Fruity/Generators/FLEX/FLEX_x64.dylib (0x122922f58). One of the two will be used. Which one is undefined.
objc[12007]: Class TScriptDelegate is implemented in both /Applications/FL Studio 2024.app/Contents/Libs/FLEngine_x64.dylib (0x10f0c3c88) and /Applications/FL Studio 2024.app/Contents/Resources/FL/Plugins/Fruity/Generators/FLEX/FLEX_x64.dylib (0x122922fa8). One of the two will be used. Which one is undefined.
OsxFL(12007,0x7ff84ec43800) malloc: Incorrect checksum for freed object 0x7fd13a04d400: probably modified after being freed.
Corrupt value: 0x3a8a1998bb359718
OsxFL(12007,0x7ff84ec43800) malloc: *** set a breakpoint in malloc_error_break to debug
Abort trap: 6

-- end

I am wondering if the issue doesnot come from my code and not from the Dplug framework ;-)

@p0nce
Copy link
Collaborator

p0nce commented Jan 26, 2025

Sorry for my question, how to I get the crash log ?
regards

Le sam. 25 janv. 2025 à 14:16, p0nce @.***> a écrit :

In Spotlight, find the Console app then it will display all recent crash, the thread that crash and its stack trace.
I need the stack trace part that crash in a Dplug plugin. (beware, some host are hosting plugins in another process)

Advice: make a repro script: a .sh that builds, then --publish or open the explorer to make you launch the installer, then wait for keypress, then launch the DAW while showing stdio. Then printf your way until the crash. I'd say there is a 40% chance it comes from your code intuitively, there have been a few changes in Dplug as well so who knows? Someone need to investigate.

@rstephane
Copy link
Collaborator Author

oki, I do it and come back top you . I love the option --publish !!! it helps me a lot to reduce the number of manipulation i am doing :)

@p0nce
Copy link
Collaborator

p0nce commented Jan 26, 2025

Yes but sometimes it's not sufficient to truly update for some reason, in REAPER and FL I think I had trouble at times, and ths installer was needed :(

@rstephane
Copy link
Collaborator Author

I think we can close the issue for the moment as I did as you mentionned and got this debug message: core.exception.ArrayIndexError@source/libs/academic_downsampling.d(232): index [736] is out of bounds for array of length 736

I have to check into my downsampling lib further to find the bug I guess :-)

@p0nce
Copy link
Collaborator

p0nce commented Jan 27, 2025

Ah if you find something, it would be very cool to update the Wasteland!

@p0nce
Copy link
Collaborator

p0nce commented Jan 28, 2025

User confirmed a bug in user code, with no particular Dplug action item

@p0nce p0nce closed this as completed Jan 28, 2025
@p0nce p0nce added Wont-fix Issue will not be resolved. and removed Unconfirmed This issue describe a bug that hasn't been reproduced yet. labels Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Wont-fix Issue will not be resolved.
Projects
None yet
Development

No branches or pull requests

2 participants