crashes if more than one instance is run
Reported by John Vanderbeck | December 11th, 2009 @ 10:27 AM
Comments and changes to this ticket
-
Alex "Alexspeed" Bachner December 14th, 2009 @ 07:03 AM
- Tag set to bug, unhandled_exception
This still happens with Beta 2.2.0
you get an unhandled exception error:
The type initializer for "damodder.dalog" threw an exception
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.Exception Text System.TypeInitializationException: The type initializer for 'DAModder.DALog' threw an exception. ---> System.IO.IOException: The process cannot access the file 'C:\Documents and Settings\Alexspeed\Desktop\damodder exe\damodder.log' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append) at DAModder.DALog..cctor() --- End of inner exception stack trace --- at DAModder.DALog.TraceIn(String sFunction, String sSegment) at DAModder.DASessionManager.Clear() at DAModder.Form1.Form1_Load(Object sender, EventArgs e) at System.Windows.Forms.Form.OnLoad(EventArgs e) at System.Windows.Forms.Form.OnCreateControl() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl() at System.Windows.Forms.Control.WmShowWindow(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Form.WmShowWindow(Message& m) at System.Windows.Forms.Form.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.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.3603 (GDR.050727-3600) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
DAModder
Assembly Version: 0.2.2.0 Win32 Version: 0.2.2.0 CodeBase: file:///C:/Documents%20and%20Settings/Alexspeed/Desktop/damodder%20exe/DAModder.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
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
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
System.Xml
Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3082 (QFE.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
System.Configuration
Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
ke5ll_hm
Assembly Version: 0.2.2.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
System.Deployment
Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000) CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.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:
<system.windows.forms jitDebugging="true" />
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. -
Alex "Alexspeed" Bachner December 14th, 2009 @ 07:05 AM
if you click the continue tab a second instance of damodder gets started that dosent lists any mods that are installed, i didnt test if messing with that second version of the app could create further errors or mess up anything.
-
John Vanderbeck December 14th, 2009 @ 01:20 PM
- State changed from new to resolved
-
Alex "Alexspeed" Bachner December 14th, 2009 @ 03:08 PM
Retesting with Beta 2.2.1
i can confirm its not possible to start a 2nd session now any more
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
DAModder is a full featured replacement for Bioware's DAUpdater program -- with more features!
People watching this ticket
Tags
Referenced by
- 93 crashes if more than one instance is run (from [113]) - Added check to ensure only one instance of...
- 93 crashes if more than one instance is run (from [113]) - Added check to ensure only one instance of...