ScriptUO

Scripting Resources & Utilities => ScriptUO Application => Bug discussion => Topic started by: VicVega on May 09, 2009, 03:40:19 AM

Title: Script UO crashing
Post by: VicVega on May 09, 2009, 03:40:19 AM
I've had been using ScriptUO without any problem till now, I tried to download it again but I got the same error message when I execute it:

Quote
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ᝈ.ᢒᙊ(Byte[] ᙂ)
   at ᝈ.ᝮ(Process p)
   at ᝈ.គ()
   at ᝈ..ctor(RichTextBox debug)
   at ᙘ.ᙢ()
   at ᡪᙂ.ᙢ()
   at ᥾.ᣬᙊ(Object ᙂ, EventArgs ᙄ)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ScriptUO
    Assembly Version: 1.0.3325.605
    Win32 Version: 1.0.3325.605
    CodeBase: file:///C:/ScriptUO_v224.exe
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
zip
    Assembly Version: 0.0.0.0
    Win32 Version: 1.0.3325.605
    CodeBase: file:///C:/ScriptUO_v224.exe
----------------------------------------
ScriptUO
    Assembly Version: 1.0.3325.605
    Win32 Version: 1.0.3325.605
    CodeBase: file:///C:/ScriptUO_v224.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
ICSharpCode.TextEditor
    Assembly Version: 0.0.0.0
    Win32 Version: 1.0.3325.605
    CodeBase: file:///C:/ScriptUO_v224.exe
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Title: Re: Script UO crashing
Post by: TrailMyx on May 09, 2009, 09:58:57 AM
Which version is this? ( Oh wait, 224)  Did you download the earilier version and try?

Also, try running it with UO closed and see if the problem goes away.  This issue might have to do with my own client interface getting in the way of the initialization process.
Title: Re: Script UO crashing
Post by: VicVega on May 11, 2009, 11:32:10 AM
Which version is this? ( Oh wait, 224)  Did you download the earilier version and try?

Also, try running it with UO closed and see if the problem goes away.  This issue might have to do with my own client interface getting in the way of the initialization process.

I have tried v195 and has the same problem.

Also I have tried to execute it with UO and easy UO closed, same problem.

Only thing I can think has changed from when it worked fine was the shard's change, this one it's RunUO fully updated, don't know if it has something to do with this problem.
Title: Re: Script UO crashing
Post by: TrailMyx on May 11, 2009, 11:44:47 AM
I can't imagine the shard would have something to do with it.  Especially when you are trying to run it without UO open.

Personally I haven't had a crash in forever, so I can't really reproduce it and there doesn't seem to be any real clues in the debugging text you posted.  I'll still look into the code that was revealed from your details. 
Title: Re: Script UO crashing
Post by: TrailMyx on May 11, 2009, 11:46:42 AM
Does this problem happen when you just try to load SUO?  Or are you doing something to induce this issue?
Title: Re: Script UO crashing
Post by: Masscre on May 11, 2009, 11:58:38 AM
From what liitle i can see from the debugging info. I have derived that he is running SUO with the flux capacitor in by-pass.  Just placing this in its standard spot should resolve the issue.
Title: Re: Script UO crashing
Post by: VicVega on May 11, 2009, 12:03:15 PM
Does this problem happen when you just try to load SUO?  Or are you doing something to induce this issue?

When just trying to load it (double click on executable).

Quote
From what liitle i can see from the debugging info. I have derived that he is running SUO with the flux capacitor in by-pass.  Just placing this in its standard spot should resolve the issue.

How do I do that?
Title: Re: Script UO crashing
Post by: TrailMyx on May 11, 2009, 12:31:28 PM
Are you trying to run it from a network shared drive?  There is an issue with that, and has been that way forever.  I generally run it from my desktop.
Title: Re: Script UO crashing
Post by: VicVega on May 11, 2009, 01:07:33 PM
I have tried from the desktop and from C:\
Title: Re: Script UO crashing
Post by: TrailMyx on May 11, 2009, 01:09:56 PM
Can you think of any other changes that may have taken place on your system?  New software installed?  Different computer?  Anything really since this did work for you at some time in the beginning.
Title: Re: Script UO crashing
Post by: VicVega on May 11, 2009, 01:18:11 PM
I can't think of nothing that has changed apart from desinstalling UO, installing it again and updating it to use it in a new shard.  :-\

Also I reinstalled Razor, installed HydraIRC (an IRC client) and AMSN.  I don't think I have installed any other program from when it worked to when it stopped working.

May be I installed framework 3.5, I don't remember if I had it installed before.
 
Title: Re: Script UO crashing
Post by: TrailMyx on May 11, 2009, 01:46:19 PM
Well I'll keep an eye on it and add it to my bugs list.  I wish I could replicate it.
Title: Re: Script UO crashing
Post by: Masscre on May 11, 2009, 05:41:32 PM
Do you have acces to another computer you could try this with.  Also have you tried uninstalling or disabling one of these new programs one at a time to see if it will start workingagain to find the culprit.  Control ALT Delete to bring up the menu to start removing them one ata time from ram but you might have to uninstall them from the OS also but something to try.
Title: Re: Script UO crashing
Post by: VicVega on May 13, 2009, 05:05:58 AM
Found it!

The Hydra IRC client was the problem, it seems to be incompatible with ScriptUO.
Title: Re: Script UO crashing
Post by: Masscre on May 13, 2009, 05:09:09 AM
What did you end up doing to find this?
Title: Re: Script UO crashing
Post by: TrailMyx on May 13, 2009, 08:24:52 AM
I wonder if it's a .NET thing?  Did you have to install 3.5 Framework for that particular program?  I still can't imagine how another program could effect SUO in a negative way.  That's totally strange.

Anyhow, I'm glad you figured it out.  Perhaps I'll try and install that program to see why it's effecting SUO.
Title: Re: Script UO crashing
Post by: VicVega on May 13, 2009, 08:52:04 AM
I didn't have to install framework 3.5 to use HydraIRC

In fact I think framework 3.5 was installed before and Script UO worked fine, like now works fine when HydraIRC is closed
Title: Re: Script UO crashing
Post by: TrailMyx on May 13, 2009, 08:53:31 AM
I have a VM with my development environment installed where I can test it and catch that particular exception.  I'd be pretty easy to fix now that I can induce the error.  ;)  Thanks for the hint!
Title: Re: Script UO crashing
Post by: Masscre on May 13, 2009, 12:55:32 PM
It takes us all putting in our 2 cents together to fix problems as a community :)