Karthikeyan Singaravelan <tir.kar...@gmail.com> added the comment:

Reproducible on latest 2.7 branch as well. Stack trace as below : 

Program received signal SIGSEGV, Segmentation fault.
dict_set_item_by_hash_or_entry (
    op={'code': <code at remote 0x10059cc30>, 'ast': <module at remote 
0x1005ab868>, '__builtins__': <module at remote 0x10023db08>, '__file__': 
'../backups/bpo24828.py', 'm': <Module(body=[<Expr(lineno=1, 
value=<Name(ctx=<Store at remote 0x1005a5f10>, id='foo', col_offset=0, 
lineno=1) at remote 0x1005c2790>, col_offset=0) at remote 0x1005c27d0>]) at 
remote 0x1005c2810>, '__package__': None, '__name__': '__main__', '__doc__': 
None}, key=<optimized out>, hash=<optimized out>,
    value=<optimized out>, ep=<optimized out>) at Objects/dictobject.c:792
792         Py_INCREF(value);
(gdb) bt
#0  dict_set_item_by_hash_or_entry (op={'code': <code at remote 0x10059cc30>, 
'ast': <module at remote 0x1005ab868>, '__builtins__': <module at remote 
0x10023db08>, '__file__': '../backups/bpo24828.py', 'm': 
<Module(body=[<Expr(lineno=1, value=<Name(ctx=<Store at remote 0x1005a5f10>, 
id='foo', col_offset=0, lineno=1) at remote 0x1005c2790>, col_offset=0) at 
remote 0x1005c27d0>]) at remote 0x1005c2810>, '__package__': None, '__name__': 
'__main__', '__doc__': None}, key=<optimized out>, hash=<optimized out>, 
value=<optimized out>, ep=<optimized out>) at Objects/dictobject.c:792
#1  PyDict_SetItem (op={'code': <code at remote 0x10059cc30>, 'ast': <module at 
remote 0x1005ab868>, '__builtins__': <module at remote 0x10023db08>, 
'__file__': '../backups/bpo24828.py', 'm': <Module(body=[<Expr(lineno=1, 
value=<Name(ctx=<Store at remote 0x1005a5f10>, id='foo', col_offset=0, 
lineno=1) at remote 0x1005c2790>, col_offset=0) at remote 0x1005c27d0>]) at 
remote 0x1005c2810>, '__package__': None, '__name__': '__main__', '__doc__': 
None}, key='foo', value=0x0) at Objects/dictobject.c:848
#2  0x00000001000ab62e in PyEval_EvalFrameEx (f=<unknown at remote 0x8>, 
throwflag=<optimized out>) at Python/ceval.c:2186
#3  0x00000001000a735a in PyEval_EvalCodeEx (co=<optimized out>, 
globals=<optimized out>, locals=<optimized out>, args=0x0, argcount=<optimized 
out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, 
defcount=<optimized out>, closure=<optimized out>) at Python/ceval.c:3604
#4  0x00000001000a6cb6 in PyEval_EvalCode (co=0x100293168, globals='foo', 
locals=0x0) at Python/ceval.c:669
#5  0x00000001000a302a in builtin_eval (self={'code': <code at remote 
0x10059cc30>, 'ast': <module at remote 0x1005ab868>, '__builtins__': <module at 
remote 0x10023db08>, '__file__': '../backups/bpo24828.py', 'm': 
<Module(body=[<Expr(lineno=1, value=<Name(ctx=<Store at remote 0x1005a5f10>, 
id='foo', col_offset=0, lineno=1) at remote 0x1005c2790>, col_offset=0) at 
remote 0x1005c27d0>]) at remote 0x1005c2810>, '__package__': None, '__name__': 
'__main__', '__doc__': None}, args=<optimized out>) at Python/bltinmodule.c:679
#6  0x00000001000ae8a7 in call_function (oparg=<optimized out>, 
pp_stack=<optimized out>) at Python/ceval.c:4372
#7  PyEval_EvalFrameEx (f=Frame 0x1002d4bc0, for file ../backups/bpo24828.py, 
line 7, in <module> (), throwflag=<optimized out>) at Python/ceval.c:3009
#8  0x00000001000a735a in PyEval_EvalCodeEx (co=<optimized out>, 
globals=<optimized out>, locals=<optimized out>, args=0x0, argcount=<optimized 
out>, kws=<optimized out>, kwcount=<optimized out>, defs=0x0, 
defcount=<optimized out>, closure=<optimized out>) at Python/ceval.c:3604
#9  0x00000001000a6cb6 in PyEval_EvalCode (co=0x100293168, globals='foo', 
locals=0x0) at Python/ceval.c:669
#10 0x00000001000d4de4 in run_mod (mod=<optimized out>, filename=<optimized 
out>, globals={'code': <code at remote 0x10059cc30>, 'ast': <module at remote 
0x1005ab868>, '__builtins__': <module at remote 0x10023db08>, '__file__': 
'../backups/bpo24828.py', 'm': <Module(body=[<Expr(lineno=1, 
value=<Name(ctx=<Store at remote 0x1005a5f10>, id='foo', col_offset=0, 
lineno=1) at remote 0x1005c2790>, col_offset=0) at remote 0x1005c27d0>]) at 
remote 0x1005c2810>, '__package__': None, '__name__': '__main__', '__doc__': 
None}, locals={'code': <code at remote 0x10059cc30>, 'ast': <module at remote 
0x1005ab868>, '__builtins__': <module at remote 0x10023db08>, '__file__': 
'../backups/bpo24828.py', 'm': <Module(body=[<Expr(lineno=1, 
value=<Name(ctx=<Store at remote 0x1005a5f10>, id='foo', col_offset=0, 
lineno=1) at remote 0x1005c2790>, col_offset=0) at remote 0x1005c27d0>]) at 
remote 0x1005c2810>, '__package__': None, '__name__': '__main__', '__doc__': 
None}, flags=<optimized out>, arena=<optimized o
 ut>) at Python/pythonrun.c:1385
#11 PyRun_FileExFlags (fp=<optimized out>, filename=<optimized out>, 
start=<optimized out>, globals={'code': <code at remote 0x10059cc30>, 'ast': 
<module at remote 0x1005ab868>, '__builtins__': <module at remote 0x10023db08>, 
'__file__': '../backups/bpo24828.py', 'm': <Module(body=[<Expr(lineno=1, 
value=<Name(ctx=<Store at remote 0x1005a5f10>, id='foo', col_offset=0, 
lineno=1) at remote 0x1005c2790>, col_offset=0) at remote 0x1005c27d0>]) at 
remote 0x1005c2810>, '__package__': None, '__name__': '__main__', '__doc__': 
None}, locals={'code': <code at remote 0x10059cc30>, 'ast': <module at remote 
0x1005ab868>, '__builtins__': <module at remote 0x10023db08>, '__file__': 
'../backups/bpo24828.py', 'm': <Module(body=[<Expr(lineno=1, 
value=<Name(ctx=<Store at remote 0x1005a5f10>, id='foo', col_offset=0, 
lineno=1) at remote 0x1005c2790>, col_offset=0) at remote 0x1005c27d0>]) at 
remote 0x1005c2810>, '__package__': None, '__name__': '__main__', '__doc__': 
None}, closeit=1, flags=<optimized out
 >) at Python/pythonrun.c:1371
#12 0x00000001000d491a in PyRun_SimpleFileExFlags (fp=0x7fff71bec070, 
filename=0xc6079cb3d3de86bb <error: Cannot access memory at address 
0xc6079cb3d3de86bb>, closeit=8, flags=0x7fff5fbffa70) at Python/pythonrun.c:957
#13 0x00000001000ea8f2 in Py_Main (argc=<optimized out>, argv=<optimized out>) 
at Modules/main.c:645
#14 0x00007fff8b5055c9 in start () from /usr/lib/system/libdyld.dylib
#15 0x00007fff8b5055c9 in start () from /usr/lib/system/libdyld.dylib
#16 0x0000000000000000 in ?? ()


Adding Benjamin since he is the 2.7 release manager and it's something specific 
to 2.7.


Thanks

----------
nosy: +benjamin.peterson

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

Reply via email to