[Python-Dev] crash in dict on gc collect
Neal Norwitz
nnorwitz at gmail.com
Tue Jun 13 10:43:38 CEST 2006
More information about the Python-Dev mailing list
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, PyUnicode_BuildEncodingMap (string=0x2b97d44dbf40) > at Objects/unicodeobject.c:3213 > (gdb) print EncodingMapType > $1 = {_ob_next = 0x0, _ob_prev = 0x0, ob_refcnt = 1, ob_type = 0x0, > ob_size = 0, tp_name = 0x53d15a "EncodingMap", tp_basicsize = 80, > [...] > > Did someone forget a PyType_Ready() call when EncodingMap was added? (And > what other types are missing PyType_Ready() 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 ]
More information about the Python-Dev mailing list