[Python-Dev] test_subprocess and sparc buildbots
Daniel (ajax) Diniz
ajaksu at gmail.com
Wed Dec 31 04:41:41 CET 2008
Alexandre Vassalotti wrote:
> The logs of failing test runs all shows the same error message:
>
> [31481 refs]
> * ob
> object : <refcnt 0 at 0x3a97728>
> type : str
> refcount: 0
> address : 0x3a97728
> * op->_ob_prev->_ob_next
> object : <refcnt 0 at 0x3a97728>
> type : str
> refcount: 0
> address : 0x3a97728
> * op->_ob_next->_ob_prev
> object : [31776 refs]
A reliable way to get that in a --with-pydebug build seems to be:
~/py3k$ ./python -c "import locale; locale.format_string(1,1)"
* ob
object : <refcnt 0 at 0x825c76c>
type : tuple
refcount: 0
address : 0x825c76c
* op->_ob_prev->_ob_next
NULL
* op->_ob_next->_ob_prev
object : <refcnt 0 at 0x825c76c>
type : tuple
refcount: 0
address : 0x825c76c
Fatal Python error: UNREF invalid object
TypeError: expected string or buffer
Aborted
Found using Fusil in a very quick run on top of:
Python 3.1a0 (py3k:68055M, Dec 31 2008, 01:34:52)
[GCC 4.2.4 (Ubuntu 4.2.4-1ubuntu3)] on linux2
So kudos to Victor again :)
HTH,
Daniel
More information about the Python-Dev
mailing list