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.

Author pkt
Recipients pkt
Date 2015-05-01.14:12:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430489575.51.0.442803283693.issue24101@psf.upfronthosting.co.za>
In-reply-to
Content
# Breakpoint 1, _siftup (heap=0x4056b344, pos=65534) at /home/p/Python-3.4.1/Modules/_heapqmodule.c:121
# warning: Source file is more recent than executable.
# 121         Py_DECREF(PyList_GET_ITEM(heap, pos));
# (gdb) print *heap->ob_item[pos]
# $1 = {_ob_next = 0x41812058, _ob_prev = 0x831159c <refchain>, ob_refcnt = 1, ob_type = 0x4058fd1c}
# (gdb) n
# 122         PyList_SET_ITEM(heap, pos, newitem);
# (gdb) print *heap->ob_item[pos]
# Cannot access memory at address 0x3fff8
# (gdb) print *heap
# $2 = {ob_base = {ob_base = {_ob_next = 0x4059c0b4, _ob_prev = 0x405903b4, ob_refcnt = 2, ob_type = 0x830e1c0 <PyList_Type>}, 
#       ob_size = 0}, ob_item = 0x0, allocated = 0}
# (gdb) n
# 
# Program received signal SIGSEGV, Segmentation fault.
# 0x4002f150 in _siftup (heap=0x4056b344, pos=65534) at /home/p/Python-3.4.1/Modules/_heapqmodule.c:122
# 122         PyList_SET_ITEM(heap, pos, newitem);
History
Date User Action Args
2015-05-01 14:12:55pktsetrecipients: + pkt
2015-05-01 14:12:55pktsetmessageid: <1430489575.51.0.442803283693.issue24101@psf.upfronthosting.co.za>
2015-05-01 14:12:55pktlinkissue24101 messages
2015-05-01 14:12:55pktcreate