-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Unable to launch on Mac OS X High Sierra and TrustFailure #2359
Comments
The version reports 1.24.0 in the title bar for the CKAN which does launch but gives a TrustFailure error |
Similar problem on Linux: Console log dump:
Using latest version |
I've uninstalled/reinstalled a few times as well as have found the source files and manually deleted them. It appears to be a problem with the 32/64 bit. I am not a programmer, but it talks about needing the 32 bit HERE. When downloading via Homebrew, mono v5 is downloaded and not v4. I may be off here, but I'm out of ideas. Screenshot of what Homebrew installs HERE If anyone has any ideas, I am open to them. Below is the error I am getting.
|
Thanks for catching that. I can't belive I missed it. I just installed the CKAN-APP cask, but my old nemesis the 64 bit has returned.
|
I would assume the ckan-app installs as an .app package in the applications
folder - or it has to be linked there? I think typing ckan at the command
line will still launch the other cli ckan. Apps aren’t generally launched
on the cli nor in your PATH.
For what it’s worth, a fresh download of the ckan .app github release (I
wasn’t aware of the homebrew app either) seems to be working now, but I
don’t know what’s changed.
On my other Mac it is still just taking me to the install wiki page no
matter how many times I install the recommended version of Mono.
I’ll check this again.
…On Fri, 23 Mar 2018 at 01:30, Bentley Hensel ***@***.***> wrote:
Thanks for catching that. I can't belive I missed it.
I just installed the CKAN-APP cask, but my old nemesis the 64 bit has
returned.
ckan-app was successfully installed!
bentleys-mbp-3:~ BentleyHensel$ ckan
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.Screen..cctor () [0x00034] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <e36d106f4822473d8910305e5d059e11>:0
at <unknown> <0xffffffff>
at System.Windows.Forms.Form.get_CreateParams () [0x00157] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.CommonDialog/DialogForm.get_CreateParams () [0x00000] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.Form.SetClientSizeCore (int,int) [0x000af] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.Control.set_ClientSize (System.Drawing.Size) [0x0000f] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.Form.set_ClientSize (System.Drawing.Size) [0x00007] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.set_ClientSize (System.Drawing.Size) [0x00032] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.FileDialog..ctor () [0x0096d] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at System.Windows.Forms.OpenFileDialog..ctor () [0x00000] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.OpenFileDialog..ctor () [0x00018] in <44ea0a6a4c474973bc822bbba154d2d0>:0
at CKAN.ChooseKSPInstance..ctor () [0x00000] in <74d9e06aaf404eea9cd8286643721e98>:0
at (wrapper remoting-invoke-with-check) CKAN.ChooseKSPInstance..ctor () [0x00018] in <74d9e06aaf404eea9cd8286643721e98>:0
at CKAN.Main..ctor (string[],CKAN.GUIUser,bool) [0x000ec] in <74d9e06aaf404eea9cd8286643721e98>:0
at (wrapper remoting-invoke-with-check) CKAN.Main..ctor (string[],CKAN.GUIUser,bool) [0x0001b] in <74d9e06aaf404eea9cd8286643721e98>:0
at CKAN.GUI.Main_ (string[],bool) [0x0003b] in <74d9e06aaf404eea9cd8286643721e98>:0
at CKAN.CmdLine.MainClass.Gui (CKAN.CmdLine.GuiOptions,string[]) [0x00007] in <74d9e06aaf404eea9cd8286643721e98>:0
at CKAN.CmdLine.MainClass.Main (string[]) [0x000a0] in <74d9e06aaf404eea9cd8286643721e98>:0
at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) [0x00054] in <74d9e06aaf404eea9cd8286643721e98>:0
Native stacktrace:
0 mono 0x0000000100ce6be1 mono_handle_native_crash + 257
1 mono 0x0000000100d83366 altstack_handle_and_restore + 70
2 SkyLight 0x00007fff4acc9fa8 SLDisplayBounds + 83
3 ??? 0x000000010887233e 0x0 + 4438041406
4 ??? 0x00000001043129c6 0x0 + 4365298118
5 mono 0x0000000100c3b367 mono_jit_runtime_invoke + 1383
6 mono 0x0000000100e33c54 do_runtime_invoke + 84
7 mono 0x0000000100e2fbe4 mono_runtime_class_init_full + 996
8 mono 0x0000000100c34698 mono_jit_compile_method_inner + 2488
9 mono 0x0000000100c375a1 mono_jit_compile_method_with_opt + 1425
10 mono 0x0000000100ce90f1 common_call_trampoline + 1217
11 mono 0x0000000100ce8bec mono_magic_trampoline + 60
12 ??? 0x0000000101138393 0x0 + 4313023379
13 ??? 0x00000001082f03fb 0x0 + 4432266235
14 ??? 0x000000010884fcab 0x0 + 4437900459
15 ??? 0x0000000108849fdb 0x0 + 4437876699
16 ??? 0x00000001045d8403 0x0 + 4368204803
17 ??? 0x00000001042ff62d 0x0 + 4365219373
18 mono 0x0000000100c3b367 mono_jit_runtime_invoke + 1383
19 mono 0x0000000100e33c54 do_runtime_invoke + 84
20 mono 0x0000000100e37219 do_exec_main_checked + 137
21 mono 0x0000000100ca8b3f mono_jit_exec + 287
22 mono 0x0000000100cababd mono_main + 11069
23 mono 0x0000000100c2ad2d main + 253
24 mono 0x0000000100c2ac24 start + 52
25 ??? 0x0000000000000002 0x0 + 2
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.bEBDVE'
Executing commands in '/tmp/mono-gdb-commands.bEBDVE'.
(lldb) process attach --pid 49858
warning: (x86_64) /Library/Frameworks/Mono.framework/Versions/5.10.0/lib/mono/4.5/mscorlib.dll.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
warning: (x86_64) /Library/Frameworks/Mono.framework/Versions/5.10.0/lib/libglib-2.0.0.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Process 49858 stopped
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff50c6a502 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
-> 0x7fff50c6a502 <+10>: jae 0x7fff50c6a50c ; <+20>
0x7fff50c6a504 <+12>: movq %rax, %rdi
0x7fff50c6a507 <+15>: jmp 0x7fff50c610dd ; cerror
0x7fff50c6a50c <+20>: retq
Target 0: (mono) stopped.
Executable module set to "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono".
Architecture set to: x86_64h-apple-macosx.
(lldb) thread list
Process 49858 stopped
* thread #1: tid = 0x6fb176, 0x00007fff50c6a502 libsystem_kernel.dylib`__wait4 + 10, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0x6fb177, 0x00007fff50c69cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
thread #3: tid = 0x6fb187, 0x00007fff50c607fe libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
thread #4: tid = 0x6fb1b2, 0x00007fff50c6a562 libsystem_kernel.dylib`__workq_kernreturn + 10
thread #5: tid = 0x6fb1b3, 0x00007fff50c6a562 libsystem_kernel.dylib`__workq_kernreturn + 10
thread #6: tid = 0x6fb1f0, 0x00007fff50c69cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Timer-Scheduler'
(lldb) thread backtrace all
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff50c6a502 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x0000000100ce6c6e mono`mono_handle_native_crash(signal=<unavailable>, ctx=<unavailable>, info=<unavailable>) at mini-exceptions.c:2808 [opt]
frame #2: 0x0000000100d83366 mono`altstack_handle_and_restore(ctx=0x00007ffeeefd6010, obj=0x0000000000000000, stack_ovf=0) at exceptions-amd64.c:849 [opt]
frame #3: 0x00007fff4acc9fa8 SkyLight`SLDisplayBounds + 83
frame #4: 0x000000010887233e
frame #5: 0x00000001043129c6
frame #6: 0x0000000100c3b367 mono`mono_jit_runtime_invoke(method=0x00007ffc05848610, obj=<unavailable>, params=0x0000000000000000, exc=0x00007ffeeefd66b8, error=<unavailable>) at mini-runtime.c:2807 [opt]
frame #7: 0x0000000100e33c54 mono`do_runtime_invoke(method=0x00007ffc070e13f8, obj=0x0000000000000000, params=0x0000000000000000, exc=0x00007ffeeefd66b8, error=0x00007ffeeefd6890) at object.c:2887 [opt]
frame #8: 0x0000000100e2fbe4 mono`mono_runtime_class_init_full [inlined] mono_runtime_try_invoke(method=<unavailable>, obj=<unavailable>, params=<unavailable>, error=0x00007ffeeefd6890) at object.c:2994 [opt]
frame #9: 0x0000000100e2fb9f mono`mono_runtime_class_init_full(vtable=0x00007ffc07210740, error=0x00007ffeeefd6890) at object.c:475 [opt]
frame #10: 0x0000000100c34698 mono`mono_jit_compile_method_inner(method=0x00007ffc070e1280, target_domain=<unavailable>, opt=<unavailable>, error=0x00007ffeeefd6890) at mini.c:4349 [opt]
frame #11: 0x0000000100c375a1 mono`mono_jit_compile_method_with_opt(method=0x00007ffc070e1280, opt=<unavailable>, jit_only=<unavailable>, error=0x00007ffeeefd6890) at mini-runtime.c:2130 [opt]
frame #12: 0x0000000100ce90f1 mono`common_call_trampoline(regs=0x00007ffeeefd6948, code="H\x8b?H??\xa8H\x8b??8, m=0x00007ffc070e1280, vt=<unavailable>, vtable_slot=<unavailable>, error=<unavailable>) at mini-trampolines.c:715 [opt]
frame #13: 0x0000000100ce8bec mono`mono_magic_trampoline(regs=0x00007ffeeefd6948, code="H\x8b?H??\xa8H\x8b??8, arg=0x00007ffc070e1280, tramp=<unavailable>) at mini-trampolines.c:846 [opt]
frame #14: 0x0000000101138393
frame #15: 0x00000001082f03fb
frame #16: 0x000000010884fcab
frame #17: 0x0000000108849fdb
frame #18: 0x00000001045d8403
frame #19: 0x00000001042ff62d
frame #20: 0x0000000100c3b367 mono`mono_jit_runtime_invoke(method=0x0000000101637ea8, obj=<unavailable>, params=0x00007ffeeefd7698, exc=0x0000000000000000, error=<unavailable>) at mini-runtime.c:2807 [opt]
frame #21: 0x0000000100e33c54 mono`do_runtime_invoke(method=0x00007ffc0540c4c8, obj=0x0000000000000000, params=0x00007ffeeefd7698, exc=0x0000000000000000, error=0x00007ffeeefd76d8) at object.c:2887 [opt]
frame #22: 0x0000000100e37219 mono`do_exec_main_checked [inlined] mono_runtime_invoke_checked(method=<unavailable>, obj=<unavailable>, error=<unavailable>) at object.c:3040 [opt]
frame #23: 0x0000000100e371d8 mono`do_exec_main_checked(method=0x00007ffc0540c4c8, args=<unavailable>, error=0x00007ffeeefd76d8) at object.c:4784 [opt]
frame #24: 0x0000000100ca8b3f mono`mono_jit_exec(domain=<unavailable>, assembly=<unavailable>, argc=1, argv=0x00007ffeeefd7a58) at driver.g.c:1210 [opt]
frame #25: 0x0000000100cababd mono`mono_main [inlined] main_thread_handler at driver.g.c:1287 [opt]
frame #26: 0x0000000100caba89 mono`mono_main(argc=<unavailable>, argv=<unavailable>) at driver.g.c:2417 [opt]
frame #27: 0x0000000100c2ad2d mono`main [inlined] mono_main_with_options(argc=<unavailable>, argv=<unavailable>) at main.c:47 [opt]
frame #28: 0x0000000100c2ad19 mono`main(argc=2, argv=<unavailable>) at main.c:340 [opt]
frame #29: 0x0000000100c2ac24 mono`start + 52
thread #2, name = 'SGen worker'
frame #0: 0x00007fff50c69cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff50da6662 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x0000000100eec04e mono`thread_func [inlined] mono_os_cond_wait(mutex=<unavailable>) at mono-os-mutex.h:173 [opt]
frame #3: 0x0000000100eec03b mono`thread_func at sgen-thread-pool.c:165 [opt]
frame #4: 0x0000000100eec02d mono`thread_func(data=0x0000000000000000) at sgen-thread-pool.c:196 [opt]
frame #5: 0x00007fff50da56c1 libsystem_pthread.dylib`_pthread_body + 340
frame #6: 0x00007fff50da556d libsystem_pthread.dylib`_pthread_start + 377
frame #7: 0x00007fff50da4c5d libsystem_pthread.dylib`thread_start + 13
thread #3, name = 'Finalizer'
frame #0: 0x00007fff50c607fe libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x0000000100e99c1c mono`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) at mono-os-semaphore.h:90 [opt]
frame #2: 0x0000000100e99c11 mono`finalizer_thread at mono-coop-semaphore.h:43 [opt]
frame #3: 0x0000000100e99c05 mono`finalizer_thread(unused=<unavailable>) at gc.c:852 [opt]
frame #4: 0x0000000100e55ae0 mono`start_wrapper [inlined] start_wrapper_internal at threads.c:1004 [opt]
frame #5: 0x0000000100e55a43 mono`start_wrapper(data=<unavailable>) at threads.c:1064 [opt]
frame #6: 0x00007fff50da56c1 libsystem_pthread.dylib`_pthread_body + 340
frame #7: 0x00007fff50da556d libsystem_pthread.dylib`_pthread_start + 377
frame #8: 0x00007fff50da4c5d libsystem_pthread.dylib`thread_start + 13
thread #4
frame #0: 0x00007fff50c6a562 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff50da506a libsystem_pthread.dylib`_pthread_wqthread + 1035
frame #2: 0x00007fff50da4c4d libsystem_pthread.dylib`start_wqthread + 13
thread #5
frame #0: 0x00007fff50c6a562 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff50da526f libsystem_pthread.dylib`_pthread_wqthread + 1552
frame #2: 0x00007fff50da4c4d libsystem_pthread.dylib`start_wqthread + 13
thread #6, name = 'Timer-Scheduler'
frame #0: 0x00007fff50c69cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff50da669b libsystem_pthread.dylib`_pthread_cond_wait + 789
frame #2: 0x0000000100ef7934 mono`mono_os_cond_timedwait(cond=0x00007ffc05805560, mutex=0x00007ffc05805520, timeout_ms=2999) at mono-os-mutex.c:44 [opt]
frame #3: 0x0000000100e76487 mono`mono_w32handle_timedwait_signal_handle at mono-coop-mutex.h:102 [opt]
frame #4: 0x0000000100e76469 mono`mono_w32handle_timedwait_signal_handle [inlined] mono_w32handle_timedwait_signal_naked(poll=0, alerted=<unavailable>) at w32handle.c:652 [opt]
frame #5: 0x0000000100e76469 mono`mono_w32handle_timedwait_signal_handle(handle_data=<unavailable>, timeout=<unavailable>, poll=0, alerted=<unavailable>) at w32handle.c:767 [opt]
frame #6: 0x0000000100e76361 mono`mono_w32handle_wait_one(handle=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) at w32handle.c:885 [opt]
frame #7: 0x0000000100e765d2 mono`mono_w32handle_wait_multiple(handles=0x00007000042158b8, nhandles=1, waitall=0, timeout=<unavailable>, alertable=1) at w32handle.c:923 [opt]
frame #8: 0x0000000100e51098 mono`ves_icall_System_Threading_WaitHandle_Wait_internal(handles=<unavailable>, numhandles=<unavailable>, waitall=<unavailable>, timeout=-1, error=0x00007000042157c0) at threads.c:1931 [opt]
frame #9: 0x0000000108847fed
frame #10: 0x000000010349ea80 mscorlib.dll.dylib`System_Threading_WaitHandle_InternalWaitOne_System_Runtime_InteropServices_SafeHandle_long_bool_bool + 64
frame #11: 0x000000010349ea2c mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_long_bool + 44
frame #12: 0x000000010349e893 mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int_bool + 51
frame #13: 0x000000010349e9bc mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int + 28
frame #14: 0x00000001034a587f mscorlib.dll.dylib`System_Threading_Timer_Scheduler_SchedulerThread + 2495
frame #15: 0x0000000103497777 mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart_Context_object + 151
frame #16: 0x00000001034953c1 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 33
frame #17: 0x0000000103495350 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object + 80
frame #18: 0x00000001034978bf mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart + 47
frame #19: 0x000000010429faf9
frame #20: 0x0000000100c3b367 mono`mono_jit_runtime_invoke(method=0x0000000101628240, obj=<unavailable>, params=0x0000700004215ea8, exc=0x0000000101628498, error=<unavailable>) at mini-runtime.c:2807 [opt]
frame #21: 0x0000000100e33c54 mono`do_runtime_invoke(method=0x00007ffc05c1b630, obj=0x0000000101628398, params=0x0000700004215ea8, exc=0x0000000000000000, error=0x0000700004215e40) at object.c:2887 [opt]
frame #22: 0x0000000100e55b0b mono`start_wrapper at threads.c:1012 [opt]
frame #23: 0x0000000100e55a43 mono`start_wrapper(data=<unavailable>) at threads.c:1064 [opt]
frame #24: 0x00007fff50da56c1 libsystem_pthread.dylib`_pthread_body + 340
frame #25: 0x00007fff50da556d libsystem_pthread.dylib`_pthread_start + 377
frame #26: 0x00007fff50da4c5d libsystem_pthread.dylib`thread_start + 13
(lldb) detach
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Process 49858 detached
(lldb) quit
Abort trap: 6
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2359 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AF_ELRrAvE02uMB_cI96ErHzvH1hEEW0ks5thFAqgaJpZM4Sojd2>
.
|
I uninstalled/reinstalled and was getting the same result. After much searching, I came across this and it is working now.
|
So is there still an issue here that needs to be fixed, or should this be closed? |
I think this can be closed. Thanks for following up
Bentley Hensel
*Main: (202) 869-1271 <2028691271>*
*Direct: (202) 869-1337 <2028691337>*
*Web: 1776.Consulting
<https://1776.consulting/?utm_source=signature-footer&utm_medium=promotion&utm_content=bhensel-signature>*
*Demo Store: Store.1776.Consulting <http://store.1776.consulting/>*
…On Wed, Apr 11, 2018 at 10:25 AM, HebaruSan ***@***.***> wrote:
So is there still an issue here that needs to be fixed, or should this be
closed?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2359 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AfgvHKG4TAKan3phHmZ4-MP3pjyNOBmgks5tni6JgaJpZM4Sojd2>
.
|
Background
CKAN Version:
1.24.0
KSP Version:
Any
Operating System:
Mac OS X 10.13.3 "High Sierra"
Problem
I've been trying to get CKAN to launch but it has been problematic for the past month or so.
first of all, using the old mono can.exe gives me the error:
9997 [1] ERROR CKAN.ErrorDialog (null) - Error in auto-update:
Error: TrustFailure (One or more errors occurred.)
Similar errors are given when actually trying to install or update mods. I have a feeling this is something to do with cert-sync, but there is no documentation anywhere of what you actually need to do with it (certificate file args etc.) on Mac OS High Sierra or earlier versions.
I'm using a small shell script to launch CKAN this way, I've tried it with every version of Mono I have installed. I've also done a cert sync with each version of mono too.
This is the script:
So I've noticed there is now a Mac .App package available, and I've installed this.
Every time I run it, My browser opens and takes me to the Installing-CKAN-on-OSX page of the Wiki. I've installed the recommended version of Mono for High Sierra. I've fiddled around with cert-sync again. None of the other steps seem to be relevant here? In fact the page seems to be outdated.
Yes, I've rebooted.
I have two Macs and both have this same problem.
The text was updated successfully, but these errors were encountered: