BrawlCrate / BrawlCrateIssues

Separate issue tracker repo for bugs submitted from the application, matching BrawlBox's implementation
3 stars 0 forks source link

crash when export folders #196

Open BrawlCrate opened 4 years ago

BrawlCrate commented 4 years ago

i exported some folders as szs and arc and this happened both times

v0.34-h3 x86

The volume for a file has been externally altered so that the opened file is no longer valid. (Exception from HRESULT: 0x800703EE)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at BrawlLib.Internal.IO.wFileMap..ctor(VoidPtr hFile, FileMapProtect protect, Int64 offset, UInt32 length)
   at BrawlLib.Internal.IO.FileMap.FromStreamInternal(FileStream stream, FileMapProtect prot, Int32 offset, Int32 length)
   at BrawlLib.Internal.IO.FileMap.FromTempFile(Int32 length, String& path)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild()
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Export(String outPath)
   at BrawlCrate.NodeWrappers.GenericWrapper.OnExport(String outPath)
   at BrawlCrate.NodeWrappers.GenericWrapper.ExportSelected()
   at BrawlCrate.NodeWrappers.GenericWrapper.ExportSelectedAction(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   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)