Problem with AU crashing Logic X

DSP, Plugin and Host development discussion.
RELATED
PRODUCTS

Post

Hi. I am not a dev. I am posting here in hope that someone can help me solve a problem. I have contacted the dev of the plugin but they are not able to help. I have googled extensively with no help. I emailed Apple about it and got no reply.

The plugin is Sonible smartEQlive. It works on my macbook pro. On my main music mac, a mac pro, it crashes Logic when it's instantiated. I can get it to work if I turn of the GUI. It will open in the file player VOX. But it wont open in other audio apps I have, either not doing anything or crashing them. The main problem is that it crashes Logic.

I tried re-installing, removing any file related I could find with a Path Finder search and re-installing. Recently I had to reformat and reinstall the OS 10.12 and back up from Time Machine.That didn't help.

It will work in Logic if I create a new user and run it from there. So it seems like something in my user files is making it not work.

Any ideas I can try? thanks for the help.

Post

Sorry to tell it, and my reply won't help much, but Apple owed me (and likely to you) some gray hair. Very sub-standard APIs, so developers easily produce incorrect code, or the code that does not work in all cases. Of course, developers should debug this, but it's not possible in all cases. On Windows, there are usually no problems with older software running on the next OS update. Some of my software from 15 years ago still runs like new on latest Windows.
Image

Post

Have you tried running AU validation, what ddoes it say ?

https://www.youtube.com/watch?v=_1riMuU7OGs

Post

Yes. I am no Apple fan. I have been a custerer since 1981 and over the last 10 year, well 12 now, Apple has gone down hill. However I am embedded in their products but I do not buy new Apple products anymore and won't unless they clean up their act.

I am just looking for a solution to get this plugin to work. Or some kind of ammunition to push back on Sonible to help me. They say they can't. I get the impresstion they dont have in house devs and perhaps contract that work out which makes support difficult. I am only guessing but that's my feeling based on the emails I've gotten.

If someone could give me some ideas that would be great. :phones:

Post

No_Use wrote:Have you tried running AU validation, what ddoes it say ?
It passes validate in Logic and shows up in the plugin menu. Here's what I get when I validate:

Code: Select all

validating Audio Unit smartEQlive by sonible:
AU Validation Tool
    Version: 1.6.1a1 
    Copyright 2003-2013, Apple Inc. All Rights Reserved.
    Specify -h (-help) for command options

--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'smEl' - 'Soni'
--------------------------------------------------
Manufacturer String: sonible
AudioUnit Name: smartEQlive
Component Version: 1.0.1 (0x10001)

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
Time to open AudioUnit:         373.089 ms
Verifying the signature on the signed executable: /Library/Audio/Plug-Ins/Components/smartEQlive.component/Contents/MacOS/smartEQlive
### Succeeded ###
WARM:
Time to open AudioUnit:         47.988  ms
FIRST TIME:
Time for initialization:        0.015 ms

* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
 Default Bus Count:1
    Bus Name: Input
    Default Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

Output Scope Bus Configuration:
 Default Bus Count:1
    Bus Name: Output
    Default Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

* * PASS
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:

* * PASS
--------------------------------------------------
VERIFYING RECOMMENDED PROPERTIES:
  VERIFYING PROPERTY: Latency
    PASS
  VERIFYING PROPERTY: Tail Time
    PASS
  VERIFYING PROPERTY: Bypass Effect
    PASS

* * PASS
--------------------------------------------------
VERIFYING OPTIONAL PROPERTIES:

* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:

VERIFYING CUSTOM UI
Cocoa Views Available: 1
  JUCE_AUCocoaViewClass_23ed685f951e3baf
    PASS

HAS FACTORY PRESETS

VERIFYING CLASS INFO
    PASS

TESTING HOST CALLBACKS
    PASS

* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:

# # # 66 Global Scope Parameters:

* * PASS
--------------------------------------------------
FORMAT TESTS:

Reported Channel Capabilities (explicit):
      [1, 1]  [2, 2]  

Input/Output Channel Handling:
1-1   1-2   1-4   1-5   1-6   1-7   1-8   2-2   2-4   2-5   2-6   2-7   2-8   4-4   4-5   5-5   6-6   7-7   8-8
X                                         X                                                                       

* * PASS
--------------------------------------------------
RENDER TESTS:

Input Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Output Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Render Test at 512 frames
Slicing Render Test at 64 frames
  PASS


Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 48000 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
Render Test at 4096 frames, sample rate: 11025 Hz
Render Test at 512 frames, sample rate: 44100 Hz
  PASS

2 Channel Test:
Render Test at 512 frames
  PASS

Checking connection semantics:
Connection format:
AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
  PASS

Bad Max Frames - Render should fail
  PASS

Checking parameter setting
Using AudioUnitSetParameter
Using AudioUnitScheduleParameter
  PASS

Test MIDI
  PASS

* * PASS
--------------------------------------------------
AU VALIDATION SUCCEEDED.
--------------------------------------------------


validation result: successfully validated

updating properties of AU smartEQlive by sonible…done.
When Logic crashes after I try and instantiate smartEQlive here is the debug output. I deleted a lot due to post character limits.

Code: Select all

Process:               Logic Pro X [28694]
Path:                  /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X
Identifier:            com.apple.logic10
Version:               10.4.1 (4905.31)
Build Info:            MALogic-4905030000000000~2
App Item ID:           634148309
App External ID:       825945185
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           Logic Pro X [28694]
User ID:               501

PlugIn Path:             /Library/Audio/Plug-Ins/Components/smartEQlive.component/Contents/MacOS/smartEQlive
PlugIn Identifier:       com.sonible.smartEQlive
PlugIn Version:          1.0.1 (1.0.1)

Date/Time:             2018-07-05 14:43:15.209 -0400
OS Version:            Mac OS X 10.12.6 (16G29)
Report Version:        12
Anonymous UUID:        ABFA2752-C81C-D43D-22B6-EC1F852A73E7


Time Awake Since Boot: 74000 seconds

System Integrity Protection: disabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000018
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

VM Regions Near 0x18:
--> 
    __TEXT                 000000010823b000-0000000109d23000 [ 26.9M] r-x/rwx SM=COW  /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.sonible.smartEQlive       	0x00000001b187b31e 0x1b17e8000 + 602910
1   ???                           	0x00007fff579c07b0 0 + 140734663231408
2   com.sonible.smartEQlive       	0x00000001b186e33c 0x1b17e8000 + 549692
3   com.sonible.smartEQlive       	0x00000001b1843c4a 0x1b17e8000 + 375882
4   com.sonible.smartEQlive       	0x00000001b1843b26 0x1b17e8000 + 375590
5   com.sonible.smartEQlive       	0x00000001b1807e43 0x1b17e8000 + 130627
6   com.sonible.smartEQlive       	0x00000001b183621a 0x1b17e8000 + 320026
7   com.sonible.smartEQlive       	0x00000001b1848fc6 0x1b17e8000 + 397254
8   com.sonible.smartEQlive       	0x00000001b17f2767 0x1b17e8000 + 42855
9   com.apple.music.apps.MAAudioUnitSupport	0x000000010a9fd31e 0x10a9eb000 + 74526
10  com.apple.music.apps.MAAudioEngine	0x000000010c8fb99f CMDAudioUnit::MakeEditorView(long, TGroupID) + 303
11  com.apple.logic10             	0x0000000109587659 0x10823b000 + 20235865
12  com.apple.logic10             	0x0000000109211c12 0x10823b000 + 16608274
13  com.apple.logic10             	0x00000001092115bb 0x10823b000 + 16606651
14  com.apple.logic10             	0x0000000109215045 0x10823b000 + 16621637
15  com.apple.logic10             	0x0000000108e09ba5 0x10823b000 + 12381093
16  com.apple.logic10             	0x00000001085eb130 0x10823b000 + 3866928
17  com.apple.logic10             	0x0000000109596d20 0x10823b000 + 20299040
18  com.apple.LogicUIKit          	0x000000010d9beb30 0x10d908000 + 748336
19  libsystem_trace.dylib         	0x00007fffceaea3a7 _os_activity_initiate_impl + 53
20  com.apple.AppKit              	0x00007fffb6f5d721 -[NSApplication(NSResponder) sendAction:to:from:] + 456
21  com.apple.LogicUIKit          	0x000000010da1854c 0x10d908000 + 1115468
22  com.apple.logic10             	0x0000000108bbda69 0x10823b000 + 9972329
23  com.apple.AppKit              	0x00007fffb6a41cc4 -[NSControl sendAction:to:] + 86
24  com.apple.LogicUIKit          	0x000000010d93cc25 0x10d908000 + 216101
25  libsystem_trace.dylib         	0x00007fffceaea3a7 _os_activity_initiate_impl + 53
26  com.apple.AppKit              	0x00007fffb6a9ef46 -[NSButtonCell performClick:] + 690
27  com.apple.LogicUIKit          	0x000000010d93c6a6 0x10d908000 + 214694
28  com.apple.LogicUIKit          	0x000000010db35452 0x10d908000 + 2282578
29  com.apple.LogicUIKit          	0x000000010db0b76a 0x10d908000 + 2111338
30  com.apple.LogicUIKit          	0x000000010db0e502 0x10d908000 + 2123010
31  com.apple.LogicUIKit          	0x000000010db148c6 0x10d908000 + 2148550
32  com.apple.AppKit              	0x00007fffb70d924f -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 6341
33  com.apple.AppKit              	0x00007fffb70d5a6c -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1942
34  com.apple.AppKit              	0x00007fffb70d4f0a -[NSWindow(NSEventRouting) sendEvent:] + 541
35  com.apple.logic10             	0x00000001085fdefe 0x10823b000 + 3944190
36  com.apple.AppKit              	0x00007fffb6f59681 -[NSApplication(NSEvent) sendEvent:] + 1145
37  com.apple.logic10             	0x000000010974b524 0x10823b000 + 22086948
38  com.apple.logic10             	0x000000010974b038 0x10823b000 + 22085688
39  com.apple.logic10             	0x0000000109746300 0x10823b000 + 22065920
40  com.apple.logic10             	0x000000010974b55e 0x10823b000 + 22087006
41  com.apple.logic10             	0x000000010974b038 0x10823b000 + 22085688
42  com.apple.AppKit              	0x00007fffb67d4427 -[NSApplication run] + 1002
43  com.apple.AppKit              	0x00007fffb679ee0e NSApplicationMain + 1237
44  com.apple.logic10             	0x0000000108bbdf23 0x10823b000 + 9973539
45  libdyld.dylib                 	0x00007fffce8b8235 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffce9e6bf2 __psynch_cvwait + 10
1   libsystem_pthread.dylib       	0x00007fffcead27fa _pthread_cond_wait + 712
2   libc++.1.dylib                	0x00007fffcd4544cd std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 47
3   com.apple.JavaScriptCore      	0x00007fffbbd1643c void std::__1::condition_variable_any::wait<std::__1::unique_lock<bmalloc::Mutex> >(std::__1::unique_lock<bmalloc::Mutex>&) + 108
4   com.apple.JavaScriptCore      	0x00007fffbbd163bb bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadRunLoop() + 155
5   com.apple.JavaScriptCore      	0x00007fffbbd1628d bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>::threadEntryPoint(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*) + 29
6   com.apple.JavaScriptCore      	0x00007fffbbd1653d void* std::__1::__thread_proxy<std::__1::tuple<void (*)(bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*), bmalloc::AsyncTask<bmalloc::Heap, void (bmalloc::Heap::*)()>*> >(void*) + 93
7   libsystem_pthread.dylib       	0x00007fffcead193b _pthread_body + 180
8   libsystem_pthread.dylib       	0x00007fffcead1887 _pthread_start + 286
9   libsystem_pthread.dylib       	0x00007fffcead108d thread_start + 13

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	0x00007fffce9df34a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffce9de797 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fffb8ce8874 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fffb8ce7cf1 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fffb8ce7544 CFRunLoopRunSpecific + 420
5   com.apple.AppKit              	0x00007fffb692cf02 _NSEventThread + 205
6   libsystem_pthread.dylib       	0x00007fffcead193b _pthread_body + 180
7   libsystem_pthread.dylib       	0x00007fffcead1887 _pthread_start + 286
8   libsystem_pthread.dylib       	0x00007fffcead108d thread_start + 13

Thread 3:: MIDIClientNotificationThread
0   libsystem_kernel.dylib        	0x00007fffce9df34a mach_msg_trap + 10
1   libsystem_kernel.dylib        	0x00007fffce9de797 mach_msg + 55
2   com.apple.CoreFoundation      	0x00007fffb8ce8874 __CFRunLoopServiceMachPort + 212
3   com.apple.CoreFoundation      	0x00007fffb8ce7cf1 __CFRunLoopRun + 1361
4   com.apple.CoreFoundation      	0x00007fffb8ce7544 CFRunLoopRunSpecific + 420
5   com.apple.Foundation          	0x00007fffba718252 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 277
6   com.apple.Foundation          	0x00007fffba7a89b5 -[NSRunLoop(NSRunLoop) runUntilDate:] + 111
7   com.apple.logic10             	0x00000001086fea99 0x10823b000 + 4995737
8   libsystem_pthread.dylib       	0x00007fffcead193b _pthread_body + 180
9   libsystem_pthread.dylib       	0x00007fffcead1887 _pthread_start + 286
10  libsystem_pthread.dylib       	0x00007fffcead108d thread_start + 13

DELTED DUE TO POST CHARACTER LIMITS

Binary Images:
       0x10823b000 -        0x109d22fff  com.apple.logic10 (10.4.1 - 4905.31) <54DE5BB2-B10E-3E39-B287-413CAAAE1276> /Applications/Logic Pro X.app/Contents/MacOS/Logic Pro X
       0x10a4bb000 -        0x10a8f9ff7  com.apple.music.apps.MALogicLegacySong (10.4.1 - 4905.31) <53459F49-3DE4-3CFE-8591-9EDDE1D30A94> /Applications/Logic Pro X.app/Contents/Frameworks/MALogicLegacySong.framework/Versions/A/MALogicLegacySong
       0x10a9e2000 -        0x10a9e4fff  com.apple.music.apps.MAResourcesPlugInsShared (10.4.1 - 4905.31) <0B594672-D98C-3905-96CC-ED0368E6EF69> /Applications/Logic Pro X.app/Contents/Frameworks/MAResourcesPlugInsShared.framework/Versions/A/MAResourcesPlugInsShared
       0x10a9eb000 -        0x10aa02ff3  com.apple.music.apps.MAAudioUnitSupport (10.4.1 - 4905.31) <EC108457-DEB1-312E-B469-0E330B3F6D10> /Applications/Logic Pro X.app/Contents/Frameworks/MAAudioUnitSupport.framework/Versions/A/MAAudioUnitSupport
       0x10aa17000 -        0x10aa56fff  com.apple.iTunesLibrary (12.7.5 - 12.7.5) <D2100171-5F2D-3ACC-B144-8AB066D43C4B> /Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary
       0x10aa81000 -        0x10aac7ff7  com.apple.music.apps.MALoopManagement (10.4.1 - 4905.31) <9DDE6284-DE40-3946-908D-9D0807524E5B> /Applications/Logic Pro X.app/Contents/Frameworks/MALoopManagement.framework/Versions/A/MALoopManagement
       0x10aaf7000 -        0x10ad26fff  com.apple.music.apps.MACore (10.4.1 - 4905.31) <80AB6279-1BC1-302E-BF0D-7DDDFAB66EE0> /Applications/Logic Pro X.app/Contents/Frameworks/MACore.framework/Versions/A/MACore
       0x10ae7e000 -        0x10aebcff7  com.apple.audio.midi.CoreMIDI (1.10 - 88) <5E2D1F53-B466-312E-AEA7-117B68C9A7F0> /System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
       0x10aee6000 -        0x10b024fff  com.apple.music.apps.MAVectorUIKit (10.4.1 - 4905.31) <59BE0CFD-0011-34F5-9AF5-C3E1A8101F1B> /Applications/Logic Pro X.app/Contents/Frameworks/MAVectorUIKit.framework/Versions/A/MAVectorUIKit
       0x10b098000 -        0x10b1b7fff  com.apple.music.apps.MAHarmony (10.4.1 - 4905.31) <4B076524-9336-3A20-82AF-6C75D634B43A> /Applications/Logic Pro X.app/Contents/Frameworks/MAHarmony.framework/Versions/A/MAHarmony
       0x10b1f7000 -        0x10b30dffb  com.apple.music.apps.OMF (10.4.1 - 4847) <267A008D-1846-329A-9161-BC19EF71D0FE> /Applications/Logic Pro X.app/Contents/Frameworks/OMF.framework/Versions/A/OMF
       0x10b333000 -        0x10bce9fff  com.apple.music.apps.MADSP (10.4.1 - 4905.31) <09CBCB8A-ABA0-339A-A3FF-E558AA87F96E> /Applications/Logic Pro X.app/Contents/Frameworks/MADSP.framework/Versions/A/MADSP
       0x10c627000 -        0x10c62bff7  com.apple.music.apps.MAResources (10.4.1 - 4905.31) <FBA7FD18-1D8F-34C2-804C-BE7A5D54E17A> /Applications/Logic Pro X.app/Contents/Frameworks/MAResources.framework/Versions/A/MAResources
       0x10c638000 -        0x10c694ff7  com.apple.audio.CoreAudioKit (1.6.6 - 1.6.6) <DD6F8D1F-69EE-335A-8654-72B24E25423D> /System/Library/Frameworks/CoreAudioKit.framework/Versions/A/CoreAudioKit
       0x10c6e1000 -        0x10c7c5ff7  com.apple.music.apps.MAFiles (10.4.1 - 4905.31) <B3230D67-4050-373C-8E32-D5D459B1C568> /Applications/Logic Pro X.app/Contents/Frameworks/MAFiles.framework/Versions/A/MAFiles
       0x10c80f000 -        0x10c949fff  com.apple.music.apps.MAAudioEngine (10.4.1 - 4905.31) <EE03B180-C8B7-3941-A1B2-D98D5A331320> /Applications/Logic Pro X.app/Contents/Frameworks/MAAudioEngine.framework/Versions/A/MAAudioEngine
       0x10cb0d000 -        0x10d200ff7  com.apple.music.apps.MAPlugInGUI (10.4.1 - 4905.31) <71F32F1E-4B86-3835-AA7F-7445494815C9> /Applications/Logic Pro X.app/Contents/Frameworks/MAPlugInGUI.framework/Versions/A/MAPlugInGUI
       0x10d569000 -        0x10d858ff7  com.apple.music.apps.MAMusicAnalysis (10.4.1 - 4905.31) <EB68510A-9CD3-3959-A0D5-A887E27299AE> /Applications/Logic Pro X.app/Contents/Frameworks/MAMusicAnalysis.framework/Versions/A/MAMusicAnalysis
       0x10d8d1000 -        0x10d8f9fff  com.apple.music.apps.MAVideo (10.4.1 - 4905.31) <6CC50119-3D18-33EC-8701-7A89BFC77576> /Applications/Logic Pro X.app/Contents/Frameworks/MAVideo.framework/Versions/A/MAVideo
       0x10d908000 -        0x10dcb9fff  com.apple.LogicUIKit (10.4.1 - 4905.31) <A8C97245-A7D0-3C8C-B38B-382A95882F89> /Applications/Logic Pro X.app/Contents/Frameworks/MAToolKit.framework/Versions/A/MAToolKit
       0x10de06000 -        0x10e2e4ff7  com.apple.music.apps.Animal (10.4.1 - 4905.31) <01DADF47-07AE-3FF8-A785-EA0203A81F86> /Applications/Logic Pro X.app/Contents/Frameworks/Animal.framework/Versions/A/Animal
       0x10e61b000 -        0x10e642ff3  com.apple.music.apps.MALoopBrowser (10.4.1 - 4847) <2C402FEB-B164-3C3B-BA28-14DC4B81283E> /Applications/Logic Pro X.app/Contents/Frameworks/MALoopBrowser.framework/Versions/A/MALoopBrowser
       0x10e658000 -        0x10e75cff7  com.apple.music.apps.MAWorkspace (10.4.1 - 4905.31) <798E7C5D-0CD8-3027-8CEF-E26E21808B19> /Applications/Logic Pro X.app/Contents/Frameworks/MAWorkspace.framework/Versions/A/MAWorkspace
       0x10e7c0000 -        0x10e80efff  com.apple.LogicUIKitHighLevel (10.4.1 - 4905.31) <8D405DCD-87AC-3AD9-B94F-C47C80B624D2> /Applications/Logic Pro X.app/Contents/Frameworks/MAToolKitHighLevel.framework/Versions/A/MAToolKitHighLevel

DELTED DUE TO POST CHARACTER LIMITS

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 53289
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=494.6M resident=0K(0%) swapped_out_or_unallocated=494.6M(100%)
Writable regions: Total=6.3G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=6.3G(100%)
 
                                  VIRTUAL   REGION 
REGION TYPE                          SIZE    COUNT (non-coalesced) 
===========                       =======  ======= 
Accelerate framework                 768K        6 
Activity Tracing                     256K        2 
CG backing stores                   10.4M       18 
CG image                            11.3M      140 
CoreAnimation                      205.1M      233 
CoreUI image data                   1464K       17 
CoreUI image file                    184K        4 
Foundation                            28K        3 
IOKit                               7940K        2 
Image IO                             9.9M      148 
JS JIT generated code                  8K        3 
JS JIT generated code (reserved)     1.0G        2         reserved VM address space (unallocated)
Kernel Alloc Once                      8K        2 
MALLOC                               4.6G      469 
MALLOC guard page                     48K       10 
MALLOC_LARGE (reserved)            270.6M       45         reserved VM address space (unallocated)
Memory Tag 242                        12K        2 
Memory Tag 249                      4736K        3 
Memory Tag 251                        16K        2 
OpenGL GLSL                          256K        4 
SQLite page cache                   2240K       36 
STACK GUARD                         56.5M      136 
Stack                               76.1M      291 
VM_ALLOCATE                          576K       50 
VM_ALLOCATE (reserved)               128K        5         reserved VM address space (unallocated)
WebKit Malloc                       2068K        7 
__DATA                              64.1M      422 
__GLSLBUILTINS                      2588K        2 
__IMAGE                              528K        2 
__LINKEDIT                         136.1M       83 
__POVERDDATA                           4K        2 
__POVERTEXT                            4K        2 
__TEXT                             358.5M      399 
__UNICODE                            556K        2 
dylib (reserved)                    28.0M        4         reserved VM address space (unallocated)
mapped file                        137.1M      139 
shared memory                       16.7M       22 
===========                       =======  ======= 
TOTAL                                7.0G     2682 
TOTAL, minus reserved VM space       5.7G     2682 

Post

I can make only two conclusions from this crash report:
1) There is an attempt to access null pointer somewhere in the code (KERN_INVALID_ADDRESS at 0x0000000000000018)
2) This attempt happens on main thread (Thread 0 Crashed:: Dispatch queue: com.apple.main-thread)

So it looks like there is a real bug in the UI code or during plugin instantiation. There are no symbol names in the binary so it will be hard to debug this without sources.

Still, I have a wild guess about this. Plugin may crash because it silently fails to load resources (or not silently, you may check the Logic's logs). I would compare file system case-sensivity on both machines. For example, plugin may have resource named resource.ext, but in the code it is referenced as Resource.ext (or vice versa). In this case it won't be found on case-sensitive file systems which will cause a crash later.

Post

plexuss wrote:
No_Use wrote:Have you tried running AU validation, what ddoes it say ?
It passes validate in Logic and shows up in the plugin menu. Here's what I get when I validate:

Code: Select all

validating Audio Unit smartEQlive by sonible:
AU Validation Tool
    Version: 1.6.1a1 
    Copyright 2003-2013, Apple Inc. All Rights Reserved.
    Specify -h (-help) for command options

--------------------------------------------------
VALIDATING AUDIO UNIT: 'aufx' - 'smEl' - 'Soni'
--------------------------------------------------
Manufacturer String: sonible
AudioUnit Name: smartEQlive
Component Version: 1.0.1 (0x10001)

* * PASS
--------------------------------------------------
TESTING OPEN TIMES:
COLD:
Time to open AudioUnit:         373.089 ms
Verifying the signature on the signed executable: /Library/Audio/Plug-Ins/Components/smartEQlive.component/Contents/MacOS/smartEQlive
### Succeeded ###
WARM:
Time to open AudioUnit:         47.988  ms
FIRST TIME:
Time for initialization:        0.015 ms

* * PASS
--------------------------------------------------
VERIFYING DEFAULT SCOPE FORMATS:
Input Scope Bus Configuration:
 Default Bus Count:1
    Bus Name: Input
    Default Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

Output Scope Bus Configuration:
 Default Bus Count:1
    Bus Name: Output
    Default Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved

* * PASS
--------------------------------------------------
VERIFYING REQUIRED PROPERTIES:

* * PASS
--------------------------------------------------
VERIFYING RECOMMENDED PROPERTIES:
  VERIFYING PROPERTY: Latency
    PASS
  VERIFYING PROPERTY: Tail Time
    PASS
  VERIFYING PROPERTY: Bypass Effect
    PASS

* * PASS
--------------------------------------------------
VERIFYING OPTIONAL PROPERTIES:

* * PASS
--------------------------------------------------
VERIFYING SPECIAL PROPERTIES:

VERIFYING CUSTOM UI
Cocoa Views Available: 1
  JUCE_AUCocoaViewClass_23ed685f951e3baf
    PASS

HAS FACTORY PRESETS

VERIFYING CLASS INFO
    PASS

TESTING HOST CALLBACKS
    PASS

* * PASS
--------------------------------------------------
PUBLISHED PARAMETER INFO:

# # # 66 Global Scope Parameters:

* * PASS
--------------------------------------------------
FORMAT TESTS:

Reported Channel Capabilities (explicit):
      [1, 1]  [2, 2]  

Input/Output Channel Handling:
1-1   1-2   1-4   1-5   1-6   1-7   1-8   2-2   2-4   2-5   2-6   2-7   2-8   4-4   4-5   5-5   6-6   7-7   8-8
X                                         X                                                                       

* * PASS
--------------------------------------------------
RENDER TESTS:

Input Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Output Format: AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
Render Test at 512 frames
Slicing Render Test at 64 frames
  PASS


Render Test at 64 frames, sample rate: 22050 Hz
Render Test at 137 frames, sample rate: 96000 Hz
Render Test at 4096 frames, sample rate: 48000 Hz
Render Test at 4096 frames, sample rate: 192000 Hz
Render Test at 4096 frames, sample rate: 11025 Hz
Render Test at 512 frames, sample rate: 44100 Hz
  PASS

2 Channel Test:
Render Test at 512 frames
  PASS

Checking connection semantics:
Connection format:
AudioStreamBasicDescription:  1 ch,  44100 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved
  PASS

Bad Max Frames - Render should fail
  PASS

Checking parameter setting
Using AudioUnitSetParameter
Using AudioUnitScheduleParameter
  PASS

Test MIDI
  PASS

* * PASS
--------------------------------------------------
AU VALIDATION SUCCEEDED.
--------------------------------------------------


validation result: successfully validated

updating properties of AU smartEQlive by sonible…done.
This is a good example why I say that those validation routines are pretty much useless, and a complete waste of time. Here is an example of a plug-in with bad behavior that passes AU validation. So, what's the point of it again?

OTOH, it already happened to me too that perfectly OK plug-ins crashed validation, but after enforced worked OK in the host. And plug-ins that take a LOOOONG time to validate, yet, thet are perfectly OK.

Sorry I can't help you.
Fernando (FMR)

Post

plexuss wrote:
It will work in Logic if I create a new user and run it from there. So it seems like something in my user files is making it not work.
.
If you move all your files to the new account it may continue to work.
~stratum~

Post

stratum wrote:
plexuss wrote:
It will work in Logic if I create a new user and run it from there. So it seems like something in my user files is making it not work.
.
If you move all your files to the new account it may continue to work.
... or if you move the essential file from the new account to the old one... Problem is: which!?

Could also be that one of the files has the wrong ownership. Who knows what's wrong.

But if it works on the new account, then the easiest fix might be to keep on using that account and ditch the old one.
We are the KVR collective. Resistance is futile. You will be assimilated. Image
My MusicCalc is served over https!!

Post

BertKoor wrote:
stratum wrote:
plexuss wrote:
It will work in Logic if I create a new user and run it from there. So it seems like something in my user files is making it not work.
.
If you move all your files to the new account it may continue to work.
... or if you move the essential file from the new account to the old one... Problem is: which!?

Could also be that one of the files has the wrong ownership. Who knows what's wrong.

But if it works on the new account, then the easiest fix might be to keep on using that account and ditch the old one.
Ditching the old one may cause problems accessing Apple Store and things like that, though (unless you can associate your Apple User ID to the new account, which sometimes is not an easy task)
Fernando (FMR)

Post

fmr wrote: This is a good example why I say that those validation routines are pretty much useless, and a complete waste of time. Here is an example of a plug-in with bad behavior that passes AU validation. So, what's the point of it again?
You need to implement a few properties semi-properly (eg. class info, stream format..) and then just return "noErr" (without any actual implementation) for a bunch of others.. and then in your rendering method you check for the maxFrames that has to fail (and then return "noErr" .. there's no need to pull inputs or do render notifications or any of that). That's about enough to pass auval... and you need several times more AU specific wrapper code to actually have a chance of getting a plugin working in any host.

So.. like.. passing auval means nil. :)

Post

Is there any way from the debug info to figure out what file(s) might be causing problems? I do think there was a big permissions issue with OS - I updated to Sierra by over-writing my previous OS (can't recall the name, the one before Sierra). I didn't do a clean install, just the update. But I had ongoing little issues that I felt were perhaps related to a permissions screw up - just my intuition telling me this after 37 years of working with apple products.

I thought that doing a complete clean install might help but no. so it's something in my user account. I just don't know what to look for.

It's odd that VOX will opn smartEQlive ok but so far my other audio apps don't. That might be a clue. :dog:

Post

Have you tried fixing file permissions? https://support.apple.com/en-us/ht203538
~stratum~

Post

stratum wrote:Have you tried fixing file permissions? https://support.apple.com/en-us/ht203538
Interesting you should mention this. After my post below I went snooping around the interwebs again and found this https://eclecticlight.co/2017/06/15/som ... rmissions/

I plan to try this after my time machine backup ends. After the clean reinstall and restore I am doing a fresh backup of my machine, 4.2T. This will take about 4 days to complete and I am 1/2 way through. After that I will try this process for repairing permissions.

I hate Apple. Steve Jobs be damned. :phones:

Post

plexuss wrote: I hate Apple. Steve Jobs be damned. :phones:
I'm not sure if it's his fault, but since a DAW might be loading many plugins at startup any plugin might screw up things by corrupting the process memory unless every plugin runs in an isolated environment, and this may cause an unrelated and otherwise bug-free plugin to crash the DAW. Not very likely, but possible.
~stratum~

Post Reply

Return to “DSP and Plugin Development”