Recurring Crashes (Bear north on rue)

Map: Bear north on rue de saint-eloi
Resolution: 1366x768, Fullscreen
Graphics Settings: All to full/on. Except clouds and invert zoom (off).

All attempts:
Defender, Captain Difficulty, Scenario Units

1st Attempt:
Game speed between 1x and 2x.

2nd Attempt:
Game speed between 1x and 2x.

3rd Attempt:
Game speed at 4x.

The game crashes every time at around 65% of the mission supply countdown being used.

Errors.txt:
2/4/2012 - 18::0 - D3DERR_INVALIDCALL
2/4/2012 - 18::0 - Begin Scene
2/4/2012 - 18::0 - D3DERR_INVALIDCALL
2/4/2012 - 18::0 - End Scene
2/4/2012 - 18::2 - D3DERR_INVALIDCALL
2/4/2012 - 18::2 - Begin Scene
2/4/2012 - 18::4 - D3DERR_INVALIDCALL
2/4/2012 - 18::4 - Begin Scene
2/4/2012 - 18::4 - D3DERR_INVALIDCALL
2/4/2012 - 18::4 - Begin Scene
2/4/2012 - 18::11 - D3DERR_INVALIDCALL
2/4/2012 - 18::11 - Begin Scene
2/4/2012 - 18::11 - D3DERR_INVALIDCALL
2/4/2012 - 18::11 - End Scene
2/4/2012 - 18::11 - D3DERR_INVALIDCALL
2/4/2012 - 18::11 - Begin Scene
2/4/2012 - 18::12 - D3DERR_INVALIDCALL
2/4/2012 - 18::12 - Begin Scene
2/4/2012 - 18::14 - D3DERR_INVALIDCALL
2/4/2012 - 18::14 - Begin Scene
2/4/2012 - 18::17 - D3DERR_INVALIDCALL
2/4/2012 - 18::17 - Begin Scene
2/4/2012 - 18::17 - D3DERR_INVALIDCALL
2/4/2012 - 18::17 - End Scene
2/4/2012 - 18::18 - D3DERR_INVALIDCALL
2/4/2012 - 18::18 - Begin Scene
2/4/2012 - 18::18 - D3DERR_INVALIDCALL
2/4/2012 - 18::18 - Begin Scene
2/4/2012 - 18::19 - D3DERR_INVALIDCALL
2/4/2012 - 18::19 - Begin Scene

what game version? did it work in earlier versions? do other maps work ok?

what game version? Version 1.004.

did it work in earlier versions? I don’t know.

do other maps work ok? Others that I tried, yes.

I tried it again today, it crashes at the same point whether with ‘scenario units’, ‘scripted’ or ‘Any units’.

And there is no error message? or does it maybe co-incide with a particular action? like issuing an order, deploying a certain unit or toggling a certain feature?
Does anyone else ahve the same issue?

what game version? Version 1.006.
did it work in earlier versions? No.
do other maps work ok? Others that I tried, yes.

It crashes in the same way on a totally different computer system. (My desktop and my a laptop). The crash occurs at any time and not because of any particular action.

21/4/2012 - 19::29 - D3DERR_INVALIDCALL
21/4/2012 - 19::29 - Begin Scene
21/4/2012 - 19::29 - D3DERR_INVALIDCALL
21/4/2012 - 19::29 - End Scene
21/4/2012 - 19::30 - D3DERR_INVALIDCALL
21/4/2012 - 19::30 - Begin Scene
21/4/2012 - 19::30 - D3DERR_INVALIDCALL
21/4/2012 - 19::30 - Begin Scene
21/4/2012 - 19::30 - D3DERR_INVALIDCALL
21/4/2012 - 19::30 - Begin Scene

Note that the time is stated wrong, presumably because of DST.

It crashes 100% of attempts as defender. I have now successfully completed this map as the attacker.

Here’s a quick way that I can reproduce the crash:

  1. Set game speed to 4X
  2. Select my super heavy cannon turret.
  3. Hold shift.
  4. Keeping placing the turret on the map while holding shift.
  5. Eventually, the game will crash (takes around 1 and a half minutes or less). The crash occurs when I click to place the turret.

Edit: Ah! I can reproduce this on other maps too.
Edit: It’s being caused by one specific turret design - The super heavy cannon. I place around 8 and just let the game run. It crashes soon after.

[config]
name = super heavy cannon (h)
guiname = Super Heavy Cannon (H)
description = A: Sld D: Amr
hull = large_ballistic_turret
variant = large_ballistic_turret_var5

[modules]
0 = energised_armor,
1 = energised_armor,
2 = computerised_targeting_system,
3 = superheavy_cannon,
4 = rapid_autoloader,
5 = weapon_accuracy_i,
6 = damage_enhancement_i,

[layers]
0 = turret_base,208,178,142,255
1 = turret_turret,204,181,150,255
2 = turret_color,208,178,142,255
3 = gunbarrel,235,225,198,255

Edit: I made another design that uses the super heavy cannon weapon. The game still crashes in the same way. A different model was chosen.

[config]
name = test cannon
guiname = Test Cannon
description = Test
hull = large_dual_beam_turret
variant = large_dual_beam_turret_default

[modules]
0 = neutronium_armor,
1 = neutronium_armor,
2 = computerised_targeting_system,
3 = superheavy_cannon,
4 = rapid_autoloader,
5 = ammunition_storage_i,
6 = ammunition_reloading_ii,

[layers]
0 = turret_base,255,255,255,255
1 = turret_turret,255,255,255,255
2 = turret_color,255,255,255,255
3 = gunbarrel,255,255,255,255
4 = gunbarrel,255,255,255,255

Edit: Same test cannon again, but with a ‘Heavy Cannon’ instead. The game does not crash.

[config]
name = test cannon
guiname = Test Cannon
description = Test
hull = large_dual_beam_turret
variant = large_dual_beam_turret_default

[modules]
0 = neutronium_armor,
1 = neutronium_armor,
2 = computerised_targeting_system,
3 = heavy_cannon,
4 = rapid_autoloader,
5 = ammunition_storage_i,
6 = ammunition_reloading_ii,

[layers]
0 = turret_base,255,255,255,255
1 = turret_turret,255,255,255,255
2 = turret_color,255,255,255,255
3 = gunbarrel,255,255,255,255
4 = gunbarrel,255,255,255,255

Possible conclusion: The super heavy cannon is bugged and nobody but me builds a lot of them (including the developer).

very interesting, I shall try to reproduce it…

Thanks, I’ve found it and am fixing now…
in version 1.007:

  1. Fixed crash bug when using very high amounts of muzzle smoke.