[issue4313] IDLE segfault at exit

Hirokazu Yamamoto report at bugs.python.org
Fri Nov 14 17:37:22 CET 2008


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

After long random investigation, I found idle_crash_1.py can reproduce
the crash. And I noticed in idle_crash_2.py WidgetRedirector#dispatch,
last element of args cannot be printed. Here is result.

10
0 -foreground
1 black
2 -selectforeground
3 black
4 -selectbackground
5 black
6 -background
7 black
8 -insertbackground
9 Traceback (most recent call last):
  File "c.py", line 52, in <module>
    selectbackground=color,
  File "e:\python-dev\py3k\lib\tkinter\__init__.py", line 1199, in configure
    return self._configure('configure', cnf, kw)
  File "e:\python-dev\py3k\lib\tkinter\__init__.py", line 1190, in
_configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError

And I found this crash can be fixed by reverting r57540. This revision
was applied to fix issue1028, but I think we should solve this issue in
different way.

----------
nosy: +ocean-city
type:  -> crash
Added file: http://bugs.python.org/file12006/idle_crash_1.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4313>
_______________________________________


More information about the Python-bugs-list mailing list