dillongoostudios / goo-engine

Custom build of blender with some extra NPR features.
Other
982 stars 129 forks source link

MacOS Sonoma with M1 Mac, goo-engine crashes unexpectedly after compiling it successfully #69

Closed NunexGT closed 11 months ago

NunexGT commented 1 year ago

I successfully compiled goo-engine on my mac, however, when I open it I get a "Blender quit unexpectedly error":

image

Here's the crash log:

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

Process:               Blender [17852]
Path:                  /Users/USER/*/Blender.app/Contents/MacOS/Blender
Identifier:            org.blenderfoundation.blender
Version:               4.0.0 (4.0.0 2023-11-22)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2023-11-22 22:27:30.5121 +0000
OS Version:            macOS 14.0 (23A344)
Report Version:        12
Anonymous UUID:        EA7B8C31-E9AE-C4D4-919B-5B8D67FD0D75

Sleep/Wake UUID:       41428BA4-D6AC-409D-863D-C7EB1F6271AC

Time Awake Since Boot: 260000 seconds
Time Since Wake:       2249 seconds

System Integrity Protection: enabled

Crashed Thread:        0

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/libOpenImageDenoise.dylib
Referenced from: <5356327A-3095-3973-812C-19BC24821403> /Users/USER/*/Blender.app/Contents/MacOS/Blender
Reason: tried: '/Users/user/goo-git/build_darwin/bin/Blender.app/Contents/MacOS/../Resources/lib/libOpenImageDenoise.dylib' (no such file), '/Users/user/goo-git/build_darwin/bin/Blender.app/Contents/MacOS/../Resources/lib/libOpenImageDenoise.dylib' (no such file)
(terminated at launch; ignore backtrace)

Thread 0 Crashed:
0   dyld                                   0x18d1f5b48 __abort_with_payload + 8
1   dyld                                   0x18d202108 abort_with_payload_wrapper_internal + 104
2   dyld                                   0x18d20213c abort_with_payload + 16
3   dyld                                   0x18d189518 dyld4::halt(char const*, dyld4::StructuredError const*) + 304
4   dyld                                   0x18d1861e8 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3884
5   dyld                                   0x18d184f44 start + 1948

Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000006   x1: 0x0000000000000001   x2: 0x000000016ee66850   x3: 0x000000000000007e
    x4: 0x000000016ee66450   x5: 0x0000000000000000   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x0000000000000020   x9: 0x000000016ee663bc  x10: 0x000000000000000a  x11: 0x0000000000000000
   x12: 0x0000000000000031  x13: 0x1000000000000000  x14: 0x0000000000000004  x15: 0x0000000000008000
   x16: 0x0000000000000209  x17: 0x000000018d18237c  x18: 0x0000000000000000  x19: 0x0000000000000000
   x20: 0x000000016ee66450  x21: 0x000000000000007e  x22: 0x000000016ee66850  x23: 0x0000000000000001
   x24: 0x0000000000000006  x25: 0x000000016ee672d8  x26: 0x000000016ee67218  x27: 0x0000000000000000
   x28: 0x000000001f070004   fp: 0x000000016ee66420   lr: 0x000000018d202108
    sp: 0x000000016ee663e0   pc: 0x000000018d1f5b48 cpsr: 0x80001000
   far: 0x000000010dd30000  esr: 0x56000080  Address size fault

Binary Images:
       0x10d8c8000 -        0x10d92bfff libomp.dylib (*) <ab1fadc1-903c-3c36-8438-ce0fe19bed46> /Users/USER/*/Blender.app/Contents/Resources/lib/libomp.dylib
       0x10d870000 -        0x10d88ffff libtbb.dylib (*) <cb394e8c-9c52-37c6-9022-fd990fd35d7b> /Users/USER/*/Blender.app/Contents/Resources/lib/libtbb.dylib
       0x10da58000 -        0x10daeffff libosdGPU.dylib (*) <4731deac-271c-3ffa-a784-1db25c099939> /Users/USER/*/Blender.app/Contents/Resources/lib/libosdGPU.dylib
       0x10db54000 -        0x10dbdffff libosdCPU.dylib (*) <8271d479-dfd6-3eaa-bcc1-736d265872f9> /Users/USER/*/Blender.app/Contents/Resources/lib/libosdCPU.dylib
       0x10ea38000 -        0x10f417fff libembree4.dylib (*) <d86170d4-9c85-3e7e-b24a-a57248f6de2a> /Users/USER/*/Blender.app/Contents/Resources/lib/libembree4.dylib
       0x10f874000 -        0x10fefbfff libOpenImageIO.dylib (*) <9ddc4613-7bbf-37b5-a67f-e624e089cd4e> /Users/USER/*/Blender.app/Contents/Resources/lib/libOpenImageIO.dylib
       0x10dc1c000 -        0x10dc97fff libOpenImageIO_Util.dylib (*) <cb29c953-f7bb-3aef-a3fd-5849616d62a3> /Users/USER/*/Blender.app/Contents/Resources/lib/libOpenImageIO_Util.dylib
       0x10e2e8000 -        0x10e683fff libOpenColorIO.dylib (*) <681f7251-f3c3-3cf3-81d0-c52ad49a94a4> /Users/USER/*/Blender.app/Contents/Resources/lib/libOpenColorIO.dylib
       0x10d9ac000 -        0x10d9d3fff libboost_python310.dylib (*) <8dc70c62-1e81-3c55-a828-38772a0f8b8f> /Users/USER/*/Blender.app/Contents/Resources/lib/libboost_python310.dylib
       0x112b18000 -        0x114053fff libusd_ms.dylib (*) <59a48536-bd6a-308e-b142-547083bde8bc> /Users/USER/*/Blender.app/Contents/Resources/lib/libusd_ms.dylib
       0x100f98000 -        0x109473fff org.blenderfoundation.blender (4.0.0) <5356327a-3095-3973-812c-19bc24821403> /Users/USER/*/Blender.app/Contents/MacOS/Blender
       0x18d17f000 -        0x18d212873 dyld (*) <ffd8ab66-c9ab-31df-ab80-3a3dff367ddd> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=17.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=17.9M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                         16K        1 
Stack                             1024K        1 
VM_ALLOCATE                         16K        1 
__DATA                            19.2M       20 
__DATA_CONST                      6806K       12 
__DATA_DIRTY                         7K        1 
__LINKEDIT                       957.5M       12 
__TEXT                           177.0M       12 
dyld private memory               4384K        4 
===========                     =======  ======= 
TOTAL                              1.1G       64 

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

{"app_name":"Blender","timestamp":"2023-11-22 22:27:30.00 +0000","app_version":"4.0.0","slice_uuid":"5356327a-3095-3973-812c-19bc24821403","build_version":"4.0.0 2023-11-22","platform":1,"bundleID":"org.blenderfoundation.blender","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.0 (23A344)","roots_installed":0,"name":"Blender","incident_id":"53CA9EC9-B106-4F5D-B1CF-320C2E223DF9"}
{
  "uptime" : 260000,
  "procRole" : "Default",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,3",
  "coalitionID" : 27327,
  "osVersion" : {
    "train" : "macOS 14.0",
    "build" : "23A344",
    "releaseType" : "User"
  },
  "captureTime" : "2023-11-22 22:27:30.5121 +0000",
  "codeSigningMonitor" : 1,
  "incident" : "53CA9EC9-B106-4F5D-B1CF-320C2E223DF9",
  "pid" : 17852,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-11-22 22:27:30.4533 +0000",
  "procStartAbsTime" : 6428610380764,
  "procExitAbsTime" : 6428611673673,
  "procName" : "Blender",
  "procPath" : "\/Users\/USER\/*\/Blender.app\/Contents\/MacOS\/Blender",
  "bundleInfo" : {"CFBundleShortVersionString":"4.0.0","CFBundleVersion":"4.0.0 2023-11-22","CFBundleIdentifier":"org.blenderfoundation.blender"},
  "storeInfo" : {"deviceIdentifierForVendor":"5051610E-B4F0-5868-AC1F-9496849A5923","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.blenderfoundation.blender",
  "crashReporterKey" : "EA7B8C31-E9AE-C4D4-919B-5B8D67FD0D75",
  "codeSigningID" : "Blender",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570556929,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"NAEAANQAAAAQAQAAGAEAACABAAAoAQAAMAEAAEwBAAAwQYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkcww\/pe\/AwCR\/XvBqP8PX9bAA1\/WEC2A0g=="},
  "wakeTime" : 2249,
  "sleepWakeUUID" : "41428BA4-D6AC-409D-863D-C7EB1F6271AC",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: @rpath\/libOpenImageDenoise.dylib","Referenced from: <5356327A-3095-3973-812C-19BC24821403> \/Users\/USER\/*\/Blender.app\/Contents\/MacOS\/Blender","Reason: tried: '\/Users\/nunex\/goo-git\/build_darwin\/bin\/Blender.app\/Contents\/MacOS\/..\/Resources\/lib\/libOpenImageDenoise.dylib' (no such file), '\/Users\/nunex\/goo-git\/build_darwin\/bin\/Blender.app\/Contents\/MacOS\/..\/Resources\/lib\/libOpenImageDenoise.dylib' (no such file)"]},
  "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":2906112,"threadState":{"x":[{"value":6},{"value":1},{"value":6155561040},{"value":126},{"value":6155560016},{"value":0},{"value":0},{"value":0},{"value":32},{"value":6155559868},{"value":10},{"value":0},{"value":49},{"value":1152921504606846976},{"value":4},{"value":32768},{"value":521},{"value":6662136700,"symbolLocation":416,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6155560016},{"value":126},{"value":6155561040},{"value":1},{"value":6},{"value":6155563736},{"value":6155563544},{"value":0},{"value":520552452}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6662660360},"cpsr":{"value":2147487744},"fp":{"value":6155559968},"sp":{"value":6155559904},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6662609736,"matchesCrashFrame":1},"far":{"value":4526899200}},"frames":[{"imageOffset":486216,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":11},{"imageOffset":536840,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":11},{"imageOffset":536892,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":11},{"imageOffset":42264,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":304,"imageIndex":11},{"imageOffset":29160,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3884,"imageIndex":11},{"imageOffset":24388,"symbol":"start","symbolLocation":1948,"imageIndex":11}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4522278912,
    "size" : 409600,
    "uuid" : "ab1fadc1-903c-3c36-8438-ce0fe19bed46",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libomp.dylib",
    "name" : "libomp.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4521918464,
    "size" : 131072,
    "uuid" : "cb394e8c-9c52-37c6-9022-fd990fd35d7b",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libtbb.dylib",
    "name" : "libtbb.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4523917312,
    "size" : 622592,
    "uuid" : "4731deac-271c-3ffa-a784-1db25c099939",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libosdGPU.dylib",
    "name" : "libosdGPU.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4524949504,
    "size" : 573440,
    "uuid" : "8271d479-dfd6-3eaa-bcc1-736d265872f9",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libosdCPU.dylib",
    "name" : "libosdCPU.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4540563456,
    "size" : 10354688,
    "uuid" : "d86170d4-9c85-3e7e-b24a-a57248f6de2a",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libembree4.dylib",
    "name" : "libembree4.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4555489280,
    "size" : 6848512,
    "uuid" : "9ddc4613-7bbf-37b5-a67f-e624e089cd4e",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libOpenImageIO.dylib",
    "name" : "libOpenImageIO.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4525768704,
    "size" : 507904,
    "uuid" : "cb29c953-f7bb-3aef-a3fd-5849616d62a3",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libOpenImageIO_Util.dylib",
    "name" : "libOpenImageIO_Util.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4532895744,
    "size" : 3784704,
    "uuid" : "681f7251-f3c3-3cf3-81d0-c52ad49a94a4",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libOpenColorIO.dylib",
    "name" : "libOpenColorIO.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4523212800,
    "size" : 163840,
    "uuid" : "8dc70c62-1e81-3c55-a828-38772a0f8b8f",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libboost_python310.dylib",
    "name" : "libboost_python310.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4608589824,
    "size" : 22265856,
    "uuid" : "59a48536-bd6a-308e-b142-547083bde8bc",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/Resources\/lib\/libusd_ms.dylib",
    "name" : "libusd_ms.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4311318528,
    "CFBundleShortVersionString" : "4.0.0",
    "CFBundleIdentifier" : "org.blenderfoundation.blender",
    "size" : 139313152,
    "uuid" : "5356327a-3095-3973-812c-19bc24821403",
    "path" : "\/Users\/USER\/*\/Blender.app\/Contents\/MacOS\/Blender",
    "name" : "Blender",
    "CFBundleVersion" : "4.0.0 2023-11-22"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6662123520,
    "size" : 604276,
    "uuid" : "ffd8ab66-c9ab-31df-ab80-3a3dff367ddd",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 6661373952,
  "size" : 4012523520,
  "uuid" : "7906534c-5d2b-3ba8-b9c6-93a5cf1b7b50"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=17.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=17.9M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                         16K        1 \nStack                             1024K        1 \nVM_ALLOCATE                         16K        1 \n__DATA                            19.2M       20 \n__DATA_CONST                      6806K       12 \n__DATA_DIRTY                         7K        1 \n__LINKEDIT                       957.5M       12 \n__TEXT                           177.0M       12 \ndyld private memory               4384K        4 \n===========                     =======  ======= \nTOTAL                              1.1G       64 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "0aacaf650b7fcdafa7aa1ab7a6b029ccf5fc0147",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6297d96be2c9387df974efa4",
      "factorPackIds" : {

      },
      "deploymentId" : 250000011
    },
    {
      "rolloutId" : "632c763c58740028737bfdd2",
      "factorPackIds" : {
        "SIRI_DIALOG_ASSETS" : "64a57d23fa6fd41b2353e2ae"
      },
      "deploymentId" : 250000029
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    }
  ]
}
}
NunexGT commented 11 months ago

Compiling branch goo-engine-v4.0-release solved this issue.