Author serhiy.storchaka
Recipients ezio.melotti, michael.foord, serhiy.storchaka, vstinner
Date 2017-10-03.12:46:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I have found a strange failure when run the bigmem tests.

0:20:19 load avg: 1.04 [116/407/1] test_cgitb
test test_cgitb failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/", line 23, in test_html
    raise ValueError("Hello World")
ValueError: Hello World

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/test/", line 27, in test_html
    html = cgitb.html(sys.exc_info())
  File "/home/serhiy/py/cpython/Lib/", line 117, in html
    records = inspect.getinnerframes(etb, context)
  File "/home/serhiy/py/cpython/Lib/", line 1483, in getinnerframes
    frameinfo = (tb.tb_frame,) + getframeinfo(tb, context)
  File "/home/serhiy/py/cpython/Lib/", line 1445, in getframeinfo
    lines, lnum = findsource(frame)
  File "/home/serhiy/py/cpython/Lib/", line 780, in findsource
    module = getmodule(object, file)
  File "/home/serhiy/py/cpython/Lib/", line 739, in getmodule
    f = getabsfile(module)
  File "/home/serhiy/py/cpython/Lib/", line 708, in getabsfile
    _filename = getsourcefile(object) or getfile(object)
  File "/home/serhiy/py/cpython/Lib/", line 693, in getsourcefile
    if os.path.exists(filename):
  File "/home/serhiy/py/cpython/Lib/", line 19, in exists
ValueError: embedded null byte

0:20:19 load avg: 1.04 [117/407/2] test_csv -- test_cgitb failed

It is not reproduced when run test_cgitb separately.
Date User Action Args
2017-10-03 12:46:07serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner, ezio.melotti, michael.foord
2017-10-03 12:46:07serhiy.storchakasetmessageid: <>
2017-10-03 12:46:07serhiy.storchakalinkissue31676 messages
2017-10-03 12:46:06serhiy.storchakacreate