Jump to content
The Dark Mod Forums

[resolved] Heap Corruption (0xc0000374) crash on vid_restart


draeath

Recommended Posts

Hey folks,

 

I just started playing "No Honour Among Thieves" after doing the "A New Job" and "Tears of St. Lucia" and have found a crash bug of some sort. While I've since fiddled with my cvars, the issue first occurred with the settings I'd used without issue on the prior missions. I'm using the 2.10 release.

 

Initially starting the game and starting the mission (or loading a save) works fine, but should video have to be reloaded (ie after death, or issuing a "vid_restart") I get a crash to desktop, every time.

 

I was able to debug this down to heap corruption, but without PDBs I can go no further (I can't find or have no access to the "assets SVN" where these would be, based on the wiki). Please find attached various potentially relevant config files. I have a crash dump, and will try to edit a URL in to it after initially posting it (worried about anti-spam measures). Just in case, I've included windbg.txt output in the attachments showing what I can as-is.

 

I've already ruled out  r_useMultiDrawIndirect and r_useBindlessTextures (and so you'll see them on in the attached files, since they didn't seem to be at fault.

(I have modified alsoft.ini, to force headphone stereo mode.)

alsoft.ini autocommands.cfg autoexec.cfg Darkmod.cfg Darkmod.log qconsole.zip DxDiag.txt windbg.txt

Edited by draeath
adding version number
  • Like 1
Link to comment
Share on other sites

OK, crash dump is uploaded and is available here (removed in edit, since the issue is known) . It's not small (compressed down to 554M) so please only grab it if you need it, to spare me the bandwidth.

 

I'll be resetting my settings and being less adventurous with things that aren't menu-accessible, meanwhile.

 

EDIT: ok, yep. the issue is no longer present after resetting my cvars. Here's a unified diff (- is the crashing config, + is the noncrashing config). Some differences are totally unrelated I'm sure, just me not being consistent when going through the menu options.

 

$ diff -u1 Darkmod.cfg.old.sorted Darkmod.cfg.sorted
--- Darkmod.cfg.old.sorted      2022-08-09 21:52:14.271051900 -0400
+++ Darkmod.cfg.sorted  2022-08-09 22:00:21.361448700 -0400
@@ -5,3 +5,3 @@
 seta com_maxFPS "240"
-seta com_numQuickSaves "2"
+seta com_numQuickSaves "4"
 seta com_preloadDemos "0"
@@ -89,3 +89,3 @@
 seta jobs_numThreads "16"
-seta logFile "2"
+seta logFile "1"
 seta mod_validSkins "skins/characters/player/marine_mp;skins/characters/player/marine_mp_green;skins/characters/player/marine_mp_blue;skins/characters/player/marine_mp_red;skins/characters/player/marine_mp_yellow"
@@ -216,4 +216,4 @@
 seta r_forceLoadImages "0"
-seta r_frameIndexMemory "8192"
-seta r_frameVertexMemory "8192"
+seta r_frameIndexMemory "4096"
+seta r_frameVertexMemory "4096"
 seta r_frobDepthOffset "0.0005"
@@ -253,5 +253,5 @@
 seta r_postprocess_sharpness "0.25"
-seta r_screenshot_format "jpg"
+seta r_screenshot_format "png"
 seta r_shadowMapCullFront "0"
-seta r_shadowMapSinglePass "2"
+seta r_shadowMapSinglePass "0"
 seta r_shadowMapSize "1024"
@@ -275,4 +275,4 @@
 seta r_tonemap "1"
-seta r_useAnonreclaimer "1"
-seta r_useBindlessTextures "1"
+seta r_useAnonreclaimer "0"
+seta r_useBindlessTextures "0"
 seta r_useFenceSync "1"
@@ -374,3 +374,3 @@
 seta tdm_default_relations_def "atdm:team_relations_default"
-seta tdm_door_auto_open_on_unlock "1"
+seta tdm_door_auto_open_on_unlock "0"
 seta tdm_door_control "0"
@@ -403,3 +403,3 @@
 seta tdm_force_savegame_load "0"
-seta tdm_frobhelper_active "0"
+seta tdm_frobhelper_active "1"
 seta tdm_frobhelper_alpha "1.0"
@@ -425,3 +425,3 @@
 seta tdm_lg_weak "0"
-seta tdm_lod_bias "2.0"
+seta tdm_lod_bias "3.0"
 seta tdm_lp_autopick_attempts "3"
@@ -431,3 +431,3 @@
 seta tdm_lp_pawlow "0"
-seta tdm_lp_pick_timeout "500"
+seta tdm_lp_pick_timeout "400"
 seta tdm_lp_randomize "1"

Autocommands now only contains r_finish.

Edited by draeath
removed dump link
Link to comment
Share on other sites

Yep, bindless textures is flakey on many drivers. The negatives outweigh the positives on that feature so it has been removed from the next release.

  • Like 1

Please visit TDM's IndieDB site and help promote the mod:

 

http://www.indiedb.com/mods/the-dark-mod

 

(Yeah, shameless promotion... but traffic is traffic folks...)

Link to comment
Share on other sites

  • draeath changed the title to [resolved] Heap Corruption (0xc0000374) crash on vid_restart

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.

  • Recent Status Updates

    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
    • OrbWeaver

      I like the new frob highlight but it would nice if it was less "flickery" while moving over objects (especially barred metal doors).
      · 4 replies
×
×
  • Create New...