Log in to reply
 

"Stream read error" OpenIV crash


  • MODERATOR

    Something in OpenIV seems to be severely corrupting my data.

    Upon opening a .ymap today, suddenly OpenIV crashes horribly, for no discernable reason (See log in 'Additional Information' below).

    The .ymap itself appears corrupted too. OpenIV remains corrupting its reads, it seems. Like my copied ymap contained something like:

      <numChildren value=ue=ue="0" />
    

    Or

     < < <lodDist value="500.00000000" />
    

    I checked the obvious, of course (memory, hard disk), but those appear fine. It would seem some pointers have become severely misaligned (permanently, it would seem).

    The spurious nature of this bug makes it hard to reproduce. I can add dozens of entries, and it will open just fine. Or remove a few, and OpenIV will crash horribly again. I tried using another ymap as a template (emptying it, and copying my desired text in it); alas, to no avail: still crashing.

    Anyone else seen this?!

    The Log:

    Time: "18:58:48"
    Type: "EReadError"
    Message: "Stream read error"

    Additional information:
    [Application Context]
    App::Lang=en_GB
    Main::ExploreArchiveNode::WorkItem=I:\SteamLibrary\steamapps\common\Grand Theft Auto V\mods\update\x64\dlcpacks\CustomMaps\dlc.rpf|x64\levels\gta5_citye\maps\custom_maps.rpf|
    GetSystemDefaultLangID=1033
    SysLocale={ DefaultLCID: "1033", PriLangID: "9", SubLangID: "1", FarEast: "True", MiddleEast: "True" }
    App::Path=C:\Users\Me\AppData\Local\New Technology Studio\Apps\OpenIV
    Core::OpenRageArchive::LastCall=I:\SteamLibrary\steamapps\common\Grand Theft Auto V\mods\update\x64\dlcpacks\CustomMaps\dlc.rpf|x64\levels\gta5_citye\maps\custom_maps.rpf
    GetThreadLocale=1033 (0x0409)
    Game::Platform=pc
    Main::ExploreArchiveNode::ParentArchive=I:\SteamLibrary\steamapps\common\Grand Theft Auto V\mods\update\x64\dlcpacks\CustomMaps\dlc.rpf|x64\levels\gta5_citye\maps\custom_maps.rpf
    WebClientIndex=994518078
    ApplicationPath=C:\Users\Me\AppData\Local\New Technology Studio\Apps\OpenIV
    OS=Windows 10 (Version 10.0, Build 0, 64-bit Edition)
    WebClientToken={D64D3693-54ED-46D3-8FFB-28864F1AC1FC}
    Game::ID=Five (GTA V)
    GetSystemDefaultLCID=1033
    WebClientId=6104659
    App::Temp=C:\Users\Me\AppData\Local\Temp\OpenIV_002B128C
    Game::Path=I:\SteamLibrary\steamapps\common\Grand Theft Auto V\

    [Application Windows]
    TMainWindow=OpenIV - custom_maps.rpf - [Edit mode]
    TActionsModule=ActionsModule
    TErrorWindow=OpenIV - Application error

    Release: 2.9.2.932 07-Jan-18
    Address: "0x004B1915"
    Procedure: "System.Classes.TStream.ReadBuffer"
    Unit: "", Line: "0"

    Stack:
    [004B1910] System.Classes.TStream.ReadBuffer + $68
    [00D2B686] Rage.Script.RASM.Opcodes.Classes.TRageStream.Peek<System.Byte> + $22
    [01113DE6] Rage2.PSO5.Resources64.psoRscStringsData.ObjectAllocation + $7A
    [00DCFE59] Rage2.Resources.ObjectBase.CResourceObjectBase.Allocation + $D
    [00DD0F8C] Rage2.Resources.ObjectBase.CResourceObject.Create + $20
    [00DD0F45] Rage2.Resources.ObjectBase.CResourceObject.New + $5
    [01120452] Rage2.PSO5.Resources64.{Rage2.Paging64}pgPtr64<Rage2.PSO5.Resources64.psoRscStringsData>.RelocateObject + $A6
    [01120B29] Rage2.PSO5.Resources64.{Rage2.Paging64}pgPtr64<Rage2.PSO5.Resources64.psoRscStringsData>.Relocation + $8D
    [004661CD] System.Rtti.RawInvoke + $3D
    [004665CF] System.Rtti.Invoke + $25B
    [00463B79] System.Rtti.TRttiRecordMethod.DispatchInvoke + $27D
    [00466A64] System.Rtti.TRttiMethod.Invoke + $48
    [00DD152B] Rage2.Resources.ObjectBase.CRelocationHelper.RelocateCachedRecord + $19B
    [00DD1350] Rage2.Resources.ObjectBase.CRelocationHelper.RelocateRecord + $7C
    [00DD0027] Rage2.Resources.ObjectBase.CResourceObjectBase.Relocation + $157
    [00949697] Rage.Resources.Common.{System.Generics.Collections}TDictionary<System.Cardinal,System.Pointer>.Rehash + $11B
    [00DCFE76] Rage2.Resources.ObjectBase.CResourceObjectBase.Allocation + $2A
    [00DD0F8C] Rage2.Resources.ObjectBase.CResourceObject.Create + $20
    [00DD0F45] Rage2.Resources.ObjectBase.CResourceObject.New + $5
    [0112897C] Rage2.PSO5.Containers.Resources64.CResource2.Load<Rage2.PSO5.Resources64.psoResourceData> + $C0
    [0112684A] Rage2.PSO5.Containers.Resources64.psoResource64Container.Load + $1A
    [0112A08D] Rage2.PSO5.CPlatfromSharedObject.LoadFrom + $21
    [004080C4] System.TObject.Free + $8
    [0112963E] Rage2.PSO5.Containers.psoContainerFactory.CreateContainer + $4A
    [01129FE7] Rage2.PSO5.CPlatfromSharedObject.Load + $73
    [01648D07] Tools.TextEditor.GTAVProcessorPSO.Win64.TFivePsoTextEditorProcessorPC.LoadFile + $3B
    [01648365] Tools.TextEditor.TextEditor.OpenArchiveFile + $45
    [00AFFC18] Tools.Framework.CToolsFramework.OpenArchiveFile + $6C
    [01428269] Black.TypeLibrary2.GTAVResourcesWin64.CFivePsoResourceDataPC.ViewAsXml + $15
    [009E7D68] Black.TypeLibrary2.Base.CFileWorkerBase.ExecuteViewAction + $70
    [00B95B2C] Black.LegacyUI.MainWindow.Actions.TActionsModule.actPreviewExecute + $74
    [00BB1604] Black.LegacyUI.MainWindow.RunPreviewAction + $38
    [00BB1690] Black.LegacyUI.MainWindow.TMainWindow.RunCurrentItemAction + $3C
    [00BB153C] Black.LegacyUI.MainWindow.TMainWindow.ExecuteDefaultFileAction + $124
    [00BB1219] Black.LegacyUI.MainWindow.TMainWindow.ArchiveListDblClick + $51
    [0055499D] Vcl.Controls.TControl.DblClick + $15
    [00554B18] Vcl.Controls.TControl.WMLButtonDblClk + $34
    [00554412] Vcl.Controls.TControl.WndProc + $2BE
    [76398844] Unknown function at EndTask + $8464
    [00558F5D] Vcl.Controls.TWinControl.WndProc + $5E9
    [00408FC0] System.TMonitor.TryEnter + $28
    [00408B48] System.TMonitor.Enter + $10
    [004089CC] System.TMonitor.CheckOwningThread + $4
    [00408CD6] System.TMonitor.Exit + $6
    [00408D27] System.TMonitor.Exit + $F
    [0052D8A7] Vcl.Graphics.FreeMemoryContexts + $9B
    [0055857C] Vcl.Controls.TWinControl.MainWndProc + $2C
    [66EFD060] Unknown function at + $660
    [7781CB17] RtlDeactivateActivationContextUnsafeFast + $97
    [005587BD] Vcl.Controls.TWinControl.IsControlMouseMsg + $65
    [00558F5D] Vcl.Controls.TWinControl.WndProc + $5E9
    [763D932D] Unknown function at + $3FCD
    [7639B1DF] Unknown function at EndTask + $ADFF
    [005B5E93] Vcl.ComCtrls.TCustomListView.WndProc + $AF
    [0055857C] Vcl.Controls.TWinControl.MainWndProc + $2C
    [004C5234] System.Classes.StdWndProc + $14
    [7638E0B9] Unknown function at AddClipboardFormatListener + $49
    [76398844] Unknown function at EndTask + $8464
    [7639B140] Unknown function at EndTask + $AD60
    [7639B01F] Unknown function at EndTask + $AC3F
    [763D932D] Unknown function at + $3FCD
    [7639B1DF] Unknown function at EndTask + $ADFF
    [76398335] Unknown function at EndTask + $7F55
    [7637FBA6] CallWindowProcW + $16
    [66EFF488] Unknown function at DefSubclassProc + $2C8
    [76388888] IsWindow + $38
    [777C2ABA] NtUserGetProp + $A
    [66EFF525] Unknown function at DefSubclassProc + $365
    [777C2ABA] NtUserGetProp + $A
    [66EFF2CC] Unknown function at DefSubclassProc + $10C
    [7638E0B9] Unknown function at AddClipboardFormatListener + $49
    [76398844] Unknown function at EndTask + $8464
    [7639B140] Unknown function at EndTask + $AD60
    [763CFB86] GetDC + $46
    [7639B01F] Unknown function at EndTask + $AC3F
    [76388A9E] Unknown function at IsWindow + $24E
    [7784E7BA] ZwCallbackReturn + $A
    [76388AB5] Unknown function at IsWindow + $265
    [7784E8AA] ZwFindAtom + $A
    [763890D7] Unknown function at DispatchMessageW + $4C7
    [76389324] GetPropW + $24
    [006589BC] Vcl.Forms.TApplication.StopHintTimer + $10
    [76388C1B] DispatchMessageW + $B
    [0065784B] Vcl.Forms.TApplication.ProcessMessage + $F3
    [0065788E] Vcl.Forms.TApplication.HandleMessage + $A
    [00657BC1] Vcl.Forms.TApplication.Run + $C9
    [0137A2B3] Black.Bootstrapper.Bootstrapper.ApplicationMain + $CB
    [0137A1E1] Black.Bootstrapper.Bootstrapper.Main + $5
    [0137FD8F] Black.Application.CBlackApplication.Main + $E7
    [01698BD7] OpenIV.OpenIV + $4B17
    [76888652] BaseThreadInitThunk + $22
    [77844A75] RtlGetAppContainerNamedObjectPath + $135
    [77844A42] RtlGetAppContainerNamedObjectPath + $102
    ClientId: 6104659, ReportId: 2330655


  • MODERATOR

    Judging by the 'Access Violation', I think the OpenIV editor may be experiencing a memory overflow. This occurs with a ymap of ca. 28,000 lines.


Log in to reply
 

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.