fdorg / flashdevelop

FlashDevelop is a free and open source code editor.
MIT License
824 stars 221 forks source link

Haxedevelop crashes frequently since 5.3.1.2 #1979

Closed TerryCavanagh closed 4 years ago

TerryCavanagh commented 6 years ago

Hey all,

I've been using Flashdevelop (and now Haxedevelop) since 2009, and I'm big fan. In more than a decade, I can't remember it ever crashing before.

Since Haxedevelop version 5.3.1.2, I've been getting frequent crashes - occasionally when saving new files, occasionally when starting up (maybe 1 in 4 times).

I'm not getting any useful information about why this is happening, but am happy to run tests and try things on my machine to help figure it out.

I'm using Haxedevelop 5.3.1.2 with Haxe 3.4.4.

TerryCavanagh commented 6 years ago

A couple of days into this bug, I can at least clarify that it happens at two different points only:

The rest of the time, things are stable.

Meychi commented 6 years ago

Are you working with a Haxe project? Do you have any 3rd party plugins installed?

TerryCavanagh commented 6 years ago

I'm working on a haxe project, just using OpenFL and my own framework. I don't have any 3rd party plugins installed.

TerryCavanagh commented 6 years ago

I guess this is probably related to: https://github.com/fdorg/flashdevelop/issues/1808

Will check in on that thread and close this one if it's a duplicate issue.

TerryCavanagh commented 6 years ago

Just had this pop up:

haxedevelop

No idea if it's related to the frequent crash bugs, but I've never seen anything like it before. Here's the text:

Object reference not set to an instance of an object.

   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)
SlavaRa commented 6 years ago

Please try last development version http://flashdevelop.org/downloads/builds/

Neverbirth commented 6 years ago

I think that's separate issue.

Do you do anything before getting the crash? Try leaving FD run for a bit of time before doing anything. I saw in a colleague's PC yesterday also some crashes, and it seemed to be that some code in FD tries to access some Scintilla instance that was partially freed from memory because documents were closed, and since it was related to Scintilla the error was a non managed one that escaped the .NET runtime for some reason.

I think I will have time again to look into some FD stuff again next week.

TerryCavanagh commented 6 years ago

@SlavaRa: Ok! I've downloaded and installed the latest development build. I'll keep an eye out if the crashes and errors continue to happen, and report back if so.

@Neverbirth: Nope, I just open an existing project by double clicking on it, and Haxedevelop crashes at startup. I'm using a new version now, and so far it's stable! But it the crashes happen again, I'll try to grab a video to better explain it. Thanks!

TerryCavanagh commented 6 years ago

Ok! Both crashes are still happening on the latest development version. I caught em on video, in case that provides any clues:

Crash at startup: https://streamable.com/w16me

Crash on saving a new file: https://streamable.com/azl0r

TerryCavanagh commented 6 years ago

Heya,

Just checking in to say I updated to the new latest development version (5.3.1.141), and can confirm that both crash bugs are still happening - at start up, and when saving a new file.

Again, happy to run tests and try stuff to figure this out and hopefully get it fixed. Let me know if there's anything I can do.

SlavaRa commented 6 years ago

Please give me your Exceptions.log (Tools -> User Config Files...)

TerryCavanagh commented 6 years ago

Here you go!

23/05/2017 2:53:13 PM

Internal Debugger Exception

flash.tools.debugger.NoResponseException: Timeout occurred while waiting for debugging response from Flash Player for 750 milliseconds

29/07/2017 10:42:29 PM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

29/07/2017 10:52:59 PM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

29/10/2017 1:20:54 AM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

29/10/2017 1:57:23 AM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

02/11/2017 11:33:05 PM

Update check failed.

System.Net.WebException: The remote name could not be resolved: 'www.haxedevelop.org'
   at System.Net.HttpWebRequest.GetResponse()
   at FlashDevelop.Dialogs.UpdateDialog.WorkerDoWork(Object sender, DoWorkEventArgs e)

10/11/2017 10:27:01 PM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

27/11/2017 6:14:34 PM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

05/12/2017 3:35:47 PM

Update check failed.

System.Net.WebException: The remote name could not be resolved: 'www.haxedevelop.org'
   at System.Net.HttpWebRequest.GetResponse()
   at FlashDevelop.Dialogs.UpdateDialog.WorkerDoWork(Object sender, DoWorkEventArgs e)

05/12/2017 4:36:39 PM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

14/12/2017 6:42:40 PM

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\My Stuff\games\current\multiplayer thing\server\src\Main.hx'.
   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, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at PluginCore.Helpers.FileHelper.WriteFile(String file, String text, Encoding encoding, Boolean saveBOM)
   at FlashDevelop.Docking.TabbedDocument.Save(String file)
   at FlashDevelop.Docking.TabbedDocument.Save()
   at FlashDevelop.MainForm.Save(Object sender, EventArgs e)

14/12/2017 6:42:42 PM

System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\My Stuff\games\current\multiplayer thing\server\src\Main.hx'.
   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, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at PluginCore.Helpers.FileHelper.WriteFile(String file, String text, Encoding encoding, Boolean saveBOM)
   at FlashDevelop.Docking.TabbedDocument.Save(String file)
   at FlashDevelop.Docking.TabbedDocument.Save()
   at FlashDevelop.MainForm.Save(Object sender, EventArgs e)

04/01/2018 5:17:15 PM

Update check failed.

System.Net.WebException: The remote name could not be resolved: 'www.haxedevelop.org'
   at System.Net.HttpWebRequest.GetResponse()
   at FlashDevelop.Dialogs.UpdateDialog.WorkerDoWork(Object sender, DoWorkEventArgs e)

06/01/2018 6:23:16 PM

Internal Debugger Exception

flash.tools.debugger.NotConnectedException: Debugger is no longer connected to Flash Player

17/01/2018 4:38:51 PM

System.NullReferenceException: Object reference not set to an instance of an object.
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)

19/01/2018 4:01:19 PM

System.NullReferenceException: Object reference not set to an instance of an object.
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)

27/01/2018 5:37:10 PM

Unhandled exception: 

System.Exception: System.ExecutionEngineException: Exception of type 'System.ExecutionEngineException' was thrown.

04/02/2018 4:32:37 PM

Update check failed.

System.Net.WebException: The remote name could not be resolved: 'www.haxedevelop.org'
   at System.Net.HttpWebRequest.GetResponse()
   at FlashDevelop.Dialogs.UpdateDialog.WorkerDoWork(Object sender, DoWorkEventArgs e)

09/02/2018 12:14:58 PM

System.NullReferenceException: Object reference not set to an instance of an object.
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)

Weirdly, there's very little in it. I get 5/6 crashes a day, so I'm guessing they're not recorded here.

JoeCreates commented 6 years ago

I'm getting these, too.

SlavaRa commented 6 years ago

Please try develipment-build from http://flashdevelop.org/downloads/builds/

TerryCavanagh commented 6 years ago

Hey -

I'm on 5.3.3.14 from a few days ago, and I'm still getting regular crashes.

SlavaRa commented 6 years ago

Please give me your new Exceptions.log

SlavaRa commented 6 years ago

latest version 5.3.3.18, can you try it?

TerryCavanagh commented 6 years ago

New Exceptions.log doesn't contain any references to the frequent crashes, but sure, here it is: https://pastebin.com/raw/crmH6HP5

I'll try the latest version!

SlavaRa commented 6 years ago

thanks, I'll try to solve your problem as quickly as possible!

TerryCavanagh commented 6 years ago

Appreciated, thank you! 👍

(sorry, deleted the follow up comment, that's not helpful. I'm just venting. 😭 )

elsassph commented 6 years ago

@SlavaRa if the error is always located in GetExpressionType's EvalExpression could we make @TerryCavanagh / @JoeCreates a build with debug files and a try/catch to log the expression parsed and the error location?

SlavaRa commented 6 years ago

Yes, we can do it tomorrow morning! (@elsassph , you are absolutely right, I thought about it, but today I did not have time to do it.)

SlavaRa commented 6 years ago

@TerryCavanagh @JoeCreates please try build from https://ci.appveyor.com/project/FlashDevelop/flashdevelop-devel/build/5.3.3.22-bwbflons/artifacts

SlavaRa commented 6 years ago

any news?

TerryCavanagh commented 6 years ago

Hey, So, I tried this out this morning, and I can't get it to crash! Which is very mysterious! Idk! I'll keep trying!

TerryCavanagh commented 6 years ago

Yeah, that version just isn't crashing for me.

Any chance the bug is specific to haxedevelop? idk.

JoeCreates commented 6 years ago

I haven't had a chance to check this myself, yet, but is it not crashing simply because the exception is being caught? I.e. we should expect entries in the log without it actually crashing when these exceptions occur.

On 7 Mar 2018 11:11, "Terry Cavanagh" notifications@github.com wrote:

Yeah, that version just isn't crashing for me.

Any chance the bug is specific to haxedevelop? idk.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/fdorg/flashdevelop/issues/1979#issuecomment-371105568, or mute the thread https://github.com/notifications/unsubscribe-auth/ACbEvPRrJnccQnL2JV7BqW53c13YsSQyks5tb8BMgaJpZM4RvXy7 .

TerryCavanagh commented 6 years ago

Well, here's the exceptions.log file for this version:

3/6/2018 9:12:21 AM

System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Drawing.Font..ctor(Font prototype, FontStyle newStyle)
   at PluginCore.Controls.CompletionList.CreateControl(IMainForm mainForm)
   at PluginCore.Controls.UITools..ctor()

3/6/2018 9:12:24 AM

System.NullReferenceException: Object reference not set to an instance of an object.
   at PluginCore.Controls.UITools.OnUIRefresh(ScintillaControl sci)
   at PluginCore.Controls.UITools.HandleEvent(Object sender, NotifyEvent e, HandlingPriority priority)
   at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)
sebthom commented 6 years ago

I am also experiencing very frequent crashes (sometimes every minute) for my Haxe projects with the latest release as well as the development version. I think the crashes occur white auto completion gets triggered.

The only exceptions I can see in the logs are these:

10.03.2018 21:51:41

Unhandled exception: 

System.Exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at QuickNavigate.ControlClickManager.ProcessMouseMove(Point point)
   at QuickNavigate.ControlClickManager.MouseHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)

10.03.2018 22:55:14

Unhandled exception: 

System.Exception: System.ArgumentOutOfRangeException: startIndex cannot be larger than length of string.
Parameter name: startIndex
   at System.String.Substring(Int32 startIndex, Int32 length)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at QuickNavigate.ControlClickManager.ProcessMouseMove(Point point)
   at QuickNavigate.ControlClickManager.MouseHookProc(Int32 nCode, IntPtr wParam, IntPtr lParam)

@SlavaRa Btw. I have QuickNavigate 3.0.89 installed.

sebthom commented 6 years ago

Now I got a random popup with

Object reference not set to an instance of an object.

   at HaXeContext.Completion.CodeComplete.InferVariableType(ScintillaControl sci, ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.EvalVariable(String token, ASExpr local, FileModel inFile, ClassModel inClass)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)
elsassph commented 6 years ago

Guys if possible try showing the line of code where the issue happens. It helps a lot figuring the issue.

sebthom commented 6 years ago

@elsassph Then FD should better log the line numbers. That is all that gets reported.

sebthom commented 6 years ago

@SlavaRa @elsassph Is there any way to enable line number reporting in FD stacktraces, or can you provide a debug build with line number reporting enabled?

SlavaRa commented 6 years ago

@sebthom please try latest development build.

SlavaRa commented 6 years ago

@sebthom I'll fix QuickNavigate at holidays.

sebthom commented 6 years ago

@SlavaRa the new development build looks stable. FD doesn't seem to freeze or crash anymore. Also no exception.log is written. Thank you!

SlavaRa commented 6 years ago

@TerryCavanagh Can you try latest development build?

TerryCavanagh commented 6 years ago

Heya, finally got around to trying the new development build - apologies for the delay.

The new build hasn't crashed at startup yet, but I got a new error message when trying to save a file, which is progress!

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Windows.Forms.ToolStripItem.Invalidate()
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
FlashDevelop
    Assembly Version: 5.0.0.0
    Win32 Version: 5.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/HaxeDevelop.exe
----------------------------------------
PluginCore
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/PluginCore.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    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.7.2556.0 built by: NET471REL1
    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.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    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.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.CSharp
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
AirProperties
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/AirProperties.DLL
----------------------------------------
AS2Context
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/AS2Context.DLL
----------------------------------------
ASCompletion
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/ASCompletion.DLL
----------------------------------------
AS3Context
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/AS3Context.DLL
----------------------------------------
XMLCompletion
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/XMLCompletion.DLL
----------------------------------------
Aga
    Assembly Version: 1.7.0.1
    Win32 Version: 1.7.0.1
    CodeBase: file:///C:/coding/haxedevelop/Aga.DLL
----------------------------------------
System.Dynamic
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ASClassWizard
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/ASClassWizard.DLL
----------------------------------------
BasicCompletion
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/BasicCompletion.DLL
----------------------------------------
BookmarkPanel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/BookmarkPanel.DLL
----------------------------------------
BridgeSettings
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/BridgeSettings.DLL
----------------------------------------
CodeFormatter
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/CodeFormatter.DLL
----------------------------------------
Antlr3
    Assembly Version: 3.1.3.20199
    Win32 Version: 3.1.3.20199
    CodeBase: file:///C:/coding/haxedevelop/Antlr3.DLL
----------------------------------------
CodeRefactor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/CodeRefactor.DLL
----------------------------------------
ProjectManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/ProjectManager.DLL
----------------------------------------
CssCompletion
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/CssCompletion.DLL
----------------------------------------
DataEncoder
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/DataEncoder.DLL
----------------------------------------
fdb.j4n
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/fdb.j4n.DLL
----------------------------------------
jni4net.n-0.8.9.0
    Assembly Version: 0.8.9.0
    Win32 Version: 0.8.9.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/jni4net.n-0.8.9.0.DLL
----------------------------------------
FileExplorer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/FileExplorer.DLL
----------------------------------------
FlashConnect
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/FlashConnect.DLL
----------------------------------------
FlashDebugger
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/FlashDebugger.DLL
----------------------------------------
FlashLogViewer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/FlashLogViewer.DLL
----------------------------------------
FlashViewer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/FlashViewer.DLL
----------------------------------------
HaXeContext
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/HaXeContext.DLL
----------------------------------------
LintingHelper
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/LintingHelper.DLL
----------------------------------------
jni4net.n-0.8.8.0
    Assembly Version: 0.8.8.0
    Win32 Version: 0.8.8.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/jni4net.n-0.8.8.0.DLL
----------------------------------------
jni4net.n.w32.v20-0.8.8.0
    Assembly Version: 0.8.8.0
    Win32 Version: 0.8.8.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/jni4net.n.w32.v20-0.8.8.0.DLL
----------------------------------------
jni4net.n.w64.v40-0.8.9.0
    Assembly Version: 0.8.9.0
    Win32 Version: 0.8.9.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/jni4net.n.w32.v40-0.8.9.0.dll
----------------------------------------
LayoutManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/LayoutManager.DLL
----------------------------------------
System.Design
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
MacroManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/MacroManager.DLL
----------------------------------------
OutputPanel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/OutputPanel.DLL
----------------------------------------
PHPContext
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/PHPContext.DLL
----------------------------------------
SwfOp
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/SwfOp.DLL
----------------------------------------
System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2556.0 built by: NET471REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
ResultsPanel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/ResultsPanel.DLL
----------------------------------------
SourceControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/SourceControl.DLL
----------------------------------------
StartPage
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/StartPage.DLL
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2633.0 built by: NET471REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
TaskListPanel
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/coding/haxedevelop/Plugins/TaskListPanel.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.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.
TerryCavanagh commented 6 years ago

Getting crashes at startup now again. No error messages, just a crash.

Gonna downgrade back to 5.2 for a while!

markknol commented 6 years ago

image

What is the state of this ticket? I had about 8 crashes today.

SlavaRa commented 6 years ago

Can you try latest development build? And can you give me your Exceptions.log file?

markknol commented 6 years ago

Ill try!

This is my latest lines Exceptions.log: (as you can see all the crashes doesnt seem to be included)


8-6-2018 15:35:54

System.NullReferenceException: Object reference not set to an instance of an object.
   at HaXeContext.Completion.CodeComplete.InferVariableType(ScintillaControl sci, ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.InferVariableType(ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.EvalVariable(String token, ASExpr local, FileModel inFile, ClassModel inClass)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)

11-6-2018 10:12:55

System.IO.IOException: Recursive copy detected.
   at ProjectManager.Actions.FileActions.Copy(String fromPath, String toPath)

11-6-2018 11:38:34

System.IO.IOException: Recursive copy detected.
   at ProjectManager.Actions.FileActions.Copy(String fromPath, String toPath)

12-6-2018 11:04:12

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ASCompletion.Completion.ASGenerator.GuessVarName(String name, String type)
   at ASCompletion.Completion.ASGenerator.ParseFunctionParameters(ScintillaControl sci, Int32 p)
   at ASCompletion.Completion.ASGenerator.GenerateFunctionJob(GeneratorJobType job, ScintillaControl sci, MemberModel member, Boolean detach, ClassModel inClass)
   at ASCompletion.Completion.ASGenerator.GenerateJob(GeneratorJobType job, MemberModel member, ClassModel inClass, String itemLabel, Object data)
   at ASCompletion.Completion.GeneratorItem.get_Value()
   at PluginCore.Controls.CompletionList.ReplaceText(ScintillaControl sci, String tail, Char trigger)
   at PluginCore.Controls.CompletionList.HandleKeys(ScintillaControl sci, Keys key)
   at PluginCore.Controls.UITools.HandleKeys(Keys key)
   at PluginCore.Controls.UITools.HandleEvent(Object sender, NotifyEvent e, HandlingPriority priority)
   at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

12-6-2018 11:04:16

System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at ASCompletion.Completion.ASGenerator.GuessVarName(String name, String type)
   at ASCompletion.Completion.ASGenerator.ParseFunctionParameters(ScintillaControl sci, Int32 p)
   at ASCompletion.Completion.ASGenerator.GenerateFunctionJob(GeneratorJobType job, ScintillaControl sci, MemberModel member, Boolean detach, ClassModel inClass)
   at ASCompletion.Completion.ASGenerator.GenerateJob(GeneratorJobType job, MemberModel member, ClassModel inClass, String itemLabel, Object data)
   at ASCompletion.Completion.GeneratorItem.get_Value()
   at PluginCore.Controls.CompletionList.ReplaceText(ScintillaControl sci, String tail, Char trigger)
   at PluginCore.Controls.CompletionList.HandleKeys(ScintillaControl sci, Keys key)
   at PluginCore.Controls.UITools.HandleKeys(Keys key)
   at PluginCore.Controls.UITools.HandleEvent(Object sender, NotifyEvent e, HandlingPriority priority)
   at PluginCore.Managers.EventManager.DispatchEvent(Object sender, NotifyEvent e)

13-6-2018 11:00:38

System.NullReferenceException: Object reference not set to an instance of an object.
   at HaXeContext.Completion.CodeComplete.InferVariableType(ScintillaControl sci, ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.InferVariableType(ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.EvalVariable(String token, ASExpr local, FileModel inFile, ClassModel inClass)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at HaXeContext.Completion.CodeComplete.InferVariableType(ScintillaControl sci, String declarationLine, Int32 rvalueStart, ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.InferVariableType(ScintillaControl sci, ASExpr local, MemberModel var)
   at HaXeContext.Completion.CodeComplete.InferVariableType(ScintillaControl sci, ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.InferVariableType(ASExpr local, MemberModel var)
   at ASCompletion.Completion.ASComplete.EvalVariable(String token, ASExpr local, FileModel inFile, ClassModel inClass)
   at ASCompletion.Completion.ASComplete.EvalExpression(String expression, ASExpr context, FileModel inFile, ClassModel inClass, Boolean complete, Boolean asFunction, Boolean filterVisibility)
   at ASCompletion.Completion.ASComplete.GetExpressionType(ScintillaControl sci, Int32 position, Boolean filterVisibility, Boolean ignoreWhiteSpace)
   at ASCompletion.PluginMain.OnMouseHover(ScintillaControl sci, Int32 position)
   at PluginCore.Controls.UITools.MouseHoverHandler.Invoke(ScintillaControl sender, Int32 position)
   at PluginCore.Controls.UITools.HandleDwellStart(ScintillaControl sci, Int32 position, Int32 x, Int32 y)

13-6-2018 14:51:07

Unhandled exception: 

System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at HaXeContext.HaxeComplete.<>c__DisplayClass21_0`1.<StartThread>b__0(Object _)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

13-6-2018 14:51:59

Unhandled exception: 

System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at HaXeContext.HaxeComplete.<>c__DisplayClass21_0`1.<StartThread>b__0(Object _)
   at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
   at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
markknol commented 6 years ago

Update; I tried latest dev and it still crashed at same point. I sometimes have to open notepad to just continue coding at the point where it crashes then I restart haxedevelop to make it not crash directly. Still haven't seen any particular pattern in this.

SlavaRa commented 6 years ago

Can you give me your file with code that help me catch crash?

markknol commented 6 years ago

No this is for a commercial project, but will share one when I have a more isolated case.

SlavaRa commented 6 years ago

Ok, I'll wait ;)

SlavaRa commented 6 years ago

@markknol I need your sample, because I don't understand how I can reproduce that crash ;(

SlavaRa commented 6 years ago

@markknol I can make test build for your, build with guardians for logging. Maybe it's best variant if you can't give me the code.

markknol commented 6 years ago

Yes, if that can help nailing this that would be great. Happy to help!

SlavaRa commented 6 years ago

We can make that tomorrow, no problem :)