[Python-Dev] FreeBSD test suite failure -> curses

Andrew MacIntyre andymac at bullseye.apana.org.au
Wed Mar 12 13:15:42 CET 2008

Jeroen Ruigrok van der Werven wrote:
> -On [20080309 23:59], "Martin v. Löwis" (martin at v.loewis.de) wrote:
>> So this now *is* a FreeBSD/ncurses expert's question.
>> I don't think this is supposed to happen; newscr should
>> become non-NULL when initscr is called, and should remain
>> that way throughout.
> Looking at the other FreeBSD build it seems to pass the tests. It's
> 6.2-RELEASE box. So right now I am getting my VMWare 6.2-R up and running
> and seeing if I also get the same results. At least that narrows my search
> to the point of my 6.3-STABLE from the 6.2-RELEASE date.

test_curses on its own passes on my FreeBSD 6.3 box.  It segfaults when
run in the context of a full regression test though.

I've tried libthr instead of libpthread (via libmap.conf), and it
also fails only in the full regression test.  The backtrace from the
coredump is different from the libpthread case though...

#0  0x2849513c in wecho_wchar () from /lib/libncursesw.so.6
#1  0x28496a89 in wecho_wchar () from /lib/libncursesw.so.6
#2  0x28497e62 in wecho_wchar () from /lib/libncursesw.so.6
#3  0x2849b134 in doupdate () from /lib/libncursesw.so.6
#4  0x287cf247 in PyCurses_doupdate (self=0x0)
     at /home/andymac/build/python-svn/trunk/Modules/_cursesmodule.c:182
#5  0x080c602e in PyEval_EvalFrameEx (f=0x93cbc0c, throwflag=0)
     at Python/ceval.c:3620
#6  0x080c6269 in PyEval_EvalFrameEx (f=0x93cba0c, throwflag=0)
     at Python/ceval.c:3722
#7  0x080c6269 in PyEval_EvalFrameEx (f=0x935b40c, throwflag=0)
     at Python/ceval.c:3722
#8  0x080c6eda in PyEval_EvalCodeEx (co=0x9b5bb60, globals=0x284c117c,
     locals=0x6e, args=0x817002c, argcount=0, kws=0x0, kwcount=0, defs=0x0,
     defcount=0, closure=0x0) at Python/ceval.c:2908
#9  0x080c702e in PyEval_EvalCode (co=0x9b5bb60, globals=0x93fb4f4,
     locals=0x93fb4f4) at Python/ceval.c:495
#10 0x080d938a in PyImport_ExecCodeModuleEx (
     name=0xbfbfdc60 "test.test_curses", co=0x9b5bb60,
"/home/andymac/build/python-svn/trunk/Lib/test/test_curses.pyc") at 
#11 0x080d97f3 in load_source_module (name=0xbfbfdc60 "test.test_curses",
fp=0x282801d8) at Python/import.c:968
---Type <return> to continue, or q <return> to quit---

#0  0x281a655b in pthread_testcancel () from /lib/libpthread.so.2
#1  0x2819eeec in pthread_mutexattr_init () from /lib/libpthread.so.2
#2  0x28166450 in ?? ()

This is with a checkout updated to r61352.


Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au  (pref) | Snail: PO Box 370
        andymac at pcug.org.au             (alt) |        Belconnen ACT 2616
Web:    http://www.andymac.org/               |        Australia

More information about the Python-Dev mailing list