labstreaminglayer / App-AudioCapture

Capture audio and stream it over LabStreamingLayer
MIT License
12 stars 2 forks source link

Audiocapture @Release refs/tags/v1.14.0b4 crash on macOS #8

Closed nortcele closed 4 years ago

nortcele commented 4 years ago

Audiocapture @Release refs/tags/v1.14.0b4 crash at launch on macOS for missing library.

AudioCapture_2020-03-25-114947_MacBook.crash.zip

tstenner commented 4 years ago
Process:               AudioCapture [7647]
Path:                  /Volumes/VOLUME/*/AudioCapture.app/Contents/MacOS/AudioCapture
Identifier:            LabStreamingLayer.AudioCapture
Version:               ??? (???)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           AudioCapture [7647]
User ID:               502

Date/Time:             2020-03-25 11:49:46.504 +0100
OS Version:            Mac OS X 10.15.4 (19E266)
Report Version:        12
Bridge OS Version:     3.0 (14Y908)
Anonymous UUID:        685CD369-2E20-B5E7-9D5E-A6754323FC50

Sleep/Wake UUID:       E682E13A-86A4-4F2C-8507-5E78B23D17A8

Time Awake Since Boot: 16000 seconds
Time Since Wake:       9800 seconds

System Integrity Protection: enabled

Notes:                 Translocated Process

Crashed Thread:        0

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

Termination Reason:    DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: /Volumes/VOLUME/*/AudioCapture.app/Contents/MacOS/AudioCapture
  Reason: image not found

Binary Images:
       0x10d979000 -        0x10d983ffb +LabStreamingLayer.AudioCapture (??? - ???) <F195A0FD-DFC5-3D20-8B8E-91DA88CD73BB> /var/folders/*/AudioCapture.app/Contents/MacOS/AudioCapture
       0x112c76000 -        0x112d07eff  dyld (750.5) <1F893B81-89A5-3502-8510-95B97B9F730D> /usr/lib/dyld

For some reason, the app searches for QtWidgets in the build machine Qt path.

cboulay commented 4 years ago

Hi, this is probably because CPack fails to run macdeployqt on the .app. See discussion here: https://github.com/labstreaminglayer/AppTemplate_cpp_qt/issues/6#issuecomment-603901292

I'll upload a zip with AudioCapture.app to the release page that you can use until I fix the CPack problem.

cboulay commented 4 years ago

https://github.com/labstreaminglayer/App-AudioCapture/releases/download/v1.14.0b4/AudioCapture.app.MacOS.zip

I'll close this issue because the zip file is now uploaded and the underlying issue is being tracked in another issue (linked in previous comment).

nortcele commented 4 years ago

Thank you a lot, this version work correctly.

Le 25 mars 2020 à 16:26, Chadwick Boulay notifications@github.com a écrit :

Hi, this is probably because CPack fails to run macdeployqt on the .app. See discussion here: labstreaminglayer/AppTemplate_cpp_qt#6 (comment)

I'll upload a zip with AudioCapture.app to the release page that you can use until I fix the CPack problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.