Jump to content

PdN 3.08: Crash on "Save as..." with a 260+ chars


Recommended Posts

When "saving as..." a picture having a full path of more than 260 characters (I know this a weired situation but anyway), Paint.Net v3.08 FR crashes rather than providing me with a "meaningful" :wink: error message:

"A non handled error occurred... blahblah"

The crash log looks like this:

------------------------------------------------------------------------------

Ce fichier texte a été créé car Paint.NET a rencontré un incident.

Veuillez envoyer ce fichier dans un message électronique à l'adresse paint.net@hotmail.com de façon à ce que nous puissions diagnostiquer et résoudre le problème.

Application version: Paint.NET v3.08 (Final Release build 3.08.2708.22795)

Time of crash: 23/07/2007 14:59:47

Application uptime: 00:01:21.6324705

OS Version: 6.0.6000.0 Workstation x86

.NET Framework version: 2.0.50727.312 x86

Processor: 2x "Intel® Pentium® D CPU 2.80GHz" @ ~2809MHz

Physical memory: 2046 MB

Tablet PC: no

Locale: pdnr.c: fr, hklm: fr, hkcu: n/a, cc: fr-FR, cuic: fr

Exception details:

System.IO.PathTooLongException: Le chemin d'accès spécifié, le nom de fichier ou les deux sont trop longs. Le nom de fichier qualifié complet doit comprendre moins de 260 caractères et le nom du répertoire moins de 248 caractères.

à System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)

à System.IO.Path.GetDirectoryName(String path)

à PaintDotNet.DocumentWorkspace.ShowFileDialog(Control owner, IFileDialog fd)

à PaintDotNet.DocumentWorkspace.DoSaveAsDialog(String& newFileName, FileType& newFileType, SaveConfigToken& newSaveConfigToken, Surface saveScratchSurface)

à PaintDotNet.DocumentWorkspace.DoSaveAs()

à PaintDotNet.Menus.FileMenu.MenuFileSaveAs_Click(Object sender, EventArgs e)

à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)

à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)

à PaintDotNet.PdnMenuItem.OnClick(EventArgs e)

à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)

à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)

à System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)

à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)

à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)

à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)

à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

à System.Windows.Forms.Control.WndProc(Message& m)

à System.Windows.Forms.ScrollableControl.WndProc(Message& m)

à System.Windows.Forms.ToolStrip.WndProc(Message& m)

à System.Windows.Forms.ToolStripDropDown.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)

------------------------------------------------------------------------------

PS: This does not happen when opening the file or saving (not "save as") the opened file. Also, when "saving as" the opened file, the filename is trucated so as to have a full path made of 260 characters.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...