Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline phillip.toone  
#1 Posted : 05 May 2014 23:57:31(UTC)
phillip.toone

Rank: Newbie

Groups: Registered
Joined: 25/01/2012(UTC)
Posts: 6

Was thanked: 1 time(s) in 1 post(s)
I've discovered that the most recent version of SMath closes when I try to use the paste feature. I do not have this problem in older versions. I have narrowed it down to these versions:

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.

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline mkraska  
#2 Posted : 06 May 2014 00:28:07(UTC)
mkraska


Rank: Advanced Member

Groups: Registered
Joined: 15/04/2012(UTC)
Posts: 1,986
Germany

Was thanked: 1124 time(s) in 721 post(s)
Does the crash occure in 0.97.5189 (latest nightly build)?
Martin Kraska

Pre-configured portable distribution of SMath Studio: https://smath.com/wiki/SMath_with_Plugins.ashx
Offline phillip.toone  
#3 Posted : 06 May 2014 01:38:13(UTC)
phillip.toone

Rank: Newbie

Groups: Registered
Joined: 25/01/2012(UTC)
Posts: 6

Was thanked: 1 time(s) in 1 post(s)
Originally Posted by: mkraska Go to Quoted Post
Does 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.
Offline phillip.toone  
#4 Posted : 07 May 2014 00:08:36(UTC)
phillip.toone

Rank: Newbie

Groups: Registered
Joined: 25/01/2012(UTC)
Posts: 6

Was thanked: 1 time(s) in 1 post(s)
Okay, I've found another issue. When I am at the end of a text block and press Shift+RightArrow the application closes unexpectedly.
thanks 1 user thanked phillip.toone for this useful post.
on 07/05/2014(UTC)
Offline Davide Carpi  
#5 Posted : 07 May 2014 00:21:59(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,647
Man
Italy
Location: Italy

Was thanked: 1329 time(s) in 875 post(s)
Originally Posted by: phillip.toone Go to Quoted Post
Okay, 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

Edited by user 20 May 2016 21:04:56(UTC)  | Reason: added BTS # (LINUX)

If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Offline phillip.toone  
#6 Posted : 18 June 2014 01:10:12(UTC)
phillip.toone

Rank: Newbie

Groups: Registered
Joined: 25/01/2012(UTC)
Posts: 6

Was thanked: 1 time(s) in 1 post(s)
I've found another, probably related, problem. I have upgraded to Ubuntu 12.04 and now the program crashed when I use either copy or cut. Any progress on this bug? Any more details you would like me to share?
Offline quert  
#7 Posted : 27 June 2014 00:25:13(UTC)
quert

Rank: Newbie

Groups: Registered
Joined: 27/06/2014(UTC)
Posts: 1

I would like to confirm this bug.

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 <filename unknown>:0
at System.IO.MemoryStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in <filename unknown>:0
at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>: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 <filename unknown>: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 <filename unknown>:0
at SMathFileType.SMathFileType. (System.IO.Stream , System.Collections.Generic.List`1 , SMath.Control.FileContext ) [0x00000] in <filename unknown>:0
at SMath.Control.DataFiles.OpenFileType (System.IO.Stream stream, SMath.Control.Worksheet worksheet, SMath.Control.FileContext context) [0x00000] in <filename unknown>:0
at SMath.Control.ClipboardManager.GetRegions (SMath.Control.Worksheet worksheet, Int32 topCorrection) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet. (System.String ) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.WorksheetControl.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>: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 <filename unknown>:0
at System.Drawing.Graphics.GdipMeasureString (IntPtr graphics, System.String text, System.Drawing.Font font, System.Drawing.RectangleF& layoutRect, IntPtr stringFormat) [0x00000] in <filename unknown>:0
at System.Drawing.Graphics.MeasureString (System.String text, System.Drawing.Font font, Int32 width, System.Drawing.StringFormat format) [0x00000] in <filename unknown>: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 <filename unknown>:0
at System.Windows.Forms.TextRenderer.MeasureText (System.String text, System.Drawing.Font font, Size proposedSize, TextFormatFlags flags) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripItem.OnParentChanged (System.Windows.Forms.ToolStrip oldParent, System.Windows.Forms.ToolStrip newParent) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripItem.set_Parent (System.Windows.Forms.ToolStrip value) [0x00000] in <filename unknown>: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 <filename unknown>:0
at System.Windows.Forms.ToolStripItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripDropDownItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.Windows.Forms.ToolStripMenuItem.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
at System.ComponentModel.Component.Finalize () [0x00000] in <filename unknown>: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 <filename unknown>:0
at System.IO.MemoryStream.Read (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in <filename unknown>:0
at System.Xml.XmlInputStream.Initialize (System.IO.Stream stream) [0x00000] in <filename unknown>:0
at System.Xml.XmlInputStream..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>: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 <filename unknown>: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 <filename unknown>:0
at SMathFileType.SMathFileType. (System.IO.Stream , System.Collections.Generic.List`1 , SMath.Control.FileContext ) [0x00000] in <filename unknown>:0
at SMath.Control.DataFiles. (System.IO.Stream , SMath.Control.Worksheet , SMath.Control.FileContext ) [0x00000] in <filename unknown>:0
at SMath.Control.DataFiles.OpenFileType (System.IO.Stream stream, SMath.Control.Worksheet worksheet, SMath.Control.FileContext context) [0x00000] in <filename unknown>:0
at SMath.Control.ClipboardManager.GetRegions (SMath.Control.Worksheet worksheet, Int32 topCorrection) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet. (System.String ) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet. (System.String ) [0x00000] in <filename unknown>:0
at SMath.Control.Worksheet.Insert (System.String value) [0x00000] in <filename unknown>:0
at SMath.Control.WorksheetControl.OnKeyDown (System.Windows.Forms.KeyEventArgs e) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyEventArgs (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.ProcessKeyMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WmKeys (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0


Best regards,
quert

Edited at by user 28 June 2014 17:29:05(UTC)  | Reason: Not specified

Offline Lukas  
#8 Posted : 13 September 2015 10:15:47(UTC)
Lukas

Rank: Newbie

Groups: Registered
Joined: 12/09/2015(UTC)
Posts: 1

Have anyone solve this problem?

I tried last nightly build(SMathStudioDesktop.0_97_5581.Mono) with last Mono(Mono JIT compiler version 4.3.0) from git but still same issue.

Best regards,

Lukas
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.