Mike_da_Spike Posted September 6, 2019 Share Posted September 6, 2019 Started a new topic for this When browsing through the tables and systems, my DOF plugin stops working (all the Lights are in the last status) and at a sudden moment I get the following popup : In the log file I see that the plugin is causing an error and PBX wants to disable it (properly with no luck) Exception has been thrown by the target of an invocation. 07:01:00.7 9/6/2019: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 07:01:00.7 9/6/2019: at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 07:01:00.7 9/6/2019: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 07:01:00.7 9/6/2019: at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 07:01:00.7 9/6/2019: at PinballX.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue) 07:01:00.7 9/6/2019: at PinballX.PlugIns.Event_GameSelect(PlugInInfo_1 gi) 07:01:00.7 9/6/2019: PlugIn caused an exception and is being disabled. These are mu logs : [SETTINGS].logPinballX DirectOutput Plugin.logXDMDlog.txtlog.txt This is my INI file : PinballX.ini Eventlog : The program PinballX.exe version 1.0.0.0 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel. Process ID: 1fcc Start Time: 01d5646fe224e1bf Termination Time: 5 Application Path: C:\Pinball\PinballX\PinballX.exe Report Id: 73c1f3b0-af29-4f67-8a52-a739069d0cf1 Faulting package full name: Faulting package-relative application ID: Hang type: Unknown There are no crash dumps created. If I disable the "DirectOutput PinballX Plugin ", PBX is stable. Moving to 32bit also looks stable Something with the conversion of the 32bit plugin to the 64bit version of PBX ? Link to comment Share on other sites More sharing options...
Tom Speirs Posted September 7, 2019 Share Posted September 7, 2019 Pretty sure the issue is because event_gameselect is multithreaded. Please try 3.67 and let me know results. Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted September 7, 2019 Author Share Posted September 7, 2019 too bad. Direct after reboot when I just hit 1 button , it is crashing with the following errors in the log: 13:36:47.3 9/7/2019: Exception has been thrown by the target of an invocation. 13:36:47.3 9/7/2019: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 13:36:47.3 9/7/2019: at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 13:36:47.3 9/7/2019: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 13:36:47.3 9/7/2019: at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 13:36:47.3 9/7/2019: at PinballX.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue) 13:36:47.3 9/7/2019: at PinballX.PlugIns.Event_GameSelect(PlugInInfo_1 gi) 13:36:47.4 9/7/2019: PlugIn: "DirectOutput PinballX Plugin" caused an exception and is being disabled. 13:36:47.9 9/7/2019: Starting Real DMD Thread 13:36:47.1 9/7/2019: Exception has been thrown by the target of an invocation. 13:36:47.1 9/7/2019: at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 13:36:47.1 9/7/2019: at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 13:36:47.1 9/7/2019: at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 13:36:47.1 9/7/2019: at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) 13:36:47.1 9/7/2019: at PinballX.PlugIns.InvokeMethod(Object obj, String sProperty, Object oValue, Object oValue2, Object oValue3) 13:36:47.1 9/7/2019: at PinballX.PlugIns.Event_Input(Boolean[] Keys, Boolean[] Buttons, Int32 Status) 13:36:47.1 9/7/2019: PlugIn: "DirectOutput PinballX Plugin" caused an exception and is being disabled. log.txt Link to comment Share on other sites More sharing options...
Tom Speirs Posted September 7, 2019 Share Posted September 7, 2019 Can you please disable the other plugin and test. Link to comment Share on other sites More sharing options...
Tom Speirs Posted September 7, 2019 Share Posted September 7, 2019 Thanks so much for your help. 3.69? I will say that the hanging part is particular to the dof plugin itself. Hopefully can get this working. 1 Link to comment Share on other sites More sharing options...
Mike_da_Spike Posted September 7, 2019 Author Share Posted September 7, 2019 You are the man ! Looks like pbx 3.70 fix it ! I will check it in my after noon a bit more, but I could not get DOFlinx get it to crash. I willleave attract mode on and check later Thanks Tom Edit: Tried to reproduce it, but all looks stable now. Good job Link to comment Share on other sites More sharing options...
Recommended Posts