Sgementation violation - FAILED (draw_convoy_paths_on_map_surface)

Strategic Command WWII World at War Tech Support
Post Reply
User avatar
Elessar2
Posts: 1478
Joined: Wed Nov 30, 2016 12:35 am

Sgementation violation - FAILED (draw_convoy_paths_on_map_surface)

Post by Elessar2 »

For my Pacific Scenario, I've been trying to reverse engineer various scripts based on how they look in other (default) scenarios. The error (ctd) only occurs after I hit the end turn button (on the Axis turn); narrowed the problem down to any or all of the convoys going to the UK.

But my UK is a small isolated snippet of SE England in the extreme NE corner of the map (in Canada), due to space limitations. I noticed that (in the Euro vanilla scenarios) they have "split" convoys for both Saudi Arabia as well as Egypt & some other countries (convoy leaves the map on one mapside hex then reappears in the Atlantic).

After beating my head against the wall trying to track the problem down, after deleting all of the UK-bound convoys the error disappeared. I then wondered if the issue is that the exit and entry hexes in the vanillas have the same Y value, while in mine they do not (mine all exit the W side of the map, west of India, and re-enter east of England on the E side of the map), or if the error is due to some other (unknown) issue or bug.

TIA.

[For those whop have been waiting for this scenario-once I squash this issue I'll be doing my final playtest before I release my first public beta]
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Sgementation violation - FAILED (draw_convoy_paths_on_map_surface)

Post by Hubert Cater »

Hi Elessar2,

Sorry to hear about the trouble and the only way for me to really know what might be happening would be to have a copy of your customized campaign, the scripts, and a saved turn where the error is repeatable. This would help me see the exact issue in the code when it crashes as I run it through my development environment.

Please send to support@furysoftware.com and you can use WeTransfer if this helps to send the larger files.

Hubert
User avatar
Hubert Cater
Posts: 6097
Joined: Mon Jul 22, 2013 11:42 am
Contact:

RE: Sgementation violation - FAILED (draw_convoy_paths_on_map_surface)

Post by Hubert Cater »

I just ran a quick test and having a split convoy, going east west or west east, along the vertical map edges at any y position (even if different) seems to work on my end. Likely you've discovered some other rare issue that I'd be happy to trace with the right files and correct for the next update.
User avatar
Elessar2
Posts: 1478
Joined: Wed Nov 30, 2016 12:35 am

RE: Sgementation violation - FAILED (draw_convoy_paths_on_map_surface)

Post by Elessar2 »

Okeley dokely. The other possible issue is the convoy trying to route through either a small (sea) island which might be controlled by another power (or by the dreaded "neutral" country). I went through and thought I rerouted everything to avoid such issues, but I might have missed some.
Post Reply

Return to “Tech Support”