githubdonteails / audio-video-merger

An open source one-trick-pony for painlessly replacing audio under video files.
GNU General Public License v3.0
24 stars 2 forks source link

MAC 显示文件损坏,进行修复后运行错误 #1

Open echonjdavid opened 1 month ago

echonjdavid commented 1 month ago

Translated Report (Full Report Below)

Process: AudioVideoMerger [54901] Path: /Applications/AudioVideoMerger.app/Contents/MacOS/AudioVideoMerger Identifier: com.electron.audiovideomerger Version: 1.2.1 (1.2.1) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 502

Date/Time: 2024-09-14 11:05:26.4400 +0800 OS Version: macOS 14.6.1 (23G93) Report Version: 12 Anonymous UUID: CF69F05D-849A-8E41-FA2C-5862F8C97EB5

Sleep/Wake UUID: 677F9E52-841A-46FF-A81E-F09304C954F5

Time Awake Since Boot: 120000 seconds Time Since Wake: 383 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid)) Exception Codes: UNKNOWN_0x32 at 0x00000001112c4ab0 Exception Codes: 0x0000000000000032, 0x00000001112c4ab0

Termination Reason: Namespace CODESIGNING, Code 2 Invalid Page

VM Region Info: 0x1112c4ab0 is in 0x109f40000-0x1125a8000; bytes after start: 121129648 bytes before end: 19805519 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL LINKEDIT 101588000-1015a4000 [ 112K] r--/rwx SM=COW /Applications/AudioVideoMerger.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib GAP OF 0x899c000 BYTES ---> TEXT 109f40000-1125a8000 [134.4M] r-x/rwx SM=COW /Applications/AudioVideoMerger.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework __DATA_CONST 1125a8000-112b8c000 [ 6032K] r--/rwx SM=COW /Applications/AudioVideoMerger.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 Electron Framework 0x10a3d62e4 electron::fuses::IsRunAsNodeEnabled() + 4 1 AudioVideoMerger 0x100b785c4 0x100b78000 + 1476 2 dyld 0x195c3f154 start + 2476

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x000000016f287b38 x3: 0x000000016f287ba8 x4: 0x0000000195c66074 x5: 0x0000000202d33ad8 x6: 0x736665726f746f72 x7: 0x0000000000000280 x8: 0x00000001112c4000 x9: 0xf80afbde00000000 x10: 0x0000000000000001 x11: 0x00000000000002c0 x12: 0x0000000000008000 x13: 0x1000000000000000 x14: 0x0000000000000004 x15: 0x0000000000008000 x16: 0x000000010a3d62e0 x17: 0x0000000000000001 x18: 0x0000000000000000 x19: 0x000000016f287b28 x20: 0x0000000000000001 x21: 0x000000016f2878f0 x22: 0x0000000100f8d910 x23: 0x000000016f287920 x24: 0x000000016f2879b0 x25: 0x0000000195cb3e0b x26: 0x0000000000000000 x27: 0x0000000000000000 x28: 0x0000000000000000 fp: 0x000000016f2878d0 lr: 0x0000000100b785c4 sp: 0x000000016f2878c0 pc: 0x000000010a3d62e4 cpsr: 0x80001000 far: 0x00000001112c4ab0 esr: 0x92000007 (Data Abort) byte read Translation fault

Binary Images: 0x109f40000 - 0x1125a7fff com.github.Electron.framework () <4c4c44dd-5555-3144-a152-b05785ee3150> /Applications/AudioVideoMerger.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework 0x100ff4000 - 0x101007fff com.github.Squirrel (1.0) <4c4c4492-5555-3144-a17d-b05405974153> /Applications/AudioVideoMerger.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel 0x101070000 - 0x1010affff com.electron.reactive (3.1.0) <4c4c4480-5555-3144-a1db-a93efb87f79e> /Applications/AudioVideoMerger.app/Contents/Frameworks/ReactiveObjC.framework/Versions/A/ReactiveObjC 0x101014000 - 0x10101ffff org.mantle.Mantle (1.0) <4c4c44ee-5555-3144-a1e9-6609593e920b> /Applications/AudioVideoMerger.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle 0x1012cc000 - 0x101487fff libffmpeg.dylib () <4c4c4416-5555-3144-a1df-6bce4d32b0bc> /Applications/AudioVideoMerger.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib 0x100b78000 - 0x100b7bfff com.electron.audiovideomerger (1.2.1) <4c4c4433-5555-3144-a110-ce98d2c2ef4f> /Applications/AudioVideoMerger.app/Contents/MacOS/AudioVideoMerger 0x195c39000 - 0x195cc2507 dyld () /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.5G resident=0K(0%) swapped_out_or_unallocated=1.5G(100%) Writable regions: Total=30.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=30.2M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 256K 1 Kernel Alloc Once 32K 1 MALLOC 18.2M 12 MALLOC guard page 96K 6 Memory Tag 253 32.0G 25 STACK GUARD 56.0M 1 Stack 8176K 1 AUTH 3247K 546 AUTH_CONST 39.8M 795 CTF 824 1 DATA 19.7M 786 DATA_CONST 46.9M 809 __DATA_DIRTY 2869K 317 FONT_DATA 4K 1 INFO_FILTER 8 1 LINKEDIT 528.0M 7 OBJC_RO 71.9M 1 OBJC_RW 2200K 1 __TEXT 970.5M 826 dyld private memory 272K 2 mapped file 64K 1 shared memory 32K 2 =========== ======= ======= TOTAL 33.7G 4143


Full Report

{"app_name":"AudioVideoMerger","timestamp":"2024-09-14 11:05:26.00 +0800","app_version":"1.2.1","slice_uuid":"4c4c4433-5555-3144-a110-ce98d2c2ef4f","build_version":"1.2.1","platform":1,"bundleID":"com.electron.audiovideomerger","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.6.1 (23G93)","roots_installed":0,"name":"AudioVideoMerger","incident_id":"9AB558BB-B3EA-4F81-A9B7-C9CB758C5E90"} { "uptime" : 120000, "procRole" : "Default", "version" : 2, "userID" : 502, "deployVersion" : 210, "modelCode" : "Mac14,7", "coalitionID" : 22939, "osVersion" : { "train" : "macOS 14.6.1", "build" : "23G93", "releaseType" : "User" }, "captureTime" : "2024-09-14 11:05:26.4400 +0800", "codeSigningMonitor" : 1, "incident" : "9AB558BB-B3EA-4F81-A9B7-C9CB758C5E90", "pid" : 54901, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-09-14 11:05:26.3837 +0800", "procStartAbsTime" : 2953607346675, "procExitAbsTime" : 2953608690858, "procName" : "AudioVideoMerger", "procPath" : "\/Applications\/AudioVideoMerger.app\/Contents\/MacOS\/AudioVideoMerger", "bundleInfo" : {"CFBundleShortVersionString":"1.2.1","CFBundleVersion":"1.2.1","CFBundleIdentifier":"com.electron.audiovideomerger"}, "storeInfo" : {"deviceIdentifierForVendor":"8D65FD0D-43DF-5F34-80CF-8173EC1F609C","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "com.electron.audiovideomerger", "crashReporterKey" : "CF69F05D-849A-8E41-FA2C-5862F8C97EB5", "lowPowerMode" : 1, "codeSigningID" : "Electron", "codeSigningTeamID" : "", "codeSigningFlags" : 587334144, "codeSigningValidationCategory" : 0, "codeSigningTrustLevel" : 4294967295, "instructionByteStream" : {"beforePC":"FLH3l4gSQLlpEkC5iRIAuWgSALn9e0Kp9E9Bqf\/DAJHAA1\/WaHcD0A==","atPC":"CMFqOR\/FAHHgF58awANf1mh3A9AIxWo5H8UAceAXnxrAA1\/WaHcD0A=="}, "wakeTime" : 383, "sleepWakeUUID" : "677F9E52-841A-46FF-A81E-F09304C954F5", "sip" : "enabled", "vmRegionInfo" : "0x1112c4ab0 is in 0x109f40000-0x1125a8000; bytes after start: 121129648 bytes before end: 19805519\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n LINKEDIT 101588000-1015a4000 [ 112K] r--\/rwx SM=COW \/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Libraries\/libffmpeg.dylib\n GAP OF 0x899c000 BYTES\n---> TEXT 109f40000-1125a8000 [134.4M] r-x\/rwx SM=COW \/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework\n DATA_CONST 1125a8000-112b8c000 [ 6032K] r--\/rwx SM=COW \/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework", "exception" : {"codes":"0x0000000000000032, 0x00000001112c4ab0","rawCodes":[50,4583082672],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x00000001112c4ab0"}, "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"}, "vmregioninfo" : "0x1112c4ab0 is in 0x109f40000-0x1125a8000; bytes after start: 121129648 bytes before end: 19805519\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n LINKEDIT 101588000-1015a4000 [ 112K] r--\/rwx SM=COW \/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Libraries\/libffmpeg.dylib\n GAP OF 0x899c000 BYTES\n---> TEXT 109f40000-1125a8000 [134.4M] r-x\/rwx SM=COW \/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework\n DATA_CONST 1125a8000-112b8c000 [ 6032K] r--\/rwx SM=COW \/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework", "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":1744793,"threadState":{"x":[{"value":0},{"value":0},{"value":6159891256},{"value":6159891368},{"value":6807773300,"symbolLocation":0,"symbol":"lsl::EphemeralAllocator::allocate_buffer(unsigned long long, unsigned long long, unsigned long long)"},{"value":8637332184,"symbolLocation":72,"symbol":"vtable for lsl::EphemeralAllocator"},{"value":8315445304156778354},{"value":640},{"value":4583079936},{"value":17873375002074546176},{"value":1},{"value":704},{"value":32768},{"value":1152921504606846976},{"value":4},{"value":32768},{"value":4466762464,"symbolLocation":0,"symbol":"electron::fuses::IsRunAsNodeEnabled()"},{"value":1},{"value":0},{"value":6159891240},{"value":1},{"value":6159890672},{"value":4311275792},{"value":6159890720},{"value":6159890864},{"value":6808092171},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4306994628},"cpsr":{"value":2147487744},"fp":{"value":6159890640},"sp":{"value":6159890624},"esr":{"value":2449473543,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":4466762468,"matchesCrashFrame":1},"far":{"value":4583082672}},"queue":"com.apple.main-thread","frames":[{"imageOffset":4809444,"symbol":"electron::fuses::IsRunAsNodeEnabled()","symbolLocation":4,"imageIndex":0},{"imageOffset":1476,"imageIndex":5},{"imageOffset":24916,"symbol":"start","symbolLocation":2476,"imageIndex":6}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64", "base" : 4461953024, "CFBundleIdentifier" : "com.github.Electron.framework", "size" : 140935168, "uuid" : "4c4c44dd-5555-3144-a152-b05785ee3150", "path" : "\/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Electron Framework", "name" : "Electron Framework", "CFBundleVersion" : "31.3.1" }, { "source" : "P", "arch" : "arm64", "base" : 4311695360, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.github.Squirrel", "size" : 81920, "uuid" : "4c4c4492-5555-3144-a17d-b05405974153", "path" : "\/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Squirrel.framework\/Versions\/A\/Squirrel", "name" : "Squirrel", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4312203264, "CFBundleShortVersionString" : "3.1.0", "CFBundleIdentifier" : "com.electron.reactive", "size" : 262144, "uuid" : "4c4c4480-5555-3144-a1db-a93efb87f79e", "path" : "\/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/ReactiveObjC.framework\/Versions\/A\/ReactiveObjC", "name" : "ReactiveObjC", "CFBundleVersion" : "0.0.0" }, { "source" : "P", "arch" : "arm64", "base" : 4311826432, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "org.mantle.Mantle", "size" : 49152, "uuid" : "4c4c44ee-5555-3144-a1e9-6609593e920b", "path" : "\/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Mantle.framework\/Versions\/A\/Mantle", "name" : "Mantle", "CFBundleVersion" : "0.0.0" }, { "source" : "P", "arch" : "arm64", "base" : 4314677248, "size" : 1818624, "uuid" : "4c4c4416-5555-3144-a1df-6bce4d32b0bc", "path" : "\/Applications\/AudioVideoMerger.app\/Contents\/Frameworks\/Electron Framework.framework\/Versions\/A\/Libraries\/libffmpeg.dylib", "name" : "libffmpeg.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4306993152, "CFBundleShortVersionString" : "1.2.1", "CFBundleIdentifier" : "com.electron.audiovideomerger", "size" : 16384, "uuid" : "4c4c4433-5555-3144-a110-ce98d2c2ef4f", "path" : "\/Applications\/AudioVideoMerger.app\/Contents\/MacOS\/AudioVideoMerger", "name" : "AudioVideoMerger", "CFBundleVersion" : "1.2.1" }, { "source" : "P", "arch" : "arm64e", "base" : 6807588864, "size" : 562440, "uuid" : "f635824e-318b-3f0c-842c-c369737f2b68", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" } ], "sharedCache" : { "base" : 6806831104, "size" : 4214358016, "uuid" : "bb3df3d3-38bd-304c-9233-e43de95f1903" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.5G resident=0K(0%) swapped_out_or_unallocated=1.5G(100%)\nWritable regions: Total=30.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=30.2M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nKernel Alloc Once 32K 1 \nMALLOC 18.2M 12 \nMALLOC guard page 96K 6 \nMemory Tag 253 32.0G 25 \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nAUTH 3247K 546 \nAUTH_CONST 39.8M 795 \nCTF 824 1 \nDATA 19.7M 786 \nDATA_CONST 46.9M 809 \n__DATA_DIRTY 2869K 317 \nFONT_DATA 4K 1 \nINFO_FILTER 8 1 \nLINKEDIT 528.0M 7 \nOBJC_RO 71.9M 1 \nOBJC_RW 2200K 1 \n__TEXT 970.5M 826 \ndyld private memory 272K 2 \nmapped file 64K 1 \nshared memory 32K 2 \n=========== ======= ======= \nTOTAL 33.7G 4143 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "10a76596d81a5f1bc8a1842f620bc5b1362c0f6b", "trialInfo" : { "rollouts" : [ { "rolloutId" : "648a2601f74c42732876cb5b", "factorPackIds" : { "SIRI_TEXT_TO_SPEECH" : "66d7b9d1d9aabf7ca9408524" }, "deploymentId" : 240000244 }, { "rolloutId" : "64c025b28b7f0e739e4fbe58", "factorPackIds" : {

  },
  "deploymentId" : 240000019
}

], "experiments" : [ { "treatmentId" : "c47ab4cc-c9c3-4b5d-a87c-e2433ce02597", "experimentId" : "6639bc6ba73d460582162323", "deploymentId" : 400000006 }, { "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8", "experimentId" : "6643969b3099cf28e049862f", "deploymentId" : 400000007 } ] } }

Model: Mac14,7, BootROM 10151.140.19, proc 8:4:4 processors, 16 GB, SMC Graphics: Apple M2, Apple M2, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Memory Module: LPDDR5, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jan 13 2024 02:32:45 version 18.20.440.9.7.8.167 FWID 01-9a7f6652 AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc.

githubdonteails commented 1 week ago

请尝试在文件上右键打开

githubdonteails commented 1 week ago

参考: Note on verification This app isn't codesigned because it isn't registered through Apple's Developer program. This is why you see the message “AudioVideoMerger.app” cannot be opened because the developer cannot be verified. when opening the app for the first time. Go to System Settings > Privacy & Security, scroll down and you should see a message that the app was blocked. From there click on Open Anyway, and you're good to go.

https://github.com/kapoko/audio-video-merger?tab=readme-ov-file#note-on-verification

lvyandev commented 2 days ago

codesign --force --deep --sign - /Applications/AudioVideoMerger.app

githubdonteails commented 11 hours ago

codesign --force --deep --sign - /Applications/AudioVideoMerger.app

请尝试在文件上右键打开

githubdonteails commented 11 hours ago

参考: Note on verification This app isn't codesigned because it isn't registered through Apple's Developer program. This is why you see the message “AudioVideoMerger.app” cannot be opened because the developer cannot be verified. when opening the app for the first time. Go to System Settings > Privacy & Security, scroll down and you should see a message that the app was blocked. From there click on Open Anyway, and you're good to go.

https://github.com/kapoko/audio-video-merger?tab=readme-ov-file#note-on-verification

解决方案翻译为中文: 此应用未进行代码签名,因为它未通过 Apple 开发者计划注册。这就是为什么首次打开该应用时,会看到“无法打开‘AudioVideoMerger.app’,因为无法验证开发者”的消息。前往“系统设置” > “隐私与安全性”,向下滚动,您会看到一条关于该应用被阻止的消息。点击“仍然打开”,即可继续使用。