UMS map crash
Mar 13 2018, 4:33 pm
By: Mech11  

Mar 13 2018, 4:33 pm Mech11 Post #1

Maj.

Hello. I actually ran out of options. About few weeks ago, I was making this map and succesfully tested it. (It isn't finished so far but I wanted to test some triggers) From then I made few changes and then let it be, cause I needed to finish other projects. Now I wanted to try it and see what is working from already done and surprisingly it crashes. I've checked section in this forum and learned that my error code 004CE1C4 and that should:
Quote
Caused by: A corrupted section that is only invalid after the map start. For example: MRGN section size is 64 locations in a Broodwar scenario, or map is larger than 256x256
I've checked my size and its 192x256 so in SC standarts. Also counted my locations and I have 50 locations used (while max should be at least 64). I dont really have much triggers here or units so I don't have any idea what is wrong. Sadly my backup database contained only 1 file and its basicly this version included, just with one more trigger but it have same error. I provide full error log and my map and fully appreciate any help.

PROGRAM VERSION: 1.16.1.0
COMPUTER NAME: PC278D111016-PC
USER NAME: PC278D111016
TIME: 03/13/18 17:18:21.934
INFO:

Exception code: C0000005 ACCESS_VIOLATION
Fault address: 004CE1C4 01:000CD1C4 C:\Games\Starcraft\StarCraft.exe

Registers:
EAX:000000A0
EBX:0050CF90
ECX:00000072
EDX:1505CC10
ESI:00000000
EDI:0050CF90
CS:EIP:0023:004CE1C4
SS:ESP:002B:0018F884 EBP:0018F888
DS:002B ES:002B FS:0053 GS:002B
Flags:00210206
Call stack:
Address Frame Logical addr Module
004CE1C4 0018F888 0001:000CD1C4 C:\Games\Starcraft\StarCraft.exe
004DFBEB 0018FD20 0001:000DEBEB C:\Games\Starcraft\StarCraft.exe
004EEBEA 0018FE34 0001:000EDBEA C:\Games\Starcraft\StarCraft.exe
004E0814 0018FE54 0001:000DF814 C:\Games\Starcraft\StarCraft.exe
004E0B20 0018FE60 0001:000DFB20 C:\Games\Starcraft\StarCraft.exe
00404DA5 0018FF88 0001:00003DA5 C:\Games\Starcraft\StarCraft.exe
767D336A 0018FF94 0001:0000336A C:\Windows\syswow64\kernel32.dll
776698F2 0018FFD4 0001:000298F2 C:\Windows\SysWOW64\ntdll.dll
776698C5 0018FFEC 0001:000298C5 C:\Windows\SysWOW64\ntdll.dll

Stack bytes:
0x0018f884: 72 00 00 00 20 fd 18 00 eb fb 4d 00 00 00 00 00 r... .....M.....
0x0018f894: 0a 00 00 00 04 00 00 00 01 00 00 00 00 00 00 00 ................
0x0018f8a4: cd f9 a7 5a 00 00 00 00 00 00 00 00 00 00 00 00 ...Z............
0x0018f8b4: 4d 65 63 68 6f 77 61 6b 00 00 00 00 00 00 00 00 Mechowak........
0x0018f8c4: 00 00 00 00 00 00 00 00 00 00 00 00 c0 00 00 01 ................
0x0018f8d4: 01 02 04 00 0a 00 01 00 00 00 00 00 02 00 01 00 ................
0x0018f8e4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018f8f4: 00 00 00 00 00 00 00 00 00 55 6e 74 69 74 6c 65 .........Untitle
0x0018f904: 64 20 53 63 65 6e 61 72 69 6f 00 00 00 00 00 00 d Scenario......
0x0018f914: 00 00 00 00 00 00 00 00 00 0a 00 01 00 00 00 00 ................
0x0018f924: 00 00 00 00 02 00 01 03 01 00 01 00 00 00 00 00 ................
0x0018f934: 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ................
0x0018f944: ff 01 01 02 45 6c 69 74 65 20 47 75 61 72 64 00 ....Elite Guard.
0x0018f954: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 ................
0x0018f964: 00 00 00 00 00 02 01 01 4d 65 63 68 6f 77 61 6b ........Mechowak
0x0018f974: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018f984: 00 02 00 00 00 ff ff ff ff 00 04 00 00 00 00 00 ................
0x0018f994: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018f9a4: 00 00 00 00 00 03 00 00 00 ff ff ff ff 00 02 00 ................
0x0018f9b4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018f9c4: 00 00 00 00 00 00 00 00 00 04 00 00 00 ff ff ff ................
0x0018f9d4: ff 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018f9e4: 00 00 00 00 00 00 00 00 00 00 00 00 00 05 00 00 ................
0x0018f9f4: 00 ff ff ff ff 00 02 00 00 00 00 00 00 00 00 00 ................
0x0018fa04: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fa14: 00 06 00 00 00 ff ff ff ff 00 02 00 00 00 00 00 ................
0x0018fa24: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fa34: 00 00 00 00 00 07 00 00 00 ff ff ff ff 00 00 00 ................
0x0018fa44: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fa54: 00 00 00 00 00 00 00 00 00 08 00 00 00 ff ff ff ................
0x0018fa64: ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fa74: 00 00 00 00 00 00 00 00 00 00 00 00 00 09 00 00 ................
0x0018fa84: 00 ff ff ff ff 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fa94: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018faa4: 00 0a 00 00 00 ff ff ff ff 00 00 00 00 00 00 00 ................
0x0018fab4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fac4: 00 00 00 00 00 0b 00 00 00 ff ff ff ff 00 00 00 ................
0x0018fad4: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0x0018fae4: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 ................
0x0018faf4: 00 02 00 00 00 03 00 00 00 04 00 00 00 05 00 00 ................
0x0018fb04: 00 06 00 00 00 07 00 00 00 00 00 00 01 01 01 01 ................
0x0018fb14: 01 be 25 68 50 fb 18 00 22 00 00 00 02 00 00 00 ..%hP...".......
0x0018fb24: 3c fb 18 00 72 44 69 77 c5 98 66 77 00 00 00 00 <...rDiw..fw....
0x0018fb34: 02 00 00 00 c0 c1 25 68 9c fb 18 00 9f 45 69 77 ......%h.....Eiw
0x0018fb44: 14 c2 25 68 80 fb 18 00 22 00 00 00 02 00 00 00 ..%h....".......
0x0018fb54: 00 00 00 00 9c fb 18 00 00 00 00 00 9c fb 18 00 ................
0x0018fb64: ae 45 69 77 80 fb 18 00 72 44 69 77 c5 98 66 77 .Eiw....rDiw..fw
0x0018fb74: 00 00 00 00 02 00 00 00 48 c2 25 68 e0 fb 18 00 ........H.%h....

Code bytes:
0x004ce1c4: 8b 46 14 85 c0 74 12 8a 4e 0c 02 4e 08 2a c8 88 .F...t..N..N.*..

Edit: Attachment included

Attachments:
Federation 5.scx
Hits: 1 Size: 130.31kb



The death of millions is a statistic. The death of Raynor is a tragedy.

Mar 13 2018, 5:30 pm Swampfox Post #2



I'm getting the nooks and crannies error when I try to launch the map. On nooks and crannies, Heinermann says "There's a limit of 5000 paths. If the "path limit"(that is what I'm calling it) is exceeded, you will get the error." I'm not too familiar with the error myself, but I gutted a bunch of your terrain, namely widening corridors, making wide walls into skinny walls, and removing the few doodads you had placed, and eventually got it to launch. With scmdrafts new ability to toggle on a pathing overlay, you can see how SC splits up a map into regions. I just tried to reduce the number of regions.

I'll attach it so you can see what I did.

Attachments:
Federation 52.scx
Hits: 1 Size: 123.95kb



None.

Mar 13 2018, 6:23 pm Suicidal Insanity Post #3

I see you !

If you open the debug log output in ScmDraft it will tell you how many regions are in use.




Mar 13 2018, 6:41 pm Swampfox Post #4



Oh nice, thanks. I was actually wondering about that.

Also, I took some cues from eternal death and messed around with putting unwalkable terrain on top of the roof pieces, and was able to get the region count down that way as well. Also attached as reference.

Attachments:
Federation 53.scx
Hits: 2 Size: 131.17kb

Post has been edited 1 time(s), last time on Mar 13 2018, 7:05 pm by Swampfox.



None.

Mar 13 2018, 7:11 pm Mech11 Post #5

Maj.

Oh, okay thanks. I didn't know about region or path limit. Anyway, thank you. But I cant find the number of regions in scmdraft, if I open the Debug - Show Error Output its empty



The death of millions is a statistic. The death of Raynor is a tragedy.

Mar 13 2018, 7:18 pm Suicidal Insanity Post #6

I see you !

You have to enable the display of the regions after opening the log. (Or change some terrain if they are already visible) Then you will get something like this:

Map.Pathfinder - 19:16:59.0578 - Debug::Created initial regions. 963 regions created, with 963 in use. (Starcraft nooks + crannies limit: 5000)
Map.Pathfinder - 19:16:59.0592 - Debug::Merged regions smaller than 6 tiles. 659 regions still in use. (Starcraft nooks + crannies limit: 5000; Merge threshold limit: 2500)
Map.Pathfinder - 19:16:59.0903 - Debug::Created 2192 split regions.




Mar 13 2018, 7:20 pm Mech11 Post #7

Maj.

Quote from Swampfox
Oh nice, thanks. I was actually wondering about that.

Also, I took some cues from eternal death and messed around with putting unwalkable terrain on top of the roof pieces, and was able to get the region count down that way as well. Also attached as reference.
Quote from Swampfox
Oh nice, thanks. I was actually wondering about that.

Also, I took some cues from eternal death and messed around with putting unwalkable terrain on top of the roof pieces, and was able to get the region count down that way as well. Also attached as reference.

Oh okay that seems better, in this "53". This seems like good solution, anyway I don't get why sc count roof as walkable terrain



The death of millions is a statistic. The death of Raynor is a tragedy.

Mar 13 2018, 7:26 pm Mech11 Post #8

Maj.

You have to enable the display of the regions after opening the log. (Or change some terrain if they are already visible) Then you will get something like this:

Map.Pathfinder - 19:16:59.0578 - Debug::Created initial regions. 963 regions created, with 963 in use. (Starcraft nooks + crannies limit: 5000)
Map.Pathfinder - 19:16:59.0592 - Debug::Merged regions smaller than 6 tiles. 659 regions still in use. (Starcraft nooks + crannies limit: 5000; Merge threshold limit: 2500)
Map.Pathfinder - 19:16:59.0903 - Debug::Created 2192 split regions.

Ok thanks I see it now. So the number 2192 counts against this 5000 limit?



The death of millions is a statistic. The death of Raynor is a tragedy.

Mar 13 2018, 7:28 pm Swampfox Post #9



The first number you see is the one you need to get under 5000. In your original map, I think the number was over 6000 or so. The split region number can be much higher without error.



None.

Mar 13 2018, 7:41 pm Mech11 Post #10

Maj.

Okay well, I have in debug about 7 lines. Every line decrease in total. 6051 at first line and last line at 2395 in use (when i make one change i editor in create these 7 lines within few miliseconds)



The death of millions is a statistic. The death of Raynor is a tragedy.

Mar 13 2018, 7:45 pm Suicidal Insanity Post #11

I see you !

SC tries to combine adjacent regions to get under 2500 in a loop, and since this is debugging log it dumpt it at every step.




Mar 13 2018, 7:52 pm Mech11 Post #12

Maj.

Ok so to be clear after my last step I have 5928 in use, then lines where it goes ".. 2915 still in use" and decreasing. So I have to make that first line under 5000 if i get it right?



The death of millions is a statistic. The death of Raynor is a tragedy.

Mar 13 2018, 11:26 pm Swampfox Post #13



Yep, if you look at my two test maps, I got that "Created initial regions" number below 5000.



None.

Mar 14 2018, 12:40 am Mech11 Post #14

Maj.

Okay thank you



The death of millions is a statistic. The death of Raynor is a tragedy.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:28 pm]
Vrael -- "HIRED"
[01:27 pm]
Vrael -- Also, in case I forgot to mention it, I'd do some analytics on the Big Data in our analytics Data Lake where we'll analyze some Nano Data from the analytics database into some analytics which we'll analyze with analytics. Analytics.
[01:26 pm]
Vrael -- jjf28
jjf28 shouted: but how will you handle the backward overflow from the resulting upward revenue stream dynamics?
Oh that's a great question - here's what I'd do. As per Hamlet, the upward dynamics could be handled by an Othellan repertoire demanding on-change systematization of the vertical integration. Instead, we'll take the backward overflow into a horizontal integration using market analytics, resulting in efficiency increases.
[12:32 pm]
jjf28 -- he himself said he was hired, I admire his confidence but the interview isn't over :O
[05:45 am]
NudeRaider -- jjf28
jjf28 shouted: but how will you handle the backward overflow from the resulting upward revenue stream dynamics?
he's already HIRED. No need for further questions :P
[05:43 am]
NudeRaider -- Vrael
Vrael shouted: Mini Moose 2707 well, the jobs I'm thinking of generally go to people with physics/math/engineering degrees, dunno if CS would quite qualify, unless maybe they had a minor in one of the other areas
Our secretary / greeting lady gets 2 days of home office too.
[05:40 am]
NudeRaider -- MasterJohnny
MasterJohnny shouted: How do I get one of these work from home jobs...
you don't have, if you just move so close to your work that you're there in 3 minutes. ;)
[02:20 am]
jjf28 -- but how will you handle the backward overflow from the resulting upward revenue stream dynamics?
[02:12 am]
Vrael -- "HIRED"
[02:12 am]
Vrael -- jjf28
jjf28 shouted: Vrael how will you apply your experience in Medieval Shakespearean Poetry here at SENCo?
"Well first, I'd begin by adapting my knowledge of rhyme and meter to make my Big Data operations more efficient by synergizing with adjacent market technologies."
Please log in to shout.


Members Online: Roy, sitskoroszytmoke1, UEDCommander, Vrael