crash with exception

7 views
Skip to first unread message

Jozef Mlich

unread,
Jan 2, 2008, 11:09:17 AM1/2/08
to mono-paint-port
i'm not sure if problem is in virtual machine or in source code, or in
intermediate code, or is it just version conflict.

So what i have done:
(1) i've made the package for ubuntu 8.10 alpha (with mono 1.2.5) on
my desktop
(2) i've sent the source code to launchpad PPA ( https://launchpad.net/%7Exmlich02/+archive
)
(3) made package on launchpad server (with mono 1.2.5)
(4) downloaded package to my laptop (ubuntu 7.10 with by hand
installed mono 1.2.6)
(5) started "paintdotnet" and drawed a few lines.

Here is the backtrace:
=== cut ===
Unhandled Exception: System.ArgumentException: Combining FileMode:
Read with FileAccess: Create is invalid.
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
anonymous, FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync,
Boolean anonymous) [0x00000]
at System.IO.FileStream..ctor (System.String path, FileMode mode,
FileAccess access) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess)
at PaintDotNet.SystemLayer.FileSystem.OpenStreamingFile
(System.String fileName, FileAccess fileAccess) [0x00000]
at PaintDotNet.HistoryMementos.BitmapHistoryMemento.OnUndo ()
[0x00000]
at PaintDotNet.HistoryMemento.PerformUndo () [0x00000]
at PaintDotNet.HistoryMementos.CompoundHistoryMemento.OnUndo ()
[0x00000]
at PaintDotNet.HistoryMemento.PerformUndo () [0x00000]
at PaintDotNet.HistoryStack.StepBackwardImpl () [0x00000]
at PaintDotNet.HistoryStack.StepBackward () [0x00000]
at PaintDotNet.Actions.HistoryUndoAction.PerformAction
(PaintDotNet.DocumentWorkspace documentWorkspace) [0x00000]
at PaintDotNet.DocumentWorkspace.PerformAction
(PaintDotNet.DocumentWorkspaceAction action) [0x00000]
at (wrapper remoting-invoke-with-check)
PaintDotNet.DocumentWorkspace:PerformAction
(PaintDotNet.DocumentWorkspaceAction)
at PaintDotNet.Menus.EditMenu.MenuEditUndo_Click (System.Object
sender, System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e)
[0x00000]
at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs
e) [0x00000]
at PaintDotNet.PdnMenuItem.OnClick (System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripMenuItem.HandleClick
(System.EventArgs e) [0x00000]
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e,
ToolStripItemEventType met) [0x00000]
at System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey
(System.Windows.Forms.Message& m, Keys keyData) [0x00000]
at System.Windows.Forms.ToolStripManager.ProcessCmdKey
(System.Windows.Forms.Message& m, Keys keyData) [0x00000]
at System.Windows.Forms.ContainerControl.ProcessCmdKey
(System.Windows.Forms.Message& msg, Keys keyData) [0x00000]
at PaintDotNet.DocumentView.ProcessCmdKey
(System.Windows.Forms.Message& msg, Keys keyData) [0x00000]
at System.Windows.Forms.Control.ProcessCmdKey
(System.Windows.Forms.Message& msg, Keys keyData) [0x00000]
at System.Windows.Forms.Control.InternalPreProcessMessage
(System.Windows.Forms.Message& msg) [0x00000]
at System.Windows.Forms.Control.PreProcessMessage
(System.Windows.Forms.Message& msg) [0x00000]
at System.Windows.Forms.Control.PreProcessControlMessageInternal
(System.Windows.Forms.Message& msg) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control:PreProcessControlMessageInternal
(System.Windows.Forms.Message&)
at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000]
at PaintDotNet.Startup.StartPart2 () [0x00000]
at PaintDotNet.Startup.Start () [0x00000]
at PaintDotNet.Startup.Main (System.String[] args) [0x00000]
=== cut ===

--
mlichj.
Reply all
Reply to author
Forward
0 new messages