[issue19954] test_tk floating point exception on my gentoo box running tk 8.6.1

R. David Murray report at bugs.python.org
Wed Dec 11 22:26:19 CET 2013


New submission from R. David Murray:

A while ago I started getting a floating point exception from test_tk in the tip in all active versions, but I'm only now getting around to reporting it.  I've tracked this down to the tests introduced in issue 19085, which it looks like revealed some other tk issues.

Gentoo has some patches against stock 8.6.1; I don't know if they are the source of the failure or not.  I haven't updated the gentoo buildbots for a while, and since they are passing the tests it could well be that it was my upgrade from tk 8.6.0 to 8.6.1 on my dev box that triggered the failures.  The timing of that upgrade is somewhat after the patch was committed, but I hadn't been running the test suite regularly during that interval so I can't pinpoint it to one or the other.

There are also other test failures, by the way, but I'm not seeing the tracebacks because python crashes.

Here is the faulthandler traceback from 3.3:

test_indicatoron (tkinter.test.test_tkinter.test_widgets.MenubuttonTest) ... Fatal Python error: Floating point exception

Current thread 0xb75416c0:
  File "/home/rdmurray/python/p33/Lib/tkinter/__init__.py", line 1257 in _configure
  File "/home/rdmurray/python/p33/Lib/tkinter/__init__.py", line 1266 in configure
  File "/home/rdmurray/python/p33/Lib/tkinter/__init__.py", line 1273 in __setitem__
  File "/home/rdmurray/python/p33/Lib/tkinter/test/widget_tests.py", line 47 in checkParam
  File "/home/rdmurray/python/p33/Lib/tkinter/test/widget_tests.py", line 116 in checkBooleanParam
  File "/home/rdmurray/python/p33/Lib/tkinter/test/widget_tests.py", line 422 in test_indicatoron
  File "/home/rdmurray/python/p33/Lib/unittest/case.py", line 384 in _executeTestPart
  File "/home/rdmurray/python/p33/Lib/unittest/case.py", line 439 in run
  File "/home/rdmurray/python/p33/Lib/unittest/case.py", line 491 in __call__
  File "/home/rdmurray/python/p33/Lib/unittest/suite.py", line 105 in run
  File "/home/rdmurray/python/p33/Lib/unittest/suite.py", line 67 in __call__
  File "/home/rdmurray/python/p33/Lib/unittest/suite.py", line 105 in run
  File "/home/rdmurray/python/p33/Lib/unittest/suite.py", line 67 in __call__
  File "/home/rdmurray/python/p33/Lib/test/support/__init__.py", line 1560 in run
  File "/home/rdmurray/python/p33/Lib/test/support/__init__.py", line 1661 in _run_suite
  File "/home/rdmurray/python/p33/Lib/test/support/__init__.py", line 1695 in run_unittest
  File "/home/rdmurray/python/p33/Lib/test/test_tk.py", line 22 in test_main
  File "/home/rdmurray/python/p33/Lib/test/regrtest.py", line 1222 in runtest_inner
  File "/home/rdmurray/python/p33/Lib/test/regrtest.py", line 944 in runtest
  File "/home/rdmurray/python/p33/Lib/test/regrtest.py", line 717 in main
  File "/home/rdmurray/python/p33/Lib/test/__main__.py", line 13 in <module>
  File "/home/rdmurray/python/p33/Lib/runpy.py", line 73 in _run_code
  File "/home/rdmurray/python/p33/Lib/runpy.py", line 160 in _run_module_as_main
zsh: floating point exception  ./python -m test -uall test_tk

----------
components: Tests, Tkinter
messages: 205925
nosy: Arfrever, r.david.murray, serhiy.storchaka
priority: high
severity: normal
stage: needs patch
status: open
title: test_tk floating point exception on my gentoo box running tk 8.6.1
type: crash
versions: Python 2.7, Python 3.3, Python 3.4

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


More information about the Python-bugs-list mailing list