[3.2 RC3] Magic The Gathering makes AGS have critical error... o_0

Started by Crimson Wizard, Fri 19/03/2010 17:56:35

Previous topic - Next topic

Crimson Wizard

That's a weird one... but I can reproduce it all the time.

I have AGS 3.2 RC3 opened, and MTG Duel running. If there's a script opened in AGS, switching from AGS to MTG and back 2 times will cause following error:

Code: ags
Version: AGS 3.2.0.98

System.AccessViolationException: Попытка чтения или записи в защищенную память. Это часто свидетельствует о том, что другая память повреждена.
   в ScintillaWin.WndProc(ScintillaWin* , UInt32 iMessage, UInt32 wParam, Int32 lParam)
   в ScintillaWin.SWndProc(HWND__* hWnd, UInt32 iMessage, UInt32 wParam, Int32 lParam)
   в System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   в System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   в System.Windows.Forms.Control.DefWndProc(Message& m)
   в System.Windows.Forms.Control.WndProc(Message& m)
   в Scintilla.ScintillaControl.WndProc(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Is this AGS bug, or MTG bug? I never had similar troubles with switching to other windows. Currently have no clues what's so special about MTG Duel window.

Pumaman

Strange, has anyone else seen anything like this happen?

Is MTG a full-screen game? It's possible that for some reason the constant resolution changing is causing a problem in the AGS text editor.

SMF spam blocked by CleanTalk