Issue13377
This issue tracker has been migrated to GitHub,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2011-11-09 08:44 by vinay.sajip, last changed 2022-04-11 14:57 by admin. This issue is now closed.
Messages (6) | |||
---|---|---|---|
msg147339 - (view) | Author: Vinay Sajip (vinay.sajip) * | Date: 2011-11-09 08:43 | |
test_codecs has started failing on Windows: I can't tell if the problem is in the tests. == CPython 3.3.0a0 (default, Nov 8 2011, 22:34:51) [MSC v.1500 32 bit (Intel)] == Windows-7-6.1.7600 little-endian == c:\Users\Vinay\Projects\cpython\build\test_python_2612 Testing with flags: sys.flags(debug=0, inspect=0, interactive=0, optimize=0, dont_write_bytecode=0, no_user_site=0, no_site=0, ignore_environment=1, verbose=0, bytes_warning=2, quiet=0) [1/1] test_codecs test_badbom (test.test_codecs.UTF32Test) ... ok test_bug1098990_a (test.test_codecs.UTF32Test) ... ok test_bug1098990_b (test.test_codecs.UTF32Test) ... ok test_bug1175396 (test.test_codecs.UTF32Test) ... ok test_decoder_state (test.test_codecs.UTF32Test) ... ok test_errors (test.test_codecs.UTF32Test) ... ok test_handlers (test.test_codecs.UTF32Test) ... ok test_issue8941 (test.test_codecs.UTF32Test) ... ok test_only_one_bom (test.test_codecs.UTF32Test) ... ok test_partial (test.test_codecs.UTF32Test) ... ok test_readline (test.test_codecs.UTF32Test) ... ok test_readlinequeue (test.test_codecs.UTF32Test) ... ok test_bug1098990_a (test.test_codecs.UTF32LETest) ... ok test_bug1098990_b (test.test_codecs.UTF32LETest) ... ok test_bug1175396 (test.test_codecs.UTF32LETest) ... ok test_errors (test.test_codecs.UTF32LETest) ... ok test_issue8941 (test.test_codecs.UTF32LETest) ... ok test_partial (test.test_codecs.UTF32LETest) ... ok test_readline (test.test_codecs.UTF32LETest) ... ok test_readlinequeue (test.test_codecs.UTF32LETest) ... ok test_simple (test.test_codecs.UTF32LETest) ... ok test_bug1098990_a (test.test_codecs.UTF32BETest) ... ok test_bug1098990_b (test.test_codecs.UTF32BETest) ... ok test_bug1175396 (test.test_codecs.UTF32BETest) ... ok test_errors (test.test_codecs.UTF32BETest) ... ok test_issue8941 (test.test_codecs.UTF32BETest) ... ok test_partial (test.test_codecs.UTF32BETest) ... ok test_readline (test.test_codecs.UTF32BETest) ... ok test_readlinequeue (test.test_codecs.UTF32BETest) ... ok test_simple (test.test_codecs.UTF32BETest) ... ok test_badbom (test.test_codecs.UTF16Test) ... ok test_bug1098990_a (test.test_codecs.UTF16Test) ... ok test_bug1098990_b (test.test_codecs.UTF16Test) ... ok test_bug1175396 (test.test_codecs.UTF16Test) ... ok test_bug691291 (test.test_codecs.UTF16Test) ... ok test_decoder_state (test.test_codecs.UTF16Test) ... ok test_errors (test.test_codecs.UTF16Test) ... ok test_handlers (test.test_codecs.UTF16Test) ... ok test_only_one_bom (test.test_codecs.UTF16Test) ... ok test_partial (test.test_codecs.UTF16Test) ... ok test_readline (test.test_codecs.UTF16Test) ... ok test_readlinequeue (test.test_codecs.UTF16Test) ... ok test_bug1098990_a (test.test_codecs.UTF16LETest) ... ok test_bug1098990_b (test.test_codecs.UTF16LETest) ... ok test_bug1175396 (test.test_codecs.UTF16LETest) ... ok test_errors (test.test_codecs.UTF16LETest) ... ok test_nonbmp (test.test_codecs.UTF16LETest) ... ok test_partial (test.test_codecs.UTF16LETest) ... ok test_readline (test.test_codecs.UTF16LETest) ... ok test_readlinequeue (test.test_codecs.UTF16LETest) ... ok test_bug1098990_a (test.test_codecs.UTF16BETest) ... ok test_bug1098990_b (test.test_codecs.UTF16BETest) ... ok test_bug1175396 (test.test_codecs.UTF16BETest) ... ok test_errors (test.test_codecs.UTF16BETest) ... ok test_nonbmp (test.test_codecs.UTF16BETest) ... ok test_partial (test.test_codecs.UTF16BETest) ... ok test_readline (test.test_codecs.UTF16BETest) ... ok test_readlinequeue (test.test_codecs.UTF16BETest) ... ok test_bug1098990_a (test.test_codecs.UTF8Test) ... ok test_bug1098990_b (test.test_codecs.UTF8Test) ... ok test_bug1175396 (test.test_codecs.UTF8Test) ... ok test_decoder_state (test.test_codecs.UTF8Test) ... ok test_lone_surrogates (test.test_codecs.UTF8Test) ... ok test_partial (test.test_codecs.UTF8Test) ... ok test_readline (test.test_codecs.UTF8Test) ... ok test_readlinequeue (test.test_codecs.UTF8Test) ... ok test_surrogatepass_handler (test.test_codecs.UTF8Test) ... ok test_bom (test.test_codecs.UTF8SigTest) ... ok test_bug1098990_a (test.test_codecs.UTF8SigTest) ... ok test_bug1098990_b (test.test_codecs.UTF8SigTest) ... ok test_bug1175396 (test.test_codecs.UTF8SigTest) ... ok test_bug1601501 (test.test_codecs.UTF8SigTest) ... ok test_partial (test.test_codecs.UTF8SigTest) ... ok test_readline (test.test_codecs.UTF8SigTest) ... ok test_readlinequeue (test.test_codecs.UTF8SigTest) ... ok test_stream_bare (test.test_codecs.UTF8SigTest) ... ok test_stream_bom (test.test_codecs.UTF8SigTest) ... ok test_bug1098990_a (test.test_codecs.CP65001Test) ... ok test_bug1098990_b (test.test_codecs.CP65001Test) ... ok test_bug1175396 (test.test_codecs.CP65001Test) ... ok test_decode (test.test_codecs.CP65001Test) ... Fatal Python error: Segmentation fault Current thread 0x00000a20: File "c:\Users\Vinay\Projects\cpython\lib\linecache.py", line 81 in updatecache File "c:\Users\Vinay\Projects\cpython\lib\linecache.py", line 41 in getlines File "c:\Users\Vinay\Projects\cpython\lib\linecache.py", line 15 in getline File "c:\Users\Vinay\Projects\cpython\lib\traceback.py", line 100 in extract_tb File "c:\Users\Vinay\Projects\cpython\lib\traceback.py", line 75 in format_tb File "c:\Users\Vinay\Projects\cpython\lib\traceback.py", line 186 in format_exception File "c:\Users\Vinay\Projects\cpython\lib\unittest\result.py", line 160 in _exc_info_to_string File "c:\Users\Vinay\Projects\cpython\lib\unittest\result.py", line 121 in addFailure File "c:\Users\Vinay\Projects\cpython\lib\unittest\result.py", line 17 in inner File "c:\Users\Vinay\Projects\cpython\lib\unittest\runner.py", line 75 in addFailure File "c:\Users\Vinay\Projects\cpython\lib\unittest\case.py", line 452 in run File "c:\Users\Vinay\Projects\cpython\lib\unittest\case.py", line 492 in __call__ File "c:\Users\Vinay\Projects\cpython\lib\unittest\suite.py", line 105 in run File "c:\Users\Vinay\Projects\cpython\lib\unittest\suite.py", line 67 in __call__ File "c:\Users\Vinay\Projects\cpython\lib\unittest\suite.py", line 105 in run File "c:\Users\Vinay\Projects\cpython\lib\unittest\suite.py", line 67 in __call__ File "c:\Users\Vinay\Projects\cpython\lib\unittest\runner.py", line 168 in run File "c:\Users\Vinay\Projects\cpython\lib\test\support.py", line 1368 in _run_suite File "c:\Users\Vinay\Projects\cpython\lib\test\support.py", line 1402 in run_unittest File "c:\Users\Vinay\Projects\cpython\lib\test\test_codecs.py", line 2031 in test_main File "../lib/test/regrtest.py", line 1203 in runtest_inner File "../lib/test/regrtest.py", line 917 in runtest File "../lib/test/regrtest.py", line 709 in main File "../lib/test/regrtest.py", line 1780 in <module> |
|||
msg147340 - (view) | Author: Vinay Sajip (vinay.sajip) * | Date: 2011-11-09 08:52 | |
FWIW, stack trace from VS 2008: > python33.dll!_PyLong_New(int size=0x00000002) Line 145 C python33.dll!PyLong_FromLong(long ival=0x000081b6) Line 210 + 0x7 bytes C python33.dll!_pystat_fromstructstat(win32_stat * st=0x00000000) Line 1726 + 0xc bytes C python33.dll!posix_do_stat(_object * self=0x1e047e3d, _object * args=0x00000000, char * format=0x1e12ffc0, int (const char *, win32_stat *)* statfunc=0x1e047e00, char * wformat=0x00000000, int (const wchar_t *, win32_stat *)* wstatfunc=0x1e043d60) Line 1846 + 0x9 bytes C python33.dll!posix_stat(_object * self=0x013aa148, _object * args=0x02292c50) Line 3335 + 0x1d bytes C python33.dll!PyCFunction_Call(_object * func=0x013aa328, _object * arg=0x02292c50, _object * kw=0x00000000) Line 81 + 0x8 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e2fc, int oparg=0x00000000) Line 4001 + 0x9a bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x018c93f8, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b9cac0, _object * globals=0x018c93f8, _object * locals=0x00000000, _object * * args=0x01e5a9b4, int argcount=0x00000002, _object * * kws=0x01e5a9bc, int kwcount=0x00000000, _object * * defs=0x017f665c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021e418, int n=0x00000002, int na=0x00000002, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e418, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e5a870, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b9c980, _object * globals=0x01e5a870, _object * locals=0x00000000, _object * * args=0x01e5e45c, int argcount=0x00000002, _object * * kws=0x01e5e464, int kwcount=0x00000000, _object * * defs=0x01b9283c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021e534, int n=0x00000002, int na=0x00000002, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e534, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e5e310, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b9c8e0, _object * globals=0x01e5e310, _object * locals=0x00000000, _object * * args=0x01e5b7d4, int argcount=0x00000003, _object * * kws=0x01e5b7e0, int kwcount=0x00000000, _object * * defs=0x01b9287c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021e650, int n=0x00000003, int na=0x00000003, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e650, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e5b670, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01735610, _object * globals=0x01e5b670, _object * locals=0x00000000, _object * * args=0x01e48cb8, int argcount=0x00000002, _object * * kws=0x01e48cc0, int kwcount=0x00000000, _object * * defs=0x0172623c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021e76c, int n=0x00000002, int na=0x00000002, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e76c, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e48b70, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x017355c0, _object * globals=0x01e48b70, _object * locals=0x00000000, _object * * args=0x01e3b790, int argcount=0x00000002, _object * * kws=0x01e3b798, int kwcount=0x00000000, _object * * defs=0x0172621c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021e888, int n=0x00000002, int na=0x00000002, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e888, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e3b630, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01735700, _object * globals=0x01e3b630, _object * locals=0x00000000, _object * * args=0x01e5b644, int argcount=0x00000004, _object * * kws=0x01e5b654, int kwcount=0x00000000, _object * * defs=0x0173085c, int defcount=0x00000002, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021e9a4, int n=0x00000004, int na=0x00000004, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021e9a4, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e5b4e0, int throwflag=0x00000000) Line 2628 C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021ea64, int n=0x00000003, int na=0x00000003, int nk=0x00000000) Line 4090 C python33.dll!call_function(_object * * * pp_stack=0x0021ea64, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e5e1a0, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b15660, _object * globals=0x01e5e1a0, _object * locals=0x00000000, _object * * args=0x01e4d474, int argcount=0x00000003, _object * * kws=0x0131705c, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b14bb8, _object * arg=0x01e4d468, _object * kw=0x01e4b420) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b14bb8, _object * arg=0x01e4d468, _object * kw=0x01e4b420) Line 2150 + 0xd bytes C python33.dll!ext_do_call(_object * func=0x01b14bb8, _object * * * pp_stack=0x00000000, int flags=0x00000003, int na=0x00000001, int nk=0x00000000) Line 4316 + 0x8 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e5e030, int throwflag=0x00000000) Line 2669 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b177f0, _object * globals=0x01e5e030, _object * locals=0x00000000, _object * * args=0x01e489e8, int argcount=0x00000003, _object * * kws=0x01e489f4, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x01ca6ef0) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021ecc8, int n=0x00000003, int na=0x00000003, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021ecc8, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01e488a0, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b4bd90, _object * globals=0x01e488a0, _object * locals=0x00000000, _object * * args=0x01c6c198, int argcount=0x00000003, _object * * kws=0x01c6c1a4, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x01e79470) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021ede4, int n=0x00000003, int na=0x00000003, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021ede4, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01c6c030, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b2a160, _object * globals=0x01c6c030, _object * locals=0x00000000, _object * * args=0x022fc8d4, int argcount=0x00000002, _object * * kws=0x0131705c, int kwcount=0x00000000, _object * * defs=0x01b3423c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b3da08, _object * arg=0x022fc8c8, _object * kw=0x01c68a50) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b3da08, _object * arg=0x022fc8c8, _object * kw=0x01c68a50) Line 2150 + 0xd bytes C python33.dll!ext_do_call(_object * func=0x01b3da08, _object * * * pp_stack=0x00000000, int flags=0x00000003, int na=0x00000001, int nk=0x00000000) Line 4316 + 0x8 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01c6b300, int throwflag=0x00000000) Line 2669 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b2a250, _object * globals=0x01c6b300, _object * locals=0x00000000, _object * * args=0x01d6f35c, int argcount=0x00000002, _object * * kws=0x00000000, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b3da98, _object * arg=0x01d6f350, _object * kw=0x00000000) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b3da98, _object * arg=0x01d6f350, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!method_call(_object * func=0x01b3da98, _object * arg=0x02292930, _object * kw=0x00000000) Line 320 + 0x10 bytes C python33.dll!PyObject_Call(_object * func=0x022fe918, _object * arg=0x02292930, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!slot_tp_call(_object * self=0x024390d0, _object * args=0x02292930, _object * kwds=0x00000000) Line 5229 + 0x11 bytes C python33.dll!PyObject_Call(_object * func=0x024390d0, _object * arg=0x02292930, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!do_call(_object * func=0x024390d0, _object * * * pp_stack=0x00000000, int na=0x00000001, int nk=0x00000000) Line 4221 + 0x8 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021f0f0, int oparg=0x00000000) Line 4024 + 0x9 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x02307900, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b3b8e0, _object * globals=0x02307900, _object * locals=0x00000000, _object * * args=0x022faeec, int argcount=0x00000002, _object * * kws=0x0131705c, int kwcount=0x00000000, _object * * defs=0x01b4409c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b40f60, _object * arg=0x022faee0, _object * kw=0x01c689c0) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b40f60, _object * arg=0x022faee0, _object * kw=0x01c689c0) Line 2150 + 0xd bytes C python33.dll!ext_do_call(_object * func=0x01b40f60, _object * * * pp_stack=0x00000000, int flags=0x00000003, int na=0x00000001, int nk=0x00000000) Line 4316 + 0x8 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01c59e40, int throwflag=0x00000000) Line 2669 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b3b7f0, _object * globals=0x01c59e40, _object * locals=0x00000000, _object * * args=0x022fb5b4, int argcount=0x00000002, _object * * kws=0x00000000, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b40ed0, _object * arg=0x022fb5a8, _object * kw=0x00000000) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b40ed0, _object * arg=0x022fb5a8, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!method_call(_object * func=0x01b40ed0, _object * arg=0x02292870, _object * kw=0x00000000) Line 320 + 0x10 bytes C python33.dll!PyObject_Call(_object * func=0x022fe8f0, _object * arg=0x02292870, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!slot_tp_call(_object * self=0x02439030, _object * args=0x02292870, _object * kwds=0x00000000) Line 5229 + 0x11 bytes C python33.dll!PyObject_Call(_object * func=0x02439030, _object * arg=0x02292870, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!do_call(_object * func=0x02439030, _object * * * pp_stack=0x00000000, int na=0x00000001, int nk=0x00000000) Line 4221 + 0x8 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021f3fc, int oparg=0x00000000) Line 4024 + 0x9 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x02307788, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b3b8e0, _object * globals=0x02307788, _object * locals=0x00000000, _object * * args=0x022fa1f4, int argcount=0x00000002, _object * * kws=0x0131705c, int kwcount=0x00000000, _object * * defs=0x01b4409c, int defcount=0x00000001, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b40f60, _object * arg=0x022fa1e8, _object * kw=0x01c68930) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b40f60, _object * arg=0x022fa1e8, _object * kw=0x01c68930) Line 2150 + 0xd bytes C python33.dll!ext_do_call(_object * func=0x01b40f60, _object * * * pp_stack=0x00000000, int flags=0x00000003, int na=0x00000001, int nk=0x00000000) Line 4316 + 0x8 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01c59cd8, int throwflag=0x00000000) Line 2669 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01b3b7f0, _object * globals=0x01c59cd8, _object * locals=0x00000000, _object * * args=0x02297884, int argcount=0x00000002, _object * * kws=0x00000000, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!function_call(_object * func=0x01b40ed0, _object * arg=0x02297878, _object * kw=0x00000000) Line 635 + 0x2e bytes C python33.dll!PyObject_Call(_object * func=0x01b40ed0, _object * arg=0x02297878, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!method_call(_object * func=0x01b40ed0, _object * arg=0x01e997b0, _object * kw=0x00000000) Line 320 + 0x10 bytes C python33.dll!PyObject_Call(_object * func=0x01b280a8, _object * arg=0x01e997b0, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!slot_tp_call(_object * self=0x022958b0, _object * args=0x01e997b0, _object * kwds=0x00000000) Line 5229 + 0x11 bytes C python33.dll!PyObject_Call(_object * func=0x022958b0, _object * arg=0x01e997b0, _object * kw=0x00000000) Line 2150 + 0xd bytes C python33.dll!do_call(_object * func=0x022958b0, _object * * * pp_stack=0x00000000, int na=0x00000001, int nk=0x00000000) Line 4221 + 0x8 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021f708, int oparg=0x00000000) Line 4024 + 0x9 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01c6a030, int throwflag=0x00000000) Line 2628 C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021f7c8, int n=0x00000002, int na=0x00000002, int nk=0x00000000) Line 4090 C python33.dll!call_function(_object * * * pp_stack=0x0021f7c8, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x02307498, int throwflag=0x00000000) Line 2628 C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021f888, int n=0x00000001, int na=0x00000001, int nk=0x00000000) Line 4090 C python33.dll!call_function(_object * * * pp_stack=0x0021f888, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x02307320, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01ea0d40, _object * globals=0x02307320, _object * locals=0x00000000, _object * * args=0x022ac6ac, int argcount=0x0000001c, _object * * kws=0x022ac71c, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021f9a4, int n=0x0000001c, int na=0x0000001c, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021f9a4, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x022ac570, int throwflag=0x00000000) Line 2628 C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021fa64, int n=0x00000000, int na=0x00000000, int nk=0x00000000) Line 4090 C python33.dll!call_function(_object * * * pp_stack=0x0021fa64, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x02306030, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01819110, _object * globals=0x02306030, _object * locals=0x00000000, _object * * args=0x01c4774c, int argcount=0x00000005, _object * * kws=0x01c47760, int kwcount=0x00000001, _object * * defs=0x01ea562c, int defcount=0x00000003, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021fb80, int n=0x00000007, int na=0x00000005, int nk=0x00000001) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021fb80, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x01c475d0, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x017590c0, _object * globals=0x01c475d0, _object * locals=0x00000000, _object * * args=0x017a58ec, int argcount=0x00000005, _object * * kws=0x017a5900, int kwcount=0x00000004, _object * * defs=0x01e91774, int defcount=0x00000007, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021fc9c, int n=0x0000000d, int na=0x00000005, int nk=0x00000004) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021fc9c, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x017a5610, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01747980, _object * globals=0x017a5610, _object * locals=0x00000000, _object * * args=0x017ac1f0, int argcount=0x00000000, _object * * kws=0x017ac1f0, int kwcount=0x00000000, _object * * defs=0x01d79474, int defcount=0x00000017, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!fast_function(_object * func=0x00000000, _object * * * pp_stack=0x0021fdb8, int n=0x00000000, int na=0x00000000, int nk=0x00000000) Line 4102 + 0x39 bytes C python33.dll!call_function(_object * * * pp_stack=0x0021fdb8, int oparg=0x00000000) Line 4022 + 0x10 bytes C python33.dll!PyEval_EvalFrameEx(_frame * f=0x017ac0b0, int throwflag=0x00000000) Line 2628 C python33.dll!PyEval_EvalCodeEx(_object * _co=0x01819750, _object * globals=0x017ac0b0, _object * locals=0x013544b0, _object * * args=0x00000000, int argcount=0x00000000, _object * * kws=0x00000000, int kwcount=0x00000000, _object * * defs=0x00000000, int defcount=0x00000000, _object * kwdefs=0x00000000, _object * closure=0x00000000) Line 3376 + 0xc bytes C python33.dll!PyEval_EvalCode(_object * co=0x01819750, _object * globals=0x013544b0, _object * locals=0x013544b0) Line 776 + 0x24 bytes C python33.dll!run_mod(_mod * mod=0x018b6c20, const char * filename=0x00000000, _object * globals=0x013544b0, _object * locals=0x013544b0, PyCompilerFlags * flags=0x00000000, _arena * arena=0x00000000) Line 1814 + 0x11 bytes C python33.dll!PyRun_FileExFlags(_iobuf * fp=0x6e2a7408, const char * filename=0x01c04eb8, int start=0x00000101, _object * globals=0x013544b0, _object * locals=0x013544b0, int closeit=0x00000001, PyCompilerFlags * flags=0x0021ff08) Line 1771 C python33.dll!PyRun_SimpleFileExFlags(_iobuf * fp=0x6e2a7408, const char * filename=0x01c04eb8, int closeit=0x00000001, PyCompilerFlags * flags=0x0021ff08) Line 1288 + 0x18 bytes C python33.dll!PyRun_AnyFileExFlags(_iobuf * fp=0x6e2a7408, const char * filename=0x01c04eb8, int closeit=0x00000001, PyCompilerFlags * flags=0x0021ff08) Line 1055 + 0x11 bytes C python33.dll!run_file(_iobuf * fp=0x6e2a7408, const wchar_t * filename=0x01301b5a, PyCompilerFlags * p_cf=0x0021ff08) Line 299 + 0x18 bytes C python33.dll!Py_Main(int argc=0x00000007, unsigned short * * argv=0x01301b10) Line 693 + 0xf bytes C python.exe!__tmainCRTStartup() Line 583 + 0x17 bytes C kernel32.dll!76951114() [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll] ntdll.dll!76efb429() ntdll.dll!76efb3fc() |
|||
msg147343 - (view) | Author: STINNER Victor (vstinner) * | Date: 2011-11-09 09:19 | |
I may be related to recent changes on codecs. My following commit fixed a test_codecs crash, but there is maybe another bug. changeset: 73466:9042d71962d6 user: Victor Stinner <victor.stinner@haypocalc.com> date: Wed Nov 09 00:02:18 2011 +0100 files: Objects/unicodeobject.c description: Fix the code page decoder * unicode_decode_call_errorhandler() now supports the PyUnicode_WCHAR_KIND kind * unicode_decode_call_errorhandler() calls copy_characters() instead of PyUnicode_CopyCharacters() |
|||
msg147344 - (view) | Author: STINNER Victor (vstinner) * | Date: 2011-11-09 09:25 | |
The test doesn't crash on our Windows buildbots. Please try to update. If the problem does still exist, reopen the issue. |
|||
msg147345 - (view) | Author: Martin v. Löwis (loewis) * | Date: 2011-11-09 09:37 | |
Why was the change necessary? unicode_decode_call_errorhandler shouldn't be called with WSTR strings (i.e. it is only intended to support ready strings). |
|||
msg147346 - (view) | Author: STINNER Victor (vstinner) * | Date: 2011-11-09 09:49 | |
> Why was the change necessary? First because unicode_decode_call_errorhandler() was called with the wrong argument count: 1.90 - v, &outpos, &out)) 1.91 + v, &outpos)) decode_code_page_errors() calls MultiByteToWideChar() which expects a wchar_t* buffer. Compute the maximum character requires to decode the full string. I prefer to work on a wchar_t* string to only decode surrogate pairs and computer the maximum character once. decode_code_page_errors() can also be called on a substring of a longer string, decode_code_page_strict() can be called for the other part. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:57:23 | admin | set | github: 57586 |
2011-11-09 09:49:57 | vstinner | set | messages: + msg147346 |
2011-11-09 09:37:34 | loewis | set | messages: + msg147345 |
2011-11-09 09:25:15 | vstinner | set | status: open -> closed resolution: fixed messages: + msg147344 |
2011-11-09 09:19:16 | vstinner | set | nosy:
+ loewis, vstinner messages: + msg147343 |
2011-11-09 08:52:34 | vinay.sajip | set | messages: + msg147340 |
2011-11-09 08:44:00 | vinay.sajip | create |