Crashing on map-change...

Status: 
Confirmed

Ok, so Tidal Lugormod has had a history of this.

Sometimes we can predict a crash, sometimes not. Either way, I'm getting tired of them.

5-31-2010 11:49 (7:11): -8<----- Crash Information ----->8-
5-31-2010 11:49 (7:11): Please forward to the developer.
5-31-2010 11:49 (7:11): -----------------------------------
5-31-2010 11:49 (7:11): Version: Lugormod Win32
5-31-2010 11:49 (7:11): Lugormod version: U#-2.3.2.20
5-31-2010 11:49 (7:11): Map: mp/siege_desert
5-31-2010 11:49 (7:11): Exception: Access violation (0xc0000005)
5-31-2010 11:49 (7:11): Exception Address: 0x20379cc4
5-31-2010 11:49 (7:11): DLL Information:
5-31-2010 11:49 (7:11): 0x00400000 jampDed
5-31-2010 11:49 (7:11): 0x7d600000 ntdll
5-31-2010 11:49 (7:11): 0x7d4c0000 kernel32
5-31-2010 11:49 (7:11): 0x71bb0000 WSOCK32
5-31-2010 11:49 (7:11): 0x71c00000 WS2_32
5-31-2010 11:49 (7:11): 0x77ba0000 msvcrt
5-31-2010 11:49 (7:11): 0x71bf0000 WS2HELP
5-31-2010 11:49 (7:11): 0x7d1e0000 ADVAPI32
5-31-2010 11:49 (7:11): 0x7da20000 RPCRT4
5-31-2010 11:49 (7:11): 0x7d8d0000 Secur32
5-31-2010 11:49 (7:11): 0x76aa0000 WINMM
5-31-2010 11:49 (7:11): 0x7d930000 USER32
5-31-2010 11:49 (7:11): 0x7d800000 GDI32
5-31-2010 11:49 (7:11): 0x7dee0000 IMM32
5-31-2010 11:49 (7:11): 0x7db30000 mswsock
5-31-2010 11:49 (7:11): 0x77670000 ole32
5-31-2010 11:49 (7:11): 0x5f270000 hnetcfg
5-31-2010 11:49 (7:11): 0x71ae0000 wshtcpip
5-31-2010 11:49 (7:11): 0x76ed0000 DNSAPI
5-31-2010 11:49 (7:11): 0x76f70000 winrnr
5-31-2010 11:49 (7:11): 0x76f10000 WLDAP32
5-31-2010 11:49 (7:11): 0x76f80000 rasadhlp
5-31-2010 11:49 (7:11): 0x6d580000 dbghelp
5-31-2010 11:49 (7:11): 0x77b90000 VERSION
5-31-2010 11:49 (7:11): 0x76b70000 PSAPI
5-31-2010 11:49 (7:11): 0x68000000 rsaenh
5-31-2010 11:49 (7:11): 0x20000000 jampgamex86
5-31-2010 11:49 (7:11): 0x76c10000 IMAGEHLP
5-31-2010 11:49 (7:11): Backtrace:
5-31-2010 11:49 (7:11): (0) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x2385c1) [0x20379cc4]
5-31-2010 11:49 (7:11): (1) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x237bfb) [0x203792fe]
5-31-2010 11:49 (7:11): (2) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x237b1d) [0x20379220]
5-31-2010 11:49 (7:11): (3) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x212c4d) [0x20354350]
5-31-2010 11:49 (7:11): (4) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x160d7f) [0x202a2482]
5-31-2010 11:49 (7:11): (5) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x160e07) [0x202a250a]
5-31-2010 11:49 (7:11): (6) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0x160e5c) [0x202a255f]
5-31-2010 11:49 (7:11): (7) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0xc61d3) [0x202078d6]
5-31-2010 11:49 (7:11): (8) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\lugormod\jampgamex86.dll(vmMain+0xc3c0a) [0x2020530d]
5-31-2010 11:49 (7:11): (9) C:\UserFiles\Davidgorlitz\GameServers\TC78821136244804506202645\jampDed.exe [0x004226ff]
5-31-2010 11:49 (7:11): -8<--------------------------------->8-

5-31-2010 11:49 (7:11): Attempting to clean up.

I hoping that if you can figure out the specific cause, the problem can be fixed or avoided.

Caboose
Offline
Joined: 05/08/2010
I'd take a swing at it that

I'd take a swing at it that it's too much ents

yes u can have infinite logic ents but they still take up memory

edit:

Google powers activate:
"The error 0xC0000005 is generated by an illegal "memory access violation"."

ur game is using too much RAM's

RoboPhred
Offline
Joined: 05/06/2010
No, nothing to do with how

No, nothing to do with how much. Access violation means it tried to access memory it isn't allowed to access.

Note to self: issue is on G_Free on G_ShutdownMemory, pointer got corrupted, or freed twice. Perhaps free() called instead of G_Free somewhere. Need to get a memory debug tracker up and running and find what allocated the memory it's trying to free.

PeHA
Offline
Joined: 06/01/2010
Nearly all crashes in our

Nearly all crashes in our crashlog have the exact same access violation, here's the latest one as an example:

6-20-2010 11:24 (38:08): -8<----- Crash Information ----->8-
6-20-2010 11:24 (38:08): Please forward to the developer.
6-20-2010 11:24 (38:08): -----------------------------------
6-20-2010 11:24 (38:08): Version: Lugormod Win32
6-20-2010 11:24 (38:08): Lugormod version: U#-2.4.3
6-20-2010 11:24 (38:08): Map: t3_hevil
6-20-2010 11:24 (38:08): Exception: Access violation (0xc0000005)
6-20-2010 11:24 (38:08): Exception Address: 0x0041b80b
6-20-2010 11:24 (38:08): DLL Information:
6-20-2010 11:24 (38:08): 0x00400000 jampDed
6-20-2010 11:24 (38:08): 0x7d600000 ntdll
6-20-2010 11:24 (38:08): 0x7d4c0000 kernel32
6-20-2010 11:24 (38:08): 0x71bb0000 WSOCK32
6-20-2010 11:24 (38:08): 0x71c00000 WS2_32
6-20-2010 11:24 (38:08): 0x77ba0000 msvcrt
6-20-2010 11:24 (38:08): 0x71bf0000 WS2HELP
6-20-2010 11:24 (38:08): 0x7d1e0000 ADVAPI32
6-20-2010 11:24 (38:08): 0x7da20000 RPCRT4
6-20-2010 11:24 (38:08): 0x7d8d0000 Secur32
6-20-2010 11:24 (38:08): 0x76aa0000 WINMM
6-20-2010 11:24 (38:08): 0x7d930000 USER32
6-20-2010 11:24 (38:08): 0x7d800000 GDI32
6-20-2010 11:24 (38:08): 0x7dee0000 IMM32
6-20-2010 11:24 (38:08): 0x7db30000 mswsock
6-20-2010 11:24 (38:08): 0x77670000 ole32
6-20-2010 11:24 (38:08): 0x5f270000 hnetcfg
6-20-2010 11:24 (38:08): 0x71ae0000 wshtcpip
6-20-2010 11:24 (38:08): 0x76ed0000 DNSAPI
6-20-2010 11:24 (38:08): 0x76f70000 winrnr
6-20-2010 11:24 (38:08): 0x76f10000 WLDAP32
6-20-2010 11:24 (38:08): 0x76f80000 rasadhlp
6-20-2010 11:24 (38:08): 0x6d580000 dbghelp
6-20-2010 11:24 (38:08): 0x77b90000 VERSION
6-20-2010 11:24 (38:08): 0x76b70000 PSAPI
6-20-2010 11:24 (38:08): 0x68000000 rsaenh
6-20-2010 11:24 (38:08): 0x20000000 jampgamex86
6-20-2010 11:24 (38:08): 0x76c10000 IMAGEHLP
6-20-2010 11:24 (38:08): Backtrace:
6-20-2010 11:24 (38:08): (0) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\jampDed.exe [0x0041b80b]
6-20-2010 11:24 (38:08): (1) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\lugormod\jampgamex86.dll(vmMain+0x8d59b) [0x201cfca3]
6-20-2010 11:24 (38:08): (2) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\lugormod\jampgamex86.dll(vmMain+0x85f64) [0x201c866c]
6-20-2010 11:24 (38:08): (3) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\lugormod\jampgamex86.dll(vmMain+0x7bcd7) [0x201be3df]
6-20-2010 11:24 (38:08): (4) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\lugormod\jampgamex86.dll(vmMain+0x7d6f8) [0x201bfe00]
6-20-2010 11:24 (38:08): (5) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\lugormod\jampgamex86.dll(vmMain+0xc3f0d) [0x20206615]
6-20-2010 11:24 (38:08): (6) D:\UserFiles\DAVIDG\GameServers\TC33886404422074078116701\jampDed.exe [0x004226ff]
6-20-2010 11:24 (38:08): -8<--------------------------------->8-

6-20-2010 11:24 (38:08): Attempting to clean up.

RoboPhred
Offline
Joined: 05/06/2010
Your crash is unrelated to

Your crash is during a player spawning, looks to be another bizarre icarus crash. Post it in a separate issue, please.

RoboPhred
Offline
Joined: 05/06/2010
Marking as confirmed, as I
Status: Pending»Confirmed

Marking as confirmed, as I found the cause of the actual crash (invalid memory pointer), but not what's causing the cause.

Siebe
Offline
Joined: 05/26/2010
mind taking a closer look at

mind taking a closer look at it please? we are having that issue and its agonizing, getting it with like every second mapchange at times.

would be endlessly thankful :p

RoboPhred
Offline
Joined: 05/06/2010
In the next release, I will

In the next release, I will disable my memory cleanup code, which will cause serious memory leaks on map_restart but will leave the memory to get cleaned up by the windows safety net when the dll is reloaded on map changes.