Lithl
June 10th, 2009, 01:58
While working on my ruleset, I changed the following charsheet xml from:
<genericcontrol name="wounds0group">
<anchored>
<to>healthframe</to>
<position>insidetopleft</position>
<offset>10,20</offset>
<size>
<width>143</width>
<height>50</height>
</size>
</anchored>
<frame>
<name>logogroup</name>
</frame>
</genericcontrol>
<windowlist name="wounds0list">
<anchored>
<to>wounds0group</to>
<position>insideright</position>
<offset>5,-10</offset>
<size>
<width>100</width>
</size>
</anchored>
<class>element_healthbox</class>
<datasource>.wounds0</datasource>
<allowcreate />
<allowdelete />
<columns>
<width>20</width>
<fillwidth />
</columns>
</windowlist>
to:
<!--genericcontrol name="wounds0group">
<anchored>
<to>healthframe</to>
<position>insidetopleft</position>
<offset>10,20</offset>
<size>
<width>143</width>
<height>50</height>
</size>
</anchored>
<frame>
<name>logogroup</name>
</frame>
</genericcontrol-->
<windowlist name="wounds0list">
<anchored>
<!--to>wounds0group</to-->
<to>healthframe</to>
<position>insideright</position>
<offset>5,-10</offset>
<size>
<width>100</width>
</size>
</anchored>
<class>element_healthbox</class>
<datasource>.wounds0</datasource>
<allowcreate />
<allowdelete />
<columns>
<width>20</width>
<fillwidth />
</columns>
</windowlist>
Afterward, trying to open the character sheet, the application crashed.
crash data:
Problem signature:
Problem Event Name: APPCRASH
Application Name: FantasyGrounds.exe
Application Version: 0.0.0.0
Application Timestamp: 495e1c0d
Fault Module Name: FantasyGrounds.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 495e1c0d
Exception Code: c0000005
Exception Offset: 0016b324
OS Version: 6.0.6000.2.0.0.768.3
Locale ID: 1033
Additional Information 1: bbb7
Additional Information 2: 49490c39579db54c33012c2cf51ef625
Additional Information 3: 9182
Additional Information 4: d0f1a19694d9cd9a275c88c9881c9e2f
As I've got Visual Studio 2008, I also had the problem to debug. Of course, without the source, the debug may not be helpful, but I'll include it just in case:
Unhandled exception at 0x0056b324 in FantasyGrounds.exe: 0xC0000005: Access violation reading location 0x000005ab.
And the surrounding disassembly:
0056B317 int 3
0056B318 int 3
0056B319 int 3
0056B31A int 3
0056B31B int 3
0056B31C int 3
0056B31D int 3
0056B31E int 3
0056B31F int 3
0056B320 mov eax,dword ptr [esp+4]
0056B324 mov edx,dword ptr [eax+8]
0056B327 mov ecx,dword ptr [esp+8]
0056B32B cmp edx,dword ptr [ecx+8]
0056B32E je 0056B333
0056B330 xor eax,eax
0056B332 ret
Returning the xml to the original state fixed the crash.
<genericcontrol name="wounds0group">
<anchored>
<to>healthframe</to>
<position>insidetopleft</position>
<offset>10,20</offset>
<size>
<width>143</width>
<height>50</height>
</size>
</anchored>
<frame>
<name>logogroup</name>
</frame>
</genericcontrol>
<windowlist name="wounds0list">
<anchored>
<to>wounds0group</to>
<position>insideright</position>
<offset>5,-10</offset>
<size>
<width>100</width>
</size>
</anchored>
<class>element_healthbox</class>
<datasource>.wounds0</datasource>
<allowcreate />
<allowdelete />
<columns>
<width>20</width>
<fillwidth />
</columns>
</windowlist>
to:
<!--genericcontrol name="wounds0group">
<anchored>
<to>healthframe</to>
<position>insidetopleft</position>
<offset>10,20</offset>
<size>
<width>143</width>
<height>50</height>
</size>
</anchored>
<frame>
<name>logogroup</name>
</frame>
</genericcontrol-->
<windowlist name="wounds0list">
<anchored>
<!--to>wounds0group</to-->
<to>healthframe</to>
<position>insideright</position>
<offset>5,-10</offset>
<size>
<width>100</width>
</size>
</anchored>
<class>element_healthbox</class>
<datasource>.wounds0</datasource>
<allowcreate />
<allowdelete />
<columns>
<width>20</width>
<fillwidth />
</columns>
</windowlist>
Afterward, trying to open the character sheet, the application crashed.
crash data:
Problem signature:
Problem Event Name: APPCRASH
Application Name: FantasyGrounds.exe
Application Version: 0.0.0.0
Application Timestamp: 495e1c0d
Fault Module Name: FantasyGrounds.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 495e1c0d
Exception Code: c0000005
Exception Offset: 0016b324
OS Version: 6.0.6000.2.0.0.768.3
Locale ID: 1033
Additional Information 1: bbb7
Additional Information 2: 49490c39579db54c33012c2cf51ef625
Additional Information 3: 9182
Additional Information 4: d0f1a19694d9cd9a275c88c9881c9e2f
As I've got Visual Studio 2008, I also had the problem to debug. Of course, without the source, the debug may not be helpful, but I'll include it just in case:
Unhandled exception at 0x0056b324 in FantasyGrounds.exe: 0xC0000005: Access violation reading location 0x000005ab.
And the surrounding disassembly:
0056B317 int 3
0056B318 int 3
0056B319 int 3
0056B31A int 3
0056B31B int 3
0056B31C int 3
0056B31D int 3
0056B31E int 3
0056B31F int 3
0056B320 mov eax,dword ptr [esp+4]
0056B324 mov edx,dword ptr [eax+8]
0056B327 mov ecx,dword ptr [esp+8]
0056B32B cmp edx,dword ptr [ecx+8]
0056B32E je 0056B333
0056B330 xor eax,eax
0056B332 ret
Returning the xml to the original state fixed the crash.