|
Description
|
On a XVR-600 we have a short testcase showing an allocation issue on Solaris 10 (may be on other systems also).
It fails on a BadAlloc (insufficient resources for operation) error message but for some canvas size only.
eg :
# ./table 98
column :98
col: 98, row: 20
width: 8232, height: 400
Area 3292800
canvas width: 8232, canvas height: 400
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 93
Current serial number in output stream: 94
Well, ok, may be we are running out of resources, then.
BUT ! :
# ./table 5 1638
column :5
row :1638
col: 5, row: 1638
width: 420, height: 32760
Area 13759200
canvas width: 420, canvas height: 32760
pix width: 420, pix height: 32760, depth:24
This example works but the allocated area is bigger !??
This happens in 24 bits mode, not 8 bits.
|