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 anthonypjshaw
Recipients anthonypjshaw, atalaba, serhiy.storchaka, vstinner
Date 2019-05-06.22:53:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557183192.53.0.710934728949.issue36819@roundup.psfhosted.org>
In-reply-to
Content
Easily reproduced on master, thanks

(lldb) run encode_crash.py
Process 14743 launched: '/Users/anthonyshaw/repo/cpython/python.exe' (x86_64)
Objects/unicodeobject.c:448: _PyUnicode_CheckConsistency: Assertion "((((((PyObject*)(op))->ob_type))->tp_flags & ((1UL << 28))) != 0)" failed
Enable tracemalloc to get the memory block allocation traceback

object  : Process 14743 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
    frame #0: 0x00000001000b5c15 python.exe`PyObject_Repr(v=0x0000000101376f90) at object.c:535:11
   532 	       infinitely. */
   533 	    if (Py_EnterRecursiveCall(" while getting the repr of an object"))
   534 	        return NULL;
-> 535 	    res = (*v->ob_type->tp_repr)(v);
   536 	    Py_LeaveRecursiveCall();
   537 	    if (res == NULL)
   538 	        return NULL;
History
Date User Action Args
2019-05-06 22:53:12anthonypjshawsetrecipients: + anthonypjshaw, vstinner, serhiy.storchaka, atalaba
2019-05-06 22:53:12anthonypjshawsetmessageid: <1557183192.53.0.710934728949.issue36819@roundup.psfhosted.org>
2019-05-06 22:53:12anthonypjshawlinkissue36819 messages
2019-05-06 22:53:12anthonypjshawcreate