News:

 

Topic: Crash after unlocking win 7  (Read 5246 times)

0 Members and 2 Guests are viewing this topic.

  • No avatar
  • Posts: 37
  • Vertex
May 20, 2016, 04:52:58 pm
This repros every time for me.

-working on a scene in nVil
-lock windows with ctrl+alt+del
-turn off my two monitors

-turn on my monitors
-unlock windows
-nvil has crashed

--------------------------------

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

************** Exception Text **************
DigitalFossil.DeviceCreationException: Could not create graphics device. ---> SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Device..ctor(Direct3D direct3D, Int32 adapter, DeviceType deviceType, IntPtr controlHandle, CreateFlags createFlags, PresentParameters[] presentParameters)
   at DigitalFossil.GraphicsDeviceManager.InitializeDevice()
   --- End of inner exception stack trace ---
   at DigitalFossil.GraphicsDeviceManager.InitializeDevice()
   at DigitalFossil.GraphicsDeviceManager.CreateDevice(DeviceSettings settings)
   at DigitalFossil.GraphicsDeviceManager.Window_UserResized(Boolean unconditional)
   at DigitalFossil.BaseGraphicWindow.FullRender(Boolean forced, Boolean allWindows)
   at DigitalFossil.AnimationDesign.AnimationDesignForm.FullRender()
   at DigitalFossil.AnimationDesign.AnimationDesignForm.Render()
   at DigitalFossil.StartForm.DoRender()
   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: 4.0.0.0
    Win32 Version: 4.6.1076.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
NVil 1.0
    Assembly Version: 2.3.5975.40356
    Win32 Version: 2.3.5975.40356
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/NVil%201.0.exe
----------------------------------------
WorkShop
    Assembly Version: 2.3.5975.40346
    Win32 Version: 2.3.5975.40346
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/WorkShop.DLL
----------------------------------------
BasicD3DClasses
    Assembly Version: 2.3.5975.39959
    Win32 Version: 2.3.5975.39959
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/BasicD3DClasses.DLL
----------------------------------------
CharacterClasses
    Assembly Version: 2.3.5975.39957
    Win32 Version: 2.3.5975.39957
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/CharacterClasses.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1075.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1068.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SlimDX
    Assembly Version: 4.0.13.43
    Win32 Version:
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/SlimDX/v4.0_4.0.13.43__b1b0c32fd1ffe4f9/SlimDX.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1067.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DevExpress.Utils.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/DevExpress.Utils.v10.2.DLL
----------------------------------------
DevExpress.Data.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/DevExpress.Data.v10.2.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
DevExpress.XtraBars.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/DevExpress.XtraBars.v10.2.DLL
----------------------------------------
DevExpress.XtraEditors.v10.2
    Assembly Version: 10.2.4.0
    Win32 Version: 10.2.4.0
    CodeBase: file:///C:/Users/mchar/Desktop/NVil/DevExpress.XtraEditors.v10.2.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1055.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.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.



Valve Software

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
May 21, 2016, 08:02:10 am
I followed your steps but it didn't crash on me. But I had to restore graphic devices, View > Refresh, otherwise viewport empty.

I just added some codes to handle this situation. It does not fixe the bug, but just informs you some error happened. So you can save your scene, close and reopen NVil.

  • No avatar
  • Posts: 41
  • Vertex
May 29, 2019, 08:49:27 pm
I would like to add that i just received this error after coming back to my pc and unlocking it. Windows 10. Program was still open and let me save the file. But the viewport didnt work, and a "refresh" poped up another error.


Could not create graphics device.
DigitalFossil.DeviceCreationException: Could not create graphics device. ---> SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Device..ctor(Direct3D direct3D, Int32 adapter, DeviceType deviceType, IntPtr controlHandle, CreateFlags createFlags, PresentParameters[] presentParameters)
   at DigitalFossil.GraphicsDeviceManager.InitializeDevice()
   --- End of inner exception stack trace ---
   at DigitalFossil.GraphicsDeviceManager.InitializeDevice()
   at DigitalFossil.GraphicsDeviceManager.CreateDevice(DeviceSettings settings)
   at DigitalFossil.GraphicsDeviceManager.Window_UserResized(Boolean unconditional)
   at DigitalFossil.BaseGraphicWindow.FullRender(Boolean forced, Boolean allWindows)
   

  • No avatar
  • Posts: 37
  • Vertex
October 30, 2019, 08:15:02 pm
Still get this regularly, would be great to get a fix.

Could not create graphics device.
DigitalFossil.DeviceCreationException: Could not create graphics device. ---> SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Device..ctor(Direct3D direct3D, Int32 adapter, DeviceType deviceType, IntPtr controlHandle, CreateFlags createFlags, PresentParameters[] presentParameters)
   at DigitalFossil.GraphicsDeviceManager.InitializeDevice()
   --- End of inner exception stack trace ---
   at DigitalFossil.GraphicsDeviceManager.InitializeDevice()
   at DigitalFossil.GraphicsDeviceManager.CreateDevice(DeviceSettings settings)
   at DigitalFossil.GraphicsDeviceManager.Window_UserResized(Boolean unconditional)
   at DigitalFossil.BaseGraphicWindow.FullRender(Boolean forced, Boolean allWindows)
Valve Software

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
November 04, 2019, 11:01:15 am

  • No avatar
  • Posts: 37
  • Vertex
November 06, 2019, 04:34:10 pm
Tested, not fixed same error when unlocking win10.
Valve Software

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon

  • No avatar
  • Posts: 37
  • Vertex
November 08, 2019, 09:10:52 pm
Same.
Valve Software

  • No avatar
  • Posts: 3760
  • Developer
  • Administrator
  • Polygon
November 10, 2019, 11:49:12 pm
It always works fine on me. May be something related to graphic card.

Try this. If the error occurs, you will receive different error messages.

http://www.digitalfossils.com/Download/NVil-Nov-11-19.rar

  • No avatar
  • Posts: 37
  • Vertex
November 13, 2019, 10:04:58 pm
I think that fixed it!!!
I'll do some more tests but this looks promising.
Thanks IStonia.
Valve Software