Stefan Krah <stefan-use...@bytereef.org> added the comment:

I can still reproduce it in py3k just by hitting Ctrl-D in the interactive
interpreter:


$ valgrind --db-attach=yes --suppressions=Misc/valgrind-python.supp ./python 
==16724== Memcheck, a memory error detector
==16724== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==16724== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info
==16724== Command: ./python
==16724== 
Python 3.2a3+ (py3k:85735M, Oct 20 2010, 14:19:24) 
[GCC 4.2.4 (Ubuntu 4.2.4-3ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> 
==16724== Conditional jump or move depends on uninitialised value(s)
==16724==    at 0x4F4DB7: parsetok (parsetok.c:198)
==16724==    by 0x4F4B03: PyParser_ParseFileFlagsEx (parsetok.c:100)
==16724==    by 0x49C8FB: PyParser_ASTFromFile (pythonrun.c:1884)
==16724==    by 0x49AAC6: PyRun_InteractiveOneFlags (pythonrun.c:1124)
==16724==    by 0x49A7B8: PyRun_InteractiveLoopFlags (pythonrun.c:1035)
==16724==    by 0x49A677: PyRun_AnyFileExFlags (pythonrun.c:1004)
==16724==    by 0x4B1EDE: run_file (main.c:296)
==16724==    by 0x4B293E: Py_Main (main.c:681)
==16724==    by 0x417D6B: main (python.c:51)
==16724== 
==16724== 
==16724== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- y
==16724== starting debugger with cmd: /usr/bin/gdb -nw /proc/16725/fd/1014 16725
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Attaching to program: /proc/16725/fd/1014, process 16725
0x00000000004f4db7 in parsetok (tok=0x6c705d0, g=0x80bac0, start=256, 
err_ret=0x7fefffee0, flags=0x7feffff1c) at Parser/parsetok.c:198
198             if (a >= tok->line_start)
(gdb)

----------
nosy: +skrah
resolution: fixed -> 
status: closed -> open
versions: +Python 3.2 -Python 2.6, Python 3.0

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3367>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to