NetBSD Problem Report #43239

From www@NetBSD.org  Sun May  2 21:34:58 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 5A02563BA59
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  2 May 2010 21:34:58 +0000 (UTC)
Message-Id: <20100502213457.A628C63B8FE@www.NetBSD.org>
Date: Sun,  2 May 2010 21:34:57 +0000 (UTC)
From: dhgutteridge@sympatico.ca
Reply-To: dhgutteridge@sympatico.ca
To: gnats-bugs@NetBSD.org
Subject: lang/python26 dumps core during "make test" after upgrade to 2.6.5
X-Send-Pr-Version: www-1.0

>Number:         43239
>Category:       pkg
>Synopsis:       lang/python26 dumps core during "make test" after upgrade to 2.6.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 02 21:35:00 +0000 2010
>Last-Modified:  Sat Jul 03 20:45:01 +0000 2010
>Originator:     David H. Gutteridge
>Release:        5.1_RC1
>Organization:
>Environment:
NetBSD arcusvii.nonus-porta.net 5.1_RC1 NetBSD 5.1_RC1 (ARCUSVII) #19: Sat Apr 24 12:32:12 EDT 2010  disciple@arcusvii.nonus-porta.net:/home/disciple/netbsd-5/usr/src/sys/arch/i386/compile/obj/ARCUSVII i386

>Description:
After lang/python26 was bumped to 2.6.5, "make test" yields a
segmentation fault during the pyexpat test.

Test output excerpt:

test_pyexpat
[1]   Segmentation fault (core dumped) LD_LIBRARY_PATH=...
*** Error code 139 (ignored)
LD_LIBRARY_PATH=/home/disciple/pkgsrc/lang/python26/work/Python-2.6.5: ./python -E -tt ./Lib/test/regrtest.py -l

This is the backtrace:

Program terminated with signal 11, Segmentation fault.
#0  0xbbaccc38 in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
(gdb) bt
#0  0xbbaccc38 in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#1  0xbbb538da in PyEval_CallObjectWithKeywords ()
   from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#2  0xb9780c93 in call_with_frame () from /usr/pkg/lib/python2.6/site-packages/pyexpat.so
#3  0xb9780eec in call_character_handler () from /usr/pkg/lib/python2.6/site-packages/pyexpat.so
#4  0xb9766f29 in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
#5  0xb9767f05 in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
#6  0xb97692cc in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
#7  0xb9769de2 in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
#8  0xb976156f in XML_ParseBuffer () from /usr/X11R7/lib/libexpat.so.1
#9  0xb9763642 in XML_Parse () from /usr/X11R7/lib/libexpat.so.1
#10 0xb9783d17 in xmlparse_Parse () from /usr/pkg/lib/python2.6/site-packages/pyexpat.so
#11 0xbbb047a0 in PyCFunction_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#12 0xbbb58fe1 in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#13 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#14 0xbbb58eee in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#15 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#16 0xbbb58eee in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#17 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#18 0xbbaf3a35 in function_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#19 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#20 0xbbb5620f in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#21 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#22 0xbbaf3968 in function_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#23 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#24 0xbbadb368 in instancemethod_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#25 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#26 0xbbb20830 in slot_tp_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#27 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#28 0xbbb56a4b in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#29 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#30 0xbbaf3a35 in function_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#31 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#32 0xbbb5620f in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#33 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#34 0xbbaf3968 in function_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#35 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#36 0xbbadb368 in instancemethod_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#37 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#38 0xbbb20830 in slot_tp_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#39 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#40 0xbbb56a4b in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#41 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#42 0xbbaf3a35 in function_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#43 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#44 0xbbb5620f in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#45 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#46 0xbbaf3968 in function_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#47 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#48 0xbbadb368 in instancemethod_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#49 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#50 0xbbb20830 in slot_tp_call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#51 0xbbaccc6e in PyObject_Call () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#52 0xbbb56a4b in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#53 0xbbb5974e in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#54 0xbbb5974e in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#55 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#56 0xbbb58eee in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#57 0xbbb5974e in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#58 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#59 0xbbb58eee in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#60 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#61 0xbbb58eee in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#62 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#63 0xbbb58eee in PyEval_EvalFrameEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#64 0xbbb5ab78 in PyEval_EvalCodeEx () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#65 0xbbb5abc2 in PyEval_EvalCode () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#66 0xbbb72c62 in run_mod () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#67 0xbbb72d05 in PyRun_FileExFlags () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#68 0xbbb742f4 in PyRun_SimpleFileExFlags () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#69 0xbbb749f5 in PyRun_AnyFileExFlags () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#70 0xbbb7ffed in Py_Main () from /home/disciple/pkgsrc/lang/python26/work/Python-2.6.5/libpython2.6.so.1.0
#71 0x080487e9 in main ()

>How-To-Repeat:
make
make test

>Fix:
Unknown.

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after
	upgrade to 2.6.5
Date: Mon, 3 May 2010 00:55:04 +0000

 On Sun, May 02, 2010 at 09:35:01PM +0000, dhgutteridge@sympatico.ca wrote:
  > After lang/python26 was bumped to 2.6.5, "make test" yields a
  > segmentation fault during the pyexpat test.

 Clearly it shouldn't dump core. But, isn't pyexpat built as a separate
 package?

 -- 
 David A. Holland
 dholland@netbsd.org

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Sun, 2 May 2010 23:54:40 -0400

 On May 2, 2010 9:00:07 PM EDT, David Holland wrote:
 >On Sun, May 02, 2010 at 09:35:01PM +0000, dhgutteridge@sympatico.ca wrote:
 >>After lang/python26 was bumped to 2.6.5, "make test" yields a
 >>segmentation fault during the pyexpat test.
 >
 >Clearly it shouldn't dump core. But, isn't pyexpat built as a separate
 >package?

 Yes, there's a separate package for pyexpat, but apparently it gets
 built as part of the standard Python modules, so it's included in the
 default test coverage.  I'm using pyexpat so I haven't risked
 installing 2.6.5 and rebuilding pyexpat to see if the separate package
 is similarly affected.  (But I can try testing this tomorrow in a VM
 image.)

 Dave

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after
	upgrade to 2.6.5
Date: Mon, 3 May 2010 04:50:46 +0000

 On Mon, May 03, 2010 at 03:55:02AM +0000, David H. Gutteridge wrote:
  >> Clearly it shouldn't dump core. But, isn't pyexpat built as a separate
  >> package?
  >  
  > Yes, there's a separate package for pyexpat, but apparently it gets
  > built as part of the standard Python modules, so it's included in the
  > default test coverage.

 That may be a bug... the impression I have is that it's supposed to be
 disabled.

  > I'm using pyexpat so I haven't risked installing 2.6.5 and
  > rebuilding pyexpat to see if the separate package is similarly
  > affected.  (But I can try testing this tomorrow in a VM image.)

 I can test it (though on amd64) if you tell me what to do...

 -- 
 David A. Holland
 dholland@netbsd.org

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Mon, 3 May 2010 22:40:27 -0400

 On 2010-05-03, at 12:55 AM, David Holland wrote:
 >>>Clearly it shouldn't dump core. But, isn't pyexpat built as a separate
 >>>package?
 >>
 >>Yes, there's a separate package for pyexpat, but apparently it gets
 >>built as part of the standard Python modules, so it's included in the
 >>default test coverage.
 >
 >That may be a bug... the impression I have is that it's supposed to be
 >disabled.

 When the package was modified to exclude pyexpat from the build, the
 test suite coverage wasn't correspondingly altered, so when the test
 runs, it tries to access a module that doesn't exist.  (It turns out
 that issue has nothing to do with the upgrade to 2.6.5, nor to the
 other expat issues surrounding changes to mk/buildlink3/find-files.mk.)

 I'm not sure if this is the "pkgsrc way" to do this, but my patch
 below fixes the test coverage mismatch.  (Alternately we could patch
 the Python make file.  My way was faster to test.)

 --- Makefile.old        2010-05-02 14:28:54.000000000 -0400
 +++ Makefile    2010-05-03 20:21:26.000000000 -0400
 @@ -144,6 +145,7 @@
  PLIST_SUBST+=  PY_VER_SUFFIX=${PY_VER_SUFFIX:Q}

  TEST_TARGET=   test
 +MAKEFLAGS+=    EXTRATESTOPTS="-x test_pyexpat"
  INSTALL_TARGET=        altinstall

  REPLACE_INTERPRETER+=  py26

 >>I'm using pyexpat so I haven't risked installing 2.6.5 and
 >>rebuilding pyexpat to see if the separate package is similarly
 >>affected.  (But I can try testing this tomorrow in a VM image.)
 >
 >I can test it (though on amd64) if you tell me what to do...

 My test that the pyexpat (or py-expat, to pkgsrc) module works was
 simply the part of the coverage suite that was failing
 (Lib/test/test_pyexpat.py).  (Well, that and some code of mine that
 uses pyexpat, but the test that Python provides is far more thorough.)
 I got optimistic, went ahead and upgraded to 2.6.5 and rebuilt
 py26-expat as well, and test_pyexpat.py is causing the interpreter to
 seg fault.  I think this is a separate issue...  I'm continuing to
 test at my end.

 Dave

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Mon, 3 May 2010 23:39:10 -0400

 >When the package was modified to exclude pyexpat from the build, the
 >test suite coverage wasn't correspondingly altered, so when the test
 >runs, it tries to access a module that doesn't exist.

 I should add, unless the module in question exists elsewhere because it
 was built previously.  The module isn't built in the python26 package,
 so it shouldn't be tested, true, but the test was finding the pre-
 existing pyexpat package in my environment and making use of it.  (So
 the path to search for modules needs to be sanitized too, for testing.)

 I tested before and after situations with a VM image of 5.99.27/amd64.
 If I test with 2.6.4 and py26-expat from a vintage of several months
 ago, test_pyexpat.py works as expected.

 test_ordered_attributes (__main__.SetAttributeTest) ... ok
 test_returns_unicode (__main__.SetAttributeTest) ... ok
 test_specified_attributes (__main__.SetAttributeTest) ... ok
 test_parse_file (__main__.ParseTest) ... ok
 test_unicode (__main__.ParseTest) ... ok
 test_utf8 (__main__.ParseTest) ... ok
 test_illegal (__main__.NamespaceSeparatorTest) ... ok
 test_legal (__main__.NamespaceSeparatorTest) ... ok
 test_zero_length (__main__.NamespaceSeparatorTest) ... ok
 test (__main__.InterningTest) ... ok
 test1 (__main__.BufferTextTest) ... ok
 test2 (__main__.BufferTextTest) ... ok
 test3 (__main__.BufferTextTest) ... ok
 test4 (__main__.BufferTextTest) ... ok
 test5 (__main__.BufferTextTest) ... ok
 test6 (__main__.BufferTextTest) ... ok
 test7 (__main__.BufferTextTest) ... ok
 test_buffering_enabled (__main__.BufferTextTest) ... ok
 test_default_to_disabled (__main__.BufferTextTest) ... ok
 test (__main__.HandlerExceptionTest) ... ok
 test (__main__.PositionTest) ... ok
 test_parse_only_xml_data (__main__.sf1296433Test) ... ok
 test_1000_bytes (__main__.ChardataBufferTest) ... ok
 test_1025_bytes (__main__.ChardataBufferTest) ... ok
 test_change_size_1 (__main__.ChardataBufferTest) ... ok
 test_change_size_2 (__main__.ChardataBufferTest) ... ok
 test_disabling_buffer (__main__.ChardataBufferTest) ... ok
 test_unchanged_size (__main__.ChardataBufferTest) ... ok
 test_wrong_size (__main__.ChardataBufferTest) ... ok
 test1 (__main__.MalformedInputText) ... ok
 test2 (__main__.MalformedInputText) ... ok

 ----------------------------------------------------------------------
 Ran 31 tests in 0.007s

 OK

 If I test with 2.6.5 and py26-expat from today's pkgsrc, I end up with
 a crash.

 test_ordered_attributes (__main__.SetAttributeTest) ... ok
 test_returns_unicode (__main__.SetAttributeTest) ... ok
 test_specified_attributes (__main__.SetAttributeTest) ... ok
 test_parse_file (__main__.ParseTest) ... ok
 test_unicode (__main__.ParseTest) ... ok
 test_utf8 (__main__.ParseTest) ... ok
 test_illegal (__main__.NamespaceSeparatorTest) ... ok
 test_legal (__main__.NamespaceSeparatorTest) ... ok
 test_zero_length (__main__.NamespaceSeparatorTest) ... ok
 test (__main__.InterningTest) ... ok
 test1 (__main__.BufferTextTest) ... ok
 test2 (__main__.BufferTextTest) ... ok
 test3 (__main__.BufferTextTest) ... ok
 test4 (__main__.BufferTextTest) ... ok
 test5 (__main__.BufferTextTest) ... ok
 test6 (__main__.BufferTextTest) ... ok
 test7 (__main__.BufferTextTest) ... ok
 test_buffering_enabled (__main__.BufferTextTest) ... ok
 test_default_to_disabled (__main__.BufferTextTest) ... ok
 test (__main__.HandlerExceptionTest) ... ok
 test (__main__.PositionTest) ... ok
 test_parse_only_xml_data (__main__.sf1296433Test) ... Memory fault (core =
 dumped)=20

 Steps to reproduce:

 -Build lang/python26.
 -Build textproc/py-expat.
 -Run the test_pyexpat.py test.  (It's installed in =
 pkg/lib/python2.6/test/.)

 I'm seeing this with both 5.1_RC1/i386 and 5.99.27/amd64.

 Dave=

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after
 upgrade to 2.6.5
Date: Wed, 5 May 2010 00:18:34 +0200

 On Tue, May 04, 2010 at 03:40:02AM +0000, David H. Gutteridge wrote:
 >  I tested before and after situations with a VM image of 5.99.27/amd64.
 >  If I test with 2.6.4 and py26-expat from a vintage of several months
 >  ago, test_pyexpat.py works as expected.

 There was a bug in mk/buildlink3 for a few days (04/28 to 05/03)
 during which time all expat dependencies were broken in not directly
 visible ways, if you were using native X (X from /usr/X11R/7).

 Please try rebuilding all the packages you're testing here (i.e.
 python26 and py-expat and their dependencies) from source.
  Thomas

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Tue, 4 May 2010 21:52:38 -0400

 On Tue, May 4, 2010, at 6:20:03 PM EDT, Thomas Klausner wrote:
 >On Tue, May 04, 2010 at 03:40:02AM +0000, David H. Gutteridge wrote:
 >>I tested before and after situations with a VM image of 5.99.27/amd64.
 >>If I test with 2.6.4 and py26-expat from a vintage of several months
 >>ago, test_pyexpat.py works as expected.
 >
 >There was a bug in mk/buildlink3 for a few days (04/28 to 05/03)
 >during which time all expat dependencies were broken in not directly
 >visible ways, if you were using native X (X from /usr/X11R/7).
 >
 >Please try rebuilding all the packages you're testing here (i.e.
 >python26 and py-expat and their dependencies) from source.

 I noticed that after I first reported the bug, and I tested with
 various versions of find-file.mk, and there's no difference.  I just
 updated my pkgsrc tree again and rebuilt things, and there's still no
 difference, the test_pyexpat.py code still triggers a segmentation
 fault for me.

 Dave

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after
 upgrade to 2.6.5
Date: Sat, 8 May 2010 15:23:27 +0200

 On Wed, May 05, 2010 at 01:55:02AM +0000, David H. Gutteridge wrote:
 >  >Please try rebuilding all the packages you're testing here (i.e.
 >  >python26 and py-expat and their dependencies) from source.
 >  
 >  I noticed that after I first reported the bug, and I tested with
 >  various versions of find-file.mk, and there's no difference.  I just
 >  updated my pkgsrc tree again and rebuilt things, and there's still no
 >  difference, the test_pyexpat.py code still triggers a segmentation
 >  fault for me.

 Not to annoy you but just to make it absolutely sure: Did you rebuild
 all needed packages with latest find-* from source? (not only the one
 you're interested in)

 Binary packages built with the wrong find-* may have problems that
 don't appear directly.
  Thomas

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Sun, 9 May 2010 23:39:31 -0400

 On May 8, 2010, at 9:25:02 AM EDT, Thomas Klausner wrote:
 >Not to annoy you but just to make it absolutely sure: Did you rebuild
 >all needed packages with latest find-* from source? (not only the one
 >you're interested in)
 >
 >Binary packages built with the wrong find-* may have problems that
 >don't appear directly.

 Yes, I rebuilt from source, with all the latest find-* files, I just
 did a general "cvs update -dP" at the root of the pkgsrc tree first.  I
 tested separately with different revisions of find-files.mk just to see
 if any of them fixed the problem.

 I just retested again on a different machine that was "clean": it had
 no pkgsrc packages installed on it whatsoever, just the base NetBSD
 distribution.  With pkgsrc source from a couple of hours ago, I can
 duplicate this problem.

 Regards,

 Dave

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Sat, 3 Jul 2010 16:28:53 -0400

 Hello,

 I haven't had time to look into this in much detail, but I did get a
 trace from a debug build of Python, which is attached below.  It looks
 like a null function pointer is being passed up the call stack, which
 leads to the segmentation fault.  =46rom what I understand, pyexpat sets
 all handler function references to null when it encounters some kinds
 of errors.[1]  Expat was subsequently fixed to deal with the original
 error the Python regression test in question is checking for.  It seems
 either something has been "unfixed" or I'm encountering a new failure
 path.

 1. =
 http://sourceforge.net/tracker/index.php?func=3Ddetail&aid=3D1515266&group=
 _id=3D10127&atid=3D110127

 Dave

 Program terminated with signal 11, Segmentation fault.
 #0  0xbba4518b in PyObject_Call (func=3D0x0, arg=3D0xbb49ef14, kw=3D0x0) =
 at Objects/abstract.c:2488
 2488            if ((call =3D func->ob_type->tp_call) !=3D NULL) {
 (gdb) bt full
 #0  0xbba4518b in PyObject_Call (func=3D0x0, arg=3D0xbb49ef14, kw=3D0x0) =
 at Objects/abstract.c:2488
         call =3D (ternaryfunc) 0xbba7c404 <PyFrame_New+702>
 #1  0xbbb2cca0 in PyEval_CallObjectWithKeywords (func=3D0x0, =
 arg=3D0xbb49ef14, kw=3D0x0) at Python/ceval.c:3619
         result =3D (PyObject *) 0xbb76afe8
 #2  0xbb8c33fb in call_with_frame (c=3D0xbb414da8, func=3D0x0, =
 args=3D0xbb49ef14, self=3D0xbb440714) at Modules/pyexpat.c:396
         tstate =3D (PyThreadState *) 0xbb704080
         f =3D (PyFrameObject *) 0xbb76aff4
         res =3D (PyObject *) 0xbb8cc164
 #3  0xbb8c37e8 in call_character_handler (self=3D0xbb440714, =
 buffer=3D0xbb6d3400 'a' <repeats 200 times>..., len=3D1)
     at Modules/pyexpat.c:479
         args =3D (PyObject *) 0xbb49ef14
         temp =3D (PyObject *) 0xbb4a45f8
 #4  0xbb8c397f in my_CharacterDataHandler (userData=3D0xbb440714, =
 data=3D0xbb6d3400 'a' <repeats 200 times>..., len=3D1)
     at Modules/pyexpat.c:510
         self =3D (xmlparseobject *) 0xbb440714
 #5  0xbb8a9f29 in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
 No symbol table info available.
 #6  0xbb8aaf05 in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
 No symbol table info available.
 #7  0xbb8ac2cc in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
 No symbol table info available.
 #8  0xbb8acde2 in XML_ParserCreate () from /usr/X11R7/lib/libexpat.so.1
 No symbol table info available.
 #9  0xbb8a456f in XML_ParseBuffer () from /usr/X11R7/lib/libexpat.so.1
 No symbol table info available.
 #10 0xbb8a6642 in XML_Parse () from /usr/X11R7/lib/libexpat.so.1
 No symbol table info available.
 #11 0xbb8c69a2 in xmlparse_Parse (self=3D0xbb440714, args=3D0xbb49efbc) =
 at Modules/pyexpat.c:940
         s =3D 0xbb6e1024 "<?xml version=3D'1.0' =
 encoding=3D'iso8859'?><s>", 'a' <repeats 157 times>...
         slen =3D 1072
         isFinal =3D 0
 #12 0xbba99a54 in PyCFunction_Call (func=3D0xbb43b1bc, arg=3D0xbb49efbc, =
 kw=3D0xbb4a5174) at Objects/methodobject.c:81
         f =3D (PyCFunctionObject *) 0xbb43b1bc
         meth =3D (PyCFunction) 0xbb8c6941 <xmlparse_Parse>
         self =3D (PyObject *) 0xbb440714
         size =3D -1150414840
 #13 0xbbb2e76e in ext_do_call (func=3D0xbb43b1bc, pp_stack=3D0xbfbfb7c8, =
 flags=3D3, na=3D0, nk=3D0) at Python/ceval.c:4060
         tstate =3D (PyThreadState *) 0xbb704080
         nstar =3D 1
         callargs =3D (PyObject *) 0xbb49efbc
         stararg =3D (PyObject *) 0xbb49ef4c
         kwdict =3D (PyObject *) 0xbb4a5174
         result =3D (PyObject *) 0x0
 #14 0xbbb2892b in PyEval_EvalFrameEx (f=3D0xbb4d8074, throwflag=3D0) at =
 Python/ceval.c:2452
         flags =3D 3
         func =3D (PyObject *) 0xbb43b1bc
         na =3D 0
         nk =3D 0
         n =3D 2
         pfunc =3D (PyObject **) 0xbb4d81cc
         sp =3D (PyObject **) 0xbb4d81d0
         stack_pointer =3D (PyObject **) 0xbb4d81d8
         next_instr =3D (unsigned char *) 0xbb729a6b "\001Wn\024"
         opcode =3D 142
         oparg =3D 0
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb4a5174
         v =3D (PyObject *) 0xbfbfb718
         w =3D (PyObject *) 0x0
         u =3D (PyObject *) 0x30
         t =3D (PyObject *) 0xbbbb16b8
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d81b4
         freevars =3D (PyObject **) 0xbb4d81cc
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb6802c8
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb729a5c "y\021"
         names =3D (PyObject *) 0xbb6811f4
         consts =3D (PyObject *) 0xbb681174
         filename =3D 0xbb67f514 "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #15 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb6802c8, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb4d8038, argcount=3D4,=20
     kws=3D0xbb4d8048, kwcount=3D0, defs=3D0x0, defcount=3D0, =
 closure=3D0x0) at Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb4d8074
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d81b4
         freevars =3D (PyObject **) 0xbb4d81cc
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb6e1008
         u =3D (PyObject *) 0xbb49ef4c
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #16 0xbbb2d9e2 in fast_function (func=3D0xbb408c64, pp_stack=3D0xbfbfbb5c,=
  n=3D4, na=3D4, nk=3D0) at Python/ceval.c:3846
         co =3D (PyCodeObject *) 0xbb6802c8
         globals =3D (PyObject *) 0xbb66ccb4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         nd =3D 0
         __PRETTY_FUNCTION__ =3D "fast_function"
 #17 0xbbb2d654 in call_function (pp_stack=3D0xbfbfbb5c, oparg=3D3) at =
 Python/ceval.c:3771
         na =3D 4
         nk =3D 0
         n =3D 4
         pfunc =3D (PyObject **) 0xbb4d8038
         func =3D (PyObject *) 0xbb408c64
         x =3D (PyObject *) 0x142
         w =3D (PyObject *) 0xbb4029d4
 #18 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb4d7ee4, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb4d8048
         stack_pointer =3D (PyObject **) 0xbb4d8048
         next_instr =3D (unsigned char *) 0xbb729729 "\001d"
         opcode =3D 131
         oparg =3D 3
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb6e1008
         v =3D (PyObject *) 0xbb440714
         w =3D (PyObject *) 0xbb66b878
         u =3D (PyObject *) 0xbb49ca84
         t =3D (PyObject *) 0xdb
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d8024
         freevars =3D (PyObject **) 0xbb4d8034
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb67d028
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb7296cc "d\001"
         names =3D (PyObject *) 0xbb4106ac
         consts =3D (PyObject *) 0xbb67a084
         filename =3D 0xbb67c044 "test_pyexpat.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #19 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb67d028, =
 globals=3D0xbb748cb4, locals=3D0x0, args=3D0xbb774a84, argcount=3D1,=20
     kws=3D0xbb774a88, kwcount=3D0, defs=3D0x0, defcount=3D0, =
 closure=3D0x0) at Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb4d7ee4
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d8024
         freevars =3D (PyObject **) 0xbb4d8034
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49e53c
         u =3D (PyObject *) 0xbfbfbca8
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #20 0xbbb2d9e2 in fast_function (func=3D0xbb49af34, pp_stack=3D0xbfbfbeec,=
  n=3D1, na=3D1, nk=3D0) at Python/ceval.c:3846
         co =3D (PyCodeObject *) 0xbb67d028
         globals =3D (PyObject *) 0xbb748cb4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         nd =3D 0
         __PRETTY_FUNCTION__ =3D "fast_function"
 #21 0xbbb2d654 in call_function (pp_stack=3D0xbfbfbeec, oparg=3D0) at =
 Python/ceval.c:3771
         na =3D 1
         nk =3D 0
         n =3D 1
         pfunc =3D (PyObject **) 0xbb774a84
         func =3D (PyObject *) 0xbb49af34
         x =3D (PyObject *) 0x64
         w =3D (PyObject *) 0xbb49e53c
 #22 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb774934, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb774a88
         stack_pointer =3D (PyObject **) 0xbb774a88
         next_instr =3D (unsigned char *) 0xbb773aa6 "\001t\n"
         opcode =3D 131
         oparg =3D 0
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb7d74b4
         v =3D (PyObject *) 0xbbbb2ecc
         w =3D (PyObject *) 0xbb737760
         u =3D (PyObject *) 0xbb66c494
         t =3D (PyObject *) 0xb
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb774a74
         freevars =3D (PyObject **) 0xbb774a84
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb671ec8
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb773a14 "|\001"
         names =3D (PyObject *) 0xbb656a44
         consts =3D (PyObject *) 0xbb67ea44
         filename =3D 0xbb67f254 "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #23 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb671ec8, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb49ec88, argcount=3D2,=20
     kws=3D0xbb4a0048, kwcount=3D0, defs=3D0xbb405860, defcount=3D1, =
 closure=3D0x0) at Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb774934
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb774a74
         freevars =3D (PyObject **) 0xbb774a84
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49ea7c
         u =3D (PyObject *) 0xbb70d000
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #24 0xbba7ea43 in function_call (func=3D0xbb408a34, arg=3D0xbb49ec74, =
 kw=3D0xbb49f674) at Objects/funcobject.c:524
         result =3D (PyObject *) 0xbb408a34
         argdefs =3D (PyObject *) 0xbb40584c
         d =3D (PyObject **) 0xbb405860
         k =3D (PyObject **) 0xbb4a0048
         nk =3D 0
         nd =3D 1
 #25 0xbba451ec in PyObject_Call (func=3D0xbb408a34, arg=3D0xbb49ec74, =
 kw=3D0xbb49f674) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ea7c
         call =3D (ternaryfunc) 0xbba7e8ca <function_call>
 #26 0xbbb2e787 in ext_do_call (func=3D0xbb408a34, pp_stack=3D0xbfbfc288, =
 flags=3D3, na=3D1, nk=3D0) at Python/ceval.c:4063
         nstar =3D 1
         callargs =3D (PyObject *) 0xbb49ec74
         stararg =3D (PyObject *) 0xbb49ec3c
         kwdict =3D (PyObject *) 0xbb49f674
         result =3D (PyObject *) 0x0
 #27 0xbbb2892b in PyEval_EvalFrameEx (f=3D0xbb783d14, throwflag=3D0) at =
 Python/ceval.c:2452
         flags =3D 3
         func =3D (PyObject *) 0xbb408a34
         na =3D 1
         nk =3D 0
         n =3D 3
         pfunc =3D (PyObject **) 0xbb783e60
         sp =3D (PyObject **) 0xbb783e60
         stack_pointer =3D (PyObject **) 0xbb783e6c
         next_instr =3D (unsigned char *) 0xbb66ff53 "S"
         opcode =3D 142
         oparg =3D 0
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49f674
         v =3D (PyObject *) 0xbb49e53c
         w =3D (PyObject *) 0xbb67ea70
         u =3D (PyObject *) 0x4
         t =3D (PyObject *) 0xbb9d2838
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783e54
         freevars =3D (PyObject **) 0xbb783e60
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb671f28
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb66ff44 "|"
         names =3D (PyObject *) 0xbb67eaec
         consts =3D (PyObject *) 0xbb67eab4
         filename =3D 0xbb67f2ac "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #28 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb671f28, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb49ec18, argcount=3D2, =
 kws=3D0x0,=20
     kwcount=3D0, defs=3D0x0, defcount=3D0, closure=3D0x0) at =
 Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb783d14
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783e54
         freevars =3D (PyObject **) 0xbb783e60
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49ea7c
         u =3D (PyObject *) 0xbb49ec3c
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #29 0xbba7ea43 in function_call (func=3D0xbb408a84, arg=3D0xbb49ec04, =
 kw=3D0x0) at Objects/funcobject.c:524
         result =3D (PyObject *) 0xbb49ec04
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         k =3D (PyObject **) 0x0
         nk =3D 0
         nd =3D 0
 #30 0xbba451ec in PyObject_Call (func=3D0xbb408a84, arg=3D0xbb49ec04, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ebf8
         call =3D (ternaryfunc) 0xbba7e8ca <function_call>
 #31 0xbba5f06f in instancemethod_call (func=3D0xbb408a84, =
 arg=3D0xbb49ec04, kw=3D0x0) at Objects/classobject.c:2579
         self =3D (PyObject *) 0xbb49e53c
         klass =3D (PyObject *) 0xbb4da964
         result =3D (PyObject *) 0xbb4da964
 #32 0xbba451ec in PyObject_Call (func=3D0xbb438ab4, arg=3D0xbb49ebcc, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb438ab4
         call =3D (ternaryfunc) 0xbba5ee29 <instancemethod_call>
 #33 0xbbad0186 in slot_tp_call (self=3D0xbb49e53c, args=3D0xbb49ebcc, =
 kwds=3D0x0) at Objects/typeobject.c:5373
         meth =3D (PyObject *) 0xbb438ab4
         res =3D (PyObject *) 0xbb49ebc0
         call_str =3D (PyObject *) 0xbb7108b0
 #34 0xbba451ec in PyObject_Call (func=3D0xbb49e53c, arg=3D0xbb49ebcc, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ea7c
         call =3D (ternaryfunc) 0xbbad0134 <slot_tp_call>
 #35 0xbbb2e199 in do_call (func=3D0xbb49e53c, pp_stack=3D0xbfbfc93c, =
 na=3D1, nk=3D0) at Python/ceval.c:3968
         callargs =3D (PyObject *) 0xbb49ebcc
         kwdict =3D (PyObject *) 0x0
         result =3D (PyObject *) 0x0
 #36 0xbbb2d66d in call_function (pp_stack=3D0xbfbfc93c, oparg=3D1) at =
 Python/ceval.c:3773
         na =3D 1
         nk =3D 0
         n =3D 1
         pfunc =3D (PyObject **) 0xbb783ce4
         func =3D (PyObject *) 0xbb49e53c
         x =3D (PyObject *) 0xbb66dc04
         w =3D (PyObject *) 0xbb4a26e8
 #37 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb783b94, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb783ce8
         stack_pointer =3D (PyObject **) 0xbb783cec
         next_instr =3D (unsigned char *) 0xbb6831a4 "\001q\n"
         opcode =3D 131
         oparg =3D 1
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49ea7c
         v =3D (PyObject *) 0xbbbb2ecc
         w =3D (PyObject *) 0xbbbb2ecc
         u =3D (PyObject *) 0xbb736e30
         t =3D (PyObject *) 0xbbbed200
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783cd4
         freevars =3D (PyObject **) 0xbb783ce0
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb680928
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb68317c "x*"
         names =3D (PyObject *) 0xbb678574
         consts =3D (PyObject *) 0xbb684504
         filename =3D 0xbb67f9e4 "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #38 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb680928, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb49eb70, argcount=3D2,=20
     kws=3D0xbb4a0038, kwcount=3D0, defs=3D0x0, defcount=3D0, =
 closure=3D0x0) at Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb783b94
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783cd4
         freevars =3D (PyObject **) 0xbb783ce0
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49ea7c
         u =3D (PyObject *) 0x0
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #39 0xbba7ea43 in function_call (func=3D0xbb4070d4, arg=3D0xbb49eb5c, =
 kw=3D0xbb49f5d4) at Objects/funcobject.c:524
         result =3D (PyObject *) 0xbb4070d4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         k =3D (PyObject **) 0xbb4a0038
         nk =3D 0
         nd =3D 0
 #40 0xbba451ec in PyObject_Call (func=3D0xbb4070d4, arg=3D0xbb49eb5c, =
 kw=3D0xbb49f5d4) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ea7c
         call =3D (ternaryfunc) 0xbba7e8ca <function_call>
 #41 0xbbb2e787 in ext_do_call (func=3D0xbb4070d4, pp_stack=3D0xbfbfccd8, =
 flags=3D3, na=3D1, nk=3D0) at Python/ceval.c:4063
         nstar =3D 1
         callargs =3D (PyObject *) 0xbb49eb5c
         stararg =3D (PyObject *) 0xbb49eb24
         kwdict =3D (PyObject *) 0xbb49f5d4
         result =3D (PyObject *) 0x0
 #42 0xbbb2892b in PyEval_EvalFrameEx (f=3D0xbb783a14, throwflag=3D0) at =
 Python/ceval.c:2452
         flags =3D 3
         func =3D (PyObject *) 0xbb4070d4
         na =3D 1
         nk =3D 0
         n =3D 3
         pfunc =3D (PyObject **) 0xbb783b60
         sp =3D (PyObject **) 0xbb783b60
         stack_pointer =3D (PyObject **) 0xbb783b6c
         next_instr =3D (unsigned char *) 0xbb6819d3 "S"
         opcode =3D 142
         oparg =3D 0
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49f5d4
         v =3D (PyObject *) 0xbb49e504
         w =3D (PyObject *) 0xbb67ea70
         u =3D (PyObject *) 0xbb704080
         t =3D (PyObject *) 0xbbbb16b8
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783b54
         freevars =3D (PyObject **) 0xbb783b60
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb680988
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb6819c4 "|"
         names =3D (PyObject *) 0xbb684574
         consts =3D (PyObject *) 0xbb68453c
         filename =3D 0xbb67fa3c "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #43 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb680988, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb49e9e8, argcount=3D2, =
 kws=3D0x0,=20
     kwcount=3D0, defs=3D0x0, defcount=3D0, closure=3D0x0) at =
 Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb783a14
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783b54
         freevars =3D (PyObject **) 0xbb783b60
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49ea7c
         u =3D (PyObject *) 0xbb49eb24
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #44 0xbba7ea43 in function_call (func=3D0xbb407124, arg=3D0xbb49e9d4, =
 kw=3D0x0) at Objects/funcobject.c:524
         result =3D (PyObject *) 0xbb49e9d4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         k =3D (PyObject **) 0x0
         nk =3D 0
         nd =3D 0
 #45 0xbba451ec in PyObject_Call (func=3D0xbb407124, arg=3D0xbb49e9d4, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49e9c8
         call =3D (ternaryfunc) 0xbba7e8ca <function_call>
 #46 0xbba5f06f in instancemethod_call (func=3D0xbb407124, =
 arg=3D0xbb49e9d4, kw=3D0x0) at Objects/classobject.c:2579
         self =3D (PyObject *) 0xbb49e504
         klass =3D (PyObject *) 0xbb7ab384
         result =3D (PyObject *) 0xbb7ab384
 #47 0xbba451ec in PyObject_Call (func=3D0xbb43e174, arg=3D0xbb49eaec, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb43e174
         call =3D (ternaryfunc) 0xbba5ee29 <instancemethod_call>
 #48 0xbbad0186 in slot_tp_call (self=3D0xbb49e504, args=3D0xbb49eaec, =
 kwds=3D0x0) at Objects/typeobject.c:5373
         meth =3D (PyObject *) 0xbb43e174
         res =3D (PyObject *) 0xbb49eae0
         call_str =3D (PyObject *) 0xbb7108b0
 #49 0xbba451ec in PyObject_Call (func=3D0xbb49e504, arg=3D0xbb49eaec, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ea7c
         call =3D (ternaryfunc) 0xbbad0134 <slot_tp_call>
 #50 0xbbb2e199 in do_call (func=3D0xbb49e504, pp_stack=3D0xbfbfd38c, =
 na=3D1, nk=3D0) at Python/ceval.c:3968
         callargs =3D (PyObject *) 0xbb49eaec
         kwdict =3D (PyObject *) 0x0
         result =3D (PyObject *) 0x0
 #51 0xbbb2d66d in call_function (pp_stack=3D0xbfbfd38c, oparg=3D1) at =
 Python/ceval.c:3773
         na =3D 1
         nk =3D 0
         n =3D 1
         pfunc =3D (PyObject **) 0xbb7839e4
         func =3D (PyObject *) 0xbb49e504
         x =3D (PyObject *) 0xbb49ea7c
         w =3D (PyObject *) 0xbb49e37c
 #52 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb783894, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb7839e8
         stack_pointer =3D (PyObject **) 0xbb7839ec
         next_instr =3D (unsigned char *) 0xbb6831a4 "\001q\n"
         opcode =3D 131
         oparg =3D 1
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49ea7c
         v =3D (PyObject *) 0xbbbb2ecc
         w =3D (PyObject *) 0xbbbb2ecc
         u =3D (PyObject *) 0xbb49b2b4
         t =3D (PyObject *) 0xbb6893a8
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb7839d4
         freevars =3D (PyObject **) 0xbb7839e0
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb680928
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb68317c "x*"
         names =3D (PyObject *) 0xbb678574
         consts =3D (PyObject *) 0xbb684504
         filename =3D 0xbb67f9e4 "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #53 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb680928, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb49e828, argcount=3D2,=20
     kws=3D0xbb4a0028, kwcount=3D0, defs=3D0x0, defcount=3D0, =
 closure=3D0x0) at Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb783894
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb7839d4
         freevars =3D (PyObject **) 0xbb7839e0
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49ea7c
         u =3D (PyObject *) 0xbfbfd4c8
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #54 0xbba7ea43 in function_call (func=3D0xbb4070d4, arg=3D0xbb49e814, =
 kw=3D0xbb49f534) at Objects/funcobject.c:524
         result =3D (PyObject *) 0xbb4070d4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         k =3D (PyObject **) 0xbb4a0028
         nk =3D 0
         nd =3D 0
 #55 0xbba451ec in PyObject_Call (func=3D0xbb4070d4, arg=3D0xbb49e814, =
 kw=3D0xbb49f534) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ea7c
         call =3D (ternaryfunc) 0xbba7e8ca <function_call>
 #56 0xbbb2e787 in ext_do_call (func=3D0xbb4070d4, pp_stack=3D0xbfbfd728, =
 flags=3D3, na=3D1, nk=3D0) at Python/ceval.c:4063
         nstar =3D 1
         callargs =3D (PyObject *) 0xbb49e814
         stararg =3D (PyObject *) 0xbb49ea44
         kwdict =3D (PyObject *) 0xbb49f534
         result =3D (PyObject *) 0x0
 #57 0xbbb2892b in PyEval_EvalFrameEx (f=3D0xbb783714, throwflag=3D0) at =
 Python/ceval.c:2452
         flags =3D 3
         func =3D (PyObject *) 0xbb4070d4
         na =3D 1
         nk =3D 0
         n =3D 3
         pfunc =3D (PyObject **) 0xbb783860
         sp =3D (PyObject **) 0xbb783860
         stack_pointer =3D (PyObject **) 0xbb78386c
         next_instr =3D (unsigned char *) 0xbb6819d3 "S"
         opcode =3D 142
         oparg =3D 0
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49f534
         v =3D (PyObject *) 0xbb415344
         w =3D (PyObject *) 0xbb67ea70
         u =3D (PyObject *) 0xbb67cb34
         t =3D (PyObject *) 0xbbbb16b8
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783854
         freevars =3D (PyObject **) 0xbb783860
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb680988
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb6819c4 "|"
         names =3D (PyObject *) 0xbb684574
         consts =3D (PyObject *) 0xbb68453c
         filename =3D 0xbb67fa3c "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #58 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb680988, =
 globals=3D0xbb66ccb4, locals=3D0x0, args=3D0xbb499668, argcount=3D2, =
 kws=3D0x0,=20
     kwcount=3D0, defs=3D0x0, defcount=3D0, closure=3D0x0) at =
 Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb783714
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783854
         freevars =3D (PyObject **) 0xbb783860
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb49ea7c
         u =3D (PyObject *) 0xbb49ea44
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #59 0xbba7ea43 in function_call (func=3D0xbb407124, arg=3D0xbb499654, =
 kw=3D0x0) at Objects/funcobject.c:524
         result =3D (PyObject *) 0xbb499654
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         k =3D (PyObject **) 0x0
         nk =3D 0
         nd =3D 0
 #60 0xbba451ec in PyObject_Call (func=3D0xbb407124, arg=3D0xbb499654, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb499648
         call =3D (ternaryfunc) 0xbba7e8ca <function_call>
 #61 0xbba5f06f in instancemethod_call (func=3D0xbb407124, =
 arg=3D0xbb499654, kw=3D0x0) at Objects/classobject.c:2579
         self =3D (PyObject *) 0xbb415344
         klass =3D (PyObject *) 0xbb7ab384
         result =3D (PyObject *) 0xbb7ab384
 #62 0xbba451ec in PyObject_Call (func=3D0xbb7ed274, arg=3D0xbb49e884, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb7ed274
         call =3D (ternaryfunc) 0xbba5ee29 <instancemethod_call>
 #63 0xbbad0186 in slot_tp_call (self=3D0xbb415344, args=3D0xbb49e884, =
 kwds=3D0x0) at Objects/typeobject.c:5373
         meth =3D (PyObject *) 0xbb7ed274
         res =3D (PyObject *) 0xbb49e878
         call_str =3D (PyObject *) 0xbb7108b0
 #64 0xbba451ec in PyObject_Call (func=3D0xbb415344, arg=3D0xbb49e884, =
 kw=3D0x0) at Objects/abstract.c:2492
         result =3D (PyObject *) 0xbb49ea7c
         call =3D (ternaryfunc) 0xbbad0134 <slot_tp_call>
 #65 0xbbb2e199 in do_call (func=3D0xbb415344, pp_stack=3D0xbfbfdddc, =
 na=3D1, nk=3D0) at Python/ceval.c:3968
         callargs =3D (PyObject *) 0xbb49e884
         kwdict =3D (PyObject *) 0x0
         result =3D (PyObject *) 0x0
 #66 0xbbb2d66d in call_function (pp_stack=3D0xbfbfdddc, oparg=3D1) at =
 Python/ceval.c:3773
         na =3D 1
         nk =3D 0
         n =3D 1
         pfunc =3D (PyObject **) 0xbb785858
         func =3D (PyObject *) 0xbb415344
         x =3D (PyObject *) 0xbb75fb6c
         w =3D (PyObject *) 0xbb6601bc
 #67 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb7856f4, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb78585c
         stack_pointer =3D (PyObject **) 0xbb785860
         next_instr =3D (unsigned char *) 0xbb6a94e5 "\001t\001"
         opcode =3D 131
         oparg =3D 1
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49ea7c
         v =3D (PyObject *) 0xbb75fb6c
         w =3D (PyObject *) 0xbb68a6f0
         u =3D (PyObject *) 0x1e
         t =3D (PyObject *) 0xbbbb5760
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb785834
         freevars =3D (PyObject **) 0xbb785858
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb686c28
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb6a94c4 "|"
         names =3D (PyObject *) 0xbb6834ac
         consts =3D (PyObject *) 0xbb686b74
         filename =3D 0xbb687b9c "/usr/pkg/lib/python2.6/unittest.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #68 0xbbb2d8ff in fast_function (func=3D0xbb407c14, pp_stack=3D0xbfbfe06c,=
  n=3D2, na=3D2, nk=3D0) at Python/ceval.c:3836
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb785834
         i =3D 2
         f =3D (PyFrameObject *) 0xbb7856f4
         tstate =3D (PyThreadState *) 0xbb704080
         stack =3D (PyObject **) 0xbb78326c
         co =3D (PyCodeObject *) 0xbb686c28
         globals =3D (PyObject *) 0xbb66ccb4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         nd =3D 0
         __PRETTY_FUNCTION__ =3D "fast_function"
 #69 0xbbb2d654 in call_function (pp_stack=3D0xbfbfe06c, oparg=3D1) at =
 Python/ceval.c:3771
         na =3D 2
         nk =3D 0
         n =3D 2
         pfunc =3D (PyObject **) 0xbb783264
         func =3D (PyObject *) 0xbb407c14
         x =3D (PyObject *) 0xbb415424
         w =3D (PyObject *) 0xbb7abd34
 #70 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb783114, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb78326c
         stack_pointer =3D (PyObject **) 0xbb78326c
         next_instr =3D (unsigned char *) 0xbb779dfc "}\002"
         opcode =3D 131
         oparg =3D 1
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb415344
         v =3D (PyObject *) 0xbb415424
         w =3D (PyObject *) 0xbb67ea70
         u =3D (PyObject *) 0xbb684ea4
         t =3D (PyObject *) 0xbb6874bc
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783254
         freevars =3D (PyObject **) 0xbb783264
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb41ac28
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb779dc4 "t"
         names =3D (PyObject *) 0xbb41ab74
         consts =3D (PyObject *) 0xbb4128f4
         filename =3D 0xbb41abe4 =
 "/usr/pkg/lib/python2.6/test/test_support.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #71 0xbbb2d8ff in fast_function (func=3D0xbb498d04, pp_stack=3D0xbfbfe2fc,=
  n=3D1, na=3D1, nk=3D0) at Python/ceval.c:3836
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb783254
         i =3D 1
         f =3D (PyFrameObject *) 0xbb783114
         tstate =3D (PyThreadState *) 0xbb704080
         stack =3D (PyObject **) 0xbb4d515c
         co =3D (PyCodeObject *) 0xbb41ac28
         globals =3D (PyObject *) 0xbb66ec14
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         nd =3D 0
         __PRETTY_FUNCTION__ =3D "fast_function"
 #72 0xbbb2d654 in call_function (pp_stack=3D0xbfbfe2fc, oparg=3D1) at =
 Python/ceval.c:3771
         na =3D 1
         nk =3D 0
         n =3D 1
         pfunc =3D (PyObject **) 0xbb4d5154
         func =3D (PyObject *) 0xbb498d04
         x =3D (PyObject *) 0xf66baeb7
         w =3D (PyObject *) 0xf66bae89
 #73 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb4d5004, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb4d515c
         stack_pointer =3D (PyObject **) 0xbb4d515c
         next_instr =3D (unsigned char *) 0xbb72e9bc "\001d\002"
         opcode =3D 131
         oparg =3D 1
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb415344
         v =3D (PyObject *) 0xbb415424
         w =3D (PyObject *) 0xbb416e28
         u =3D (PyObject *) 0xbb73b7a4
         t =3D (PyObject *) 0xbb6777c4
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d5144
         freevars =3D (PyObject **) 0xbb4d5154
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb41ada8
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb72e8fc "t"
         names =3D (PyObject *) 0xbb41acf4
         consts =3D (PyObject *) 0xbb416e74
         filename =3D 0xbb41ad64 =
 "/usr/pkg/lib/python2.6/test/test_support.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #74 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb41ada8, =
 globals=3D0xbb66ec14, locals=3D0x0, args=3D0xbb4d4e28, argcount=3D10,=20
     kws=3D0xbb4d4e50, kwcount=3D0, defs=3D0x0, defcount=3D0, =
 closure=3D0x0) at Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb4d5004
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d5144
         freevars =3D (PyObject **) 0xbb4d5154
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbb4dad44
         u =3D (PyObject *) 0xbb404a84
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #75 0xbbb2d9e2 in fast_function (func=3D0xbb498da4, pp_stack=3D0xbfbfe68c,=
  n=3D10, na=3D10, nk=3D0) at Python/ceval.c:3846
         co =3D (PyCodeObject *) 0xbb41ada8
         globals =3D (PyObject *) 0xbb66ec14
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         nd =3D 0
         __PRETTY_FUNCTION__ =3D "fast_function"
 #76 0xbbb2d654 in call_function (pp_stack=3D0xbfbfe68c, oparg=3D10) at =
 Python/ceval.c:3771
         na =3D 10
         nk =3D 0
         n =3D 10
         pfunc =3D (PyObject **) 0xbb4d4e24
         func =3D (PyObject *) 0xbb498da4
         x =3D (PyObject *) 0xe
         w =3D (PyObject *) 0xbb495d28
 #77 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb4d4ce4, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb4d4e50
         stack_pointer =3D (PyObject **) 0xbb4d4e50
         next_instr =3D (unsigned char *) 0xbb67d7e8 "\001d"
         opcode =3D 131
         oparg =3D 10
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb4dad44
         v =3D (PyObject *) 0xbbbc5474
         w =3D (PyObject *) 0xbb4101d8
         u =3D (PyObject *) 0xbb70e974
         t =3D (PyObject *) 0x0
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d4e24
         freevars =3D (PyObject **) 0xbb4d4e24
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb67d808
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb67d7c4 "t"
         names =3D (PyObject *) 0xbb67d754
         consts =3D (PyObject *) 0xbb67e2d4
         filename =3D 0xbb67cac4 "test_pyexpat.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #78 0xbbb2d8ff in fast_function (func=3D0xbb49af84, pp_stack=3D0xbfbfe91c,=
  n=3D0, na=3D0, nk=3D0) at Python/ceval.c:3836
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb4d4e24
         i =3D 0
         f =3D (PyFrameObject *) 0xbb4d4ce4
         tstate =3D (PyThreadState *) 0xbb704080
         stack =3D (PyObject **) 0xbb6a8b08
         co =3D (PyCodeObject *) 0xbb67d808
         globals =3D (PyObject *) 0xbb748cb4
         argdefs =3D (PyObject *) 0x0
         d =3D (PyObject **) 0x0
         nd =3D 0
         __PRETTY_FUNCTION__ =3D "fast_function"
 #79 0xbbb2d654 in call_function (pp_stack=3D0xbfbfe91c, oparg=3D0) at =
 Python/ceval.c:3771
         na =3D 0
         nk =3D 0
         n =3D 0
         pfunc =3D (PyObject **) 0xbb6a8b04
         func =3D (PyObject *) 0xbb49af84
         x =3D (PyObject *) 0xbb49af84
         w =3D (PyObject *) 0x0
 #80 0xbbb286e2 in PyEval_EvalFrameEx (f=3D0xbb6a89c4, throwflag=3D0) at =
 Python/ceval.c:2412
         sp =3D (PyObject **) 0xbb6a8b08
         stack_pointer =3D (PyObject **) 0xbb6a8b08
         next_instr =3D (unsigned char *) 0xbb773d36 "\001n\001"
         opcode =3D 131
         oparg =3D 0
         why =3D WHY_NOT
         err =3D 0
         x =3D (PyObject *) 0xbb49af84
         v =3D (PyObject *) 0xbb748cb4
         w =3D (PyObject *) 0xbb40eaa8
         u =3D (PyObject *) 0xbb66c994
         t =3D (PyObject *) 0xdb
         stream =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb6a8b04
         freevars =3D (PyObject **) 0xbb6a8b04
         retval =3D (PyObject *) 0x0
         tstate =3D (PyThreadState *) 0xbb704080
         co =3D (PyCodeObject *) 0xbb67d6e8
         instr_ub =3D -1
         instr_lb =3D 0
         instr_prev =3D -1
         first_instr =3D (unsigned char *) 0xbb773bc4 "d"
         names =3D (PyObject *) 0xbb7289c4
         consts =3D (PyObject *) 0xbb6757b4
         filename =3D 0xbb67cb04 "test_pyexpat.py"
         __PRETTY_FUNCTION__ =3D "PyEval_EvalFrameEx"
 #81 0xbbb2ae61 in PyEval_EvalCodeEx (co=3D0xbb67d6e8, =
 globals=3D0xbb748cb4, locals=3D0xbb748cb4, args=3D0x0, argcount=3D0, =
 kws=3D0x0,=20
     kwcount=3D0, defs=3D0x0, defcount=3D0, closure=3D0x0) at =
 Python/ceval.c:3000
         f =3D (PyFrameObject *) 0xbb6a89c4
         retval =3D (PyObject *) 0x0
         fastlocals =3D (PyObject **) 0xbb6a8b04
         freevars =3D (PyObject **) 0xbb6a8b04
         tstate =3D (PyThreadState *) 0xbb704080
         x =3D (PyObject *) 0xbbbb16b8
         u =3D (PyObject *) 0x8
         __PRETTY_FUNCTION__ =3D "PyEval_EvalCodeEx"
 #82 0xbbb1fa5b in PyEval_EvalCode (co=3D0xbb67d6e8, globals=3D0xbb748cb4, =
 locals=3D0xbb748cb4) at Python/ceval.c:541
 No locals.
 #83 0xbbb584b9 in run_mod (mod=3D0xbb45dd70, filename=3D0xbfbffe66 =
 "test_pyexpat.py", globals=3D0xbb748cb4, locals=3D0xbb748cb4,=20
     flags=3D0xbfbfeccc, arena=3D0xbb632040) at Python/pythonrun.c:1339
         co =3D (PyCodeObject *) 0xbb67d6e8
         v =3D (PyObject *) 0xbb73e3e8
 #84 0xbbb5844d in PyRun_FileExFlags (fp=3D0xbb9d27e0, =
 filename=3D0xbfbffe66 "test_pyexpat.py", start=3D257, =
 globals=3D0xbb748cb4,=20
     locals=3D0xbb748cb4, closeit=3D1, flags=3D0xbfbfeccc) at =
 Python/pythonrun.c:1325
         ret =3D (PyObject *) 0xbb9d2ed4
         mod =3D (mod_ty) 0xbb45dd70
         arena =3D (PyArena *) 0xbb632040
 #85 0xbbb56e95 in PyRun_SimpleFileExFlags (fp=3D0xbb9d27e0, =
 filename=3D0xbfbffe66 "test_pyexpat.py", closeit=3D1, flags=3D0xbfbfeccc)
     at Python/pythonrun.c:935
         m =3D (PyObject *) 0xbb70d214
         d =3D (PyObject *) 0xbb748cb4
         v =3D (PyObject *) 0xbbbac6d7
         ext =3D 0xbfbffe71 "t.py"
         set_file_name =3D 1
         ret =3D 7880
         len =3D 15
 #86 0xbbb564d7 in PyRun_AnyFileExFlags (fp=3D0xbb9d27e0, =
 filename=3D0xbfbffe66 "test_pyexpat.py", closeit=3D1, flags=3D0xbfbfeccc)
     at Python/pythonrun.c:739
 No locals.
 #87 0xbbb69eca in Py_Main (argc=3D2, argv=3D0xbfbfed94) at =
 Modules/main.c:572
         c =3D -1
         sts =3D -1
         command =3D 0x0
         filename =3D 0xbfbffe66 "test_pyexpat.py"
         module =3D 0x0
         fp =3D (FILE *) 0xbb9d27e0
         p =3D 0x0
         unbuffered =3D 0
         skipfirstline =3D 0
         stdin_is_interactive =3D 1
         help =3D 0
         version =3D 0
         saw_unbuffered_flag =3D 0
         cf =3D {cf_flags =3D 0}
 #88 0x080487e4 in main (argc=3DCannot access memory at address 0x0
 ) at ./Modules/python.c:23
 No locals.

From: "David H. Gutteridge" <dhgutteridge@sympatico.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43239: lang/python26 dumps core during "make test" after upgrade to 2.6.5
Date: Sat, 3 Jul 2010 16:44:30 -0400

 Hmm, reading more of the Expat bug report, it's not clear that they
 did fix things at their end...  But the question is still why Python
 2.6.4 doesn't segfault, but 2.6.5 does...

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.