A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-April/063598.html below:

[Python-Dev] pdb segfaults in 2.5 trunk?

[Python-Dev] pdb segfaults in 2.5 trunk? [Python-Dev] pdb segfaults in 2.5 trunk?Neal Norwitz nnorwitz at gmail.com
Mon Apr 10 22:44:10 CEST 2006
On 4/10/06, Phillip J. Eby <pje at telecommunity.com> wrote:
>
> It appears the problem is an object/mem mismatch: both PyOS_Readline in
> pgenmain.c, and PyOS_StdioReadline use PyObject_MALLOC, but bltinmodule.c
> is freeing the pointer with PyMem_FREE.

This (Readline using PyObject) was due to my recent change to fix
Guido's problem last night.
I didn't realize anything seeped out.  All calls to PyOS_StdioReadline
would need to be updated. I can do that tonight.  Hmm, that means this
will be an API change.  I wonder if I should revert my fix and just
deal with a second alloc and copy of the data to fix Guido's original
problem.

n
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4