Page 2 of 2
Re: Access Violation Crash with Spring 0.77b2
Posted: 11 Oct 2008, 09:15
by Mephistos
Beherith wrote:[ 0] (14) C:\Program Files\Spring_New\spring.exe [0x00401123]
Correct me if im wrong, but I recall that being a call in the grounddecalhandler. Mephistos, try the latest svn version, it helped me with crashing at this line.
I need a binary version for windows, an SVN is less than useful to me as I don't have a devel environment setup to compile anything. Unless you have the time to chat with me a bit and give me a few pointers...
Re: Access Violation Crash with Spring 0.77b2
Posted: 11 Oct 2008, 19:25
by imbaczek
/join #buildserv for windows svn builds.
Re: Access Violation Crash with Spring 0.77b2
Posted: 11 Oct 2008, 23:32
by Mephistos
imbaczek wrote:/join #buildserv for windows svn builds.
Thanks,
Unfortunately the SVN also crashes.
excerpt infolog.
--------
[ 0] Spring 0.77b3+ has crashed.
[ 0] Exception: Access violation (0xc0000005)
[ 0] Exception Address: 0x00000000
Re: Access Violation Crash with Spring 0.77b2
Posted: 11 Oct 2008, 23:58
by Mephistos
imbaczek wrote:/join #buildserv for windows svn builds.
Fail on svn 6673, 6676.
I am about to test 6678.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 00:29
by Mephistos
Fail on svn 6678, brand spanking new install I might add.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 07:45
by Mephistos
Fail on SVN 6680.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 07:45
by Mephistos
Has this svn dealt with the decays issue?
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 15:58
by Beherith
What decays issue? The decals decaying? There is a registry setting you must enable for decay to work.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 16:15
by jK
Mephistos wrote:Hardware: Intel(R) Pentium(R) 4 CPU 2.66GHz; 447MB RAM, 1057MB pagefile
perhaps you are running out of memory?
PS: I don't think Via supports PBOs ^^
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 17:44
by Mephistos
jK wrote:Mephistos wrote:Hardware: Intel(R) Pentium(R) 4 CPU 2.66GHz; 447MB RAM, 1057MB pagefile
perhaps you are running out of memory?
PS: I don't think Via supports PBOs ^^
Spring was running previously without problems, not running out of memory or anything. There is nothing else that I'm even letting run on this machine, save springie the autohost. Why would this now cause an access violation.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 17:50
by Mephistos
Subject: Access Violation Crash with Spring 0.77b2
Beherith wrote:What decays issue? The decals decaying? There is a registry setting you must enable for decay to work.
Sorry I was half asleep when I posted that. The decals issue. You said that part of my crash had to do with decals. My crash happens just as startup is finishing. I've switched the map to greener fields to make the loading faster, but it really doesn't make any difference. I suspect it's something to do with the graphics card. So tell me, is it related to the following you mentioned before???
Beherith wrote:Also, on the ground decal crashes, the following code is the culprit:
// create and draw the quads for each building decal
for (std::vector<BuildingDecalType*>::iterator bdi = buildingDecalTypes.begin(); bdi != buildingDecalTypes.end(); ++bdi) {
if (!(*bdi)->buildingDecals.empty()) {
glBindTexture(GL_TEXTURE_2D, (*bdi)->texture);
for (set<BuildingGroundDecal*>::iterator bi = (*bdi)->buildingDecals.begin(); bi != (*bdi)->buildingDecals.end(); ) {
BuildingGroundDecal* decal = *bi;
if (decal->owner && decal->owner->buildProgress >= 0) {
decal->alpha = decal->owner->buildProgress;
} else if (!decal->gbOwner) {
decal->alpha -= decal->AlphaFalloff * gu->lastFrameTime * gs->speedFactor;
}
if (decal->alpha < 0.0f) {
// make sure RemoveBuilding() won't try to modify this decal
if (decal->owner) {
decal->owner->buildingDecal = 0;
}
delete decal->va;
decal->va = 0x0;
delete decal;
(*bdi)->buildingDecals.erase(bi++);
continue;
}
if (camera->InView(decal->pos, decal->radius) &&
(!decal->owner || (decal->owner->losStatus[gu->myAllyTeam] & (LOS_INLOS | LOS_PREVLOS)) || gu->spectatingFullView)) {
DrawBuildingDecal(decal);
}
++bi;
}
}
}
So, just collecting info, hope it helps in debugging.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 23:33
by ginekolog
I just crashed 2 times on coper hill, both times as i saw enemys base. Note - i allmost never crashed on 0.76
Using script script.txt
using configuration source "Software\SJ\Spring"
OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
Hardware: AMD FX60 6000+; 2047MB RAM, 3939MB pagefile
Using read-write data directory: E:\Program Files\TASpring\
Scanning: E:\Program Files\TASpring\maps
Scanning: E:\Program Files\TASpring\base
Scanning: E:\Program Files\TASpring\mods
Video mode set to 1680 x 1050 / 32 bit
[ 0] SDL: 1.2.10
[ 0] GL: 2.1.2
[ 0] GL: NVIDIA Corporation
[ 0] GL: GeForce 9500 GT/PCI/SSE2
[ 0] GLEW: 1.4.0
[ 0] Connecting to local server using number 0
[ 0] Became player 0
[ 0] Using map Cooper_Hill_TNM02-V1.smf
[ 0] Recording demo demos/20081012_232541_Cooper_Hill_TNM02-V1_0.77b3.sdf
[ 0] Using script Commanders
[ 0] Using mod Balanced Annihilation V6.5
[ 0] Connecting to server .
[ 0] Parsing unit icons
[ 0] Loading all definitions: 0.463000
[ 0] Opening map file
[ 0] Loading Map
[ 0] Loading detail textures
[ 0] Creating overhead texture
[ 0] Creating ground shading
[ 0] Loading tile file
[ 0] Reading tiles
[ 0] Reading tile map
[ 0] Creating projectile texture
[ 0] Number of damage types: 42
[ 0] Loading weapon definitions
[ 0] Loading unit definitions
[ 0] Loading feature definitions
[ 0] Generating trees
[ 0] Creating unit textures
[ 0] Initializing map features
[ 0] Unknown map feature type
[ 0] Reading estimate path costs (1 thread)
[ 0] Pathing data checksum: 3b09dbfe
[ 0] Creating sky
[ 0] Loading LuaRules
[ 0] LUARULES-DRAW (GADGETS)
[ 0] LUARULES-DRAW (GADGETS)
[ 0] Loading LuaGaia
[ 0] Loading LuaUI
[ 0] Using LUAUI_DIRNAME = LuaUI/
[ 0] Reloaded ctrlpanel with: LuaUI/ctrlpanel.txt
[ 0] LuaUI: bound F11 to the widget selector
[ 0] LuaUI: bound CTRL+F11 to tweak mode
[ 0] Failed to load: gui_advplayerslist.lua (duplicate name)
[ 0] Failed to load: gui_defenserange.lua (duplicate name)
[ 0] Failed to load: gui_hilight_unit.lua (duplicate name)
[ 0] Failed to load: gui_reclaiminfo.lua (duplicate name)
[ 0] Failed to load: gui_take_remind.lua (duplicate name)
[ 0] Failed to load: unit_customformations.lua (duplicate name)
[ 0] Failed to load: unit_healthbars.lua (duplicate name)
[ 0] ahoj
[ 0] Loaded widget: MexUpg Helper <helper.lua>
[ 0] Loaded widget: HealthBars <unit_healthbars.lua>
[ 0] Loaded widget: Commander Name Tags 1.6 <unit_comm_nametags.lua>
[ 0] Loaded widget: AdvPlayersList <gui_advplayerslist.lua>
[ 0] Loaded widget: CommanderEnds2 <gui_comm_ends2.lua>
[ 0] Loaded widget: D-Gun unstall <unit_dgun_unstall.lua>
[ 0] Loaded widget: DGunLimit <gui_limit_dgun.lua>
[ 0] Loaded widget: BuildETA <gui_build_eta.lua>
[ 0] Loaded widget: Don't Shoot <unit_dontshoot.lua>
[ 0] Loaded widget: DontMove <unit_dontmove.lua>
[ 0] Loaded widget: Stockpiler <unit_stockpile.lua>
[ 0] Loaded widget: Display DPS <gui_display_dps.lua>
[ 0] Loaded widget: SmartAreaReclaim <unit_smart_area_reclaim.lua>
[ 0] Loaded widget: Land Fly v1.2.2 <unit_land_fly.lua>
[ 0] Loaded widget: Auto group <unit_auto_group.lua>
[ 0] Loaded widget: UnitGroups v5.1 <gui_unitgroups5_1.lua>
[ 0] Loaded widget: Ghost Radar v1.1 <unit_ghostRadar.lua>
[ 0] Loaded widget: Auto cloak/holdfire <unit_autostealth.lua>
[ 0] Loaded widget: IceUI <gui_IceUI.lua>
[ 0] Loaded widget: Defense Range v4.11 <gui_defenseRange.lua>
[ 0] Loaded widget: NoDuplicateOrders <cmd_no_duplicate_orders.lua>
[ 0] Loaded widget: Factory Auto-Repeat <cmd_factory_repeat.lua>
[ 0] Loaded widget: IdleBuildersNEW <gui_idle_builders_new.lua>
[ 0] Loaded widget: Improved MetalMakers <unit_improved_metal_maker.lua>
[ 0] Loaded widget: SmartNanos <unit_smart_nanos.lua>
[ 0] Loaded widget: Take Reminderv2.2 <gui_take_remind.lua>
[ 0] Loaded widget: FactoryGuard <unit_factory_guard.lua>
[ 0] Loaded widget: Tooltip <gui_tooltip.lua>
[ 0] Loaded widget: MetalMakers <unit_metal_maker.lua>
[ 0] Loaded widget: ImmobileBuilder <unit_immobile_buider.lua>
[ 0] Loaded widget: ReclaimInfo <gui_reclaiminfov099.lua>
[ 0] Loaded widget: Start Point Remover <init_start_point_remover.lua>
[ 0] Loaded widget: take com control too <takecomcontroltoo.lua>
[ 0] Loaded widget: Attack AoE <gui_attack_aoe.lua>
[ 0] Loaded widget: SmoothScroll <camera_smooth_move.lua>
[ 0] Loaded widget: HighlightUnit <gui_hilight_unit.lua>
[ 0] Loaded widget: Select n Center! <gui_center_n_select.lua>
[ 0] Loaded widget: LupsManager <gfx_lups_manager.lua>
[ 0] Loaded widget: Lups <lups_wrapper.lua>
[ 0] Loaded widget: CustomFormations <unit_customformations.lua>
[ 0] LuaUI v0.3
[ 0] Finalizing...
[ 0] Spring 0.77b3
[ 0] Upgrade pairs registered
[ 0] false
[ 0] Error in DrawScreen(): [string "E:\Program Files\TASpring\LuaUI\Widgets\gui..."]:78: attempt to call field 'mod' (a nil value)
[ 0] Removed widget: CommanderEnds2
[ 0] New connection established in 0 (wanted number was 0)
[ 0] Player PRO_ginekolog joined as 0
[ 0] New connection established in 1 (wanted number was 1)
[ 0] Removed: E:\Program Files\TASpring\LuaUI\Widgets\gui_reclaiminfov099.lua
[ 0] Player [SmuG]Blue_Frost joined as 1
[ 0] GameID: 7c6bf2487661a0e3e3f23e41f940bef3
[ 432] Buildings set to face East
[ 3380] Spring 0.77b3 has crashed.
[ 3380] Exception: Access violation (0xc0000005)
[ 3380] Exception Address: 0x00a65c3e
[ 3380] DLL information:
[ 3380] 0x00400000 spring
[ 3380] 0x7c900000 ntdll
[ 3380] 0x7c800000 kernel32
[ 3380] 0x77dd0000 ADVAPI32
[ 3380] 0x77e70000 RPCRT4
[ 3380] 0x77fe0000 Secur32
[ 3380] 0x73f10000 dsound
[ 3380] 0x77c10000 msvcrt
[ 3380] 0x774e0000 ole32
[ 3380] 0x77f10000 GDI32
[ 3380] 0x7e410000 USER32
[ 3380] 0x77c00000 VERSION
[ 3380] 0x76b40000 WINMM
[ 3380] 0x68b20000 GLU32
[ 3380] 0x5ed00000 OPENGL32
[ 3380] 0x73760000 DDRAW
[ 3380] 0x73bc0000 DCIMAN32
[ 3380] 0x76c90000 IMAGEHLP
[ 3380] 0x6fbc0000 mingwm10
[ 3380] 0x7c9c0000 SHELL32
[ 3380] 0x77f60000 SHLWAPI
[ 3380] 0x71ad0000 WSOCK32
[ 3380] 0x71ab0000 WS2_32
[ 3380] 0x71aa0000 WS2HELP
[ 3380] 0x6ed80000 glew32
[ 3380] 0x10000000 SDL
[ 3380] 0x7c340000 MSVCR71
[ 3380] 0x00e30000 DevIL
[ 3380] 0x66fc0000 freetype6
[ 3380] 0x61b80000 zlib1
[ 3380] 0x00fc0000 ILU
[ 3380] 0x76390000 IMM32
[ 3380] 0x014f0000 wl_hook
[ 3380] 0x5cd70000 serwvdrv
[ 3380] 0x5b0a0000 umdmxfrm
[ 3380] 0x773d0000 comctl32
[ 3380] 0x5d090000 comctl32
[ 3380] 0x5ad70000 uxtheme
[ 3380] 0x74720000 MSCTF
[ 3380] 0x755c0000 msctfime
[ 3380] 0x69500000 nvoglnt
[ 3380] 0x77120000 OLEAUT32
[ 3380] 0x71a50000 mswsock
[ 3380] 0x662b0000 hnetcfg
[ 3380] 0x71a90000 wshtcpip
[ 3380] 0x72d20000 wdmaud
[ 3380] 0x76c30000 WINTRUST
[ 3380] 0x77a80000 CRYPT32
[ 3380] 0x77b20000 MSASN1
[ 3380] 0x72d10000 msacm32
[ 3380] 0x77be0000 MSACM32
[ 3380] 0x77bd0000 midimap
[ 3380] 0x73ee0000 KsUser
[ 3380] 0x59a60000 DBGHELP
[ 3380] Stacktrace:
[ 3380] (0) E:\Program Files\TASpring\spring.exe [0x00A65C3E]
[ 3380] (1) E:\Program Files\TASpring\spring.exe [0x00986BBA]
[ 3380] (2) E:\Program Files\TASpring\spring.exe [0x00652695]
[ 3380] (3) E:\Program Files\TASpring\spring.exe [0x0081AB71]
[ 3380] (4) E:\Program Files\TASpring\spring.exe [0x008254A5]
[ 3380] (5) E:\Program Files\TASpring\spring.exe [0x005B9639]
[ 3380] (6) E:\Program Files\TASpring\spring.exe [0x005C5770]
[ 3380] (7) E:\Program Files\TASpring\spring.exe [0x005B84CD]
[ 3380] (8) E:\Program Files\TASpring\spring.exe [0x005B86C9]
[ 3380] (9) E:\Program Files\TASpring\spring.exe [0x00A313A1]
[ 3380] (10) E:\Program Files\TASpring\spring.exe [0x004010A7]
[ 3380] (11) E:\Program Files\TASpring\spring.exe [0x00401123]
[ 3380] (12) F:\WINDOWS\system32\kernel32.dll(RegisterWaitForInputIdle+0x49) [0x7C817067]
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 23:41
by imbaczek
do you have a replay?
turning off ground decals (again...) should reduce the number of crashes.
Re: Access Violation Crash with Spring 0.77b2
Posted: 12 Oct 2008, 23:48
by ginekolog
imbaczek wrote:do you have a replay?
turning off ground decals (again...) should reduce the number of crashes.
replay here, i had decals on. Turned em off now.
http://replays.adune.nl/?264