[SS-2344] Closes when pasting - Messages
Version Build Date Crashes
0.96 4868 05/01/13 No
0.96 4909 06/10/13 No
0.96 5146 02/02/14 Yes
0.96 5151 02/07/14 Yes
0.97 5154 02/10/14 Yes
Also, I am using Linux Mint with this version of Mono:
Mono JIT compiler version 2.4.4 (Debian 2.4.4~svn151842-1ubuntu4.1)
Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com
TLS: __thread
GC: Included Boehm (with typed GC)
SIGSEGV: altstack
Notifications: epoll
Architecture: amd64
Disabled: none
I hope my description is clear here. Let me know if you need help understanding what I am trying to share. Thanks.
WroteDoes the crash occure in 0.97.5189 (latest nightly build)?
Unfortunately yes. That is where I first discovered the problem. Sorry I did not list that release in my table above. I was just trying to find the latest release that does not have the problem.
WroteOkay, I've found another issue. When I am at the end of a text block and press Shift+RightArrow the application closes unexpectedly.
This is a bug in windows too... added in BTS: SS-141
Best regards,
Davide
Steps to reproduce: open new file, write random expression, copy it and try to paste (ctrl+c followed by ctrl+v). Results in crash.
I am using:
dev-lang/mono-3.2.8
smath 0.97 build 5154
on funtoo linux
Here is crash message:
Quote
System.ObjectDisposedException: The object was used after being disposed.
at System.IO.MemoryStream.CheckIfClosedThrowDisposed () [0x00000] in:0
at System.IO.MemoryStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in:0
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in:0
at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in:0
at (wrapper remoting-invoke-with-check) System.Xml.XmlInputStream:.ctor (System.IO.Stream)
at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000] in:0
at (wrapper remoting-invoke-with-check) System.Xml.XmlStreamReader:.ctor (System.IO.Stream)
at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000] in:0
at SMathFileType.SMathFileType. (System.IO.Stream , System.Collections.Generic.List`1 , SMath.Control.FileContext ) [0x00000] in:0
at SMath.Control.DataFiles.OpenFileType (System.IO.Stream stream, SMath.Control.Worksheet worksheet, SMath.Control.FileContext context) [0x00000] in:0
at SMath.Control.ClipboardManager.GetRegions (SMath.Control.Worksheet worksheet, Int32 topCorrection) [0x00000] in:0
at SMath.Control.Worksheet. (System.String ) [0x00000] in:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in:0
at SMath.Control.WorksheetControl.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in:0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in:0
Unhandled Exception:
System.ArgumentException: A null reference or invalid value was found [GDI+ status: InvalidParameter]
at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in:0
at System.Drawing.Graphics.GdipMeasureString (IntPtr graphics, System.String text, System.Drawing.Font font, System.Drawing.RectangleF& layoutRect, IntPtr stringFormat) [0x00000] in:0
at System.Drawing.Graphics.MeasureString (System.String text, System.Drawing.Font font, Int32 width, System.Drawing.StringFormat format) [0x00000] in:0
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics:MeasureString (string,System.Drawing.Font,int,System.Drawing.StringFormat)
at System.Windows.Forms.TextRenderer.MeasureTextInternal (IDeviceContext dc, System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags, Boolean useMeasureString) [0x00000] in:0
at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags) [0x00000] in:0
at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in:0
at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:set_Parent (System.Windows.Forms.ToolStrip)
at System.Windows.Forms.ToolStripItemCollection.Remove (System.Windows.Forms.ToolStripItem value) [0x00000] in:0
at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in:0
at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in:0
at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in:0
at System.ComponentModel.Component.Finalize () [0x00000] in:0
Best regards,
quert
edit @ 28.06.14
I have downloaded newer build and there is change in crash behaviour.
Smath now displays file save dialogue like before closing.
smath 0.97 build 5283
Here is crash message:
Quote
System.ObjectDisposedException: The object was used after being disposed.
at System.IO.MemoryStream.CheckIfClosedThrowDisposed () [0x00000] in:0
at System.IO.MemoryStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in:0
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in:0
at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in:0
at (wrapper remoting-invoke-with-check) System.Xml.XmlInputStream:.ctor (System.IO.Stream)
at System.Xml.XmlStreamReader..ctor (System.IO.Stream input) [0x00000] in:0
at (wrapper remoting-invoke-with-check) System.Xml.XmlStreamReader:.ctor (System.IO.Stream)
at System.Xml.XmlTextReader..ctor (System.IO.Stream input) [0x00000] in:0
at SMathFileType.SMathFileType. (System.IO.Stream , System.Collections.Generic.List`1 , SMath.Control.FileContext ) [0x00000] in:0
at SMath.Control.DataFiles. (System.IO.Stream , SMath.Control.Worksheet , SMath.Control.FileContext ) [0x00000] in:0
at SMath.Control.DataFiles.OpenFileType (System.IO.Stream stream, SMath.Control.Worksheet worksheet, SMath.Control.FileContext context) [0x00000] in:0
at SMath.Control.ClipboardManager.GetRegions (SMath.Control.Worksheet worksheet, Int32 topCorrection) [0x00000] in:0
at SMath.Control.Worksheet. (System.String ) [0x00000] in:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in:0
at SMath.Control.Worksheet. (System.String ) [0x00000] in:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in:0
at SMath.Control.WorksheetControl.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in:0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in:0
Best regards,
quert
-
New Posts
-
No New Posts