Thank you Stéphane and Henrik.

I'm pasting a Reaper crash log at the end of this email. This is from a
crash just now for a Faust web IDE plugin named "sinewave.vst." This is
after I ran the codesign correction scripts from my first message.

I saw the JSFX export option and I'll check it out. However, I think
students will be less impressed with that compared to making VSTs or AUs.

VST3 would be great too and JUCE is a possibility. But it would be even
better for these undergraduates if the web IDE's VST output worked for Mac.

-Seth

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               reaper_host_x86_64 [92589]
Path:                  /Applications/REAPER.app/Contents/Plugins/
reaper_host_x86_64.app/Contents/MacOS/reaper_host_x86_64
Identifier:            com.cockos.reaperhostx8664
Version:               6.80.0_d140e13u (6.80.0_d140e13u)
Code Type:             X86-64 (Translated)
Parent Process:        REAPER [92588]
Responsible:           REAPER [92586]
User ID:               1116670758

Date/Time:             2023-07-16 12:42:07.0918 -0500
OS Version:            macOS 13.2.1 (22D68)
Report Version:        12
Anonymous UUID:        036D35E7-C2F0-9378-18F0-9DE815450FCA

Sleep/Wake UUID:       14C58374-0B2F-41FF-AE3E-F12E9BE78A2F

Time Awake Since Boot: 350000 seconds
Time Since Wake:       904 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [92589]

Thread 0 Crashed:: */br_s Dispatch queue: com.apple.main-thread
0   sinewave                             0x10b581327 VSTPluginMain + 23
1   reaper_host_x86_64                   0x102e3c9f3
VST_BridgeSlaveHost::Create(SHM_MsgReplyConnection*,
SHM_MsgReplyConnection::WaitingMessage*) + 141
2   reaper_host_x86_64                   0x102e3aac8
DispatchConMsg(SHM_MsgReplyConnection*,
SHM_MsgReplyConnection::WaitingMessage*, bool) + 170
3   reaper_host_x86_64                   0x102e3acba
RunMainThreadQueue(SHM_MsgReplyConnection*) + 82
4   reaper_host_x86_64                   0x102e44a0b
SHM_MsgReplyConnection::RunInternal(int,
SHM_MsgReplyConnection::WaitingMessage**) + 477
5   reaper_host_x86_64                   0x102e3b772 main + 407
6   dyld                                 0x20323f310 start + 2432

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                          0x7ff7ffcd9614 0x7ff7ffcd5000 + 17940
1   runtime                          0x7ff7ffce5530 0x7ff7ffcd5000 + 66864
2   runtime                          0x7ff7ffce6f30 0x7ff7ffcd5000 + 73520

Thread 2:
0   runtime                          0x7ff7ffcf787c 0x7ff7ffcd5000 + 141436


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010b581310  rbx: 0x0000000102e3ca8a  rcx: 0x0000000000000000
 rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000001  rbp: 0x000000030a166690
 rsp: 0x000000030a166680
   r8: 0x0000000000000000   r9: 0x00000000000001ff  r10: 0x00000000000018a0
 r11: 0x0000600003ecb0f0
  r12: 0x00006000032c1200  r13: 0x000000013df0cfb0  r14: 0x00007fdb6e1045d0
 r15: 0x0000000000000000
  rip: <unavailable>       rfl: 0x0000000000000202
 tmp0: 0x000000010b581327 tmp1: 0x8548d3ffc057f8c5 tmp2: 0x00e8df89481f74c0


Binary Images:
       0x10b580000 -        0x10b5acfff sinewave (1.0.0)
<1eb0c9b8-b980-3ab8-9777-32af66d420c3> /Users/USER/Desktop/*/sinewave
       0x102e36000 -        0x102e51fff com.cockos.reaperhostx8664
(6.80.0_d140e13u) <676dd667-1475-3c7f-b480-b1ae6e96d64b>
/Applications/REAPER.app/Contents/Plugins/
reaper_host_x86_64.app/Contents/MacOS/reaper_host_x86_64
       0x203239000 -        0x2032d0fff dyld (*)
<bba77709-6cad-3592-ab03-09d0f7b8610e> /usr/lib/dyld
    0x7ff7ffcd5000 -     0x7ff7ffd04fff runtime (*)
<f066db2c-ed38-3f37-8d21-81d15fa908fe> /usr/libexec/rosetta/runtime

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: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=380.1M resident=0K(0%)
swapped_out_or_unallocated=380.1M(100%)
Writable regions: Total=824.8M written=0K(0%) resident=0K(0%)
swapped_out=0K(0%) unallocated=824.8M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Activity Tracing                   256K        1
Kernel Alloc Once                    8K        1
MALLOC                           163.2M       16
MALLOC guard page                   96K        4
MALLOC_MEDIUM (reserved)         120.0M        1         reserved VM
address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM
address space (unallocated)
Rosetta Arena                     4096K        2
Rosetta Generic                   1004K      248
Rosetta IndirectBranch              64K        1
Rosetta JIT                      128.0M        1
Rosetta Return Stack                60K        6
Rosetta Thread Context              60K        6
STACK GUARD                          4K        1
Stack                             8708K        2
Stack Guard                       56.0M        1
VM_ALLOCATE                       11.8M        6
VM_ALLOCATE (reserved)               4K        1         reserved VM
address space (unallocated)
__DATA                            14.5M      273
__DATA_CONST                      13.1M      169
__DATA_DIRTY                       632K       95
__FONT_DATA                        2352        1
__LINKEDIT                       167.5M       10
__OBJC_RO                         65.4M        1
__OBJC_RW                         1987K        2
__TEXT                           212.6M      294
dyld private memory                256K        1
mapped file                        4.1G     1233
shared memory                       32K        2
unshared pmap                     3728K        2
===========                     =======  =======
TOTAL                              5.4G     2382
TOTAL, minus reserved VM space     4.9G     2382



-----------
Full Report
-----------

{"app_name":"reaper_host_x86_64","timestamp":"2023-07-16 12:42:08.00
-0500","app_version":"6.80.0_d140e13u","slice_uuid":"676dd667-1475-3c7f-b480-b1ae6e96d64b","build_version":"6.80.0_d140e13u","platform":1,"bundleID":"com.cockos.reaperhostx8664","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS
13.2.1
(22D68)","roots_installed":0,"name":"reaper_host_x86_64","incident_id":"12878911-2899-4079-AF42-E4D25CBC5ECA"}
{
  "uptime" : 350000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 1116670758,
  "deployVersion" : 210,
  "modelCode" : "Mac14,6",
  "coalitionID" : 17654,
  "osVersion" : {
    "train" : "macOS 13.2.1",
    "build" : "22D68",
    "releaseType" : "User"
  },
  "captureTime" : "2023-07-16 12:42:07.0918 -0500",
  "incident" : "12878911-2899-4079-AF42-E4D25CBC5ECA",
  "pid" : 92589,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-07-16 12:42:06.8405 -0500",
  "procStartAbsTime" : 8499163212069,
  "procExitAbsTime" : 8499169233955,
  "procName" : "reaper_host_x86_64",
  "procPath" : "\/Applications\/REAPER.app\/Contents\/Plugins\/
reaper_host_x86_64.app\/Contents\/MacOS\/reaper_host_x86_64",
  "bundleInfo" :
{"CFBundleShortVersionString":"6.80.0_d140e13u","CFBundleVersion":"6.80.0_d140e13u","CFBundleIdentifier":"com.cockos.reaperhostx8664"},
  "storeInfo" :
{"deviceIdentifierForVendor":"527A88FC-16B9-54EC-A64A-2D198A53B820","thirdParty":true},
  "parentProc" : "REAPER",
  "parentPid" : 92588,
  "coalitionName" : "com.cockos.reaper",
  "crashReporterKey" : "036D35E7-C2F0-9378-18F0-9DE815450FCA",
  "responsiblePid" : 92586,
  "responsibleProc" : "REAPER",
  "wakeTime" : 904,
  "sleepWakeUUID" : "14C58374-0B2F-41FF-AE3E-F12E9BE78A2F",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000001,
0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
  "termination" :
{"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction:
4","byProc":"exc handler","byPid":92589},
  "extMods" :
{"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" :
[{"triggered":true,"id":4342922,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":13054142096},"r12":{"value":105553169486336},"rosetta":{"tmp2":{"value":65547975310406848},"tmp1":{"value":9604159300764694725},"tmp0":{"value":4485288743}},"rbx":{"value":4343450250,"symbolLocation":0,"symbol":"amCB(AEffect*,
int, int, long long, void*,
float)"},"r8":{"value":0},"r15":{"value":0},"r10":{"value":6304},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":511},"r13":{"value":5334159280},"rflags":{"value":514},"rax":{"value":4485288720,"symbolLocation":0,"symbol":"VSTPluginMain"},"rsp":{"value":13054142080},"r11":{"value":105553182109936},"rcx":{"value":0},"r14":{"value":140580421125584},"rsi":{"value":1}},"name":"*\/br_s","queue":"com.apple.main-thread","frames":[{"imageOffset":4903,"symbol":"VSTPluginMain","symbolLocation":23,"imageIndex":0},{"imageOffset":27123,"symbol":"VST_BridgeSlaveHost::Create(SHM_MsgReplyConnection*,
SHM_MsgReplyConnection::WaitingMessage*)","symbolLocation":141,"imageIndex":1},{"imageOffset":19144,"symbol":"DispatchConMsg(SHM_MsgReplyConnection*,
SHM_MsgReplyConnection::WaitingMessage*,
bool)","symbolLocation":170,"imageIndex":1},{"imageOffset":19642,"symbol":"RunMainThreadQueue(SHM_MsgReplyConnection*)","symbolLocation":82,"imageIndex":1},{"imageOffset":59915,"symbol":"SHM_MsgReplyConnection::RunInternal(int,
SHM_MsgReplyConnection::WaitingMessage**)","symbolLocation":477,"imageIndex":1},{"imageOffset":22386,"symbol":"main","symbolLocation":407,"imageIndex":1},{"imageOffset":25360,"symbol":"start","symbolLocation":2432,"imageIndex":2}]},{"id":4342924,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":17940,"imageIndex":3},{"imageOffset":66864,"imageIndex":3},{"imageOffset":73520,"imageIndex":3}]},{"id":4342926,"frames":[{"imageOffset":141436,"imageIndex":3}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4485283840,
    "CFBundleShortVersionString" : "1.0.0",
    "CFBundleIdentifier" : "sinewave",
    "size" : 184320,
    "uuid" : "1eb0c9b8-b980-3ab8-9777-32af66d420c3",
    "path" : "\/Users\/USER\/Desktop\/*\/sinewave",
    "name" : "sinewave",
    "CFBundleVersion" : "1.0.0"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4343422976,
    "CFBundleShortVersionString" : "6.80.0_d140e13u",
    "CFBundleIdentifier" : "com.cockos.reaperhostx8664",
    "size" : 114688,
    "uuid" : "676dd667-1475-3c7f-b480-b1ae6e96d64b",
    "path" : "\/Applications\/REAPER.app\/Contents\/Plugins\/
reaper_host_x86_64.app\/Contents\/MacOS\/reaper_host_x86_64",
    "name" : "reaper_host_x86_64",
    "CFBundleVersion" : "6.80.0_d140e13u"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8642596864,
    "size" : 622592,
    "uuid" : "bba77709-6cad-3592-ab03-09d0f7b8610e",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703125295104,
    "size" : 196608,
    "uuid" : "f066db2c-ed38-3f37-8d21-81d15fa908fe",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  }
],
  "sharedCache" : {
  "base" : 140703478874112,
  "size" : 21474836480,
  "uuid" : "4ca2b729-8206-3c63-badd-faa0225ab773"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=380.1M
resident=0K(0%) swapped_out_or_unallocated=380.1M(100%)\nWritable regions:
Total=824.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%)
unallocated=824.8M(100%)\n\n                                VIRTUAL
REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced)
\n===========                     =======  ======= \nActivity Tracing
            256K        1 \nKernel Alloc Once                    8K
 1 \nMALLOC                           163.2M       16 \nMALLOC guard page
                96K        4 \nMALLOC_MEDIUM (reserved)         120.0M
   1         reserved VM address space (unallocated)\nMALLOC_NANO
(reserved)           384.0M        1         reserved VM address space
(unallocated)\nRosetta Arena                     4096K        2 \nRosetta
Generic                   1004K      248 \nRosetta IndirectBranch
   64K        1 \nRosetta JIT                      128.0M        1
\nRosetta Return Stack                60K        6 \nRosetta Thread Context
             60K        6 \nSTACK GUARD                          4K
 1 \nStack                             8708K        2 \nStack Guard
              56.0M        1 \nVM_ALLOCATE                       11.8M
   6 \nVM_ALLOCATE (reserved)               4K        1         reserved VM
address space (unallocated)\n__DATA                            14.5M
 273 \n__DATA_CONST                      13.1M      169 \n__DATA_DIRTY
                  632K       95 \n__FONT_DATA                        2352
     1 \n__LINKEDIT                       167.5M       10 \n__OBJC_RO
                  65.4M        1 \n__OBJC_RW                         1987K
       2 \n__TEXT                           212.6M      294 \ndyld private
memory                256K        1 \nmapped file
 4.1G     1233 \nshared memory                       32K        2
\nunshared pmap                     3728K        2 \n===========
          =======  ======= \nTOTAL                              5.4G
2382 \nTOTAL, minus reserved VM space     4.9G     2382 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "name" : "*\/br_s",
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "63582c5f8a53461413999550",
      "factorPackIds" : {

      },
      "deploymentId" : 240000002
    },
    {
      "rolloutId" : "5fb4245a1bbfe8005e33a1e1",
      "factorPackIds" : {

      },
      "deploymentId" : 240000021
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "c28e4ee6-1b08-4f90-8e05-2809e78310a3",
      "experimentId" : "6317d2003d24842ff850182a",
      "deploymentId" : 400000012
    }
  ]
}
}


On Sun, Jul 16, 2023 at 2:33 AM Henrik Frisk <fris...@gmail.com> wrote:

>
>
> On Sat, Jul 15, 2023, 11:20 PM Stéphane Letz <l...@grame.fr> wrote:
>
>>
>>
>>
>> >
>> > Following this, I opened Reaper and re-scanned, resulting in a crash of
>> the vst host, plugin still not showing up.
>>
>> Do you have a crash log?
>>
>
> I've experienced this too recently (M1) with reaper and Faust VST plugins,
> but haven't been able to track it down.
>
> >
>> > Does anyone have any suggestions for building audio plugins on the
>> current MacOS using the web IDE export options? (Hoping to find a web IDE
>> solution since this is in a lab where students do not have admin
>> privileges.)
>>
>
> I started working on moving to VST3 but the process is quite cumbersome
> and involves manual tweeking and uses Juce, so this is not for you I guess.
>
>
>> For Reaper, you can possibly use the JSFX backend recently added in the
>> Faust compiler, and available in the Export section in the Faust IDE
>>
>
> I had missed this, I will definitely try this!
>
> /Henrik
>
_______________________________________________
Faudiostream-users mailing list
Faudiostream-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to