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

Obyte Test Wallet crashes on first run -- Mac Mojave 10.14.4 #1

Open
tj800x opened this issue Aug 1, 2019 · 1 comment
Open

Obyte Test Wallet crashes on first run -- Mac Mojave 10.14.4 #1

tj800x opened this issue Aug 1, 2019 · 1 comment

Comments

@tj800x
Copy link

tj800x commented Aug 1, 2019

On startup I was presented with the choose dialog. I tried both options "Download entire database" and "Keep only data relevant to you". After both tries the application shows me the dialog me to name the device. After I type in a name and click on Continue the application immediately crashes.

I'm on Mac Mojave 10.14.4.

I previously had the wallets (both MainNet and TestNet) running a long time ago. I'm not sure if this machine has been reinitialized since then though.

Here is what is shown in the log:

error 11:23:39.418174 -0400 cfprefsd rejecting write of key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate in { com.apple.contextstored, root, kCFPreferencesAnyHost, no container, managed: 0 } from process 172 because setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
error 11:23:39.419441 -0400 contextstored Couldn't write value for key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertEventsNotification:/app/usageActivityDate in CFPrefsPlistSource<0x7faecc7029b0> (Domain: com.apple.contextstored, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
error 11:23:39.420689 -0400 cfprefsd rejecting write of key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate in { com.apple.contextstored, root, kCFPreferencesAnyHost, no container, managed: 0 } from process 172 because setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
error 11:23:39.422398 -0400 contextstored Couldn't write value for key _DKThrottledActivityLast_DKKnowledgeStorageLogging_DKKnowledgeStorageDidInsertLocalEventsNotification:/app/usageActivityDate in CFPrefsPlistSource<0x7faecc7029b0> (Domain: com.apple.contextstored, User: kCFPreferencesCurrentUser, ByHost: No, Container: (null), Contents Need Refresh: Yes): setting preferences outside an application's container requires user-preference-write or file-write-data sandbox access
error 11:23:39.451376 -0400 sandboxd Sandbox: contextstored(172) deny(1) file-write-data /private/var/root/Library/Preferences/com.apple.contextstored.plist
Violation: deny(1) file-write-data /private/var/root/Library/Preferences/com.apple.contextstored.plist
Process: contextstored [172]
Path: /System/Library/PrivateFrameworks/CoreDuetContext.framework/Versions/A/Resources/contextstored
Load Address: 0x108b7e000
Identifier: contextstored
Version: ??? (???)
Code Type: x86_64 (Native)
Parent Process: launchd [1]
Responsible: /System/Library/PrivateFrameworks/CoreDuetContext.framework/Resources/contextstored [172]
User ID: 0

Date/Time: 2019-08-01 11:23:39.433 EDT
OS Version: Mac OS X 10.14.4 (18E226)
Report Version: 8

MetaData: {"platform_binary":"yes","errno":1,"profile-in-collection":false,"process":"contextstored","operation":"file-write-data","sandbox_checker":"cfprefsd","path":"/private/var/root/Library/Preferences/com.apple.contextstored.plist","primary-filter-value":"/private/var/root/Library/Preferences/com.apple.contextstored.plist","action":"deny","flags":5,"normalized_target":["private","var","root","Library","Preferences","com.apple.contextstored.plist"],"target":"/private/var/root/Library/Preferences/com.apple.contextstored.plist","checker-pid":105,"file-flags":0,"pid":172,"primary-filter":"path","profile-flags":0,"platform-binary":true,"checker":"cfprefsd","rdev":0,"build":"Mac OS X 10.14.4 (18E226)","platform-policy":false,"signing-id":"com.apple.contextstored","responsible-process-path":"/System/Library/PrivateFrameworks/CoreDuetContext.framework/Resources/contextstored","hardware":"Mac","responsible-process-pid":172,"vnode-type":"REGULAR-FILE","process-path":"/System/Library/PrivateFrameworks/CoreDuetContext.framework/Versions/A/Resources/contextstored","summary":"deny(1) file-write-data /private/var/root/Library/Preferences/com.apple.contextstored.plist","uid":0}

Thread 0 (id: 1022):
0 libsystem_kernel.dylib 0x00007fff6fbf422a mach_msg_trap + 10
1 CoreFoundation 0x00007fff435ad3bd __CFRunLoopServiceMachPort + 327
2 CoreFoundation 0x00007fff435ac92a __CFRunLoopRun + 1619
3 CoreFoundation 0x00007fff435ac085 CFRunLoopRunSpecific + 459
4 CoreFoundation 0x00007fff435abe95 CFRunLoopRun + 40
5 contextstored 0x0000000108b815ae
6 libdyld.dylib 0x00007fff6fabf3d5 start + 1
7 contextstored 0x0000000000000001

Thread 1 (id: 2163246):
0 libsystem_kernel.dylib 0x00007fff6fbf5bfe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff6fcac3fd start_wqthread + 13
2 contextstored 0x0000000054485244

Thread 2 (id: 2163426):
0 libsystem_kernel.dylib 0x00007fff6fbf5bfe __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fff6fcac3fd start_wqthread + 13

Thread 3 (id: 2163483):
0 libsqlite3.dylib 0x00007fff6ebedb64 sqlite3RunParser + 500
1 libsqlite3.dylib 0x00007fff6ebec3da sqlite3LockAndPrepare + 1306
2 libsqlite3.dylib 0x00007fff6ecb2842 sqlite3_prepare_v3 + 66
3 CoreData 0x00007fff4310c190 -[NSSQLiteConnection prepareSQLStatement:] + 480
4 CoreData 0x00007fff4322e1c5 -[NSSQLiteConnection updateConstrainedValuesForRow:] + 277
5 CoreData 0x00007fff4336c0ed _writeChangesForSaveRequest + 2173
6 CoreData 0x00007fff4336d706 _executeSaveChangesRequest + 390
7 CoreData 0x00007fff43332e82 -[NSSQLSaveChangesRequestContext executeRequestCore:] + 18
8 CoreData 0x00007fff4331edcb -[NSSQLStoreRequestContext executeRequestUsingConnection:] + 219
9 CoreData 0x00007fff4333057b __52-[NSSQLDefaultConnectionManager handleStoreRequest:]_block_invoke + 75
10 libdispatch.dylib 0x00007fff6fa7263d _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff6fa7e129 _dispatch_lane_barrier_sync_invoke_and_complete + 60
12 CoreData 0x00007fff43330460 -[NSSQLDefaultConnectionManager handleStoreRequest:] + 336
13 CoreData 0x00007fff4325a154 -[NSSQLCoreDispatchManager routeStoreRequest:] + 308
14 CoreData 0x00007fff43213b89 -[NSSQLCore dispatchRequest:withRetries:] + 233
15 CoreData 0x00007fff4320fb5f -[NSSQLCore processSaveChanges:forContext:] + 191
16 CoreData 0x00007fff43114b0a -[NSSQLCore executeRequest:withContext:error:] + 842
17 CoreData 0x00007fff431ecd57 __65-[NSPersistentStoreCoordinator executeRequest:withContext:error:]_block_invoke + 5271
18 CoreData 0x00007fff431e3130 -[NSPersistentStoreCoordinator _routeHeavyweightBlock:] + 288
19 CoreData 0x00007fff431141d5 -[NSPersistentStoreCoordinator executeRequest:withContext:error:] + 1301
20 CoreData 0x00007fff4313e9d9 -[NSManagedObjectContext save:] + 2025
21 CoreDuet 0x00007fff570e1dd8 __42-[_DKKnowledgeStorage _saveObjects:error:]_block_invoke + 496
22 CoreData 0x00007fff43158624 developerSubmittedBlockToNSManagedObjectContextPerform + 180
23 libdispatch.dylib 0x00007fff6fa7263d _dispatch_client_callout + 8
24 libdispatch.dylib 0x00007fff6fa7e129 _dispatch_lane_barrier_sync_invoke_and_complete + 60
25 CoreData 0x00007fff431938e1 -[NSManagedObjectContext(_NSCoreDataSPI) performWithOptions:andBlock:] + 641
26 CoreDuet 0x00007fff570e1a20 -[_DKKnowledgeStorage _saveObjects:error:] + 978
27 CoreDuet 0x00007fff570e1259 __64-[_DKKnowledgeStorage saveObjects:responseQueue:withCompletion:]_block_invoke_2 + 55
28 CoreDuet 0x00007fff570e11eb __64-[_DKKnowledgeStorage saveObjects:responseQueue:withCompletion:]_block_invoke + 141
29 libdispatch.dylib 0x00007fff6fa715f8 _dispatch_call_block_and_release + 12
30 libdispatch.dylib 0x00007fff6fa7263d _dispatch_client_callout + 8
31 libdispatch.dylib 0x00007fff6fa788e0 _dispatch_lane_serial_drain + 602
32 libdispatch.dylib 0x00007fff6fa793c6 _dispatch_lane_invoke + 433
33 libdispatch.dylib 0x00007fff6fa816ed _dispatch_workloop_worker_thread + 598
34 libsystem_pthread.dylib 0x00007fff6fcac611 _pthread_wqthread + 421
35 libsystem_pthread.dylib 0x00007fff6fcac3fd start_wqthread + 13

Thread 4 (id: 2163484):
0 libsystem_kernel.dylib 0x00007fff6fbf422a mach_msg_trap + 10
1 libdispatch.dylib 0x00007fff6fa863e7 _dispatch_mach_send_and_wait_for_reply + 609
2 libdispatch.dylib 0x00007fff6fa86882 dispatch_mach_send_with_result_and_wait_for_reply + 50
3 libxpc.dylib 0x00007fff6fceb783 xpc_connection_send_message_with_reply_sync + 178
4 CoreFoundation 0x00007fff4361aa48 __91-[CFPrefsPlistSource sendFullyPreparedMessage:toConnection:settingValue:forKey:retryCount:]_block_invoke + 31
5 CoreFoundation 0x00007fff435a2edb -[_CFXPreferences withConnectionForRole:performBlock:] + 36
6 CoreFoundation 0x00007fff4361aa1a -[CFPrefsPlistSource sendFullyPreparedMessage:toConnection:settingValue:forKey:retryCount:] + 202
7 CoreFoundation 0x00007fff4361a686 -[CFPrefsPlistSource sendMessageSettingValue:forKey:] + 580
8 CoreFoundation 0x00007fff43619c79 -[CFPrefsPlistSource alreadylocked_setPrecopiedValues:forKeys:count:from:] + 589
9 CoreFoundation 0x00007fff435de41c -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 386
10 CoreFoundation 0x00007fff435de294 -[CFPrefsSource setValues:forKeys:count:copyValues:from:] + 28
11 CoreFoundation 0x00007fff4361c6bd -[CFPrefsSearchListSource alreadylocked_setPrecopiedValues:forKeys:count:from:] + 1001
12 CoreFoundation 0x00007fff435de41c -[CFPrefsSource setValues:forKeys:count:copyValues:removeValuesForKeys:count:from:] + 386
13 CoreFoundation 0x00007fff435de294 -[CFPrefsSource setValues:forKeys:count:copyValues:from:] + 28
14 CoreFoundation 0x00007fff43619a11 -[CFPrefsSource setValue:forKey:from:] + 71
15 CoreFoundation 0x00007fff4358b64e __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 268
16 CoreFoundation 0x00007fff4358b310 -[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 337
17 CoreFoundation 0x00007fff4361c2ab -[_CFXPreferences setValue:forKey:appIdentifier:container:configurationURL:] + 90
18 CoreFoundation 0x00007fff4361c21f _CFPreferencesSetAppValueWithContainerAndConfiguration + 116
19 Foundation 0x00007fff4588221d -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 55
20 libdispatch.dylib 0x00007fff6fa715f8 _dispatch_call_block_and_release + 12
21 libdispatch.dylib 0x00007fff6fa7263d _dispatch_client_callout + 8
22 libdispatch.dylib 0x00007fff6fa788e0 _dispatch_lane_serial_drain + 602
23 libdispatch.dylib 0x00007fff6fa79396 _dispatch_lane_invoke + 385
24 libdispatch.dylib 0x00007fff6fa816ed _dispatch_workloop_worker_thread + 598
25 libsystem_pthread.dylib 0x00007fff6fcac611 _pthread_wqthread + 421
26 libsystem_pthread.dylib 0x00007fff6fcac3fd start_wqthread + 13

Thread 5 (id: 2163489):

Binary Images:
0x108b7e000 - 0x108b82fff contextstored (915.250.24) /System/Library/PrivateFrameworks/CoreDuetContext.framework/Versions/A/Resources/contextstored
0x7fff430f7000 - 0x7fff43489ff7 com.apple.CoreData (120 - 866.5) <3b9084ab-04ea-3294-9a9d-99929795c5cb> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff43572000 - 0x7fff439b6ff7 com.apple.CoreFoundation (6.9 - 1570.16) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff45804000 - 0x7fff45bb1ff3 com.apple.Foundation (6.9 - 1570.16) <84055403-9921-3efc-b593-8f0600ebee80> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff57016000 - 0x7fff571d5fff com.apple.CoreDuet (1.0 - 1) <58e827f4-e1d2-3a65-b34e-2d6d5c053ad0> /System/Library/PrivateFrameworks/CoreDuet.framework/Versions/A/CoreDuet
0x7fff6ebe0000 - 0x7fff6edb1ffb libsqlite3.dylib (274.22) <4db422b2-dfbd-3c46-aba9-50cc2d4490fd> /usr/lib/libsqlite3.dylib
0x7fff6fa6f000 - 0x7fff6faa8ff7 libdispatch.dylib (1008.250.7) <50235fce-b399-3319-90dc-88f530d4fc5c> /usr/lib/system/libdispatch.dylib
0x7fff6faa9000 - 0x7fff6fad5ff7 libdyld.dylib (655.1.1) <54c6b494-4a3d-3eec-b083-636a76aad649> /usr/lib/system/libdyld.dylib
0x7fff6fbf3000 - 0x7fff6fc1bff7 libsystem_kernel.dylib (4903.251.3) <84ef0290-6cb5-36e5-a273-692a7e437b36> /usr/lib/system/libsystem_kernel.dylib
0x7fff6fcaa000 - 0x7fff6fcb4ff7 libsystem_pthread.dylib (330.250.2) <4344198a-a1a3-3c52-97b4-f168d56e9789> /usr/lib/system/libsystem_pthread.dylib
0x7fff6fce1000 - 0x7fff6fd10ff7 libxpc.dylib (1336.251.2) <49138829-09c8-355c-b558-97e070b84ec5> /usr/lib/system/libxpc.dylib

@tj800x
Copy link
Author

tj800x commented Aug 2, 2019

I was able to successfully install 2.7 (MainNet). It prompted me to install 2.7.2. I did that and it seems okay on MainNet. I tried running the 3.0 (MainNet). It launches but then the About Obyte dialog shows 2.7.2. It obviously updated the database as the 2.7 version won't run (I had renamed the App prior to installing 2.7.2 and 3.0).

With this (qualified) success, I tried the TN version.

I downloaded the Obyte-TN 2.7.0t and ran it. It got further than before but then reported that the database was an old version. "Uncaught exception: Error: Mandatory upgrade required, please check the release notes at https://github.com/byteball/obyte-gui-wallet/releases and upgrade."

Then I tried Obyte-TN 3.0.0t. Now it immediately bombs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant