Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't open on macOS Mojave (10.14.6) #31

Closed
Bretterson opened this issue Feb 27, 2022 · 10 comments
Closed

Doesn't open on macOS Mojave (10.14.6) #31

Bretterson opened this issue Feb 27, 2022 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@Bretterson
Copy link

Hi there. I've tried both 1.0.0 and 1.0.1, but this is all I get when I launch the updater.

image

@gamelaster gamelaster self-assigned this Feb 27, 2022
@gamelaster gamelaster added the bug Something isn't working label Feb 27, 2022
@gamelaster
Copy link
Member

Hello, please, can you try the latest version which I published just now? (1.0.2)

Thanks

@Bretterson
Copy link
Author

Same result :(

@Bretterson
Copy link
Author

I'm not sure if this is of any value to you, but I found this error in the Console:

error	17:09:00.275299 -0500	sandboxd	Sandbox: PINE64 Updater(28768) deny(1) file-read-data /Users/Brett/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist
Violation:       deny(1) file-read-data /Users/Brett/Library/Preferences/com.apple.LaunchServices/com.apple.launchservices.secure.plist 
Process:         PINE64 Updater [28768]
Path:            /Applications/PINE64 Updater.app/Contents/MacOS/PINE64 Updater
Load Address:    0x106926000
Identifier:      org.pine64.pine64updater
Version:         3 (1.0.2)
Code Type:       x86_64 (Native)
Parent Process:  launchd [1]
Responsible:     /Applications/PINE64 Updater.app/Contents/MacOS/PINE64 Updater [28768]
User ID:         502

Date/Time:       2022-02-28 17:08:58.725 EST
OS Version:      Mac OS X 10.14.6 (18G6042)
Report Version:  8


MetaData: {"platform-binary":false,"platform_binary":"no","operation":"file-read-data","build":"Mac OS X 10.14.6 (18G6042)","primary-filter-value":"\/Users\/Brett\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","flags":5,"file-mode":420,"primary-filter":"path","action":"deny","profile-flags":0,"errno":1,"rdev":0,"signing-id":"org.pine64.pine64updater","file-flags":0,"process":"PINE64 Updater","profile-in-collection":false,"process-path":"\/Applications\/PINE64 Updater.app\/Contents\/MacOS\/PINE64 Updater","pid":28768,"path":"\/Users\/Brett\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","target":"\/Users\/Brett\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","hardware":"Mac","container":"\/Users\/Brett\/Library\/Containers\/org.pine64.pine64updater\/Data","uid":502,"vnode-type":"REGULAR-FILE","normalized_target":["Users","Brett","Library","Preferences","com.apple.LaunchServices","com.apple.launchservices.secure.plist"],"responsible-process-path":"\/Applications\/PINE64 Updater.app\/Contents\/MacOS\/PINE64 Updater","responsible-process-pid":28768,"summary":"deny(1) file-read-data \/Users\/Brett\/Library\/Preferences\/com.apple.LaunchServices\/com.apple.launchservices.secure.plist","platform-policy":false}

Thread 0 (id: 102088953):
0   libsystem_kernel.dylib        	0x00007fff71f6c9da __ulock_wait + 10
1   libdispatch.dylib             	0x00007fff71de8ef8 _dispatch_thread_event_wait_slow + 33
2   libdispatch.dylib             	0x00007fff71df437f __DISPATCH_WAIT_FOR_QUEUE__ + 286
3   libdispatch.dylib             	0x00007fff71df3fce _dispatch_sync_f_slow + 171
4   LaunchServices                	0x00007fff474184a7 _LSPreferences::with(_LSPreferences::SecurityContext const*, void (void const*) block_pointer) + 321
5   LaunchServices                	0x00007fff47418017 _LSPreferences::With(_LSPreferences::SecurityContext const*, void (void const*) block_pointer) + 85
6   LaunchServices                	0x00007fff4743bdca _LSWithMutableInsecurePreferences + 122
7   LaunchServices                	0x00007fff4743bd0a _LSPrefsInit(long*) + 372
8   LaunchServices                	0x00007fff47445195 _LSPrefsGetApplicationCapabilityIsDisabled + 45
9   LaunchServices                	0x00007fff47443467 prepareApplicationCapabilityIsDisabledValue(_LSOnDemandContext&, FSNode*, __CFString const*, unsigned int, __FileCache*, __CFString const*, NSError* __autoreleasing*) + 567
10  LaunchServices                	0x00007fff47445162 prepareApplicationHighResolutionModeIsMagnifiedValue(_LSOnDemandContext&, FSNode*, __FileCache*, __CFString const*, NSError* __autoreleasing*) + 30
11  LaunchServices                	0x00007fff47410836 LSPropertyProviderPrepareValues(__CFURL const*, __FileCache*, __CFString const* const*, void const**, long, void const*, __CFError**) + 657
12  CoreServicesInternal          	0x00007fff5a02e0ee prepareValuesForBitmap(__CFURL const*, __FileCache*, _FilePropertyBitmap*, __CFError**) + 360
13  CoreServicesInternal          	0x00007fff5a02fd3d _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 214
14  CoreFoundation                	0x00007fff45e52c0f CFURLCopyResourcePropertyForKey + 101
15  HIToolbox                     	0x00007fff450a6483 _HIMagnifiedMode + 74
16  AppKit                        	0x00007fff43431d9f -[NSScreen backingScaleFactor] + 64
17  AppKit                        	0x00007fff434310eb _NSScreenConfigurationUpdateWithSharedInfo + 3549
18  AppKit                        	0x00007fff4342e469 ___NSScreenConfigurationEnsureInitialUpdateOccurred_block_invoke + 173
19  libdispatch.dylib             	0x00007fff71de863d _dispatch_client_callout + 8
20  libdispatch.dylib             	0x00007fff71de9d4b _dispatch_once_callout + 20
21  AppKit                        	0x00007fff4342e3ba +[_NSScreenConfiguration prepare] + 34
22  AppKit                        	0x00007fff4342e1f7 -[NSApplication(ScreenHandling) _registerForDisplayChangedNotifications] + 261
23  AppKit                        	0x00007fff43428549 -[NSApplication init] + 1750
24  AppKit                        	0x00007fff43427c80 +[NSApplication sharedApplication] + 138
25  AppKit                        	0x00007fff43426923 NSApplicationMain + 356
26  PINE64 Updater                	0x0000000106929789 main + 9
27  libdyld.dylib                 	0x00007fff71e353d5 start + 1
28  PINE64 Updater                	0x0000000000000001

Thread 1 (id: 102088981):
0   libsystem_kernel.dylib        	0x00007fff71f6cf02 __psynch_mutexwait + 10
1   libsystem_pthread.dylib       	0x00007fff720274cd _pthread_mutex_firstfit_lock_slow + 222
2   CoreServicesInternal          	0x00007fff5a02de89 _FileCacheLock(__FileCache*) + 13
3   CoreServicesInternal          	0x00007fff5a02fcb7 _FSURLCopyResourcePropertyForKeyInternal(__CFURL const*, __CFString const*, void*, void*, __CFError**, unsigned char) + 80
4   CoreFoundation                	0x00007fff45e52c0f CFURLCopyResourcePropertyForKey + 101
5   CoreFoundation                	0x00007fff45ea595c ____CFRunLoopSetOptionsReason_block_invoke_5 + 154
6   libdispatch.dylib             	0x00007fff71de75f8 _dispatch_call_block_and_release + 12
7   libdispatch.dylib             	0x00007fff71de863d _dispatch_client_callout + 8
8   libdispatch.dylib             	0x00007fff71df6654 _dispatch_root_queue_drain + 988
9   libdispatch.dylib             	0x00007fff71df6b46 _dispatch_worker_thread2 + 90
10  libsystem_pthread.dylib       	0x00007fff720286b3 _pthread_wqthread + 583
11  libsystem_pthread.dylib       	0x00007fff720283fd start_wqthread + 13
12  PINE64 Updater                	0x0000000054485244

Thread 2 (id: 102088982):
0   libsystem_pthread.dylib       	0x00007fff720283f0 start_wqthread + 0

Thread 3 (id: 102088985):
0   libsystem_pthread.dylib       	0x00007fff720283f0 start_wqthread + 0

Thread 4 (id: 102088987):
0   libsystem_kernel.dylib        	0x00007fff71f6b1ea __open + 10
1   Foundation                    	0x00007fff480df80c -[NSData(NSData) initWithContentsOfFile:options:maxLength:error:] + 206
2   Foundation                    	0x00007fff480e73f3 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 115
3   Foundation                    	0x00007fff480e736d +[NSDictionary(NSDictionary) dictionaryWithContentsOfURL:] + 45
4   LaunchServices                	0x00007fff474830d3 invocation function for block in _LSPreferences::load() + 292
5   libdispatch.dylib             	0x00007fff71df3cea _dispatch_block_async_invoke2 + 83
6   libdispatch.dylib             	0x00007fff71de863d _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00007fff71df53da _dispatch_lane_concurrent_drain + 1003
8   libdispatch.dylib             	0x00007fff71def416 _dispatch_lane_invoke + 513
9   libdispatch.dylib             	0x00007fff71dea8fd _dispatch_queue_override_invoke + 421
10  libdispatch.dylib             	0x00007fff71df63bc _dispatch_root_queue_drain + 324
11  libdispatch.dylib             	0x00007fff71df6b46 _dispatch_worker_thread2 + 90
12  libsystem_pthread.dylib       	0x00007fff720286b3 _pthread_wqthread + 583
13  libsystem_pthread.dylib       	0x00007fff720283fd start_wqthread + 13
14  PINE64 Updater                	0x0000000054485244

Thread 5 (id: 102089006):
0   libsystem_kernel.dylib        	0x00007fff71f6b1ea __open + 10
1   Foundation                    	0x00007fff480df80c -[NSData(NSData) initWithContentsOfFile:options:maxLength:error:] + 206
2   Foundation                    	0x00007fff480e73f3 +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 115
3   Foundation                    	0x00007fff480e736d +[NSDictionary(NSDictionary) dictionaryWithContentsOfURL:] + 45
4   LaunchServices                	0x00007fff474830d3 invocation function for block in _LSPreferences::load() + 292
5   libdispatch.dylib             	0x00007fff71df3cea _dispatch_block_async_invoke2 + 83
6   libdispatch.dylib             	0x00007fff71de863d _dispatch_client_callout + 8
7   libdispatch.dylib             	0x00007fff71df53da _dispatch_lane_concurrent_drain + 1003
8   libdispatch.dylib             	0x00007fff71def416 _dispatch_lane_invoke + 513
9   libdispatch.dylib             	0x00007fff71dea8fd _dispatch_queue_override_invoke + 421
10  libdispatch.dylib             	0x00007fff71df63bc _dispatch_root_queue_drain + 324
11  libdispatch.dylib             	0x00007fff71df6b46 _dispatch_worker_thread2 + 90
12  libsystem_pthread.dylib       	0x00007fff720286b3 _pthread_wqthread + 583
13  libsystem_pthread.dylib       	0x00007fff720283fd start_wqthread + 13
14  PINE64 Updater                	0x0000000054485244

Thread 6 (id: 102089007):
0   libsystem_kernel.dylib        	0x00007fff71f6bbfa __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fff720283fd start_wqthread + 13
2   PINE64 Updater                	0x0000000054485244

Binary Images:
       0x106926000 -        0x106929fff  org.pine64.pine64updater (1.0.2 - 3) <1c08b918-875e-3ebe-bec3-64cc53905ccb> /Applications/PINE64 Updater.app/Contents/MacOS/PINE64 Updater
    0x7fff43424000 -     0x7fff441d9ffb  com.apple.AppKit (6.9 - 1671.60.109) <b61b0ffc-7a6f-32fa-afb4-6953e4356d5a> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fff4509c000 -     0x7fff45393fff  com.apple.HIToolbox (2.1.1) <88d7f19c-8c9d-384b-bab5-8205ca282f2c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fff45e0e000 -     0x7fff46253fff  com.apple.CoreFoundation (6.9 - 1575.300) <2abd4a7d-6c28-3594-8584-4d7445911eaa> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff4740d000 -     0x7fff475beff7  com.apple.LaunchServices (946 - 946) <a0c91634-9410-38e8-bc11-7a5a369e6ba5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fff48093000 -     0x7fff48440ffb  com.apple.Foundation (6.9 - 1575.300) <ca3584da-a8af-3931-9b53-3b1ea240575c> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fff5a02a000 -     0x7fff5a05bff3  com.apple.CoreServicesInternal (358 - 358) <dd6ef60d-048f-3186-83da-eb191edf48ae> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fff71de5000 -     0x7fff71e1eff7  libdispatch.dylib (1008.270.1) <97273678-e94c-3c8c-89f6-2e2020f4b43b> /usr/lib/system/libdispatch.dylib
    0x7fff71e1f000 -     0x7fff71e4bff7  libdyld.dylib (655.1.1) <002418cc-ad11-3d10-865b-015591d24e6c> /usr/lib/system/libdyld.dylib
    0x7fff71f69000 -     0x7fff71f91ff7  libsystem_kernel.dylib (4903.278.44.0.2) <e986465d-59be-312c-937e-0b3ebdf65d7c> /usr/lib/system/libsystem_kernel.dylib
    0x7fff72026000 -     0x7fff72030ff7  libsystem_pthread.dylib (330.250.2) <2d5c08ff-484f-3d59-9132-ce1dcb3f76d7> /usr/lib/system/libsystem_pthread.dylib

@parkerbomar
Copy link

parkerbomar commented Mar 5, 2022

Also having this issue.

Big sur and after upgrading to Mojave

@parkerbomar
Copy link

Update:

I was able to fix this and open the application after updating libusb

To install the missing library run the following command in the MacOS Terminal:

brew install libusb

@gamelaster
Copy link
Member

@parkerbomar thank you, this confirms me that issues are with dylib load, although, I don't understand what problem macOS have. Will investigate more.

@gamelaster
Copy link
Member

@parkerbomar @Bretterson please, can you try this version from CI, what error it will show you ? Thanks
https://github.com/pine64/pine64_updater/actions/runs/1940755523

@gamelaster
Copy link
Member

https://github.com/pine64/pine64_updater/releases/tag/1.0.3 I hope this could fix the issue, please try if you can, thanks.

@rhnidka
Copy link

rhnidka commented Mar 13, 2022

I can confirm that version 1.0.3 works correctly on macOS 10.14.6, I just successfully flashed my Pinecil. Thank you.

@Bretterson
Copy link
Author

Sorry, I missed the recent updates. I just tried and it loaded correctly! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants