Jump to content
The Dark Mod Forums

Recommended Posts

Posted (edited)

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
Posted (edited)

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
Posted

OK! Nailed it down, I think. It seems that the culprit is setting r_useBindlessTextures to 1, for this mission (nhat3/politics) at least.

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

Which makes me a bit sad, when AMD finally fixed their OpenGL drivers, I was getting a good performance boost from that feature.

 

I always assumed I'd taste like boot leather.

 

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

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...