View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000433||Gameplay + OpenGL||(No Category)||public||2017-03-14 09:51||2017-03-14 12:49|
|Summary||0000433: GZDoom g2.4pre-2263-gdd89631 crashes - 32-bit only|
|Description||Only the 32-bit version seems to be crashing with this log:|
Oddly the 64-bit is working fine and doesn't show the same error.
|Steps To Reproduce||Fire up gzdoom.exe g2.4pre-2263-gdd89631 - 32-bit version should error out with that message.|
|Tags||No tags attached.|
Say hello to different pointer sizes :D
The 8 vs 12 is probably 4 bytes for array size + the array pointer which is different size on different platforms.
On 64 bit the two types that got mixed up here both are 16 bytes. Actually, one is 12 and one is 16 but it's the alignment that matters.
I will have to think about how to avoid this, the main problem is that the lines array is an impostor, because it looks like an array on the surface but in reality is just a reference into the buffer of a larger array that's owned by another object.
|2017-03-14 09:51||SanyaWaffles||New Issue|
|2017-03-14 10:02||ZZYZX||Note Added: 0000993|
|2017-03-14 10:03||ZZYZX||Note Edited: 0000993||View Revisions|
|2017-03-14 10:52||Graf Zahl||Note Added: 0000994|
|2017-03-14 12:49||Graf Zahl||Status||new => resolved|
|2017-03-14 12:49||Graf Zahl||Resolution||open => fixed|