skywalker22 Posted April 11, 2023 Posted April 11, 2023 I got out of memory exception: "Out of memory in ed_aligned_malloc for 40000 bytes.". I already talked with @Special K on Discord, but since I couldn't send the crashdump over DCS dialog, I am pasting it here. dcs.log dcs.log-20230410-191532.zip 1
Flappie Posted April 11, 2023 Posted April 11, 2023 Hi .This looks like a memory leak. From what I can read, 85 minues passed without any activity (DCS was displaying the main menu), then the memory crash happened. I'll try to reproduce this issue. 2023-04-10 17:51:33.907 INFO APP (Main): Screen: MissionEditor 2023-04-10 17:51:36.084 INFO APP (Main): Screen: MainMenu 2023-04-10 17:51:37.643 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [0, 0] 2023-04-10 19:15:32.071 ALERT EDCORE (Main): Out of memory in ed_aligned_malloc for 40000 bytes. 2023-04-10 19:15:32.075 INFO EDCORE (Main): try to write dump information 2023-04-10 19:15:32.097 INFO EDCORE (Main): # -------------- 20230410-191532 -------------- 2023-04-10 19:15:32.098 INFO EDCORE (Main): DCS/2.8.3.38090 (x86_64; MT; Windows NT 10.0.22621) 2023-04-10 19:15:32.099 INFO EDCORE (Main): E:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin-mt\edCore.dll 2023-04-10 19:15:32.100 INFO EDCORE (Main): # 80000003 BREAKPOINT at 00007ffe909575cb 00:00000000 2023-04-10 19:15:32.100 INFO EDCORE (Main): SymInit: Symbol-SearchPath: 'E:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin-mt;', symOptions: 532, UserName: 'Mitja Bonca' 2023-04-10 19:15:32.101 INFO EDCORE (Main): OS-Version: 10.0.22621 () 0x100-0x1 2023-04-10 19:15:32.104 INFO EDCORE (Main): 0x00000000000275cb (edCore): ed::fatal_out_of_memory + 0x3B 2023-04-10 19:15:32.105 INFO EDCORE (Main): 0x00000000000a4ead (Visualizer): RenderParserImpl::isEmpty + 0x1038D 2023-04-10 19:15:32.106 INFO EDCORE (Main): 0x0000000000128f52 (Visualizer): CameraComponent::setHMDProjection + 0x38A2 2023-04-10 19:15:32.107 INFO EDCORE (Main): 0x000000000012b046 (Visualizer): CameraComponent::setHMDProjection + 0x5996 2023-04-10 19:15:32.107 INFO EDCORE (Main): 0x0000000000068d39 (Visualizer): DemoScene::update + 0x3B9 2023-04-10 19:15:32.107 INFO EDCORE (Main): 0x0000000000001855 (lua-gui_demoscene): (function-name not available) + 0x0 2023-04-10 19:15:32.107 INFO EDCORE (Main): 0x000000000007ca66 (dxgui): gui::Widget::redrawAll + 0x36 2023-04-10 19:15:32.108 INFO EDCORE (Main): 0x0000000000853bff (DCS): SW + 0x3BD84F 2023-04-10 19:15:32.108 INFO EDCORE (Main): 0x00000000023542e1 (DCS): AmdPowerXpressRequestHighPerformance + 0xFB02DD 2023-04-10 19:15:32.108 INFO EDCORE (Main): 0x0000000000c50292 (DCS): SW + 0x7B9EE2 2023-04-10 19:15:32.108 INFO EDCORE (Main): 0x000000000001269d (KERNEL32): BaseThreadInitThunk + 0x1D 2023-04-10 19:15:32.112 INFO EDCORE (Main): MiniDumpWriteDump failed. Error: 2147943855 ---
skywalker22 Posted April 11, 2023 Author Posted April 11, 2023 As you said, I stopped flying, then left the game in main menu, and doing other stuff on PC. Then after 85min I wanted to close it, and this error occurred. Game didn't even close by it self.
Flappie Posted April 11, 2023 Posted April 11, 2023 (edited) I've just finished experiencing. After I joined a server several times, I exited to main menu, then had dinner. I came back 80 minutes later and exited DCS. It took about a minute for the sim to close, but I could not reproduce the crash. Maybe I'm missing this phase: 2023-04-10 17:51:37.643 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [0, 0] Do you know how this line appears in your log? Edited April 11, 2023 by Flappie ---
skywalker22 Posted April 12, 2023 Author Posted April 12, 2023 Sorry I don't have a clue. Does it mean that the DCS app shrinked to the size of 0, 0? Maybe when I pressed Close command, it did that? I just checked into the log file which was inside the zip file (where crash and dump files are saved as well), and there is a lot of more stuff. This is the one, search for the our, and what is after is : 17:51:37.643 (there is a lot more info). dcs.20230410-191532.log
skywalker22 Posted April 12, 2023 Author Posted April 12, 2023 Again, same thing, left the game in main menu, and after some time, wanted to close it, and same thing happened, I had to close it by force. 2023-04-12 18:22:09.262 INFO APP (Main): Screen: MissionEditor 2023-04-12 18:22:12.067 ERROR LUA-TERRAIN (Main): getRunwayHeading: not found runways for './Mods/terrains/Syria/AirfieldsTaxiways/Naqoura.rn4' airdrome 2023-04-12 18:22:12.067 ERROR LUA-TERRAIN (Main): getRunwayHeading: not found runways for './Mods/terrains/Syria/AirfieldsTaxiways/Kharab_Ishk.rn4' airdrome 2023-04-12 18:22:12.067 ERROR LUA-TERRAIN (Main): getRunwayHeading: not found runways for './Mods/terrains/Syria/AirfieldsTaxiways/At_Tanf.rn4' airdrome 2023-04-12 18:22:12.253 INFO APP (Main): Screen: MainMenu 2023-04-12 18:22:13.938 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [0, 0] 2023-04-12 20:06:52.378 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [1920, 1080] 2023-04-12 20:06:55.627 INFO APP (Main): Screen: Settings 2023-04-12 20:06:57.182 INFO APP (Main): Screen: MainMenu 2023-04-12 20:06:59.086 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [0, 0] 2023-04-12 20:07:07.840 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [1920, 1080] 2023-04-12 20:07:08.827 INFO EDCORE (Main): (dDispatcher)enterToState_:5 2023-04-12 20:07:08.832 INFO APP (Main): application shutdown 2023-04-12 20:07:09.333 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 0 2023-04-12 20:07:09.336 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 1 2023-04-12 20:07:09.336 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 2 2023-04-12 20:07:09.474 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 3 2023-04-12 20:07:09.592 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 4 2023-04-12 20:07:09.610 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 5 2023-04-12 20:07:09.613 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 6 2023-04-12 20:07:09.617 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 7 2023-04-12 20:07:09.617 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 8 2023-04-12 20:07:09.621 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 9 2023-04-12 20:07:09.621 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 10 2023-04-12 20:07:09.622 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 11 2023-04-12 20:07:09.622 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 12 2023-04-12 20:07:09.623 INFO EDOBJECTS (Main): lTypeObjectManagerImpl::clear 13 2023-04-12 20:07:10.578 INFO TERRAIN (Main): lSystem::exit() 2023-04-12 20:07:10.588 INFO TERRAIN (Main): lSystem::CleanScenes() 2023-04-12 20:07:30.229 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [1920, 1080] 2023-04-12 20:07:30.241 WARNING SCENE (11860): Scene was removed with 4 alive objects 2023-04-12 20:07:30.544 INFO DXGUI_WIN_ADAPTER (Main): resize main window to [0, 0] 2023-04-12 20:07:30.545 INFO EDCORE (Main): try to write dump information 2023-04-12 20:07:30.552 INFO EDCORE (Main): # -------------- 20230412-200731 -------------- 2023-04-12 20:07:30.553 INFO EDCORE (Main): DCS/2.8.3.38090 (x86_64; MT; Windows NT 10.0.22621) 2023-04-12 20:07:30.554 INFO EDCORE (Main): E:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin-mt\Visualizer.dll 2023-04-12 20:07:30.554 INFO EDCORE (Main): # C0000005 ACCESS_VIOLATION at 00007fff9b066d80 00:00000000 2023-04-12 20:07:30.555 INFO EDCORE (Main): SymInit: Symbol-SearchPath: 'E:\Program Files\Eagle Dynamics\DCS World OpenBeta\bin-mt;', symOptions: 532, UserName: 'Mitja Bonca' 2023-04-12 20:07:30.556 INFO EDCORE (Main): OS-Version: 10.0.22621 () 0x100-0x1 2023-04-12 20:07:30.558 INFO EDCORE (Main): 0x0000000000086d80 (Visualizer): MouseCursorManager::clipCursor + 0x0 2023-04-12 20:07:30.559 INFO EDCORE (Main): 0x0000000000007826 (dxgui_win_adapter): gui::ApplicationWin::skipBoxMouseCursor + 0x36 2023-04-12 20:07:30.560 INFO EDCORE (Main): 0x0000000000004424 (dxgui_win_adapter): gui::ApplicationWin::dispatchMessage + 0x74 2023-04-12 20:07:30.560 INFO EDCORE (Main): 0x00000000000034d7 (dxgui_win_adapter): gui::ApplicationWin::~ApplicationWin + 0x6F7 2023-04-12 20:07:30.561 INFO EDCORE (Main): 0x0000000000018231 (USER32): DispatchMessageW + 0x741 2023-04-12 20:07:30.561 INFO EDCORE (Main): 0x0000000000017eec (USER32): DispatchMessageW + 0x3FC 2023-04-12 20:07:30.561 INFO EDCORE (Main): 0x000000000002306d (USER32): GetClassLongW + 0x58D 2023-04-12 20:07:30.561 INFO EDCORE (Main): 0x00000000000a2c94 (ntdll): KiUserCallbackDispatcher + 0x24 2023-04-12 20:07:30.561 INFO EDCORE (Main): 0x00000000000014d4 (win32u): NtUserPeekMessage + 0x14 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x0000000000021b8f (USER32): PeekMessageW + 0x1CF 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x0000000000021a5c (USER32): PeekMessageW + 0x9C 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x0000000000853414 (DCS): SW + 0x3BD064 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x0000000000105617 (Visualizer): smSceneManager::DestroySceneManager + 0xD7 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x000000000086e9c5 (DCS): SW + 0x3D8615 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x00000000023542f7 (DCS): AmdPowerXpressRequestHighPerformance + 0xFB02F3 2023-04-12 20:07:30.562 INFO EDCORE (Main): 0x0000000000c50292 (DCS): SW + 0x7B9EE2 2023-04-12 20:07:30.563 INFO EDCORE (Main): 0x000000000001269d (KERNEL32): BaseThreadInitThunk + 0x1D
Flappie Posted April 12, 2023 Posted April 12, 2023 I remember now: another user got rid of this issue by using a brand new "Saved Games/DCS..." folder. If you don't want to go to that extent, simply delete your Config/options.lua file and see if your issue goes away. ---
skywalker22 Posted April 13, 2023 Author Posted April 13, 2023 I read that thread. That's actually not the same, if I go to Settings or what ever other menu, I do have any issues or crashes. My DCS game crashes, when I want to Close it from the main menu after some time left it idling. I can try to do the same as he did, rename the DCS folder, so the game will recreate new files\folders inside of it. Will let you know. But this way we cannot find the real reason for the crash.
Flappie Posted April 13, 2023 Posted April 13, 2023 8 hours ago, skywalker22 said: But this way we cannot find the real reason for the crash. Except if you keep your old folder as a backup, then hand it over. ---
Recommended Posts