[New-bugs-announce] [issue13130] test_gdb: attempt to dereference a generic pointer

Stefan Krah report at bugs.python.org
Sat Oct 8 08:54:37 CEST 2011


New submission from Stefan Krah <stefan-usenet at bytereef.org>:

The Fedora bot fails since yesterday:


Breakpoint 1, builtin_id (self=<module at remote 0x7ffff7f6fc90>, v=Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1329, in to_string
    return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 213, in get_truncated_repr
    self.write_repr(out, set())
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1199, in write_repr
    proxy = self.proxyval(visited)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1166, in proxyval
    Py_UNICODEs = [int(field_str[i]) for i in safe_range(field_length)]
RuntimeError: Attempt to dereference a generic pointer.
) at Python/bltinmodule.c:927
927	    return PyLong_FromVoidPtr(v);
#0  builtin_id (self=<module at remote 0x7ffff7f6fc90>, v=Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1329, in to_string
    return pyop.get_truncated_repr(MAX_OUTPUT_LEN)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 213, in get_truncated_repr
    self.write_repr(out, set())
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1199, in write_repr
    proxy = self.proxyval(visited)
  File "/home/buildbot/buildarea/3.x.krah-fedora/build/python-gdb.py", line 1166, in proxyval
    Py_UNICODEs = [int(field_str[i]) for i in safe_range(field_length)]
RuntimeError: Attempt to dereference a generic pointer.
) at Python/bltinmodule.c:927
#1  0x00000000004b667f in call_function (pp_stack=0x7fffffffd6e8, oparg=1) at Python/ceval.c:3988
#2  0x00000000004b0787 in PyEval_EvalFrameEx (f=Frame 0x7ffff7f409c0, for file <string>, line 1, in <module> (), throwflag=0) at Python/ceval.c:2625
#3  0x00000000004b44ca in PyEval_EvalCodeEx (_co=<code at remote 0x7ffff7f3c880>, globals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at Python/ceval.c:3375
#4  0x00000000004a4668 in PyEval_EvalCode (co=<code at remote 0x7ffff7f3c880>, globals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}) at Python/ceval.c:770
#5  0x00000000004edc20 in run_mod (mod=0x9b0560, filename=0x619622 "<string>", globals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=0x7fffffffe3c0, arena=0x92e070) at Python/pythonrun.c:1795
#6  0x00000000004ed91e in PyRun_StringFlags (str=0x7ffff10e1418 "id('\\U0001d121')\n", start=257, globals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, locals={'__builtins__': <module at remote 0x7ffff7f6fc90>, '__name__': '__main__', '__doc__': None, '__package__': None}, flags=0x7fffffffe3c0) at Python/pythonrun.c:1729
#7  0x00000000004ebfb6 in PyRun_SimpleStringFlags (command=0x7ffff10e1418 "id('\\U0001d121')\n", flags=0x7fffffffe3c0) at Python/pythonrun.c:1302
#8  0x000000000050b41f in run_command (command=0x8e0500 L"id('\\U0001d121')\n", cf=0x7fffffffe3c0) at Modules/main.c:260
#9  0x000000000050bf70 in Py_Main (argc=4, argv=0x7ffff7faf040) at Modules/main.c:634
#10 0x0000000000416e97 in main (argc=4, argv=0x7fffffffe5a8) at ./Modules/python.c:59

----------
components: Tests
messages: 145161
nosy: haypo, loewis, skrah
priority: normal
severity: normal
stage: needs patch
status: open
title: test_gdb: attempt to dereference a generic pointer
type: behavior
versions: Python 3.3

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


More information about the New-bugs-announce mailing list