[Python-Dev] crash in dict on gc collect (original) (raw)
Neal Norwitz nnorwitz at gmail.com
Tue Jun 13 10:43:38 CEST 2006
- Previous message: [Python-Dev] crash in dict on gc collect
- Next message: [Python-Dev] sgmllib Comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 6/13/06, Thomas Wouters <thomas at python.org> wrote:
The source fo the crash is the EncodingMap type (defined in unicodeobject.c); it has an invalid type: Breakpoint 2, PyUnicodeBuildEncodingMap (string=0x2b97d44dbf40) at Objects/unicodeobject.c:3213 (gdb) print EncodingMapType $1 = {obnext = 0x0, obprev = 0x0, obrefcnt = 1, obtype = 0x0, obsize = 0, tpname = 0x53d15a "EncodingMap", tpbasicsize = 80, [...] Did someone forget a PyTypeReady() call when EncodingMap was added? (And what other types are missing PyTypeReady() calls? :)
Ya, read your mail, you're behind. I already checked in the fix (and later the test). :-) I didn't see any other missing PyType_Ready() calls in unicodeobject.c. But I don't know if other types were added at the NFS sprint. Hmmm, exceptions and struct? Heading off to look.
n
- Previous message: [Python-Dev] crash in dict on gc collect
- Next message: [Python-Dev] sgmllib Comments
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]