[issue43647] Sudden crash on print() of some characters

Mikhail report at bugs.python.org
Sun Mar 28 11:26:40 EDT 2021


New submission from Mikhail <tetelev99 at mail.ru>:

Hi! I'm not sure if it's an IDLE, library, Xserver or font error, but either way, IDLE is behaving incorrectly. I have installed 3.8 and 3.9 versions, and on both it works, I do not know about the others, but I suspect that on the others, this error also occurs.

The error occurs in the following way: if you type any of the characters '\u270(5-f)' in IDLE, its work will stop unexpectedly. I suspect that for many other symbols there will be the same error, but so far noticed only on these. 

This is what the output to the terminal says:
```
X Error of failed request:  BadLength (poly request too large or internal Xlib length error)
  Major opcode of failed request:  139 (RENDER)
  Minor opcode of failed request:  20 (RenderAddGlyphs)
  Serial number of failed request:  2131
  Current serial number in output stream:  2131
```

I think the error is somewhere in the system error handler or in the incorrect behavior of the fonts display (or both :) ), it would be more correct to catch the error and display it in the output, rather than suddenly terminate.

My system is Ubuntu 20.04, KDE 5.

----------
assignee: terry.reedy
components: IDLE
messages: 389635
nosy: terry.reedy, tetelevm
priority: normal
severity: normal
status: open
title: Sudden crash on print() of some characters
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43647>
_______________________________________


More information about the Python-bugs-list mailing list