2016-11-12 10 views
0

Я пытаюсь запустить исполняемую программу на Linux через Mono (так как Wine не будет соответствовать), и я получаю этот вывод. Я искал и не знаю, что делать:Runtime version issue with Mono on Linux Debian

ВНИМАНИЕ: версия исполнения, поддерживаемая этим приложением, недоступна. Использование времени выполнения по умолчанию: v4.0.30319 не может открыть файл /root/Desktop/tool\GeoIP.dat System.IO.DirectoryNotFoundException: Directory '/ root/Desktop/tool \ plugin \' не найден. на System.IO.Directory.ValidateDirectoryListing (System.String пути, System.String searchPattern, System.Boolean & остановка) < 0x7f11f1ba74c0 + 0x0019c> в: 0 в System.IO.Directory.GetFileSystemEntries (System.String путь, системы .String searchPattern, FileAttributes маски, FileAttributes ATTRS) < 0x7f11f1ba7700 + 0x00066> в: 0 в System.IO.Directory.GetFiles (путь System.String, System.String searchPattern) < 0x7f11f1ba6d50 + 0x00018> в: 0 в njRAT. Form1. (System.Object, System.EventArgs) < 0x4102ea90 + 0x006ea> in: 0 в System.Windows.Forms.Form.OnLoad (System.EventArgs e) < 0x410218f0 + 0x00071> in: 0 в System.Windows.Forms. Form.OnLoadInternal (System.EventArgs e) < 0x410216d0 + 0x0007f> in: 0 System.NullReferenceException: ссылка на объект не установлена ​​в экземпляр объекта на +.() < 0x4103f510 + 0x001e6> in: 0 at njRAT.Form1. (System.Object, System.Windows.Forms.FormClosingEventArgs) < 0x4103e250 + 0x000ab> in: 0 в System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) < 0x4103e1c0 + 0x00065> в: 0 в System.Windows.Forms.Form.FireClosingEvents (причина CloseReason, Boolean cancel) < 0x4103e070 + 0x0009d> in: 0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form: FireClosingEvents (System. Windows.Forms.CloseReason, BOOL) на System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs е) < 0x4103db20 + 0x001b7> в: 0 в System.Windows.Forms.Application.Exit() < 0x4103dae0 + 0x00027> в: 0 в System.Windows.Forms.Application.OnThreadExc eption (System.Exception t) < 0x4103d630 + 0x00147> in: 0 в System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) < 0x410216d0 + 0x00097> in: 0 в System.Windows.Forms.Form. OnCreateControl() < 0x41020ef0 + 0x0004f> в: 0 в System.Windows.Forms.Control.CreateControl() < 0x412a3170 + 0x0011f> в: 0 в System.Windows.Forms.Control.WmShowWindow (System.Windows.Forms. Сообщение & м) < 0x412ab7b0 + 0x00167> в: 0 в System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message & м) < 0x412aa4a0 + 0x002d7> в: 0 в System.Windows.Forms. ScrollableControl.WndProc (System.Windows.Forms .message & м) < 0x4101b3b0 + 0x00013> в: 0 в System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message & м) < 0x4101b330 + 0x0005b> в: 0 в System.Windows.Forms .Form.WndProc (System.Windows.Forms.Message & м) < 0x4101af50 + 0x00257> в: 0 на System.Windows.Forms.Control + ControlWindowTarget.OnMessage (System.Windows.Forms.Message & м) < 0x412aa470 + 0x00024> in: 0 в System.Windows.Forms.Control + ControlNativeWindow.WndProc (System.Windows.Forms.Сообщение & м) < 0x412aa430 + 0x00036> в: 0 в System.Windows.Forms.NativeWindow.WndProc (IntPtr HWND, Msg MSG, IntPtr, IntPtr wParam'а, LPARAM) < 0x412a8d70 + 0x0031c> в: 0

необработанное исключение : System.NullReferenceException: ссылка на объект не установлена ​​в экземпляр объекта на +.() < 0x4103f510 + 0x001e6> in: 0 at njRAT.Form1. (System.Object, System.Windows.Forms.FormClosingEventArgs) < 0x4103e250 + 0x000ab> in: 0 в System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) < 0x4103e1c0 + 0x00065> в: 0 в System.Windows.Forms.Form.FireClosingEvents (причина CloseReason, Boolean cancel) < 0x4103e070 + 0x0009d> in: 0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form: FireClosingEvents (System. Windows.Forms.CloseReason, BOOL) на System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs е) < 0x4103db20 + 0x001b7> в: 0 в System.Windows.Forms.Application.Exit() < 0x4103dae0 + 0x00027> в: 0 в System.Windows.Forms.Application.OnThreadExc eption (System.Exception т) < 0x4103d630 + 0x00147> в: 0 в System.Windows.Forms.NativeWindow.OnThreadException (System.Exception е) < 0x41040a70 + 0x00013> в: 0 в System.Windows.Forms.NativeWindow. WndProc (HWND IntPtr, MSG MSG, IntPtr WPARAM, IntPtr LPARAM) < 0x412a8d70 + 0x00b51> в: 0 в System.Windows.Forms.XplatUIX11.SendMessage (IntPtr HWND, Msg сообщение, IntPtr, IntPtr wParam'а, LPARAM) < 0x412a8650 + 0x0044f > in: 0 at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) < 0x412ab2d0 + 0x001f3> in: 0 at System.Windows.Forms.XplatUIX11.CreateWindow (System. Windows.Forms.CreateParams cp) < 0x412a37e0 + 0x00c53> in: 0 в System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) < 0x412a37b0 + 0x0001f> in: 0 в System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) < 0x412a3700 + 0x0003f> в: 0 в System.Windows.Forms.Control.CreateHandle() < 0x412a3420 + 0x00069> в: 0 в System.Windows.Forms.Form.CreateHandle() < 0x41019c40 + 0x00027> в: 0 на System.Windows.Forms.Control.CreateControl() < 0x412a3170 + 0x00087> в: 0 в System.Windows.Forms.Control.SetVisibleCore (логическое значение) < 0x412b4bb0 + 0x00083> в: 0 в System.Windows. Forms.Form.SetVisibleCore (логическое значение) < 0 x41019420 + 0x00317> in: 0 at System.Windows.Forms.Control.set_Visible (Boolean value) < 0x412b4b30 + 0x00032> in: 0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control: set_Visible (bool) в System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) < 0x41017ec0 + 0x0033f> in: 0 в System.Windows.Forms.Application.Run (System. Windows.Forms.ApplicationContext контекст) < 0x41017e10 + 0x00057> в: 0 в System.Windows.Forms.Application.Run (System.Windows.Forms.Form MainForm) < 0x41017dc0 + 0x00033> в: 0 в Microsoft.VisualBasic. ApplicationServices.WindowsFormsApplicationBase.OnRun() < 0x4125e9d0 + 0x00077> в: 0 в Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String [] commandLine) < 0x4125e9b0 + 0x00010> in: 0 at. (System.String []) < 0x4125bd50 + 0x00043> in: 0 [ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Ссылка на объект не установлена ​​в экземпляр объекта на +.() < 0x4103f510 + 0x001e6> in: 0 at njRAT.Form1. (System.Object, System.Windows.Forms.FormClosingEventArgs) < 0x4103e250 + 0x000ab> in: 0 в System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) < 0x4103e1c0 + 0x00065> в: 0 в System.Windows.Forms.Form.FireClosingEvents (причина CloseReason, Boolean cancel) < 0x4103e070 + 0x0009d> in: 0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form: FireClosingEvents (System. Windows.Forms.CloseReason, BOOL) на System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs е) < 0x4103db20 + 0x001b7> в: 0 в System.Windows.Forms.Application.Exit() < 0x4103dae0 + 0x00027> в: 0 в System.Windows.Forms.Application.OnThreadExc eption (System.Exception т) < 0x4103d630 + 0x00147> в: 0 в System.Windows.Forms.NativeWindow.OnThreadException (System.Exception е) < 0x41040a70 + 0x00013> в: 0 в System.Windows.Forms.NativeWindow. WndProc (HWND IntPtr, MSG MSG, IntPtr WPARAM, IntPtr LPARAM) < 0x412a8d70 + 0x00b51> в: 0 в System.Windows.Forms.XplatUIX11.SendMessage (IntPtr HWND, Msg сообщение, IntPtr, IntPtr wParam'а, LPARAM) < 0x412a8650 + 0x0044f > in: 0 at System.Windows.Forms.XplatUIX11.MapWindow (System.Windows.Forms.Hwnd hwnd, WindowType windows) < 0x412ab2d0 + 0x001f3> in: 0 at System.Windows.Forms.XplatUIX11.CreateWindow (System. Windows.Forms.CreateParams cp) < 0x412a37e0 + 0x00c53> in: 0 в System.Windows.Forms.XplatUI.CreateWindow (System.Windows.Forms.CreateParams cp) < 0x412a37b0 + 0x0001f> in: 0 в System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) < 0x412a3700 + 0x0003f> в: 0 в System.Windows.Forms.Control.CreateHandle() < 0x412a3420 + 0x00069> в: 0 в System.Windows.Forms.Form.CreateHandle() < 0x41019c40 + 0x00027> в: 0 на System.Windows.Forms.Control.CreateControl() < 0x412a3170 + 0x00087> в: 0 в System.Windows.Forms.Control.SetVisibleCore (логическое значение) < 0x412b4bb0 + 0x00083> в: 0 в System.Windows. Forms.Form.SetVisibleCore (логическое значение) < 0 x41019420 + 0x00317> in: 0 at System.Windows.Forms.Control.set_Visible (Boolean value) < 0x412b4b30 + 0x00032> in: 0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control: set_Visible (bool) в System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) < 0x41017ec0 + 0x0033f> in: 0 в System.Windows.Forms.Application.Run (System. Windows.Forms.ApplicationContext контекст) < 0x41017e10 + 0x00057> в: 0 в System.Windows.Forms.Application.Run (System.Windows.Forms.Form MainForm) < 0x41017dc0 + 0x00033> в: 0 в Microsoft.VisualBasic. ApplicationServices.WindowsFormsApplicationBase.OnRun() < 0x4125e9d0 + 0x00077> в: 0 в Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run (System.String [] commandLine) < 0x4125e9b0 + 0x00010> in: 0 at. (System.String []) < 0x4125bd50 + 0x00043> в: 0

+0

Какая программа? 'Directory '/ root/Desktop/tool \ plugin \' not found' существует ли этот каталог и имеет соответствующие разрешения (т. Е. Доступен для моно)? – mx0

ответ

0

ничего общего с предупреждением, а исключение показал позже.Ваша форма пытается загрузить GeoIP-файл с диска, но использует путь к файлу Windows, который определенно не работает в Linux. Изучите различия в файловой системе и пересмотрите свой код.

+0

Я не понимаю – jeromea