dev7 crashes on startup (Apple M1 Pro)

79 views
Skip to first unread message

Sybrand Strauss

unread,
Jan 12, 2025, 3:07:33 PMJan 12
to Open PHD Guiding
Hi,

dev7 (and earlier) crash on startup for me - looks like it's missing libusb-1.0.0.dylib

crash report below:

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

Process:               PHD2 [4190]
Path:                  /Applications/PHD2 2.app/Contents/MacOS/run_phd2_macos
Identifier:            PHD2
Version:               ???
Code Type:             X86-64 (Translated)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2025-01-12 21:36:03.2909 +0200
OS Version:            macOS 14.5 (23F79)
Report Version:        12
Anonymous UUID:        CCD6B757-0D4A-630F-274E-B3A0A0096DE2

Sleep/Wake UUID:       D4C17E9E-DB89-4B1A-922F-E9518C927467

Time Awake Since Boot: 140000 seconds
Time Since Wake:       1586 seconds

System Integrity Protection: enabled

Notes:
PC register does not match crashing frame (0x0 vs 0x201E19A78)

Crashed Thread:        0

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

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/libusb-1.0.0.dylib
Referenced from: <23378629-927F-349B-A7D5-04B3DA526188> /Applications/PHD2 2.app/Contents/Frameworks/libPlayerOneCamera.dylib
Reason: tried: '/Applications/PHD2 2.app/Contents/Frameworks/libusb-1.0.0.dylib' (no such file), '/Users/andy/Incoming/phd2-build-20250111-222400/tmp/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/andy/Incoming/phd2-build-20250111-222400/tmp/libusb-1.0.0.dylib' (no such file), '/Users/andy/Incoming/phd2-build-20250111-222400/cameras/svblibs/mac/x64/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/andy/Incoming/phd2-build-20250111-222400/cameras/svblibs/mac/x64/libusb-1.0.0.dylib' (no such file), '/Users/andy/Incoming/phd2-build-20250111-222400/cameras/qhyccdlibs/mac/universal/libusb-1.0.0.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/andy/Incoming/phd2-build-20250111-222400/cameras/qhyccdlibs/mac/universal/libusb-1.0.0.dylib' (no such file), '/Users/an
(terminated at launch; ignore backtrace)

Error Formulating Crash Report:
PC register does not match crashing frame (0x0 vs 0x201E19A78)

Thread 0 Crashed:
0   Rosetta Runtime Routines        0x201e19a78 ???
1   dyld                                  0x201cd1b3e __abort_with_payload + 10
2   dyld                                  0x201ceabb7 abort_with_payload_wrapper_internal + 82
3   dyld                                  0x201ceabe9 abort_with_payload + 9
4   dyld                                  0x201c772e5 dyld4::halt(char const*, dyld4::StructuredError const*) + 335
5   dyld                                  0x201c744e2 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4099
6   dyld                                  0x201c732ff start + 1839

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                           0x7ff7ffc5e494 0x7ff7ffc5a000 + 17556


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000006  rbx: 0x0000000000000074  rcx: 0x0000000000000001  rdx: 0x00000003067e5c60
  rdi: 0x0000002000000000  rsi: 0x0000000000098d01  rbp: 0x0000000000000000  rsp: 0x00000003067e5860
   r8: 0x00000003067e5860   r9: 0x0000000000000000  r10: 0x0000000000000074  r11: 0x00000003067e5860
  r12: 0x0000000000000000  r13: 0x00000003067e5c60  r14: 0x0000000000000006  r15: 0x0000000000000074
  rip: <unavailable>       rfl: 0x0000000000000283
 tmp0: 0xffffffffffffffff tmp1: 0x0000000201e19a4c tmp2: 0x0000000201ceabb7


Binary Images:
       0x201c6d000 -        0x201cfdfff dyld (*) <baa6f02e-dff3-3562-8c99-ea2820c91ad9> /usr/lib/dyld
       0x10b498000 -        0x10b4abfff libusb_openphd.dylib (*) <e076478b-d644-3440-8f15-a416724dee73> /Applications/PHD2 2.app/Contents/Frameworks/libusb_openphd.dylib
       0x10b5b5000 -        0x10b5e5fff SBIGUDrv (*) <3f86770f-a57f-c940-856e-6642195d30c6> /Applications/PHD2 2.app/Contents/Frameworks/SBIGUDrv.framework/Versions/A/SBIGUDrv
       0x10bdae000 -        0x10bfa1fff libASICamera2.dylib (*) <be5b252a-1ac1-332b-b9d4-d41bf9f86aa8> /Applications/PHD2 2.app/Contents/Frameworks/libASICamera2.dylib
       0x10c3be000 -        0x10c557fff libSVBCameraSDK.dylib (*) <5bae277f-8326-3761-bccb-3b44ab633eed> /Applications/PHD2 2.app/Contents/Frameworks/libSVBCameraSDK.dylib
       0x10d7b9000 -        0x10e380fff libqhyccd.dylib (*) <78a48a6d-9206-3974-8fad-c201991b4cc2> /Applications/PHD2 2.app/Contents/Frameworks/libqhyccd.dylib
       0x110822000 -        0x1112a8fff libtoupcam.dylib (*) <6f93e252-b445-3fd5-92fc-dcf42c35f744> /Applications/PHD2 2.app/Contents/Frameworks/libtoupcam.dylib
       0x10cb0d000 -        0x10ccb0fff libogmacam.dylib (*) <91cf91cb-1172-3907-86a5-b30d88b6ecb8> /Applications/PHD2 2.app/Contents/Frameworks/libogmacam.dylib
       0x10b974000 -        0x10b9bffff libPlayerOneCamera.dylib (*) <23378629-927f-349b-a7d5-04b3da526188> /Applications/PHD2 2.app/Contents/Frameworks/libPlayerOneCamera.dylib
    0x7ff7ffc5a000 -     0x7ff7ffc89fff runtime (*) <b091dec9-37ac-322a-bd9d-fc5dc22b0082> /usr/libexec/rosetta/runtime
       0x10ab44000 -        0x10ab97fff libRosettaRuntime (*) <8a85f070-3849-3b55-adde-143cc5902f92> /Library/Apple/*/libRosettaRuntime
       0x100a93000 -        0x1014ecfff PHD2 (*) <0d4aaf78-7eeb-36df-bd12-197cf77c259f> /Applications/PHD2 2.app/Contents/MacOS/PHD2
               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=709.1M resident=0K(0%) swapped_out_or_unallocated=709.1M(100%)
Writable regions: Total=169.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=169.9M(100%)

                                VIRTUAL   REGION
REGION TYPE                        SIZE    COUNT (non-coalesced)
===========                     =======  =======
Rosetta Arena                     4096K        2
Rosetta Generic                    844K      208
Rosetta IndirectBranch              32K        1
Rosetta JIT                      128.0M        1
Rosetta Return Stack                20K        2
Rosetta Thread Context              20K        2
Stack                             8176K        1
Stack Guard                       56.0M        1
VM_ALLOCATE                          4K        1
VM_ALLOCATE (reserved)             100K       10         reserved VM address space (unallocated)
__CTF                               824        1
__DATA                            42.5M      416
__DATA_CONST                      24.2M      252
__DATA_DIRTY                       878K      130
__FONT_DATA                        2352        1
__LINKEDIT                       181.1M       15
__OBJC_RO                         71.8M        1
__OBJC_RW                         2197K        1
__TEXT                           528.0M      433
dyld private memory               4360K        4
mapped file                       44.3M       31
===========                     =======  =======
TOTAL                              1.1G     1514
TOTAL, minus reserved VM space     1.1G     1514



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

{"app_name":"PHD2","timestamp":"2025-01-12 21:36:03.00 +0200","app_version":"","slice_uuid":"0d4aaf78-7eeb-36df-bd12-197cf77c259f","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 14.5 (23F79)","roots_installed":0,"incident_id":"1FD4990C-1D9B-439F-A00C-DF118039C9E8","name":"PHD2"}
{
  "uptime" : 140000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro18,1",
  "coalitionID" : 21872,
  "osVersion" : {
    "train" : "macOS 14.5",
    "build" : "23F79",
    "releaseType" : "User"
  },
  "captureTime" : "2025-01-12 21:36:03.2909 +0200",
  "codeSigningMonitor" : 1,
  "incident" : "1FD4990C-1D9B-439F-A00C-DF118039C9E8",
  "pid" : 4190,
  "translated" : true,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2025-01-12 21:35:57.6403 +0200",
  "procStartAbsTime" : 3404666407200,
  "procExitAbsTime" : 3404802009704,
  "procName" : "PHD2",
  "procPath" : "\/Applications\/PHD2 2.app\/Contents\/MacOS\/run_phd2_macos",
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.openphdguiding.phd2",
  "crashReporterKey" : "CCD6B757-0D4A-630F-274E-B3A0A0096DE2",
  "lowPowerMode" : 1,
  "codeSigningID" : "",
  "codeSigningTeamID" : "",
  "codeSigningValidationCategory" : 0,
  "codeSigningTrustLevel" : 4294967295,
  "wakeTime" : 1586,
  "sleepWakeUUID" : "D4C17E9E-DB89-4B1A-922F-E9518C927467",
  "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\/libusb-1.0.0.dylib","Referenced from: <23378629-927F-349B-A7D5-04B3DA526188> \/Applications\/PHD2 2.app\/Contents\/Frameworks\/libPlayerOneCamera.dylib","Reason: tried: '\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libusb-1.0.0.dylib' (no such file), '\/Users\/andy\/Incoming\/phd2-build-20250111-222400\/tmp\/libusb-1.0.0.dylib' (no such file), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/Users\/andy\/Incoming\/phd2-build-20250111-222400\/tmp\/libusb-1.0.0.dylib' (no such file), '\/Users\/andy\/Incoming\/phd2-build-20250111-222400\/cameras\/svblibs\/mac\/x64\/libusb-1.0.0.dylib' (no such file), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/Users\/andy\/Incoming\/phd2-build-20250111-222400\/cameras\/svblibs\/mac\/x64\/libusb-1.0.0.dylib' (no such file), '\/Users\/andy\/Incoming\/phd2-build-20250111-222400\/cameras\/qhyccdlibs\/mac\/universal\/libusb-1.0.0.dylib' (no such file), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/Users\/andy\/Incoming\/phd2-build-20250111-222400\/cameras\/qhyccdlibs\/mac\/universal\/libusb-1.0.0.dylib' (no such file), '\/Users\/an"]},
  "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":3633808,"threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":0},"r12":{"value":0},"rosetta":{"tmp2":{"value":8620256183},"tmp1":{"value":8621496908},"tmp0":{"value":18446744073709551615}},"rbx":{"value":116},"r8":{"value":12993845344},"r15":{"value":116},"r10":{"value":116},"rdx":{"value":12993846368},"rdi":{"value":137438953472},"r9":{"value":0},"r13":{"value":12993846368},"rflags":{"value":643},"rax":{"value":6},"rsp":{"value":12993845344},"r11":{"value":12993845344},"rcx":{"value":1},"r14":{"value":6},"rsi":{"value":625921}},"frames":[{"imageOffset":8621496952,"region":"Rosetta Runtime Routines","symbolLocation":10872,"imageIndex":12},{"imageOffset":412478,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":514999,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":515049,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":41701,"symbol":"dyld4::halt(char const*, dyld4::StructuredError const*)","symbolLocation":335,"imageIndex":0},{"imageOffset":29922,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4099,"imageIndex":0},{"imageOffset":25343,"symbol":"start","symbolLocation":1839,"imageIndex":0}]},{"id":3633828,"name":"com.apple.rosetta.exceptionserver","threadState":{"flavor":"x86_THREAD_STATE","rbp":{"value":9908489551872},"r12":{"value":0},"rosetta":{"tmp2":{"value":0},"tmp1":{"value":0},"tmp0":{"value":0}},"rbx":{"value":0},"r8":{"value":2307},"r15":{"value":0},"r10":{"value":4475007812},"rdx":{"value":0},"rdi":{"value":0},"r9":{"value":4475007844},"r13":{"value":0},"rflags":{"value":515},"rax":{"value":268451845},"rsp":{"value":0},"r11":{"value":0},"rcx":{"value":17314086914},"r14":{"value":0},"rsi":{"value":2616}},"frames":[{"imageOffset":17556,"imageIndex":9}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 8619741184,
    "size" : 593920,
    "uuid" : "baa6f02e-dff3-3562-8c99-ea2820c91ad9",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4484333568,
    "size" : 81920,
    "uuid" : "e076478b-d644-3440-8f15-a416724dee73",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libusb_openphd.dylib",
    "name" : "libusb_openphd.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4485500928,
    "size" : 200704,
    "uuid" : "3f86770f-a57f-c940-856e-6642195d30c6",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/SBIGUDrv.framework\/Versions\/A\/SBIGUDrv",
    "name" : "SBIGUDrv"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4493860864,
    "size" : 2048000,
    "uuid" : "be5b252a-1ac1-332b-b9d4-d41bf9f86aa8",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libASICamera2.dylib",
    "name" : "libASICamera2.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4500217856,
    "size" : 1679360,
    "uuid" : "5bae277f-8326-3761-bccb-3b44ab633eed",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libSVBCameraSDK.dylib",
    "name" : "libSVBCameraSDK.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4521168896,
    "size" : 12353536,
    "uuid" : "78a48a6d-9206-3974-8fad-c201991b4cc2",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libqhyccd.dylib",
    "name" : "libqhyccd.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4571930624,
    "size" : 11038720,
    "uuid" : "6f93e252-b445-3fd5-92fc-dcf42c35f744",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libtoupcam.dylib",
    "name" : "libtoupcam.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4507881472,
    "size" : 1720320,
    "uuid" : "91cf91cb-1172-3907-86a5-b30d88b6ecb8",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libogmacam.dylib",
    "name" : "libogmacam.dylib"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4489428992,
    "size" : 311296,
    "uuid" : "23378629-927f-349b-a7d5-04b3da526188",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/Frameworks\/libPlayerOneCamera.dylib",
    "name" : "libPlayerOneCamera.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 140703124791296,
    "size" : 196608,
    "uuid" : "b091dec9-37ac-322a-bd9d-fc5dc22b0082",
    "path" : "\/usr\/libexec\/rosetta\/runtime",
    "name" : "runtime"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4474552320,
    "size" : 344064,
    "uuid" : "8a85f070-3849-3b55-adde-143cc5902f92",
    "path" : "\/Library\/Apple\/*\/libRosettaRuntime",
    "name" : "libRosettaRuntime"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4306055168,
    "size" : 10854400,
    "uuid" : "0d4aaf78-7eeb-36df-bd12-197cf77c259f",
    "path" : "\/Applications\/PHD2 2.app\/Contents\/MacOS\/PHD2",
    "name" : "PHD2"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703273123840,
  "size" : 25769803776,
  "uuid" : "6f51a82c-c96c-3bc8-82ca-9c109185bd3c"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=709.1M resident=0K(0%) swapped_out_or_unallocated=709.1M(100%)\nWritable regions: Total=169.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=169.9M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nRosetta Arena                     4096K        2 \nRosetta Generic                    844K      208 \nRosetta IndirectBranch              32K        1 \nRosetta JIT                      128.0M        1 \nRosetta Return Stack                20K        2 \nRosetta Thread Context              20K        2 \nStack                             8176K        1 \nStack Guard                       56.0M        1 \nVM_ALLOCATE                          4K        1 \nVM_ALLOCATE (reserved)             100K       10         reserved VM address space (unallocated)\n__CTF                               824        1 \n__DATA                            42.5M      416 \n__DATA_CONST                      24.2M      252 \n__DATA_DIRTY                       878K      130 \n__FONT_DATA                        2352        1 \n__LINKEDIT                       181.1M       15 \n__OBJC_RO                         71.8M        1 \n__OBJC_RW                         2197K        1 \n__TEXT                           528.0M      433 \ndyld private memory               4360K        4 \nmapped file                       44.3M       31 \n===========                     =======  ======= \nTOTAL                              1.1G     1514 \nTOTAL, minus reserved VM space     1.1G     1514 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "395de29d55c000dc4f6a66d597246359f59e13f8",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "64b21a7351cbb02ce3442e4e",
      "factorPackIds" : {
        "REMINDERS_GROCERY" : "6647f0f7b6a75d3dc32993e7"
      },
      "deploymentId" : 240000042
    },
    {
      "rolloutId" : "648cada15dbc71671bb3aa1b",
      "factorPackIds" : {
        "SIRI_UNDERSTANDING_ATTENTION_ASSETS" : "65a8118e05d9422724106749",
        "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "65a8115446dfa0720068876d",
        "SIRI_UNDERSTANDING_NL" : "65a811c046dfa0720068876e",
        "SIRI_EXPERIENCE_CAM" : "65a81173096f6a1f1ba46525",
        "SIRI_UNDERSTANDING_MORPHUN" : "65a811a96c2f903aa921c246"
      },
      "deploymentId" : 240000116
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "PC register does not match crashing frame (0x0 vs 0x201E19A78)"
]
}

Bruce Waddington

unread,
Jan 13, 2025, 3:03:29 PMJan 13
to Open PHD Guiding
This problem was resolved with a recent change to the dev7 build and has been confirmed by the OP.

Bruce
Reply all
Reply to author
Forward
0 new messages