Skip to content

CKAN immediately closes on osx #2378

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

Closed
cm1kk opened this issue Mar 19, 2018 · 2 comments
Closed

CKAN immediately closes on osx #2378

cm1kk opened this issue Mar 19, 2018 · 2 comments
Labels
Duplicate Duplicate of another issue macOS Issues specific for macOS

Comments

@cm1kk
Copy link

cm1kk commented Mar 19, 2018

Background

CKAN Version: Whatever was current on 3/8/18.
KSP Version: 1.4.1
Operating System: OSX 10.10.5
I have a bunch of mods that I'm currently using, but I also tried it on a clean ksp install with the same result.

Problem

I downloaded ckan and updated mono, and when I try to open the .dmg, the icon flashes up in the dock and immediately closes. I don't know how to diagnose that, maybe theres a log somewhere that can tell me why? I then tried downloading the .exe and running it in mono through the terminal and it gave me this error. Any help would be appriciated.

Christians-MBP:downloads Scrappy$ mono /users/scrappy/downloads/ckan.exe
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 <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Screen..cctor () [0x00034] in <1141838629e74c21a3b96d0a06337bad>:0
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <2722d81e5b26475cb5f475fea055f291>:0
at <0xffffffff>
at System.Windows.Forms.Form.get_CreateParams () [0x00157] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.CommonDialog/DialogForm.get_CreateParams () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Form.SetClientSizeCore (int,int) [0x000af] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Control.set_ClientSize (System.Drawing.Size) [0x0000f] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Form.set_ClientSize (System.Drawing.Size) [0x00007] in <1141838629e74c21a3b96d0a06337bad>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form.set_ClientSize (System.Drawing.Size) [0x00032] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.FileDialog..ctor () [0x00954] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.OpenFileDialog..ctor () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.OpenFileDialog..ctor () [0x00018] in <1141838629e74c21a3b96d0a06337bad>:0
at CKAN.PluginsDialog..ctor () [0x00000] in <74d9e06aaf404eea9cd8286643721e98>:0
at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) [0x0004d] in <2722d81e5b26475cb5f475fea055f291>:0
at <0xffffffff>
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) [0x0000c] in <2722d81e5b26475cb5f475fea055f291>:0
at System.Reflection.MonoCMethod.InternalInvoke (object,object[]) [0x00002] in <2722d81e5b26475cb5f475fea055f291>:0
at System.RuntimeType.CreateInstanceMono (bool) [0x000a8] in <2722d81e5b26475cb5f475fea055f291>:0
at System.RuntimeType.CreateInstanceSlow (bool,bool,bool,System.Threading.StackCrawlMark&) [0x00009] in <2722d81e5b26475cb5f475fea055f291>:0
at System.RuntimeType.CreateInstanceDefaultCtor (bool,bool,bool,System.Threading.StackCrawlMark&) [0x00027] in <2722d81e5b26475cb5f475fea055f291>:0
at System.Activator.CreateInstance<T_REF> () [0x00015] in <2722d81e5b26475cb5f475fea055f291>:0
at CKAN.ControlFactory.CreateControl<T_REF> () [0x00017] in <74d9e06aaf404eea9cd8286643721e98>:0
at CKAN.Main.RecreateDialogs () [0x00022] in <74d9e06aaf404eea9cd8286643721e98>:0
at CKAN.Main..ctor (string[],CKAN.GUIUser,bool) [0x001f5] 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) .runtime_invoke_int_object (object,intptr,intptr,intptr) [0x00054] in <74d9e06aaf404eea9cd8286643721e98>:0

Native stacktrace:

0   mono                                0x00000001041d9b01 mono_handle_native_crash + 257
1   mono                                0x0000000104244136 altstack_handle_and_restore + 70
2   CoreGraphics                        0x00007fff8674e0f8 CGDisplayBounds + 50
3   ???                                 0x000000010e2bfeae 0x0 + 4532731566
4   ???                                 0x00000001073da3c6 0x0 + 4416447430
5   mono                                0x0000000104130367 mono_jit_runtime_invoke + 1383
6   mono                                0x00000001042f0db4 do_runtime_invoke + 84
7   mono                                0x00000001042ecf04 mono_runtime_class_init_full + 996
8   mono                                0x000000010412966e mono_jit_compile_method_inner + 2478
9   mono                                0x000000010412c523 mono_jit_compile_method_with_opt + 1363
10  mono                                0x00000001041dbfc1 common_call_trampoline + 1217
11  mono                                0x00000001041dbabc mono_magic_trampoline + 60
12  ???                                 0x00000001045ed39e 0x0 + 4368290718
13  ???                                 0x000000010950b73b 0x0 + 4451252027
14  ???                                 0x000000010e29ee4b 0x0 + 4532596299
15  ???                                 0x000000010e29b06b 0x0 + 4532580459
16  mono                                0x0000000104130367 mono_jit_runtime_invoke + 1383
17  mono                                0x00000001042f0db4 do_runtime_invoke + 84
18  mono                                0x00000001042f4bfb mono_runtime_try_invoke_array + 1851
19  mono                                0x0000000104297a67 ves_icall_InternalInvoke + 647
20  ???                                 0x0000000104729901 0x0 + 4369586433
21  mscorlib.dll.dylib                  0x00000001066ebdc3 System_RuntimeType_CreateInstanceMono_bool + 275
22  ???                                 0x00000001073e2e03 0x0 + 4416482819
23  ???                                 0x00000001073bc96d 0x0 + 4416325997
24  mono                                0x0000000104130367 mono_jit_runtime_invoke + 1383
25  mono                                0x00000001042f0db4 do_runtime_invoke + 84
26  mono                                0x00000001042f43d9 do_exec_main_checked + 137
27  mono                                0x000000010419d3bf mono_jit_exec + 287
28  mono                                0x000000010419fbb4 mono_main + 9140
29  mono                                0x000000010411fd2d main + 253
30  mono                                0x000000010411fc24 start + 52

Debug info from gdb:

lldb: unrecognized option `--batch'

error: unknown or ambiguous option

=================================================================
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.

Abort trap: 6

@HebaruSan
Copy link
Member

Try the --arch=32 flag for the second problem. Mono doesn't support 64-bit WinForms on OSX.

Or you can try the test build here for the first problem: #2329

Sorry, something went wrong.

@HebaruSan HebaruSan added Support Issues that are support requests macOS Issues specific for macOS labels Mar 20, 2018
@netkan-bot
Copy link
Member

Hey there! I'm a fun-loving automated bot who's responsible for making sure old support tickets get closed out. As we haven't seen any activity on this ticket for a while, we're hoping the problem has been resolved and I'm closing out the ticket automaically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it!

Sorry, something went wrong.

@pjf pjf removed the Support Issues that are support requests label Apr 3, 2018
@HebaruSan HebaruSan added the Duplicate Duplicate of another issue label Apr 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue macOS Issues specific for macOS
Projects
None yet
Development

No branches or pull requests

4 participants