[Patches] [ python-Patches-646547 ] test_poll fails on FreeBSD
noreply@sourceforge.net
noreply@sourceforge.net
Sun, 01 Dec 2002 15:01:58 -0800
Patches item #646547, was opened at 2002-12-01 19:14
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=646547&group_id=5470
Category: Tests
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Ben Laurie (benl)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_poll fails on FreeBSD
Initial Comment:
Starting program:
/usr/home/ben/work/python/dist/src/python
Lib/test/test_poll.py
Running poll test 1
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
This is a test.
Poll test 1 complete
Running poll test 2
timeout = 0
timeout = 1000
'testing...\n'
timeout = 2000
'testing...\n'
timeout = 4000
'testing...\n'
timeout = 8000
'testing...\n'
timeout = 16000
'testing...\n'
timeout = -1
'testing...\n'
timeout = -1
'testing...\n'
timeout = -1
'testing...\n'
timeout = -1
'testing...\n'
timeout = -1
'testing...\n'
timeout = -1
Program received signal SIGSEGV, Segmentation fault.
0x2813cd04 in strncat () from /usr/lib/libc_r.so.3
(gdb) where
#0 0x2813cd04 in strncat () from /usr/lib/libc_r.so.3
#1 0x281799fb in .cerror () from /usr/lib/libc_r.so.3
#2 0x80d4aad in PyCFunction_Call (func=0x81a63ec,
arg=0x81a4a6c, kw=0x0)
at Objects/methodobject.c:80
#3 0x809d83b in call_function (pp_stack=0xbfbfd2f8,
oparg=1)
at Python/ceval.c:3249
#4 0x809c066 in eval_frame (f=0x8172e0c) at
Python/ceval.c:2009
#5 0x809cf52 in PyEval_EvalCodeEx (co=0x819c7e0,
globals=0x813057c,
locals=0x0, args=0x8112d5c, argcount=0,
kws=0x8112d5c, kwcount=0,
defs=0x0, defcount=0, closure=0x0) at
Python/ceval.c:2554
#6 0x809f09c in fast_function (func=0x81b82cc,
pp_stack=0xbfbfd498, n=0,
na=0, nk=0) at Python/ceval.c:3297
#7 0x809d8c1 in call_function (pp_stack=0xbfbfd498,
oparg=0)
at Python/ceval.c:3266
#8 0x809c066 in eval_frame (f=0x8112c0c) at
Python/ceval.c:2009
#9 0x809cf52 in PyEval_EvalCodeEx (co=0x819c820,
globals=0x813057c,
locals=0x813057c, args=0x0, argcount=0, kws=0x0,
kwcount=0, defs=0x0,
defcount=0, closure=0x0) at Python/ceval.c:2554
#10 0x809f03d in PyEval_EvalCode (co=0x819c820,
globals=0x813057c,
locals=0x813057c) at Python/ceval.c:478
#11 0x80bb093 in run_node (n=0x8118410,
filename=0xbfbfd83a "Lib/test/test_poll.py",
globals=0x813057c,
locals=0x813057c, flags=0xbfbfd6c4) at
Python/pythonrun.c:1089
#12 0x80bb04e in run_err_node (n=0x8118410,
filename=0xbfbfd83a "Lib/test/test_poll.py",
globals=0x813057c,
locals=0x813057c, flags=0xbfbfd6c4) at
Python/pythonrun.c:1076
#13 0x80baca1 in PyRun_FileExFlags (fp=0x28192680,
filename=0xbfbfd83a "Lib/test/test_poll.py",
start=257, globals=0x813057c,
locals=0x813057c, closeit=1, flags=0xbfbfd6c4) at
Python/pythonrun.c:1067
#14 0x80b9972 in PyRun_SimpleFileExFlags (fp=0x28192680,
filename=0xbfbfd83a "Lib/test/test_poll.py",
closeit=1, flags=0xbfbfd6c4)
at Python/pythonrun.c:698
#15 0x80ba843 in PyRun_AnyFileExFlags (fp=0x28192680,
filename=0xbfbfd83a "Lib/test/test_poll.py",
closeit=1, flags=0xbfbfd6c4)
at Python/pythonrun.c:491
#16 0x80535fb in Py_Main (argc=2, argv=0xbfbfd714) at
Modules/main.c:385
#17 0x8052ee8 in main (argc=2, argv=0xbfbfd714) at
Modules/python.c:8
The function called in PyCFunction_Call is poll_poll().
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-12-02 00:01
Message:
Logged In: YES
user_id=21627
Was this meant to be a bug report, or a patch?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=646547&group_id=5470