URL:
<http://gna.org/bugs/?11047>
Summary: crash clicking research button
Project: Warzone Resurrection Project
Submitted by: shevek
Submitted on: Wednesday 13/02/08 at 00:15
Category: None
Severity: 5 - Blocker
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: svn/trunk
Operating System: GNU/Linux
Planned Release: None
_______________________________________________________
Details:
Clicked green button. It went white. Then this.
error : widgGetTabs: invalid major id 1 >= max 1
error : Assert in Warzone: form.c:642 : widgGetTabs (*pMajor <
psForm->numMajor), last script event: 'manageDefendLocationEv'
warzone2100: form.c:642: widgGetTabs: Assertion `*pMajor < psForm->numMajor'
failed.
Cannot access memory at address 0x192a
#8 0x0816eba4 in widgGetTabs (psScreen=0xafcf740, id=3500, pMajor=0x8473e1a,
pMinor=0x8473e1c) at form.c:642
__FUNCTION__ = "widgGetTabs"
__PRETTY_FUNCTION__ = "widgGetTabs"
#9 0x080a2a08 in intAddObjectStats (psObj=0xca015c8, id=3101) at hci.c:2340
psStats = <value optimized out>
statMajor = 0
statMinor = 0
newStatMajor = <value optimized out>
newStatMinor = <value optimized out>
i = <value optimized out>
j = <value optimized out>
index = <value optimized out>
count = <value optimized out>
iconNumber = <value optimized out>
#10 0x080a448f in intAddObjectWindow (psObjects=0xca088d0,
psSelected=0xca015c8, bForceStats=1) at hci.c:4914
sFormInit = {formID = 3000, majorID = 0, minorID = 0, id = 3500,
style = 1, x = 2, y = 6, width = 316, height = 112, pDisplay = 0,
pCallback = 0, pUserData = 0x820be38, UserData = 0, disableChildren = 0,
majorPos = 1, minorPos = 0, majorSize = 26, minorSize = 0, majorOffset = 2,
minorOffset = 0, tabVertOffset = 5, tabHorzOffset = 0,
tabMajorThickness = 11, tabMinorThickness = 0, tabMajorGap = 2,
tabMinorGap = 0, numStats = 0, numButtons = 0, numMajor = 1, aNumMinors =
{
1, 0 <repeats 19 times>}, TabMultiplier = 0, pTip = 0x0, apMajorTips = {
0x0 <repeats 20 times>}, apMinorTips = {{0x0, 0x0, 0x0, 0x0,
0x0} <repeats 20 times>}, pTabDisplay = 0x80a94c0 <intDisplayTab>,
pFormDisplay = 0}
sBFormInit = {formID = 3500, majorID = 0, minorID = 0, id = 3006,
style = 4, x = 250, y = 42, width = 60, height = 46,
pDisplay = 0x80acc20 <intDisplayObjectButton>, pCallback = 0,
pUserData = 0x8987f34, UserData = 0, disableChildren = 0, majorPos = 0,
minorPos = 0, majorSize = 0, minorSize = 0, majorOffset = 0,
minorOffset = 0, tabVertOffset = 0, tabHorzOffset = 0,
tabMajorThickness = 0, tabMinorThickness = 0, tabMajorGap = 0,
tabMinorGap = 0, numStats = 0, numButtons = 0, numMajor = 0, aNumMinors =
{
0 <repeats 20 times>}, TabMultiplier = 0,
pTip = 0xab59568 "Research Facility", apMajorTips = {
0x0 <repeats 20 times>}, apMinorTips = {{0x0, 0x0, 0x0, 0x0,
0x0} <repeats 20 times>}, pTabDisplay = 0, pFormDisplay = 0}
sBFormInit2 = {formID = 3500, majorID = 0, minorID = 0, id = 3104,
style = 36, x = 250, y = 0, width = 60, height = 46,
pDisplay = 0x80ace40 <intDisplayStatusButton>, pCallback = 0,
pUserData = 0x8989584, UserData = 0, disableChildren = 0, majorPos = 0,
minorPos = 0, majorSize = 0, minorSize = 0, majorOffset = 0,
minorOffset = 0, tabVertOffset = 0, tabHorzOffset = 0,
tabMajorThickness = 0, tabMinorThickness = 0, tabMajorGap = 0,
tabMinorGap = 0, numStats = 0, numButtons = 0, numMajor = 0, aNumMinors =
{
0 <repeats 20 times>}, TabMultiplier = 0, pTip = 0x0, apMajorTips = {
0x0 <repeats 20 times>}, apMinorTips = {{0x0, 0x0, 0x0, 0x0,
0x0} <repeats 20 times>}, pTabDisplay = 0, pFormDisplay = 0}
sBarInit = {formID = 3103, majorID = 0, minorID = 0, id = 3204,
style = 32769, x = 3, y = 36, width = 52, height = 4, pDisplay = 0,
pCallback = 0x80aac70 <intUpdateProgressBar>, pUserData = 0xca00cc8,
UserData = 0, orientation = 1, size = 0, minorSize = 0, iRange = 1000,
sCol = {byte = {r = 255 '<FF>', g = 235 '<EB>', b = 19 '\023', a = 0 '\0'},
argb = 1305599, vector = "<FF><EB>\023"}, sMinorCol = {byte = {r = 85
'U',
g = 0 '\0', b = 0 '\0', a = 0 '\0'}, argb = 85, vector = "U\000\000"},
pTip = 0x81c3b80 "Progress Bar"}
sBarInit2 = {formID = 3005, majorID = 0, minorID = 0, id = 3304,
style = 0, x = 3, y = 36, width = 52, height = 4, pDisplay = 0,
pCallback = 0, pUserData = 0x0, UserData = 0, orientation = 1, size = 47,
minorSize = 0, iRange = 0, sCol = {byte = {r = 255 '<FF>', g = 235 '<EB>',
b = 19 '\023', a = 0 '\0'}, argb = 1305599, vector = "<FF><EB>\023"},
sMinorCol = {byte = {r = 85 'U', g = 0 '\0', b = 0 '\0', a = 0 '\0'},
argb = 85, vector = "U\000\000"}, pTip = 0x0}
sButInit = {formID = 3000, majorID = 0, minorID = 0, id = 3001,
style = 0, x = 305, y = 0, width = 15, height = 15,
pDisplay = 0x80a9680 <intDisplayImageHilight>, pCallback = 0,
pUserData = 0x0, UserData = 46123, pText = 0x0, pTip = 0x81c394c "Close",
FontID = 0}
displayForm = 0
i = 4
statID = 3101
objLoop = <value optimized out>
psObj = (BASE_OBJECT *) 0xca00cc8
psFirst = (BASE_OBJECT *) 0xca00cc8
psStats = <value optimized out>
BufferID = <value optimized out>
sLabInit = {formID = 3103, majorID = 0, minorID = 0, id = 3404,
style = 32768, x = 2, y = 2, width = 16, height = 16, pDisplay = 0,
pCallback = 0x80ab750 <intUpdateQuantity>, pUserData = 0xca00cc8,
UserData = 0, pText = 0x81f192f "10", pTip = 0x0, FontID = 0}
sLabIntObjText = {formID = 0, majorID = 0, minorID = 0, id = 3600,
style = 32768, x = 2, y = 8, width = 16, height = 16, pDisplay = 0,
pCallback = 0, pUserData = 0x0, UserData = 0,
pText = 0x81c3b8d "xxx/xxx - overrun", pTip = 0x0, FontID = 0}
sLabInitCmdExp = {formID = 0, majorID = 0, minorID = 0, id = 3700,
style = 32768, x = 3, y = 36, width = 16, height = 16, pDisplay = 0,
pCallback = 0, pUserData = 0x0, UserData = 0,
pText = 0x81c3b9f "@@@@@ - overrun", pTip = 0x0, FontID = 0}
sLabInitCmdFac = {formID = 0, majorID = 0, minorID = 0, id = 3754,
style = 32768, x = 2, y = 14, width = 16, height = 16, pDisplay = 0,
pCallback = 0, pUserData = 0x0, UserData = 0, pText = 0x81f192f "10",
pTip = 0x0, FontID = 0}
sLabInitCmdFac2 = {formID = 0, majorID = 0, minorID = 0, id = 3804,
style = 32768, x = 2, y = 26, width = 16, height = 16, pDisplay = 0,
pCallback = 0, pUserData = 0x0, UserData = 0, pText = 0x81f192f "10",
pTip = 0x0, FontID = 0}
IsFactory = <value optimized out>
__FUNCTION__ = "intAddObjectWindow"
__PRETTY_FUNCTION__ = "intAddObjectWindow"
#11 0x080a57cc in intRunWidgets () at hci.c:1800
StatsWasUp = <value optimized out>
retID = 5
retCode = <value optimized out>
structX = <value optimized out>
structY = <value optimized out>
structX2 = <value optimized out>
structY2 = <value optimized out>
objMajor = 0
objMinor = 500
psStructure = <value optimized out>
psDroid = <value optimized out>
i = <value optimized out>
widgOverID = <value optimized out>
__FUNCTION__ = "intRunWidgets"
__PRETTY_FUNCTION__ = "intRunWidgets"
#12 0x080be485 in gameLoop () at loop.c:201
psCurr = <value optimized out>
psNext = <value optimized out>
psCBuilding = <value optimized out>
psNBuilding = <value optimized out>
psCFeat = <value optimized out>
psNFeat = <value optimized out>
i = <value optimized out>
widgval = <value optimized out>
quitting = <value optimized out>
intRetVal = <value optimized out>
clearMode = <value optimized out>
__FUNCTION__ = "gameLoop"
__PRETTY_FUNCTION__ = "gameLoop"
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wednesday 13/02/08 at 00:15 Name: warzone2100.gdmp Size: 16kB By:
shevek
<http://gna.org/bugs/download.php?file_id=3807>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11047>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev