Message193097
When run Tools/demo/ss1.py under Linux and enter the formula "='0'*0x1000", the application will crash with the following message:
X Error of failed request: BadAlloc (insufficient resources for operation)
Major opcode of failed request: 53 (X_CreatePixmap)
Serial number of failed request: 1025
Current serial number in output stream: 1100
Any multiplier between 0x1000 and 0x1fff crashes. With multipliers >= 0x2000 only the number of zeros over 0x2000 is displayed. Multiplier between 0x3000 and 0x3fff crashes again.
Hint: The width of '0' in the used font is 8 pixels. 0x2000 * 8 = 2**16. If the width of cell is a 16-bit signed integer, it is negative for the number of zeros between 0x1000 and 0x1fff and wrapped after 0x2000 zeros.
It may be a bug either in Tkinter, in Tk, or in X Window. |
|
Date |
User |
Action |
Args |
2013-07-15 13:38:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gpolo |
2013-07-15 13:38:20 | serhiy.storchaka | set | messageid: <1373895500.91.0.409503402666.issue18461@psf.upfronthosting.co.za> |
2013-07-15 13:38:20 | serhiy.storchaka | link | issue18461 messages |
2013-07-15 13:38:20 | serhiy.storchaka | create | |
|