macmade / QEMU-Manager

macOS graphical frontend to QEMU
https://xs-labs.com/en/apps/qemu-manager/
GNU General Public License v3.0
318 stars 21 forks source link

App terminating reason: -[NSConcreteTask terminationStatus]: task not launched' #9

Open satorielectronics opened 2 years ago

satorielectronics commented 2 years ago

Hello, I had no problems building this with xcode 13, though when ran I got the following error:

objc[29820]: Class Pair is implemented in both /System/Library/Frameworks/FileProvider.framework/Versions/A/FileProvider (0x7ff854273648) and /Users/chleb/Library/Developer/Xcode/DerivedData/QEMU-Manager-athbmorbdqqgzndvbcnzloaiqejg/Build/Products/Release/GitHubUpdates.framework/Versions/A/GitHubUpdates (0x1016380c8). One of the two will be used. Which one is undefined. 2022-03-22 14:30:37.433116-0500 QEMU Manager[29820:408911] Warning: Column selection is not supported in view-based table and outline views (<NSTableView: 0x7fef13043e00>). 2022-03-22 14:30:37.442523-0500 QEMU Manager[29820:409456] [General] An uncaught exception was raised 2022-03-22 14:30:37.442593-0500 QEMU Manager[29820:409456] [General] -[NSConcreteTask terminationStatus]: task not launched 2022-03-22 14:30:37.442717-0500 QEMU Manager[29820:409456] [General] ( 0 CoreFoundation 0x00007ff811ba0f0b __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff811901b9d objc_exception_throw + 48 2 Foundation 0x00007ff812a088e6 -[NSConcreteTask terminationStatus] + 174 3 QEMU Manager 0x00000001014368b1 $s12QEMU_Manager0A0C10ExecutableC7execute9argumentsSS3out_SS3errtSgSaySSG_tKF + 1633 4 QEMU Manager 0x0000000101432d90 $s12QEMU_Manager0A0C6SystemC4help33_98FAB6D6BBBE2DF25419AA9E9C087ACCLL3for7command9skipLines0O8PrefixesSaySS_SStGAA6ConfigC12ArchitectureO_SSSaySSGAQtFZTf4nnnnd_n + 336 5 QEMU Manager 0x000000010142f8ef $s12QEMUManager7MachineC3allSDyAA6ConfigC12ArchitectureOSayACGGvpZfiAJyXEfU + 127 6 QEMU Manager 0x000000010142f859 $s12QEMU_Manager7MachineC3all_WZ + 9 7 libdispatch.dylib 0x0000000101a00874 _dispatch_client_callout + 8 8 libdispatch.dylib 0x0000000101a02038 _dispatch_once_callout + 87 9 QEMU Manager 0x000000010143c7e6 $s12QEMUManager23LibraryWindowControllerC13windowDidLoadyyFyycfU0 + 518 10 QEMU Manager 0x0000000101425cbe $sIeg_IeyB_TR + 14 11 libdispatch.dylib 0x00000001019ff634 _dispatch_call_block_and_release + 12 12 libdispatch.dylib 0x0000000101a00874 _dispatch_client_callout + 8 13 libdispatch.dylib 0x0000000101a151b5 _dispatch_root_queue_drain + 833 14 libdispatch.dylib 0x0000000101a15aa3 _dispatch_worker_thread2 + 206 15 libsystem_pthread.dylib 0x00000001018a8782 _pthread_wqthread + 256 16 libsystem_pthread.dylib 0x00000001018aeccb start_wqthread + 15 ) 2022-03-22 14:30:37.442978-0500 QEMU Manager[29820:409456] Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSConcreteTask terminationStatus]: task not launched' First throw call stack: ( 0 CoreFoundation 0x00007ff811ba0f0b __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff811901b9d objc_exception_throw + 48 2 Foundation 0x00007ff812a088e6 -[NSConcreteTask terminationStatus] + 174 3 QEMU Manager 0x00000001014368b1 $s12QEMU_Manager0A0C10ExecutableC7execute9argumentsSS3out_SS3errtSgSaySSG_tKF + 1633 4 QEMU Manager 0x0000000101432d90 $s12QEMU_Manager0A0C6SystemC4help33_98FAB6D6BBBE2DF25419AA9E9C087ACCLL3for7command9skipLines0O8PrefixesSaySS_SStGAA6ConfigC12ArchitectureO_SSSaySSGAQtFZTf4nnnnd_n + 336 5 QEMU Manager 0x000000010142f8ef $s12QEMUManager7MachineC3allSDyAA6ConfigC12ArchitectureOSayACGGvpZfiAJyXEfU + 127 6 QEMU Manager 0x000000010142f859 $s12QEMU_Manager7MachineC3all_WZ + 9 7 libdispatch.dylib 0x0000000101a00874 _dispatch_client_callout + 8 8 libdispatch.dylib 0x0000000101a02038 _dispatch_once_callout + 87 9 QEMU Manager 0x000000010143c7e6 $s12QEMUManager23LibraryWindowControllerC13windowDidLoadyyFyycfU0 + 518 10 QEMU Manager 0x0000000101425cbe $sIeg_IeyB_TR + 14 11 libdispatch.dylib 0x00000001019ff634 _dispatch_call_block_and_release + 12 12 libdispatch.dylib 0x0000000101a00874 _dispatch_client_callout + 8 13 libdispatch.dylib 0x0000000101a151b5 _dispatch_root_queue_drain + 833 14 libdispatch.dylib 0x0000000101a15aa3 _dispatch_worker_thread2 + 206 15 libsystem_pthread.dylib 0x00000001018a8782 _pthread_wqthread + 256 16 libsystem_pthread.dylib 0x00000001018aeccb start_wqthread + 15 ) libc++abi: terminating with uncaught exception of type NSException Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: ' -[NSConcreteTask terminationStatus]: task not launched' terminating with uncaught exception of type NSException (lldb)

mwhahaha commented 2 years ago

On the off chance other folks hit this, the app is bundling qemu binaries but they are the arm64 version so if you try and run it on an Intel mac it fails with this less than useful error. You need to cd in to the Third-Party/qemu folder and run make. You may to install some dependencies like Ninja and capstone. Alternatively you may be able to get away with copying the qemu binaries from an alternative system install (e.g. from brew. cp /usr/local/bin/qemu-* Third-Party/qemu/dist/qemu/bin/).

partlyhuman commented 2 years ago

Thank you @mwhahaha that solved my issue running QEMU-Manager. Copied binaries from the brew-installed ones.

hamzaahmedzia1 commented 1 year ago

@mwhahaha @partlyhuman Can anyone please detail the steps in building this with xcode?

I am not a xcode dev :-( but would love to try it out on my Intel mac using the homebrew qemu trick by @mwhahaha

Thanks a bunch